/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){function Za(ha){var ca=0;return function(){return ca<ha.length?{done:!1,value:ha[ca++]}:{done:!0}}}var ab="function"==typeof Object.defineProperties?Object.defineProperty:function(ha,ca,h){ha!=Array.prototype&&ha!=Object.prototype&&(ha[ca]=h.value)},hb="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function mb(){mb=function(){};hb.Symbol||(hb.Symbol=nb)}var nb=function(){var ha=0;return function(ca){return"jscomp_symbol_"+(ca||"")+ha++}}();
function Kb(){mb();var ha=hb.Symbol.iterator;ha||(ha=hb.Symbol.iterator=hb.Symbol("iterator"));"function"!=typeof Array.prototype[ha]&&ab(Array.prototype,ha,{configurable:!0,writable:!0,value:function(){return qc(Za(this))}});Kb=function(){}}function qc(ha){Kb();ha={next:ha};ha[hb.Symbol.iterator]=function(){return this};return ha}function rc(ha){var ca="undefined"!=typeof Symbol&&Symbol.iterator&&ha[Symbol.iterator];return ca?ca.call(ha):{next:Za(ha)}}
function Ac(ha){for(var ca,h=[];!(ca=ha.next()).done;)h.push(ca.value);return h}function Cd(ha){return ha instanceof Array?ha:Ac(rc(ha))}var Dd="function"==typeof Object.create?Object.create:function(ha){function ca(){}ca.prototype=ha;return new ca},Ed;
if("function"==typeof Object.setPrototypeOf)Ed=Object.setPrototypeOf;else{var pe;a:{var of={a:!0},pf={};try{pf.__proto__=of;pe=pf.a;break a}catch(ha){}pe=!1}Ed=pe?function(ha,ca){ha.__proto__=ca;if(ha.__proto__!==ca)throw new TypeError(ha+" is not extensible");return ha}:null}var qf=Ed;
function rf(ha,ca){ha.prototype=Dd(ca.prototype);ha.prototype.constructor=ha;if(qf)qf(ha,ca);else for(var h in ca)if("prototype"!=h)if(Object.defineProperties){var ba=Object.getOwnPropertyDescriptor(ca,h);ba&&Object.defineProperty(ha,h,ba)}else ha[h]=ca[h];ha.ufa=ca.prototype}
function sf(ha,ca){if(ca){var h=hb;ha=ha.split(".");for(var ba=0;ba<ha.length-1;ba++){var aa=ha[ba];aa in h||(h[aa]={});h=h[aa]}ha=ha[ha.length-1];ba=h[ha];ca=ca(ba);ca!=ba&&null!=ca&&ab(h,ha,{configurable:!0,writable:!0,value:ca})}}
sf("Promise",function(ha){function ca(h){this.state_=0;this.nH=void 0;this.ar=[];var z=this.CD();try{h(z.resolve,z.reject)}catch(y){z.reject(y)}}function h(){this.Cl=null}function ba(h){return h instanceof ca?h:new ca(function(z){z(h)})}if(ha)return ha;h.prototype.WL=function(h){null==this.Cl&&(this.Cl=[],this.sY());this.Cl.push(h)};h.prototype.sY=function(){var h=this;this.XL(function(){h.U0()})};var aa=hb.setTimeout;h.prototype.XL=function(h){aa(h,0)};h.prototype.U0=function(){for(;this.Cl&&this.Cl.length;){var h=
this.Cl;this.Cl=[];for(var z=0;z<h.length;++z){var y=h[z];h[z]=null;try{y()}catch(f){this.tY(f)}}}this.Cl=null};h.prototype.tY=function(h){this.XL(function(){throw h;})};ca.prototype.CD=function(){function h(f){return function(e){y||(y=!0,f.call(z,e))}}var z=this,y=!1;return{resolve:h(this.q9),reject:h(this.gH)}};ca.prototype.q9=function(h){if(h===this)this.gH(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof ca)this.qaa(h);else{a:switch(typeof h){case "object":var z=null!=
h;break a;case "function":z=!0;break a;default:z=!1}z?this.p9(h):this.BN(h)}};ca.prototype.p9=function(h){var z=void 0;try{z=h.then}catch(y){this.gH(y);return}"function"==typeof z?this.raa(z,h):this.BN(h)};ca.prototype.gH=function(h){this.aT(2,h)};ca.prototype.BN=function(h){this.aT(1,h)};ca.prototype.aT=function(h,z){if(0!=this.state_)throw Error("Cannot settle("+h+", "+z+"): Promise already settled in state"+this.state_);this.state_=h;this.nH=z;this.V0()};ca.prototype.V0=function(){if(null!=this.ar){for(var h=
0;h<this.ar.length;++h)fa.WL(this.ar[h]);this.ar=null}};var fa=new h;ca.prototype.qaa=function(h){var z=this.CD();h.Lx(z.resolve,z.reject)};ca.prototype.raa=function(h,z){var y=this.CD();try{h.call(z,y.resolve,y.reject)}catch(f){y.reject(f)}};ca.prototype.then=function(h,z){function y(r,w){return"function"==typeof r?function(n){try{f(r(n))}catch(ea){e(ea)}}:w}var f,e,x=new ca(function(r,w){f=r;e=w});this.Lx(y(h,f),y(z,e));return x};ca.prototype.catch=function(h){return this.then(void 0,h)};ca.prototype.Lx=
function(h,z){function y(){switch(f.state_){case 1:h(f.nH);break;case 2:z(f.nH);break;default:throw Error("Unexpected state: "+f.state_);}}var f=this;null==this.ar?fa.WL(y):this.ar.push(y)};ca.resolve=ba;ca.reject=function(h){return new ca(function(z,y){y(h)})};ca.race=function(h){return new ca(function(z,y){for(var f=rc(h),e=f.next();!e.done;e=f.next())ba(e.value).Lx(z,y)})};ca.all=function(h){var z=rc(h),y=z.next();return y.done?ba([]):new ca(function(f,e){function x(e){return function(n){r[e]=
n;w--;0==w&&f(r)}}var r=[],w=0;do r.push(void 0),w++,ba(y.value).Lx(x(r.length-1),e),y=z.next();while(!y.done)})};return ca});function tf(){this.qu=!1;this.Im=null;this.Vc=void 0;this.ra=1;this.qN=this.Np=0;this.dn=null}function uf(ha){if(ha.qu)throw new TypeError("Generator is already running");ha.qu=!0}tf.prototype.Fu=function(ha){this.Vc=ha};tf.prototype.Jv=function(ha){this.dn={jN:ha,L4:!0};this.ra=this.Np||this.qN};tf.prototype.return=function(ha){this.dn={return:ha};this.ra=this.qN};
function vf(ha,ca,h){ha.ra=h;return{value:ca}}function wf(ha,ca){ha.ra=ca;ha.Np=0}function xf(ha){ha.Np=0;var ca=ha.dn.jN;ha.dn=null;return ca}tf.prototype.forIn=function(ha){return new tg(ha)};function tg(ha){this.eR=[];for(var ca in ha)this.eR.push(ca);this.eR.reverse()}function ug(ha){this.Pb=new tf;this.G7=ha}ug.prototype.Fu=function(ha){uf(this.Pb);if(this.Pb.Im)return vg(this,this.Pb.Im.next,ha,this.Pb.Fu);this.Pb.Fu(ha);return wg(this)};
function xg(ha,ca){uf(ha.Pb);var h=ha.Pb.Im;if(h)return vg(ha,"return"in h?h["return"]:function(h){return{value:h,done:!0}},ca,ha.Pb.return);ha.Pb.return(ca);return wg(ha)}ug.prototype.Jv=function(ha){uf(this.Pb);if(this.Pb.Im)return vg(this,this.Pb.Im["throw"],ha,this.Pb.Fu);this.Pb.Jv(ha);return wg(this)};
function vg(ha,ca,h,ba){try{var aa=ca.call(ha.Pb.Im,h);if(!(aa instanceof Object))throw new TypeError("Iterator result "+aa+" is not an object");if(!aa.done)return ha.Pb.qu=!1,aa;var fa=aa.value}catch(da){return ha.Pb.Im=null,ha.Pb.Jv(da),wg(ha)}ha.Pb.Im=null;ba.call(ha.Pb,fa);return wg(ha)}
function wg(ha){for(;ha.Pb.ra;)try{var ca=ha.G7(ha.Pb);if(ca)return ha.Pb.qu=!1,{value:ca.value,done:!1}}catch(h){ha.Pb.Vc=void 0,ha.Pb.Jv(h)}ha.Pb.qu=!1;if(ha.Pb.dn){ca=ha.Pb.dn;ha.Pb.dn=null;if(ca.L4)throw ca.jN;return{value:ca.return,done:!0}}return{value:void 0,done:!0}}function Yh(ha){this.next=function(ca){return ha.Fu(ca)};this.throw=function(ca){return ha.Jv(ca)};this.return=function(ca){return xg(ha,ca)};Kb();this[Symbol.iterator]=function(){return this}}
function Zh(ha){function ca(h){return ha.next(h)}function h(h){return ha.throw(h)}return new Promise(function(ba,aa){function fa(da){da.done?ba(da.value):Promise.resolve(da.value).then(ca,h).then(fa,aa)}fa(ha.next())})}function $h(ha){return Zh(new Yh(new ug(ha)))}
function ai(ha,ca){Kb();ha instanceof String&&(ha+="");var h=0,ba={next:function(){if(h<ha.length){var aa=h++;return{value:ca(aa,ha[aa]),done:!1}}ba.next=function(){return{done:!0,value:void 0}};return ba.next()}};ba[Symbol.iterator]=function(){return ba};return ba}sf("Array.prototype.keys",function(ha){return ha?ha:function(){return ai(this,function(ca){return ca})}});
function bi(ha,ca,h){ha instanceof String&&(ha=String(ha));for(var ba=ha.length,aa=0;aa<ba;aa++){var fa=ha[aa];if(ca.call(h,fa,aa,ha))return{i:aa,Qv:fa}}return{i:-1,Qv:void 0}}sf("Array.prototype.find",function(ha){return ha?ha:function(ca,h){return bi(this,ca,h).Qv}});sf("Object.setPrototypeOf",function(ha){return ha||qf});function di(ha,ca){return Object.prototype.hasOwnProperty.call(ha,ca)}
var ei="function"==typeof Object.assign?Object.assign:function(ha,ca){for(var h=1;h<arguments.length;h++){var ba=arguments[h];if(ba)for(var aa in ba)di(ba,aa)&&(ha[aa]=ba[aa])}return ha};sf("Object.assign",function(ha){return ha||ei});sf("Object.is",function(ha){return ha?ha:function(ca,h){return ca===h?0!==ca||1/ca===1/h:ca!==ca&&h!==h}});
sf("Array.prototype.includes",function(ha){return ha?ha:function(ca,h){var ba=this;ba instanceof String&&(ba=String(ba));var aa=ba.length;h=h||0;for(0>h&&(h=Math.max(h+aa,0));h<aa;h++){var fa=ba[h];if(fa===ca||Object.is(fa,ca))return!0}return!1}});
function fi(ha,ca,h){if(null==ha)throw new TypeError("The 'this' value for String.prototype."+h+" must not be null or undefined");if(ca instanceof RegExp)throw new TypeError("First argument to String.prototype."+h+" must not be a regular expression");return ha+""}sf("String.prototype.includes",function(ha){return ha?ha:function(ca,h){return-1!==fi(this,ca,"includes").indexOf(ca,h||0)}});
sf("Array.prototype.fill",function(ha){return ha?ha:function(ca,h,ba){var aa=this.length||0;0>h&&(h=Math.max(0,aa+h));if(null==ba||ba>aa)ba=aa;ba=Number(ba);0>ba&&(ba=Math.max(0,aa+ba));for(h=Number(h||0);h<ba;h++)this[h]=ca;return this}});sf("Object.values",function(ha){return ha?ha:function(ca){var h=[],ba;for(ba in ca)di(ca,ba)&&h.push(ca[ba]);return h}});
sf("Math.imul",function(ha){return ha?ha:function(ca,h){ca=Number(ca);h=Number(h);var ba=ca&65535,aa=h&65535;return ba*aa+((ca>>>16&65535)*aa+ba*(h>>>16&65535)<<16>>>0)|0}});sf("String.prototype.endsWith",function(ha){return ha?ha:function(ca,h){var ba=fi(this,ca,"endsWith");ca+="";void 0===h&&(h=ba.length);h=Math.max(0,Math.min(h|0,ba.length));for(var aa=ca.length;0<aa&&0<h;)if(ba[--h]!=ca[--aa])return!1;return 0>=aa}});
sf("String.prototype.startsWith",function(ha){return ha?ha:function(ca,h){var ba=fi(this,ca,"startsWith");ca+="";var aa=ba.length,fa=ca.length;h=Math.max(0,Math.min(h|0,ba.length));for(var da=0;da<fa&&h<aa;)if(ba[h++]!=ca[da++])return!1;return da>=fa}});
sf("WeakMap",function(ha){function ca(z){this.fu=(da+=Math.random()+1).toString();if(z){z=rc(z);for(var y;!(y=z.next()).done;)y=y.value,this.set(y[0],y[1])}}function h(){}function ba(z){di(z,fa)||ab(z,fa,{value:new h})}function aa(z){var y=Object[z];y&&(Object[z]=function(f){if(f instanceof h)return f;ba(f);return y(f)})}if(function(){if(!ha||!Object.seal)return!1;try{var z=Object.seal({}),y=Object.seal({}),f=new ha([[z,2],[y,3]]);if(2!=f.get(z)||3!=f.get(y))return!1;f.delete(z);f.set(y,4);return!f.has(z)&&
4==f.get(y)}catch(e){return!1}}())return ha;var fa="$jscomp_hidden_"+Math.random();aa("freeze");aa("preventExtensions");aa("seal");var da=0;ca.prototype.set=function(z,y){ba(z);if(!di(z,fa))throw Error("WeakMap key fail: "+z);z[fa][this.fu]=y;return this};ca.prototype.get=function(z){return di(z,fa)?z[fa][this.fu]:void 0};ca.prototype.has=function(z){return di(z,fa)&&di(z[fa],this.fu)};ca.prototype.delete=function(z){return di(z,fa)&&di(z[fa],this.fu)?delete z[fa][this.fu]:!1};return ca});
sf("Map",function(ha){function ca(){var z={};return z.Ik=z.next=z.head=z}function h(z,y){var f=z.mk;return qc(function(){if(f){for(;f.head!=z.mk;)f=f.Ik;for(;f.next!=f.head;)return f=f.next,{done:!1,value:y(f)};f=null}return{done:!0,value:void 0}})}function ba(z,y){var f=y&&typeof y;"object"==f||"function"==f?fa.has(y)?f=fa.get(y):(f=""+ ++da,fa.set(y,f)):f="p_"+y;var e=z.data_[f];if(e&&di(z.data_,f))for(z=0;z<e.length;z++){var x=e[z];if(y!==y&&x.key!==x.key||y===x.key)return{id:f,list:e,index:z,
df:x}}return{id:f,list:e,index:-1,df:void 0}}function aa(z){this.data_={};this.mk=ca();this.size=0;if(z){z=rc(z);for(var y;!(y=z.next()).done;)y=y.value,this.set(y[0],y[1])}}if(function(){if(!ha||"function"!=typeof ha||!ha.prototype.entries||"function"!=typeof Object.seal)return!1;try{var z=Object.seal({x:4}),y=new ha(rc([[z,"s"]]));if("s"!=y.get(z)||1!=y.size||y.get({x:4})||y.set({x:4},"t")!=y||2!=y.size)return!1;var f=y.entries(),e=f.next();if(e.done||e.value[0]!=z||"s"!=e.value[1])return!1;e=f.next();
return e.done||4!=e.value[0].x||"t"!=e.value[1]||!f.next().done?!1:!0}catch(x){return!1}}())return ha;Kb();var fa=new WeakMap;aa.prototype.set=function(z,y){z=0===z?0:z;var f=ba(this,z);f.list||(f.list=this.data_[f.id]=[]);f.df?f.df.value=y:(f.df={next:this.mk,Ik:this.mk.Ik,head:this.mk,key:z,value:y},f.list.push(f.df),this.mk.Ik.next=f.df,this.mk.Ik=f.df,this.size++);return this};aa.prototype.delete=function(z){z=ba(this,z);return z.df&&z.list?(z.list.splice(z.index,1),z.list.length||delete this.data_[z.id],
z.df.Ik.next=z.df.next,z.df.next.Ik=z.df.Ik,z.df.head=null,this.size--,!0):!1};aa.prototype.clear=function(){this.data_={};this.mk=this.mk.Ik=ca();this.size=0};aa.prototype.has=function(z){return!!ba(this,z).df};aa.prototype.get=function(z){return(z=ba(this,z).df)&&z.value};aa.prototype.entries=function(){return h(this,function(z){return[z.key,z.value]})};aa.prototype.keys=function(){return h(this,function(z){return z.key})};aa.prototype.values=function(){return h(this,function(z){return z.value})};
aa.prototype.forEach=function(z,y){for(var f=this.entries(),e;!(e=f.next()).done;)e=e.value,z.call(y,e[1],e[0],this)};aa.prototype[Symbol.iterator]=aa.prototype.entries;var da=0;return aa});sf("Number.EPSILON",function(){return Math.pow(2,-52)});sf("Math.trunc",function(ha){return ha?ha:function(ca){ca=Number(ca);if(isNaN(ca)||Infinity===ca||-Infinity===ca||0===ca)return ca;var h=Math.floor(Math.abs(ca));return 0>ca?-h:h}});
sf("String.prototype.repeat",function(ha){return ha?ha:function(ca){var h=fi(this,null,"repeat");if(0>ca||1342177279<ca)throw new RangeError("Invalid count value");ca|=0;for(var ba="";ca;)if(ca&1&&(ba+=h),ca>>>=1)h+=h;return ba}});
sf("Array.from",function(ha){return ha?ha:function(ca,h,ba){h=null!=h?h:function(z){return z};var aa=[],fa="undefined"!=typeof Symbol&&Symbol.iterator&&ca[Symbol.iterator];if("function"==typeof fa){ca=fa.call(ca);for(var da=0;!(fa=ca.next()).done;)aa.push(h.call(ba,fa.value,da++))}else for(fa=ca.length,da=0;da<fa;da++)aa.push(h.call(ba,ca[da],da));return aa}});
sf("String.fromCodePoint",function(ha){return ha?ha:function(ca){for(var h="",ba=0;ba<arguments.length;ba++){var aa=Number(arguments[ba]);if(0>aa||1114111<aa||aa!==Math.floor(aa))throw new RangeError("invalid_code_point "+aa);65535>=aa?h+=String.fromCharCode(aa):(aa-=65536,h+=String.fromCharCode(aa>>>10&1023|55296),h+=String.fromCharCode(aa&1023|56320))}return h}});sf("Array.prototype.findIndex",function(ha){return ha?ha:function(ca,h){return bi(this,ca,h).i}});
sf("Array.prototype.values",function(ha){return ha?ha:function(){return ai(this,function(ca,h){return h})}});sf("String.prototype.padStart",function(ha){return ha?ha:function(ca,h){var ba=fi(this,null,"padStart");ca-=ba.length;h=void 0!==h?String(h):" ";return(0<ca&&h?h.repeat(Math.ceil(ca/h.length)).substring(0,ca):"")+ba}});sf("Array.prototype.entries",function(ha){return ha?ha:function(){return ai(this,function(ca,h){return[ca,h]})}});
sf("Set",function(ha){function ca(h){this.Xi=new Map;if(h){h=rc(h);for(var ba;!(ba=h.next()).done;)this.add(ba.value)}this.size=this.Xi.size}if(function(){if(!ha||"function"!=typeof ha||!ha.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),ba=new ha(rc([h]));if(!ba.has(h)||1!=ba.size||ba.add(h)!=ba||1!=ba.size||ba.add({x:4})!=ba||2!=ba.size)return!1;var aa=ba.entries(),fa=aa.next();if(fa.done||fa.value[0]!=h||fa.value[1]!=h)return!1;fa=aa.next();return fa.done||
fa.value[0]==h||4!=fa.value[0].x||fa.value[1]!=fa.value[0]?!1:aa.next().done}catch(da){return!1}}())return ha;Kb();ca.prototype.add=function(h){h=0===h?0:h;this.Xi.set(h,h);this.size=this.Xi.size;return this};ca.prototype.delete=function(h){h=this.Xi.delete(h);this.size=this.Xi.size;return h};ca.prototype.clear=function(){this.Xi.clear();this.size=0};ca.prototype.has=function(h){return this.Xi.has(h)};ca.prototype.entries=function(){return this.Xi.entries()};ca.prototype.values=function(){return this.Xi.values()};
ca.prototype.keys=ca.prototype.values;ca.prototype[Symbol.iterator]=ca.prototype.values;ca.prototype.forEach=function(h,ba){var aa=this;this.Xi.forEach(function(fa){return h.call(ba,fa,fa,aa)})};return ca});
(function(ha){function ca(f){for(var e=f[0],x=f[1],r,w,n=0,ea=[];n<e.length;n++)w=e[n],Object.prototype.hasOwnProperty.call(aa,w)&&aa[w]&&ea.push(aa[w][0]),aa[w]=0;for(r in x)Object.prototype.hasOwnProperty.call(x,r)&&(ha[r]=x[r]);for(y&&y(f);ea.length;)ea.shift()()}function h(f){if(ba[f])return ba[f].exports;var e=ba[f]={i:f,l:!1,exports:{}};ha[f].call(e.exports,e,e.exports,h);e.l=!0;return e.exports}var ba={},aa={17:0};h.e=function(f){var e=[],x=aa[f];if(0!==x)if(x)e.push(x[2]);else{var r=new Promise(function(e,
n){x=aa[f]=[e,n]});e.push(x[2]=r);var w=document.createElement("script");w.charset="utf-8";w.timeout=120;h.b6&&w.setAttribute("nonce",h.b6);w.src=h.p+""+({0:"HttpPartRetriever",1:"vendors.ascii85.quill",2:"vendors.quill",3:"AndroidContentPartRetriever",4:"ArrayBufferPdfPartRetriever",5:"AzurePartRetriever",6:"BlackBoxPartRetriever",7:"ExternalAnnotationMerger",8:"ExternalPdfPartRetriever",9:"IOSPartRetriever",10:"LocalPartRetriever",11:"LocalPdfPartRetriever",12:"PDFInfoVersion1",13:"SelectionInfoOld",
14:"StreamingPartRetriever",15:"WebDBPartRetriever",16:"WinRTPartRetriever",18:"pikaday",19:"vendors.ascii85",20:"vendors.pako"}[f]||f)+".chunk.js";var n=Error();var ea=function(e){w.onerror=w.onload=null;clearTimeout(ia);var r=aa[f];if(0!==r){if(r){var x=e&&("load"===e.type?"missing":e.type);e=e&&e.target&&e.target.src;n.message="Loading chunk "+f+" failed.\n("+x+": "+e+")";n.name="ChunkLoadError";n.type=x;n.request=e;r[1](n)}aa[f]=void 0}};var ia=setTimeout(function(){ea({type:"timeout",target:w})},
12E4);w.onerror=w.onload=ea;document.head.appendChild(w)}return Promise.all(e)};h.m=ha;h.c=ba;h.d=function(f,e,x){h.o(f,e)||Object.defineProperty(f,e,{enumerable:!0,get:x})};h.r=function(f){mb();mb();"undefined"!==typeof Symbol&&Symbol.toStringTag&&(mb(),Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}));Object.defineProperty(f,"__esModule",{value:!0})};h.t=function(f,e){e&1&&(f=h(f));if(e&8||e&4&&"object"===typeof f&&f&&f.__esModule)return f;var x=Object.create(null);h.r(x);Object.defineProperty(x,
"default",{enumerable:!0,value:f});if(e&2&&"string"!=typeof f)for(var r in f)h.d(x,r,function(e){return f[e]}.bind(null,r));return x};h.n=function(f){var e=f&&f.__esModule?function(){return f["default"]}:function(){return f};h.d(e,"a",e);return e};h.o=function(f,e){return Object.prototype.hasOwnProperty.call(f,e)};h.p="../core/";h.Oea=function(f){console.error(f);throw f;};var fa=window.wpCoreControlsBundle=window.wpCoreControlsBundle||[],da=fa.push.bind(fa);fa.push=ca;fa=fa.slice();for(var z=0;z<
fa.length;z++)ca(fa[z]);var y=da;return h(h.s=305)})([function(ha,ca,h){(function(h,aa){var fa;(function(){function da(e,f,n){switch(n.length){case 0:return e.call(f);case 1:return e.call(f,n[0]);case 2:return e.call(f,n[0],n[1]);case 3:return e.call(f,n[0],n[1],n[2])}return e.apply(f,n)}function z(e,f,n,r){for(var w=-1,x=null==e?0:e.length;++w<x;){var ea=e[w];f(r,ea,n(ea),e)}return r}function y(e,f){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==f(e[n],n,e););return e}function f(e,f){for(var n=null==
e?0:e.length;n--&&!1!==f(e[n],n,e););return e}function e(e,f){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!f(e[n],n,e))return!1;return!0}function x(e,f){for(var n=-1,r=null==e?0:e.length,w=0,x=[];++n<r;){var ea=e[n];f(ea,n,e)&&(x[w++]=ea)}return x}function r(e,f){return!(null==e||!e.length)&&-1<ja(e,f,0)}function w(e,f,n){for(var r=-1,w=null==e?0:e.length;++r<w;)if(n(f,e[r]))return!0;return!1}function n(e,f){for(var n=-1,r=null==e?0:e.length,w=Array(r);++n<r;)w[n]=f(e[n],n,e);return w}function ea(e,
f){for(var n=-1,r=f.length,w=e.length;++n<r;)e[w+n]=f[n];return e}function ia(e,f,n,r){var w=-1,x=null==e?0:e.length;for(r&&x&&(n=e[++w]);++w<x;)n=f(n,e[w],w,e);return n}function ka(e,f,n,r){var w=null==e?0:e.length;for(r&&w&&(n=e[--w]);w--;)n=f(n,e[w],w,e);return n}function oa(e,f){for(var n=-1,r=null==e?0:e.length;++n<r;)if(f(e[n],n,e))return!0;return!1}function ma(e,f,n){var r;n(e,function(e,n,w){if(f(e,n,w))return r=n,!1});return r}function la(e,f,n,r){var w=e.length;for(n+=r?1:-1;r?n--:++n<w;)if(f(e[n],
n,e))return n;return-1}function ja(e,f,n){if(f===f)a:{--n;for(var r=e.length;++n<r;)if(e[n]===f){e=n;break a}e=-1}else e=la(e,ra,n);return e}function ua(e,f,n,r){--n;for(var w=e.length;++n<w;)if(r(e[n],f))return n;return-1}function ra(e){return e!==e}function na(e,f){var n=null==e?0:e.length;return n?ta(e,f)/n:Ga}function ba(e){return function(f){return null==f?xa:f[e]}}function za(e){return function(f){return null==e?xa:e[f]}}function sa(e,f,n,r,w){w(e,function(e,w,x){n=r?(r=!1,e):f(n,e,w,x)});return n}
function va(e,f){var n=e.length;for(e.sort(f);n--;)e[n]=e[n].value;return e}function ta(e,f){for(var n,r=-1,w=e.length;++r<w;){var x=f(e[r]);x!==xa&&(n=n===xa?x:n+x)}return n}function ya(e,f){for(var n=-1,r=Array(e);++n<e;)r[n]=f(n);return r}function pa(e,f){return n(f,function(f){return[f,e[f]]})}function Ha(e){return function(f){return e(f)}}function Ca(e,f){return n(f,function(f){return e[f]})}function ha(e,f){return e.has(f)}function Ea(e,f){for(var n=-1,r=e.length;++n<r&&-1<ja(f,e[n],0););return n}
function Da(e,f){for(var n=e.length;n--&&-1<ja(f,e[n],0););return n}function Ja(e){return"\\"+Tc[e]}function Na(e){var f=-1,n=Array(e.size);e.forEach(function(e,r){n[++f]=[r,e]});return n}function wa(e,f){return function(n){return e(f(n))}}function Fa(e,f){for(var n=-1,r=e.length,w=0,x=[];++n<r;){var ea=e[n];if(ea===f||"__lodash_placeholder__"===ea)e[n]="__lodash_placeholder__",x[w++]=n}return x}function Ma(e){var f=-1,n=Array(e.size);e.forEach(function(e){n[++f]=e});return n}function qa(e){var f=
-1,n=Array(e.size);e.forEach(function(e){n[++f]=[e,e]});return n}function Ia(e){if(Bc.test(e)){for(var f=Zb.lastIndex=0;Zb.test(e);)++f;e=f}else e=fd(e);return e}function Pa(e){return Bc.test(e)?e.match(Zb)||[]:e.split("")}var xa,La=1/0,Ga=0/0,Qa=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Ta=/\b__p \+= '';/g,Ra=/\b(__p \+=) '' \+/g,ib=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Lb=/&(?:amp|lt|gt|quot|#39);/g,Mb=/[&<>"']/g,
Db=RegExp(Lb.source),ub=RegExp(Mb.source),$b=/<%-([\s\S]+?)%>/g,wb=/<%([\s\S]+?)%>/g,ac=/<%=([\s\S]+?)%>/g,db=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Id=/^\w*$/,Uc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sc=/[\\^$.*+?()[\]{}|]/g,Vc=RegExp(sc.source),eb=/^\s+|\s+$/g,Jd=/^\s+/,gd=/\s+$/,Wc=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,hd=/\{\n\/\* \[wrapped with (.+)\] \*/,tc=/,? & /,Kd=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Jc=
/\\(\\)?/g,Ld=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Md=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,zf=/^0b[01]+$/i,Nd=/^\[object .+?Constructor\]$/,Af=/^0o[0-7]+$/i,se=/^(?:0|[1-9]\d*)$/,Bf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xc=/($^)/,gb=/['\n\r\u2028\u2029\\]/g,te=/['\u2019]/g,id=/[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]/g,Zb=/\ud83c[\udffb-\udfff](?=\ud83c[\udffb-\udfff])|(?:[^\ud800-\udfff][\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]?|[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,
Od=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\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]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\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\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\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]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\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\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\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\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['\u2019](?: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_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,
Bc=/[\u200d\ud800-\udfff\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff\ufe0e\ufe0f]/,Pd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Qd="Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),ue=-1,Xa={};Xa["[object Float32Array]"]=Xa["[object Float64Array]"]=Xa["[object Int8Array]"]=
Xa["[object Int16Array]"]=Xa["[object Int32Array]"]=Xa["[object Uint8Array]"]=Xa["[object Uint8ClampedArray]"]=Xa["[object Uint16Array]"]=Xa["[object Uint32Array]"]=!0;Xa["[object Arguments]"]=Xa["[object Array]"]=Xa["[object ArrayBuffer]"]=Xa["[object Boolean]"]=Xa["[object DataView]"]=Xa["[object Date]"]=Xa["[object Error]"]=Xa["[object Function]"]=Xa["[object Map]"]=Xa["[object Number]"]=Xa["[object Object]"]=Xa["[object RegExp]"]=Xa["[object Set]"]=Xa["[object String]"]=Xa["[object WeakMap]"]=
!1;var $a={};$a["[object Arguments]"]=$a["[object Array]"]=$a["[object ArrayBuffer]"]=$a["[object DataView]"]=$a["[object Boolean]"]=$a["[object Date]"]=$a["[object Float32Array]"]=$a["[object Float64Array]"]=$a["[object Int8Array]"]=$a["[object Int16Array]"]=$a["[object Int32Array]"]=$a["[object Map]"]=$a["[object Number]"]=$a["[object Object]"]=$a["[object RegExp]"]=$a["[object Set]"]=$a["[object String]"]=$a["[object Symbol]"]=$a["[object Uint8Array]"]=$a["[object Uint8ClampedArray]"]=$a["[object Uint16Array]"]=
$a["[object Uint32Array]"]=!0;$a["[object Error]"]=$a["[object Function]"]=$a["[object WeakMap]"]=!1;var Tc={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ve=parseFloat,we=parseInt,Kc="object"==typeof h&&h&&h.Object===Object&&h,jd="object"==typeof self&&self&&self.Object===Object&&self,vb=Kc||jd||Function("return this")(),bc=ca&&!ca.nodeType&&ca,uc=bc&&"object"==typeof aa&&aa&&!aa.nodeType&&aa,Rd=uc&&uc.exports===bc,vc=Rd&&Kc.process,jb=function(){try{var e=uc&&uc.require&&
uc.require("util").types;return e?e:vc&&vc.binding&&vc.binding("util")}catch(Fd){}}(),xe=jb&&jb.isArrayBuffer,Sd=jb&&jb.isDate,Yc=jb&&jb.isMap,Td=jb&&jb.isRegExp,kd=jb&&jb.isSet,Ud=jb&&jb.isTypedArray,fd=ba("length"),jc=za({"\u00c0":"A","\u00c1":"A","\u00c2":"A","\u00c3":"A","\u00c4":"A","\u00c5":"A","\u00e0":"a","\u00e1":"a","\u00e2":"a","\u00e3":"a","\u00e4":"a","\u00e5":"a","\u00c7":"C","\u00e7":"c","\u00d0":"D","\u00f0":"d","\u00c8":"E","\u00c9":"E","\u00ca":"E","\u00cb":"E","\u00e8":"e","\u00e9":"e",
"\u00ea":"e","\u00eb":"e","\u00cc":"I","\u00cd":"I","\u00ce":"I","\u00cf":"I","\u00ec":"i","\u00ed":"i","\u00ee":"i","\u00ef":"i","\u00d1":"N","\u00f1":"n","\u00d2":"O","\u00d3":"O","\u00d4":"O","\u00d5":"O","\u00d6":"O","\u00d8":"O","\u00f2":"o","\u00f3":"o","\u00f4":"o","\u00f5":"o","\u00f6":"o","\u00f8":"o","\u00d9":"U","\u00da":"U","\u00db":"U","\u00dc":"U","\u00f9":"u","\u00fa":"u","\u00fb":"u","\u00fc":"u","\u00dd":"Y","\u00fd":"y","\u00ff":"y","\u00c6":"Ae","\u00e6":"ae","\u00de":"Th","\u00fe":"th",
"\u00df":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H",
"\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o",
"\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y",
"\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Cc=za({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),Cf=za({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),pc=function Gd(h){function aa(e){if(qb(e)&&!Ua(e)&&!(e instanceof Ba)){if(e instanceof za)return e;if(fb.call(e,"__wrapped__"))return zg(e)}return new za(e)}function fa(){}function za(e,f){this.__wrapped__=
e;this.__actions__=[];this.__chain__=!!f;this.__index__=0;this.__values__=xa}function Ba(e){this.__wrapped__=e;this.__actions__=[];this.__dir__=1;this.__filtered__=!1;this.__iteratees__=[];this.__takeCount__=4294967295;this.__views__=[]}function ca(e){var f=-1,n=null==e?0:e.length;for(this.clear();++f<n;){var r=e[f];this.set(r[0],r[1])}}function Aa(e){var f=-1,n=null==e?0:e.length;for(this.clear();++f<n;){var r=e[f];this.set(r[0],r[1])}}function jb(e){var f=-1,n=null==e?0:e.length;for(this.clear();++f<
n;){var r=e[f];this.set(r[0],r[1])}}function kc(e){var f=-1,n=null==e?0:e.length;for(this.__data__=new jb;++f<n;)this.add(e[f])}function zb(e){this.size=(this.__data__=new Aa(e)).size}function bc(e,f){var n=Ua(e),r=!n&&Zc(e),w=!n&&!r&&Lc(e),x=!n&&!r&&!w&&ld(e);r=(n=n||r||w||x)?ya(e.length,ji):[];var ea=r.length,ia;for(ia in e)!f&&!fb.call(e,ia)||n&&("length"==ia||w&&("offset"==ia||"parent"==ia)||x&&("buffer"==ia||"byteLength"==ia||"byteOffset"==ia)||Dc(ia,ea))||r.push(ia);return r}function Eb(e){var f=
e.length;return f?e[Vd(0,f-1)]:xa}function uc(e,f){return ze(Nb(e),cc(f,0,e.length))}function vc(e){return ze(Nb(e))}function Mc(e,f,n){(n===xa||lc(e[f],n))&&(n!==xa||f in e)||Ob(e,f,n)}function bb(e,f,n){var r=e[f];fb.call(e,f)&&lc(r,n)&&(n!==xa||f in e)||Ob(e,f,n)}function Zb(e,f){for(var n=e.length;n--;)if(lc(e[n][0],f))return n;return-1}function Kc(e,f,n,r){Nc(e,function(e,w,x){f(r,e,n(e),x)});return r}function $c(e,f){return e&&wc(f,Ab(f),e)}function Wd(e,f){return e&&wc(f,Pb(f),e)}function Ob(e,
f,n){"__proto__"==f&&Ae?Ae(e,f,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[f]=n}function Xd(e,f){for(var n=-1,r=f.length,w=xb(r),x=null==e;++n<r;)w[n]=x?xa:Ff(e,f[n]);return w}function cc(e,f,n){e===e&&(n!==xa&&(e=e<=n?e:n),f!==xa&&(e=e>=f?e:f));return e}function Qb(e,f,n,r,w,x){var ea,ia=f&1,z=f&2,ja=f&4;n&&(ea=w?n(e,r,w,x):n(e));if(ea!==xa)return ea;if(!ob(e))return e;if(r=Ua(e)){if(ea=ki(e),!ia)return Nb(e,ea)}else{var h=Fb(e),ka="[object Function]"==h||"[object GeneratorFunction]"==
h;if(Lc(e))return Be(e,ia);if("[object Object]"==h||"[object Arguments]"==h||ka&&!w){if(ea=z||ka?{}:Fg(e),!ia)return z?li(e,Wd(ea,e)):mi(e,$c(ea,e))}else{if(!$a[h])return w?e:{};ea=ni(e,h,ia)}}x||(x=new zb);if(w=x.get(e))return w;x.set(e,ea);Gg(e)?e.forEach(function(r){ea.add(Qb(r,f,n,r,e,x))}):Hg(e)&&e.forEach(function(r,w){ea.set(w,Qb(r,f,n,w,e,x))});z=ja?z?Gf:Hf:z?Pb:Ab;var oa=r?xa:z(e);y(oa||e,function(r,w){oa&&(w=r,r=e[w]);bb(ea,w,Qb(r,f,n,w,e,x))});return ea}function md(e){var f=Ab(e);return function(n){return Oc(n,
e,f)}}function Oc(e,f,n){var r=n.length;if(null==e)return!r;for(e=lb(e);r--;){var w=n[r],x=f[w],ea=e[w];if(ea===xa&&!(w in e)||!x(ea))return!1}return!0}function nd(e,f,n){if("function"!=typeof e)throw new dc("Expected a function");return Yd(function(){e.apply(xa,n)},f)}function Ec(e,f,x,ea){var ia=-1,y=r,z=!0,ja=e.length,h=[],ka=f.length;if(!ja)return h;x&&(f=n(f,Ha(x)));ea?(y=w,z=!1):200<=f.length&&(y=ha,z=!1,f=new kc(f));a:for(;++ia<ja;){var oa=e[ia],ma=null==x?oa:x(oa);oa=ea||0!==oa?oa:0;if(z&&
ma===ma){for(var da=ka;da--;)if(f[da]===ma)continue a;h.push(oa)}else y(f,ma,ea)||h.push(oa)}return h}function Vb(e,f){var n=!0;Nc(e,function(e,r,w){return n=!!f(e,r,w)});return n}function Rb(e,f,n){for(var r=-1,w=e.length;++r<w;){var x=e[r],ea=f(x);if(null!=ea&&(ia===xa?ea===ea&&!Wb(ea):n(ea,ia)))var ia=ea,y=x}return y}function Xb(e,f){var n=[];Nc(e,function(e,r,w){f(e,r,w)&&n.push(e)});return n}function Ya(e,f,n,r,w){var x=-1,ia=e.length;n||(n=oi);for(w||(w=[]);++x<ia;){var y=e[x];0<f&&n(y)?1<f?
Ya(y,f-1,n,r,w):ea(w,y):r||(w[w.length]=y)}return w}function rb(e,f){return e&&If(e,f,Ab)}function Yb(e,f){return e&&Ig(e,f,Ab)}function ec(e,f){return x(f,function(f){return Fc(e[f])})}function mc(e,f){f=fc(f,e);for(var n=0,r=f.length;null!=e&&n<r;)e=e[xc(f[n++])];return n&&n==r?e:xa}function Tc(e,f,n){f=f(e);return Ua(e)?f:ea(f,n(e))}function Bb(e){if(null==e)e=e===xa?"[object Undefined]":"[object Null]";else if(ad&&ad in lb(e)){var f=fb.call(e,ad),n=e[ad];try{e[ad]=xa;var r=!0}catch(kk){}var w=
Ce.call(e);r&&(f?e[ad]=n:delete e[ad]);e=w}else e=Ce.call(e);return e}function pb(e,f){return e>f}function fd(e,f){return null!=e&&fb.call(e,f)}function jd(e,f){return null!=e&&f in lb(e)}function od(e,f,x){for(var ea=x?w:r,ia=e[0].length,y=e.length,z=y,ja=xb(y),h=Infinity,ka=[];z--;){var oa=e[z];z&&f&&(oa=n(oa,Ha(f)));h=Gb(oa.length,h);ja[z]=!x&&(f||120<=ia&&120<=oa.length)?new kc(z&&oa):xa}oa=e[0];var ma=-1,da=ja[0];a:for(;++ma<ia&&ka.length<h;){var aa=oa[ma],na=f?f(aa):aa;aa=x||0!==aa?aa:0;if(da?
!da.has(na):!ea(ka,na,x)){for(z=y;--z;){var ua=ja[z];if(ua?!ua.has(na):!ea(e[z],na,x))continue a}da&&da.push(na);ka.push(aa)}}return ka}function Jf(e,f,n,r){rb(e,function(e,w,x){f(r,n(e),w,x)});return r}function Pc(e,f,n){f=fc(f,e);e=2>f.length?e:mc(e,Hb(f,0,-1));f=null==e?e:e[xc(gc(f))];return null==f?xa:da(f,e,n)}function sb(e){return qb(e)&&"[object Arguments]"==Bb(e)}function bd(e){return qb(e)&&"[object ArrayBuffer]"==Bb(e)}function pd(e){return qb(e)&&"[object Date]"==Bb(e)}function yc(e,f,
n,r,w){if(e===f)f=!0;else if(null==e||null==f||!qb(e)&&!qb(f))f=e!==e&&f!==f;else a:{var x=Ua(e),ea=Ua(f),ia=x?"[object Array]":Fb(e),y=ea?"[object Array]":Fb(f);ia="[object Arguments]"==ia?"[object Object]":ia;y="[object Arguments]"==y?"[object Object]":y;var z="[object Object]"==ia;ea="[object Object]"==y;if((y=ia==y)&&Lc(e)){if(!Lc(f)){f=!1;break a}x=!0;z=!1}if(y&&!z)w||(w=new zb),f=x||ld(e)?Lg(e,f,n,r,yc,w):qi(e,f,ia,n,r,yc,w);else{if(!(n&1)&&(x=z&&fb.call(e,"__wrapped__"),ia=ea&&fb.call(f,"__wrapped__"),
x||ia)){e=x?e.value():e;f=ia?f.value():f;w||(w=new zb);f=yc(e,f,n,r,w);break a}if(y)b:if(w||(w=new zb),x=n&1,ia=Hf(e),ea=ia.length,y=Hf(f).length,ea==y||x){for(y=ea;y--;){var ja=ia[y];if(!(x?ja in f:fb.call(f,ja))){f=!1;break b}}z=w.get(e);ja=w.get(f);if(z&&ja)f=z==f&&ja==e;else{z=!0;w.set(e,f);w.set(f,e);for(var h=x;++y<ea;){ja=ia[y];var ka=e[ja],oa=f[ja];if(r)var ma=x?r(oa,ka,ja,f,e,w):r(ka,oa,ja,e,f,w);if(ma===xa?ka!==oa&&!yc(ka,oa,n,r,w):!ma){z=!1;break}h||(h="constructor"==ja)}z&&!h&&(n=e.constructor,
r=f.constructor,n!=r&&"constructor"in e&&"constructor"in f&&!("function"==typeof n&&n instanceof n&&"function"==typeof r&&r instanceof r)&&(z=!1));w["delete"](e);w["delete"](f);f=z}}else f=!1;else f=!1}}return f}function Kf(e){return qb(e)&&"[object Map]"==Fb(e)}function Zd(e,f,n,r){var w=n.length,x=w,ea=!r;if(null==e)return!x;for(e=lb(e);w--;){var ia=n[w];if(ea&&ia[2]?ia[1]!==e[ia[0]]:!(ia[0]in e))return!1}for(;++w<x;){ia=n[w];var y=ia[0],z=e[y],ja=ia[1];if(ea&&ia[2]){if(z===xa&&!(y in e))return!1}else{ia=
new zb;if(r)var h=r(z,ja,y,e,f,ia);if(h===xa?!yc(ja,z,3,r,ia):!h)return!1}}return!0}function cd(e){return!ob(e)||Mg&&Mg in e?!1:(Fc(e)?ri:Nd).test(dd(e))}function $d(e){return qb(e)&&"[object RegExp]"==Bb(e)}function Lf(e){return qb(e)&&"[object Set]"==Fb(e)}function Mf(e){return qb(e)&&De(e.length)&&!!Xa[Bb(e)]}function Ee(e){return"function"==typeof e?e:null==e?Sb:"object"==typeof e?Ua(e)?Fe(e[0],e[1]):Ge(e):Ng(e)}function ae(e){if(!be(e))return si(e);var f=[],n;for(n in lb(e))fb.call(e,n)&&"constructor"!=
n&&f.push(n);return f}function ce(e,f){return e<f}function Qc(e,f){var n=-1,r=Tb(e)?xb(e.length):[];Nc(e,function(e,w,x){r[++n]=f(e,w,x)});return r}function Ge(e){var f=Nf(e);return 1==f.length&&f[0][2]?Og(f[0][0],f[0][1]):function(n){return n===e||Zd(n,e,f)}}function Fe(e,f){return Of(e)&&f===f&&!ob(f)?Og(xc(e),f):function(n){var r=Ff(n,e);return r===xa&&r===f?Pf(n,e):yc(f,r,3)}}function qd(e,f,n,r,w){e!==f&&If(f,function(x,ea){w||(w=new zb);if(ob(x)){x=w;var ia=Qf(e,ea),y=Qf(f,ea),z=x.get(y);if(z)Mc(e,
ea,z);else{z=r?r(ia,y,ea+"",e,f,x):xa;var ja=z===xa;if(ja){var h=Ua(y),ka=!h&&Lc(y),oa=!h&&!ka&&ld(y);z=y;if(h||ka||oa)Ua(ia)?z=ia:tb(ia)?z=Nb(ia):ka?(ja=!1,z=Be(y,!0)):oa?(ja=!1,z=Pg(y,!0)):z=[];else if(de(y)||Zc(y))if(z=ia,Zc(ia))z=Qg(ia);else{if(!ob(ia)||Fc(ia))z=Fg(y)}else ja=!1}ja&&(x.set(y,z),qd(z,y,n,r,x),x["delete"](y));Mc(e,ea,z)}}else ia=r?r(Qf(e,ea),x,ea+"",e,f,w):xa,ia===xa&&(ia=x),Mc(e,ea,ia)},Pb)}function He(e,f){var n=e.length;if(n)return f+=0>f?n:0,Dc(f,n)?e[f]:xa}function Ie(e,f,
r){f=f.length?n(f,function(e){return Ua(e)?function(f){return mc(f,1===e.length?e[0]:e)}:e}):[Sb];var w=-1;f=n(f,Ha(Sa()));e=Qc(e,function(e){return{criteria:n(f,function(f){return f(e)}),index:++w,value:e}});return va(e,function(e,f){a:{for(var n=-1,w=e.criteria,x=f.criteria,ea=w.length,ia=r.length;++n<ea;){var y=Rf(w[n],x[n]);if(y){e=n>=ia?y:y*("desc"==r[n]?-1:1);break a}}e=e.index-f.index}return e})}function Je(e,f){return ee(e,f,function(f,n){return Pf(e,n)})}function ee(e,f,n){for(var r=-1,w=
f.length,x={};++r<w;){var ea=f[r],ia=mc(e,ea);n(ia,ea)&&Rc(x,fc(ea,e),ia)}return x}function Sf(e){return function(f){return mc(f,e)}}function fe(e,f,r,w){var x=w?ua:ja,ea=-1,ia=f.length,y=e;e===f&&(f=Nb(f));for(r&&(y=n(e,Ha(r)));++ea<ia;){var z=0,h=f[ea];for(h=r?r(h):h;-1<(z=x(y,h,z,w));)y!==e&&Ke.call(y,z,1),Ke.call(e,z,1)}return e}function nc(e,f){for(var n=e?f.length:0,r=n-1;n--;){var w=f[n];if(n==r||w!==x){var x=w;Dc(w)?Ke.call(e,w,1):ge(e,w)}}return e}function Vd(e,f){return e+Le(Rg()*(f-e+1))}
function Ka(e,f){var n="";if(!e||1>f||9007199254740991<f)return n;do f%2&&(n+=e),(f=Le(f/2))&&(e+=e);while(f);return n}function Oa(e,f){return Tf(Sg(e,f,Sb),e+"")}function oc(e){return Eb(rd(e))}function Uf(e,f){e=rd(e);return ze(e,cc(f,0,e.length))}function Rc(e,f,n,r){if(!ob(e))return e;f=fc(f,e);for(var w=-1,x=f.length,ea=x-1,ia=e;null!=ia&&++w<x;){var y=xc(f[w]),z=n;if("__proto__"===y||"constructor"===y||"prototype"===y)break;if(w!=ea){var ja=ia[y];z=r?r(ja,y,ia):xa;z===xa&&(z=ob(ja)?ja:Dc(f[w+
1])?[]:{})}bb(ia,y,z);ia=ia[y]}return e}function Vf(e){return ze(rd(e))}function Hb(e,f,n){var r=-1,w=e.length;0>f&&(f=-f>w?0:w+f);n=n>w?w:n;0>n&&(n+=w);w=f>n?0:n-f>>>0;f>>>=0;for(n=xb(w);++r<w;)n[r]=e[r+f];return n}function Wf(e,f){var n;Nc(e,function(e,r,w){n=f(e,r,w);return!n});return!!n}function sd(e,f,n){var r=0,w=null==e?r:e.length;if("number"==typeof f&&f===f&&2147483647>=w){for(;r<w;){var x=r+w>>>1,ea=e[x];null!==ea&&!Wb(ea)&&(n?ea<=f:ea<f)?r=x+1:w=x}return w}return he(e,f,Sb,n)}function he(e,
f,n,r){var w=0,x=null==e?0:e.length;if(0===x)return 0;f=n(f);for(var ea=f!==f,ia=null===f,y=Wb(f),z=f===xa;w<x;){var ja=Le((w+x)/2),h=n(e[ja]),ka=h!==xa,oa=null===h,ma=h===h,da=Wb(h);(ea?r||ma:z?ma&&(r||ka):ia?ma&&ka&&(r||!oa):y?ma&&ka&&!oa&&(r||!da):oa||da?0:r?h<=f:h<f)?w=ja+1:x=ja}return Gb(x,4294967294)}function Me(e,f){for(var n=-1,r=e.length,w=0,x=[];++n<r;){var ea=e[n],ia=f?f(ea):ea;if(!n||!lc(ia,y)){var y=ia;x[w++]=0===ea?0:ea}}return x}function Ne(e){return"number"==typeof e?e:Wb(e)?Ga:+e}
function Ib(e){if("string"==typeof e)return e;if(Ua(e))return n(e,Ib)+"";if(Wb(e))return Tg?Tg.call(e):"";var f=e+"";return"0"==f&&1/e==-La?"-0":f}function zc(e,f,n){var x=-1,ea=r,ia=e.length,y=!0,z=[],ja=z;if(n)y=!1,ea=w;else if(200<=ia){if(ea=f?null:ti(e))return Ma(ea);y=!1;ea=ha;ja=new kc}else ja=f?[]:z;a:for(;++x<ia;){var h=e[x],ka=f?f(h):h;h=n||0!==h?h:0;if(y&&ka===ka){for(var oa=ja.length;oa--;)if(ja[oa]===ka)continue a;f&&ja.push(ka);z.push(h)}else ea(ja,ka,n)||(ja!==z&&ja.push(ka),z.push(h))}return z}
function ge(e,f){f=fc(f,e);e=2>f.length?e:mc(e,Hb(f,0,-1));return null==e||delete e[xc(gc(f))]}function td(e,f,n,r){for(var w=e.length,x=r?w:-1;(r?x--:++x<w)&&f(e[x],x,e););return n?Hb(e,r?0:x,r?x+1:w):Hb(e,r?x+1:0,r?w:x)}function Oe(e,f){e instanceof Ba&&(e=e.value());return ia(f,function(e,f){return f.func.apply(f.thisArg,ea([e],f.args))},e)}function ie(e,f,n){var r=e.length;if(2>r)return r?zc(e[0]):[];for(var w=-1,x=xb(r);++w<r;)for(var ea=e[w],ia=-1;++ia<r;)ia!=w&&(x[w]=Ec(x[w]||ea,e[ia],f,n));
return zc(Ya(x,1),f,n)}function Pe(e,f,n){for(var r=-1,w=e.length,x=f.length,ea={};++r<w;)n(ea,e[r],r<x?f[r]:xa);return ea}function hc(e){return tb(e)?e:[]}function Ub(e){return"function"==typeof e?e:Sb}function fc(e,f){return Ua(e)?e:Of(e,f)?[e]:Ug(cb(e))}function Va(e,f,n){var r=e.length;n=n===xa?r:n;return!f&&n>=r?e:Hb(e,f,n)}function Be(e,f){if(f)return e.slice();f=e.length;f=Vg?Vg(f):new e.constructor(f);e.copy(f);return f}function Xf(e){var f=new e.constructor(e.byteLength);(new Qe(f)).set(new Qe(e));
return f}function Pg(e,f){f=f?Xf(e.buffer):e.buffer;return new e.constructor(f,e.byteOffset,e.length)}function Rf(e,f){if(e!==f){var n=e!==xa,r=null===e,w=e===e,x=Wb(e),ea=f!==xa,ia=null===f,y=f===f,z=Wb(f);if(!ia&&!z&&!x&&e>f||x&&ea&&y&&!ia&&!z||r&&ea&&y||!n&&y||!w)return 1;if(!r&&!x&&!z&&e<f||z&&n&&w&&!r&&!x||ia&&n&&w||!ea&&w||!y)return-1}return 0}function Wg(e,f,n,r){var w=-1,x=e.length,ea=n.length,ia=-1,y=f.length,z=yb(x-ea,0),ja=xb(y+z);for(r=!r;++ia<y;)ja[ia]=f[ia];for(;++w<ea;)if(r||w<x)ja[n[w]]=
e[w];for(;z--;)ja[ia++]=e[w++];return ja}function Xg(e,f,n,r){var w=-1,x=e.length,ea=-1,ia=n.length,y=-1,z=f.length,ja=yb(x-ia,0),h=xb(ja+z);for(r=!r;++w<ja;)h[w]=e[w];for(ja=w;++y<z;)h[ja+y]=f[y];for(;++ea<ia;)if(r||w<x)h[ja+n[ea]]=e[w++];return h}function Nb(e,f){var n=-1,r=e.length;for(f||(f=xb(r));++n<r;)f[n]=e[n];return f}function wc(e,f,n,r){var w=!n;n||(n={});for(var x=-1,ea=f.length;++x<ea;){var ia=f[x],y=r?r(n[ia],e[ia],ia,n,e):xa;y===xa&&(y=e[ia]);w?Ob(n,ia,y):bb(n,ia,y)}return n}function mi(e,
f){return wc(e,Yf(e),f)}function li(e,f){return wc(e,Yg(e),f)}function Re(e,f){return function(n,r){var w=Ua(n)?z:Kc,x=f?f():{};return w(n,e,Sa(r,2),x)}}function ud(e){return Oa(function(f,n){var r=-1,w=n.length,x=1<w?n[w-1]:xa,ea=2<w?n[2]:xa;x=3<e.length&&"function"==typeof x?(w--,x):xa;ea&&Jb(n[0],n[1],ea)&&(x=3>w?xa:x,w=1);for(f=lb(f);++r<w;)(ea=n[r])&&e(f,ea,r,x);return f})}function Zg(e,f){return function(n,r){if(null==n)return n;if(!Tb(n))return e(n,r);for(var w=n.length,x=f?w:-1,ea=lb(n);(f?
x--:++x<w)&&!1!==r(ea[x],x,ea););return n}}function Fd(e){return function(f,n,r){var w=-1,x=lb(f);r=r(f);for(var ea=r.length;ea--;){var ia=r[e?ea:++w];if(!1===n(x[ia],ia,x))break}return f}}function ui(e,f,n){function r(){return(this&&this!==vb&&this instanceof r?x:e).apply(w?n:this,arguments)}var w=f&1,x=je(e);return r}function $g(e){return function(f){f=cb(f);var n=Bc.test(f)?Pa(f):xa,r=n?n[0]:f.charAt(0);f=n?Va(n,1).join(""):f.slice(1);return r[e]()+f}}function vd(e){return function(f){return ia(ah(bh(f).replace(te,
"")),e,"")}}function je(e){return function(){var f=arguments;switch(f.length){case 0:return new e;case 1:return new e(f[0]);case 2:return new e(f[0],f[1]);case 3:return new e(f[0],f[1],f[2]);case 4:return new e(f[0],f[1],f[2],f[3]);case 5:return new e(f[0],f[1],f[2],f[3],f[4]);case 6:return new e(f[0],f[1],f[2],f[3],f[4],f[5]);case 7:return new e(f[0],f[1],f[2],f[3],f[4],f[5],f[6])}var n=wd(e.prototype);f=e.apply(n,f);return ob(f)?f:n}}function vi(e,f,n){function r(){for(var x=arguments.length,ea=
xb(x),ia=x,y=xd(r);ia--;)ea[ia]=arguments[ia];ia=3>x&&ea[0]!==y&&ea[x-1]!==y?[]:Fa(ea,y);x-=ia.length;return x<n?ch(e,f,Se,r.placeholder,xa,ea,ia,xa,xa,n-x):da(this&&this!==vb&&this instanceof r?w:e,this,ea)}var w=je(e);return r}function dh(e){return function(f,n,r){var w=lb(f);if(!Tb(f)){var x=Sa(n,3);f=Ab(f);n=function(e){return x(w[e],e,w)}}n=e(f,n,r);return-1<n?w[x?f[n]:n]:xa}}function eh(e){return Gc(function(f){var n=f.length,r=n,w=za.prototype.thru;for(e&&f.reverse();r--;){var x=f[r];if("function"!=
typeof x)throw new dc("Expected a function");if(w&&!ea&&"wrapper"==Te(x))var ea=new za([],!0)}for(r=ea?r:n;++r<n;){x=f[r];w=Te(x);var ia="wrapper"==w?Zf(x):xa;ea=ia&&$f(ia[0])&&424==ia[1]&&!ia[4].length&&1==ia[9]?ea[Te(ia[0])].apply(ea,ia[3]):1==x.length&&$f(x)?ea[w]():ea.thru(x)}return function(){var e=arguments,r=e[0];if(ea&&1==e.length&&Ua(r))return ea.plant(r).value();var w=0;for(e=n?f[w].apply(this,e):r;++w<n;)e=f[w].call(this,e);return e}})}function Se(e,f,n,r,w,x,ea,ia,y,z){function ja(){for(var na=
arguments.length,ua=xb(na),la=na;la--;)ua[la]=arguments[la];if(ma){var ra=xd(ja),fa;la=ua.length;for(fa=0;la--;)ua[la]===ra&&++fa}r&&(ua=Wg(ua,r,w,ma));x&&(ua=Xg(ua,x,ea,ma));na-=fa;if(ma&&na<z)return ra=Fa(ua,ra),ch(e,f,Se,ja.placeholder,n,ua,ra,ia,y,z-na);ra=ka?n:this;la=oa?ra[e]:e;na=ua.length;if(ia){fa=ua.length;for(var za=Gb(ia.length,fa),ba=Nb(ua);za--;){var va=ia[za];ua[za]=Dc(va,fa)?ba[va]:xa}}else da&&1<na&&ua.reverse();h&&y<na&&(ua.length=y);this&&this!==vb&&this instanceof ja&&(la=aa||
je(la));return la.apply(ra,ua)}var h=f&128,ka=f&1,oa=f&2,ma=f&24,da=f&512,aa=oa?xa:je(e);return ja}function fh(e,f){return function(n,r){return Jf(n,e,f(r),{})}}function Ue(e,f){return function(n,r){var w;if(n===xa&&r===xa)return f;n!==xa&&(w=n);if(r!==xa){if(w===xa)return r;"string"==typeof n||"string"==typeof r?(n=Ib(n),r=Ib(r)):(n=Ne(n),r=Ne(r));w=e(n,r)}return w}}function ag(e){return Gc(function(f){f=n(f,Ha(Sa()));return Oa(function(n){var r=this;return e(f,function(e){return da(e,r,n)})})})}
function Ve(e,f){f=f===xa?" ":Ib(f);var n=f.length;if(2>n)return n?Ka(f,e):f;n=Ka(f,We(e/Ia(f)));return Bc.test(f)?Va(Pa(n),0,e).join(""):n.slice(0,e)}function wi(e,f,n,r){function w(){for(var f=-1,ia=arguments.length,y=-1,z=r.length,ja=xb(z+ia),h=this&&this!==vb&&this instanceof w?ea:e;++y<z;)ja[y]=r[y];for(;ia--;)ja[y++]=arguments[++f];return da(h,x?n:this,ja)}var x=f&1,ea=je(e);return w}function gh(e){return function(f,n,r){r&&"number"!=typeof r&&Jb(f,n,r)&&(n=r=xa);f=Hc(f);n===xa?(n=f,f=0):n=
Hc(n);r=r===xa?f<n?1:-1:Hc(r);var w=-1;n=yb(We((n-f)/(r||1)),0);for(var x=xb(n);n--;)x[e?n:++w]=f,f+=r;return x}}function Xe(e){return function(f,n){if("string"!=typeof f||"string"!=typeof n)f=ic(f),n=ic(n);return e(f,n)}}function ch(e,f,n,r,w,x,ea,ia,y,z){var ja=f&8,h=ja?ea:xa;ea=ja?xa:ea;var ka=ja?x:xa;x=ja?xa:x;f=(f|(ja?32:64))&~(ja?64:32);f&4||(f&=-4);w=[e,f,w,ka,h,x,ea,ia,y,z];n=n.apply(xa,w);$f(e)&&hh(n,w);n.placeholder=r;return ih(n,e,f)}function bg(e){var f=yd[e];return function(e,n){e=ic(e);
return(n=null==n?0:Gb(Wa(n),292))&&jh(e)?(e=(cb(e)+"e").split("e"),e=f(e[0]+"e"+(+e[1]+n)),e=(cb(e)+"e").split("e"),+(e[0]+"e"+(+e[1]-n))):f(e)}}function kh(e){return function(f){var n=Fb(f);return"[object Map]"==n?Na(f):"[object Set]"==n?qa(f):pa(f,e(f))}}function Ic(e,f,n,r,w,x,ea,ia){var y=f&2;if(!y&&"function"!=typeof e)throw new dc("Expected a function");var z=r?r.length:0;z||(f&=-97,r=w=xa);ea=ea===xa?ea:yb(Wa(ea),0);ia=ia===xa?ia:Wa(ia);z-=w?w.length:0;if(f&64){var ja=r,h=w;r=w=xa}var ka=y?
xa:Zf(e);x=[e,f,n,r,w,ja,h,x,ea,ia];if(ka&&(n=x[1],e=ka[1],f=n|e,r=128==e&&8==n||128==e&&256==n&&x[7].length<=ka[8]||384==e&&ka[7].length<=ka[8]&&8==n,131>f||r)){e&1&&(x[2]=ka[2],f|=n&1?0:4);if(n=ka[3])r=x[3],x[3]=r?Wg(r,n,ka[4]):n,x[4]=r?Fa(x[3],"__lodash_placeholder__"):ka[4];if(n=ka[5])r=x[5],x[5]=r?Xg(r,n,ka[6]):n,x[6]=r?Fa(x[5],"__lodash_placeholder__"):ka[6];(n=ka[7])&&(x[7]=n);e&128&&(x[8]=null==x[8]?ka[8]:Gb(x[8],ka[8]));null==x[9]&&(x[9]=ka[9]);x[0]=ka[0];x[1]=f}e=x[0];f=x[1];n=x[2];r=x[3];
w=x[4];ia=x[9]=x[9]===xa?y?0:e.length:yb(x[9]-z,0);!ia&&f&24&&(f&=-25);return ih((ka?lh:hh)(f&&1!=f?8==f||16==f?vi(e,f,ia):32!=f&&33!=f||w.length?Se.apply(xa,x):wi(e,f,n,r):ui(e,f,n),x),e,f)}function mh(e,f,n,r){return e===xa||lc(e,zd[n])&&!fb.call(r,n)?f:e}function nh(e,f,n,r,w,x){ob(e)&&ob(f)&&(x.set(f,e),qd(e,f,xa,nh,x),x["delete"](f));return e}function xi(e){return de(e)?xa:e}function Lg(e,f,n,r,w,x){var ea=n&1,ia=e.length,y=f.length;if(ia!=y&&!(ea&&y>ia))return!1;y=x.get(e);var z=x.get(f);if(y&&
z)return y==f&&z==e;y=-1;z=!0;var ja=n&2?new kc:xa;x.set(e,f);for(x.set(f,e);++y<ia;){var h=e[y],ka=f[y];if(r)var ma=ea?r(ka,h,y,f,e,x):r(h,ka,y,e,f,x);if(ma!==xa){if(ma)continue;z=!1;break}if(ja){if(!oa(f,function(e,f){if(!ja.has(f)&&(h===e||w(h,e,n,r,x)))return ja.push(f)})){z=!1;break}}else if(h!==ka&&!w(h,ka,n,r,x)){z=!1;break}}x["delete"](e);x["delete"](f);return z}function qi(e,f,n,r,w,x,ea){switch(n){case "[object DataView]":if(e.byteLength!=f.byteLength||e.byteOffset!=f.byteOffset)break;e=
e.buffer;f=f.buffer;case "[object ArrayBuffer]":if(e.byteLength!=f.byteLength||!x(new Qe(e),new Qe(f)))break;return!0;case "[object Boolean]":case "[object Date]":case "[object Number]":return lc(+e,+f);case "[object Error]":return e.name==f.name&&e.message==f.message;case "[object RegExp]":case "[object String]":return e==f+"";case "[object Map]":var ia=Na;case "[object Set]":ia||(ia=Ma);if(e.size!=f.size&&!(r&1))break;if(n=ea.get(e))return n==f;r|=2;ea.set(e,f);f=Lg(ia(e),ia(f),r,w,x,ea);ea["delete"](e);
return f;case "[object Symbol]":if(ke)return ke.call(e)==ke.call(f)}return!1}function Gc(e){return Tf(Sg(e,xa,oh),e+"")}function Hf(e){return Tc(e,Ab,Yf)}function Gf(e){return Tc(e,Pb,Yg)}function Te(e){for(var f=e.name+"",n=Ad[f],r=fb.call(Ad,f)?n.length:0;r--;){var w=n[r],x=w.func;if(null==x||x==e)return w.name}return f}function xd(e){return(fb.call(aa,"placeholder")?aa:e).placeholder}function Sa(){var e=aa.iteratee||cg;e=e===cg?Ee:e;return arguments.length?e(arguments[0],arguments[1]):e}function Ye(e,
f){e=e.__data__;var n=typeof f;return("string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==f:null===f)?e["string"==typeof f?"string":"hash"]:e.map}function Nf(e){for(var f=Ab(e),n=f.length;n--;){var r=f[n],w=e[r];f[n]=[r,w,w===w&&!ob(w)]}return f}function ed(e,f){e=null==e?xa:e[f];return cd(e)?e:xa}function ph(e,f,n){f=fc(f,e);for(var r=-1,w=f.length,x=!1;++r<w;){var ea=xc(f[r]);if(!(x=null!=e&&n(e,ea)))break;e=e[ea]}if(x||++r!=w)return x;w=null==e?0:e.length;return!!w&&De(w)&&Dc(ea,
w)&&(Ua(e)||Zc(e))}function ki(e){var f=e.length,n=new e.constructor(f);f&&"string"==typeof e[0]&&fb.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}function Fg(e){return"function"!=typeof e.constructor||be(e)?{}:wd(Ze(e))}function ni(e,f,n){var r=e.constructor;switch(f){case "[object ArrayBuffer]":return Xf(e);case "[object Boolean]":case "[object Date]":return new r(+e);case "[object DataView]":return f=n?Xf(e.buffer):e.buffer,new e.constructor(f,e.byteOffset,e.byteLength);case "[object Float32Array]":case "[object Float64Array]":case "[object Int8Array]":case "[object Int16Array]":case "[object Int32Array]":case "[object Uint8Array]":case "[object Uint8ClampedArray]":case "[object Uint16Array]":case "[object Uint32Array]":return Pg(e,
n);case "[object Map]":return new r;case "[object Number]":case "[object String]":return new r(e);case "[object RegExp]":return f=new e.constructor(e.source,Md.exec(e)),f.lastIndex=e.lastIndex,f;case "[object Set]":return new r;case "[object Symbol]":return ke?lb(ke.call(e)):{}}}function oi(e){return Ua(e)||Zc(e)||!!(qh&&e&&e[qh])}function Dc(e,f){var n=typeof e;f=null==f?9007199254740991:f;return!!f&&("number"==n||"symbol"!=n&&se.test(e))&&-1<e&&0==e%1&&e<f}function Jb(e,f,n){if(!ob(n))return!1;
var r=typeof f;return("number"==r?Tb(n)&&Dc(f,n.length):"string"==r&&f in n)?lc(n[f],e):!1}function Of(e,f){if(Ua(e))return!1;var n=typeof e;return"number"==n||"symbol"==n||"boolean"==n||null==e||Wb(e)?!0:Id.test(e)||!db.test(e)||null!=f&&e in lb(f)}function $f(e){var f=Te(e),n=aa[f];if("function"!=typeof n||!(f in Ba.prototype))return!1;if(e===n)return!0;f=Zf(n);return!!f&&e===f[0]}function be(e){var f=e&&e.constructor;return e===("function"==typeof f&&f.prototype||zd)}function Og(e,f){return function(n){return null==
n?!1:n[e]===f&&(f!==xa||e in lb(n))}}function Sg(e,f,n){f=yb(f===xa?e.length-1:f,0);return function(){for(var r=arguments,w=-1,x=yb(r.length-f,0),ea=xb(x);++w<x;)ea[w]=r[f+w];w=-1;for(x=xb(f+1);++w<f;)x[w]=r[w];x[f]=n(ea);return da(e,this,x)}}function Qf(e,f){if(("constructor"!==f||"function"!==typeof e[f])&&"__proto__"!=f)return e[f]}function ih(e,f,n){var r=f+"";f=Tf;var w=yi;var x=(x=r.match(hd))?x[1].split(tc):[];n=w(x,n);if(w=n.length)x=w-1,n[x]=(1<w?"& ":"")+n[x],n.join(2<w?", ":" "),r=r.replace(Wc,
"{\n\n");return f(e,r)}function rh(e){var f=0,n=0;return function(){var r=zi(),w=16-(r-n);n=r;if(0<w){if(800<=++f)return arguments[0]}else f=0;return e.apply(xa,arguments)}}function ze(e,f){var n=-1,r=e.length,w=r-1;for(f=f===xa?r:f;++n<f;){r=Vd(n,w);var x=e[r];e[r]=e[n];e[n]=x}e.length=f;return e}function xc(e){if("string"==typeof e||Wb(e))return e;var f=e+"";return"0"==f&&1/e==-La?"-0":f}function dd(e){if(null!=e){try{return $e.call(e)}catch(hi){}return e+""}return""}function yi(e,f){y(Qa,function(n){var w=
"_."+n[0];f&n[1]&&!r(e,w)&&e.push(w)});return e.sort()}function zg(e){if(e instanceof Ba)return e.clone();var f=new za(e.__wrapped__,e.__chain__);f.__actions__=Nb(e.__actions__);f.__index__=e.__index__;f.__values__=e.__values__;return f}function sh(e,f,n){var r=null==e?0:e.length;if(!r)return-1;n=null==n?0:Wa(n);0>n&&(n=yb(r+n,0));return la(e,Sa(f,3),n)}function th(e,f,n){var r=null==e?0:e.length;if(!r)return-1;var w=r-1;n!==xa&&(w=Wa(n),w=0>n?yb(r+w,0):Gb(w,r-1));return la(e,Sa(f,3),w,!0)}function oh(e){return(null==
e?0:e.length)?Ya(e,1):[]}function uh(e){return e&&e.length?e[0]:xa}function gc(e){var f=null==e?0:e.length;return f?e[f-1]:xa}function vh(e,f){return e&&e.length&&f&&f.length?fe(e,f):e}function dg(e){return null==e?e:Ai.call(e)}function eg(e){if(!e||!e.length)return[];var f=0;e=x(e,function(e){if(tb(e))return f=yb(e.length,f),!0});return ya(f,function(f){return n(e,ba(f))})}function wh(e,f){if(!e||!e.length)return[];e=eg(e);return null==f?e:n(e,function(e){return da(f,xa,e)})}function xh(e){e=aa(e);
e.__chain__=!0;return e}function af(e,f){return f(e)}function Bi(){return this}function yh(e,f){return(Ua(e)?y:Nc)(e,Sa(f,3))}function zh(e,n){return(Ua(e)?f:Ah)(e,Sa(n,3))}function bf(e,f){return(Ua(e)?n:Qc)(e,Sa(f,3))}function Bh(e,f,n){f=n?xa:f;f=e&&null==f?e.length:f;return Ic(e,128,xa,xa,xa,xa,f)}function Ch(e,f){var n;if("function"!=typeof f)throw new dc("Expected a function");e=Wa(e);return function(){0<--e&&(n=f.apply(this,arguments));1>=e&&(f=xa);return n}}function Dh(e,f,n){f=n?xa:f;e=Ic(e,
8,xa,xa,xa,xa,xa,f);e.placeholder=Dh.placeholder;return e}function Eh(e,f,n){f=n?xa:f;e=Ic(e,16,xa,xa,xa,xa,xa,f);e.placeholder=Eh.placeholder;return e}function Fh(e,f,n){function r(f){var n=y,r=z;y=z=xa;oa=f;return ja=e.apply(r,n)}function w(e){var n=e-ka;e-=oa;return ka===xa||n>=f||0>n||da&&e>=na}function x(){var e=cf();if(w(e))return ea(e);var n=Yd;var r=e-oa;e=f-(e-ka);r=da?Gb(e,na-r):e;h=n(x,r)}function ea(e){h=xa;if(aa&&y)return r(e);y=z=xa;return ja}function ia(){var e=cf(),n=w(e);y=arguments;
z=this;ka=e;if(n){if(h===xa)return oa=e=ka,h=Yd(x,f),ma?r(e):ja;if(da)return Gh(h),h=Yd(x,f),r(ka)}h===xa&&(h=Yd(x,f));return ja}var y,z,ja,h,ka,oa=0,ma=!1,da=!1,aa=!0;if("function"!=typeof e)throw new dc("Expected a function");f=ic(f)||0;if(ob(n)){ma=!!n.leading;var na=(da="maxWait"in n)?yb(ic(n.maxWait)||0,f):na;aa="trailing"in n?!!n.trailing:aa}ia.cancel=function(){h!==xa&&Gh(h);oa=0;y=ka=z=h=xa};ia.flush=function(){return h===xa?ja:ea(cf())};return ia}function df(e,f){function n(){var r=arguments,
w=f?f.apply(this,r):r[0],x=n.cache;if(x.has(w))return x.get(w);r=e.apply(this,r);n.cache=x.set(w,r)||x;return r}if("function"!=typeof e||null!=f&&"function"!=typeof f)throw new dc("Expected a function");n.cache=new (df.Cache||jb);return n}function ef(e){if("function"!=typeof e)throw new dc("Expected a function");return function(){var f=arguments;switch(f.length){case 0:return!e.call(this);case 1:return!e.call(this,f[0]);case 2:return!e.call(this,f[0],f[1]);case 3:return!e.call(this,f[0],f[1],f[2])}return!e.apply(this,
f)}}function lc(e,f){return e===f||e!==e&&f!==f}function Tb(e){return null!=e&&De(e.length)&&!Fc(e)}function tb(e){return qb(e)&&Tb(e)}function fg(e){if(!qb(e))return!1;var f=Bb(e);return"[object Error]"==f||"[object DOMException]"==f||"string"==typeof e.message&&"string"==typeof e.name&&!de(e)}function Fc(e){if(!ob(e))return!1;e=Bb(e);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Hh(e){return"number"==typeof e&&e==Wa(e)}function De(e){return"number"==
typeof e&&-1<e&&0==e%1&&9007199254740991>=e}function ob(e){var f=typeof e;return null!=e&&("object"==f||"function"==f)}function qb(e){return null!=e&&"object"==typeof e}function Ih(e){return"number"==typeof e||qb(e)&&"[object Number]"==Bb(e)}function de(e){if(!qb(e)||"[object Object]"!=Bb(e))return!1;e=Ze(e);if(null===e)return!0;e=fb.call(e,"constructor")&&e.constructor;return"function"==typeof e&&e instanceof e&&$e.call(e)==Ci}function ff(e){return"string"==typeof e||!Ua(e)&&qb(e)&&"[object String]"==
Bb(e)}function Wb(e){return"symbol"==typeof e||qb(e)&&"[object Symbol]"==Bb(e)}function Jh(e){if(!e)return[];if(Tb(e))return ff(e)?Pa(e):Nb(e);if(le&&e[le]){e=e[le]();for(var f,n=[];!(f=e.next()).done;)n.push(f.value);return n}f=Fb(e);return("[object Map]"==f?Na:"[object Set]"==f?Ma:rd)(e)}function Hc(e){if(!e)return 0===e?e:0;e=ic(e);return e===La||e===-La?1.7976931348623157E308*(0>e?-1:1):e===e?e:0}function Wa(e){e=Hc(e);var f=e%1;return e===e?f?e-f:e:0}function Kh(e){return e?cc(Wa(e),0,4294967295):
0}function ic(e){if("number"==typeof e)return e;if(Wb(e))return Ga;ob(e)&&(e="function"==typeof e.valueOf?e.valueOf():e,e=ob(e)?e+"":e);if("string"!=typeof e)return 0===e?e:+e;e=e.replace(eb,"");var f=zf.test(e);return f||Af.test(e)?we(e.slice(2),f?2:8):re.test(e)?Ga:+e}function Qg(e){return wc(e,Pb(e))}function cb(e){return null==e?"":Ib(e)}function Ff(e,f,n){e=null==e?xa:mc(e,f);return e===xa?n:e}function Pf(e,f){return null!=e&&ph(e,f,jd)}function Ab(e){return Tb(e)?bc(e):ae(e)}function Pb(e){if(Tb(e))e=
bc(e,!0);else if(ob(e)){var f=be(e),n=[];for(r in e)("constructor"!=r||!f&&fb.call(e,r))&&n.push(r);e=n}else{var r=[];if(null!=e)for(f in lb(e))r.push(f);e=r}return e}function Lh(e,f){if(null==e)return{};var r=n(Gf(e),function(e){return[e]});f=Sa(f);return ee(e,r,function(e,n){return f(e,n[0])})}function rd(e){return null==e?[]:Ca(e,Ab(e))}function Mh(e){return gg(cb(e).toLowerCase())}function bh(e){return(e=cb(e))&&e.replace(Bf,jc).replace(id,"")}function ah(e,f,n){e=cb(e);f=n?xa:f;return f===xa?
Pd.test(e)?e.match(Od)||[]:e.match(Kd)||[]:e.match(f)||[]}function hg(e){return function(){return e}}function Sb(e){return e}function cg(e){return Ee("function"==typeof e?e:Qb(e,1))}function ig(e,f,n){var r=Ab(f),w=ec(f,r);null!=n||ob(f)&&(w.length||!r.length)||(n=f,f=e,e=this,w=ec(f,Ab(f)));var x=!(ob(n)&&"chain"in n)||!!n.chain,ia=Fc(e);y(w,function(n){var r=f[n];e[n]=r;ia&&(e.prototype[n]=function(){var f=this.__chain__;if(x||f){var n=e(this.__wrapped__);(n.__actions__=Nb(this.__actions__)).push({func:r,
args:arguments,thisArg:e});n.__chain__=f;return n}return r.apply(e,ea([this.value()],arguments))})});return e}function jg(){}function Ng(e){return Of(e)?ba(xc(e)):Sf(e)}function kg(){return[]}function lg(){return!1}h=null==h?vb:pc.defaults(vb.Object(),h,pc.pick(vb,Qd));var xb=h.Array,gf=h.Date,Nh=h.Error,Oh=h.Function,yd=h.Math,lb=h.Object,mg=h.RegExp,ji=h.String,dc=h.TypeError,hf=xb.prototype,zd=lb.prototype,jf=h["__core-js_shared__"],$e=Oh.prototype.toString,fb=zd.hasOwnProperty,Di=0,Mg=function(){var e=
/[^.]+$/.exec(jf&&jf.keys&&jf.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ce=zd.toString,Ci=$e.call(lb),Ei=vb._,ri=mg("^"+$e.call(fb).replace(sc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),kf=Rd?h.Buffer:xa,Sc=h.Symbol,Qe=h.Uint8Array,Vg=kf?kf.allocUnsafe:xa,Ze=wa(lb.getPrototypeOf,lb),Ph=lb.create,Qh=zd.propertyIsEnumerable,Ke=hf.splice,qh=Sc?Sc.isConcatSpreadable:xa,le=Sc?Sc.iterator:xa,ad=Sc?Sc.toStringTag:xa,Ae=function(){try{var e=ed(lb,"defineProperty");
e({},"",{});return e}catch(hi){}}(),Fi=h.clearTimeout!==vb.clearTimeout&&h.clearTimeout,Gi=gf&&gf.now!==vb.Date.now&&gf.now,Hi=h.setTimeout!==vb.setTimeout&&h.setTimeout,We=yd.ceil,Le=yd.floor,ng=lb.getOwnPropertySymbols,Ii=kf?kf.isBuffer:xa,jh=h.isFinite,Ji=hf.join,si=wa(lb.keys,lb),yb=yd.max,Gb=yd.min,zi=gf.now,Ki=h.parseInt,Rg=yd.random,Ai=hf.reverse,og=ed(h,"DataView"),me=ed(h,"Map"),pg=ed(h,"Promise"),Bd=ed(h,"Set"),ne=ed(h,"WeakMap"),oe=ed(lb,"create"),lf=ne&&new ne,Ad={},Li=dd(og),Mi=dd(me),
Ni=dd(pg),Oi=dd(Bd),Pi=dd(ne),mf=Sc?Sc.prototype:xa,ke=mf?mf.valueOf:xa,Tg=mf?mf.toString:xa,wd=function(){function e(){}return function(f){if(!ob(f))return{};if(Ph)return Ph(f);e.prototype=f;f=new e;e.prototype=xa;return f}}();aa.templateSettings={escape:$b,evaluate:wb,interpolate:ac,variable:"",imports:{_:aa}};aa.prototype=fa.prototype;aa.prototype.constructor=aa;za.prototype=wd(fa.prototype);za.prototype.constructor=za;Ba.prototype=wd(fa.prototype);Ba.prototype.constructor=Ba;ca.prototype.clear=
function(){this.__data__=oe?oe(null):{};this.size=0};ca.prototype["delete"]=function(e){e=this.has(e)&&delete this.__data__[e];this.size-=e?1:0;return e};ca.prototype.get=function(e){var f=this.__data__;return oe?(e=f[e],"__lodash_hash_undefined__"===e?xa:e):fb.call(f,e)?f[e]:xa};ca.prototype.has=function(e){var f=this.__data__;return oe?f[e]!==xa:fb.call(f,e)};ca.prototype.set=function(e,f){var n=this.__data__;this.size+=this.has(e)?0:1;n[e]=oe&&f===xa?"__lodash_hash_undefined__":f;return this};
Aa.prototype.clear=function(){this.__data__=[];this.size=0};Aa.prototype["delete"]=function(e){var f=this.__data__;e=Zb(f,e);if(0>e)return!1;e==f.length-1?f.pop():Ke.call(f,e,1);--this.size;return!0};Aa.prototype.get=function(e){var f=this.__data__;e=Zb(f,e);return 0>e?xa:f[e][1]};Aa.prototype.has=function(e){return-1<Zb(this.__data__,e)};Aa.prototype.set=function(e,f){var n=this.__data__,r=Zb(n,e);0>r?(++this.size,n.push([e,f])):n[r][1]=f;return this};jb.prototype.clear=function(){this.size=0;this.__data__=
{hash:new ca,map:new (me||Aa),string:new ca}};jb.prototype["delete"]=function(e){e=Ye(this,e)["delete"](e);this.size-=e?1:0;return e};jb.prototype.get=function(e){return Ye(this,e).get(e)};jb.prototype.has=function(e){return Ye(this,e).has(e)};jb.prototype.set=function(e,f){var n=Ye(this,e),r=n.size;n.set(e,f);this.size+=n.size==r?0:1;return this};kc.prototype.add=kc.prototype.push=function(e){this.__data__.set(e,"__lodash_hash_undefined__");return this};kc.prototype.has=function(e){return this.__data__.has(e)};
zb.prototype.clear=function(){this.__data__=new Aa;this.size=0};zb.prototype["delete"]=function(e){var f=this.__data__;e=f["delete"](e);this.size=f.size;return e};zb.prototype.get=function(e){return this.__data__.get(e)};zb.prototype.has=function(e){return this.__data__.has(e)};zb.prototype.set=function(e,f){var n=this.__data__;if(n instanceof Aa){var r=n.__data__;if(!me||199>r.length)return r.push([e,f]),this.size=++n.size,this;n=this.__data__=new jb(r)}n.set(e,f);this.size=n.size;return this};var Nc=
Zg(rb),Ah=Zg(Yb,!0),If=Fd(),Ig=Fd(!0),lh=lf?function(e,f){lf.set(e,f);return e}:Sb,Qi=Ae?function(e,f){return Ae(e,"toString",{configurable:!0,enumerable:!1,value:hg(f),writable:!0})}:Sb,Gh=Fi||function(e){return vb.clearTimeout(e)},ti=Bd&&1/Ma(new Bd([,-0]))[1]==La?function(e){return new Bd(e)}:jg,Zf=lf?function(e){return lf.get(e)}:jg,Yf=ng?function(e){if(null==e)return[];e=lb(e);return x(ng(e),function(f){return Qh.call(e,f)})}:kg,Yg=ng?function(e){for(var f=[];e;)ea(f,Yf(e)),e=Ze(e);return f}:
kg,Fb=Bb;if(og&&"[object DataView]"!=Fb(new og(new ArrayBuffer(1)))||me&&"[object Map]"!=Fb(new me)||pg&&"[object Promise]"!=Fb(pg.resolve())||Bd&&"[object Set]"!=Fb(new Bd)||ne&&"[object WeakMap]"!=Fb(new ne))Fb=function(e){var f=Bb(e);if(e=(e="[object Object]"==f?e.constructor:xa)?dd(e):"")switch(e){case Li:return"[object DataView]";case Mi:return"[object Map]";case Ni:return"[object Promise]";case Oi:return"[object Set]";case Pi:return"[object WeakMap]"}return f};var Ri=jf?Fc:lg,hh=rh(lh),Yd=Hi||
function(e,f){return vb.setTimeout(e,f)},Tf=rh(Qi),Ug=function(e){e=df(e,function(e){500===f.size&&f.clear();return e});var f=e.cache;return e}(function(e){var f=[];46===e.charCodeAt(0)&&f.push("");e.replace(Uc,function(e,n,r,w){f.push(r?w.replace(Jc,"$1"):n||e)});return f}),Si=Oa(function(e,f){return tb(e)?Ec(e,Ya(f,1,tb,!0)):[]}),Ti=Oa(function(e,f){var n=gc(f);tb(n)&&(n=xa);return tb(e)?Ec(e,Ya(f,1,tb,!0),Sa(n,2)):[]}),Ui=Oa(function(e,f){var n=gc(f);tb(n)&&(n=xa);return tb(e)?Ec(e,Ya(f,1,tb,!0),
xa,n):[]}),Vi=Oa(function(e){var f=n(e,hc);return f.length&&f[0]===e[0]?od(f):[]}),Wi=Oa(function(e){var f=gc(e),r=n(e,hc);f===gc(r)?f=xa:r.pop();return r.length&&r[0]===e[0]?od(r,Sa(f,2)):[]}),Xi=Oa(function(e){var f=gc(e),r=n(e,hc);(f="function"==typeof f?f:xa)&&r.pop();return r.length&&r[0]===e[0]?od(r,xa,f):[]}),Yi=Oa(vh),Zi=Gc(function(e,f){var r=null==e?0:e.length,w=Xd(e,f);nc(e,n(f,function(e){return Dc(e,r)?+e:e}).sort(Rf));return w}),$i=Oa(function(e){return zc(Ya(e,1,tb,!0))}),aj=Oa(function(e){var f=
gc(e);tb(f)&&(f=xa);return zc(Ya(e,1,tb,!0),Sa(f,2))}),bj=Oa(function(e){var f=gc(e);f="function"==typeof f?f:xa;return zc(Ya(e,1,tb,!0),xa,f)}),cj=Oa(function(e,f){return tb(e)?Ec(e,f):[]}),dj=Oa(function(e){return ie(x(e,tb))}),ej=Oa(function(e){var f=gc(e);tb(f)&&(f=xa);return ie(x(e,tb),Sa(f,2))}),fj=Oa(function(e){var f=gc(e);f="function"==typeof f?f:xa;return ie(x(e,tb),xa,f)}),gj=Oa(eg),hj=Oa(function(e){var f=e.length;f=1<f?e[f-1]:xa;f="function"==typeof f?(e.pop(),f):xa;return wh(e,f)}),
ij=Gc(function(e){function f(f){return Xd(f,e)}var n=e.length,r=n?e[0]:0,w=this.__wrapped__;if(1<n||this.__actions__.length||!(w instanceof Ba)||!Dc(r))return this.thru(f);w=w.slice(r,+r+(n?1:0));w.__actions__.push({func:af,args:[f],thisArg:xa});return(new za(w,this.__chain__)).thru(function(e){n&&!e.length&&e.push(xa);return e})}),jj=Re(function(e,f,n){fb.call(e,n)?++e[n]:Ob(e,n,1)}),kj=dh(sh),lj=dh(th),mj=Re(function(e,f,n){fb.call(e,n)?e[n].push(f):Ob(e,n,[f])}),nj=Oa(function(e,f,n){var r=-1,
w="function"==typeof f,x=Tb(e)?xb(e.length):[];Nc(e,function(e){x[++r]=w?da(f,e,n):Pc(e,f,n)});return x}),oj=Re(function(e,f,n){Ob(e,n,f)}),pj=Re(function(e,f,n){e[n?0:1].push(f)},function(){return[[],[]]}),qj=Oa(function(e,f){if(null==e)return[];var n=f.length;1<n&&Jb(e,f[0],f[1])?f=[]:2<n&&Jb(f[0],f[1],f[2])&&(f=[f[0]]);return Ie(e,Ya(f,1),[])}),cf=Gi||function(){return vb.Date.now()},qg=Oa(function(e,f,n){var r=1;if(n.length){var w=Fa(n,xd(qg));r|=32}return Ic(e,r,f,n,w)}),Rh=Oa(function(e,f,n){var r=
3;if(n.length){var w=Fa(n,xd(Rh));r|=32}return Ic(f,r,e,n,w)}),rj=Oa(function(e,f){return nd(e,1,f)}),sj=Oa(function(e,f,n){return nd(e,ic(f)||0,n)});df.Cache=jb;var tj=Oa(function(e,f){f=1==f.length&&Ua(f[0])?n(f[0],Ha(Sa())):n(Ya(f,1),Ha(Sa()));var r=f.length;return Oa(function(n){for(var w=-1,x=Gb(n.length,r);++w<x;)n[w]=f[w].call(this,n[w]);return da(e,this,n)})}),rg=Oa(function(e,f){var n=Fa(f,xd(rg));return Ic(e,32,xa,f,n)}),Sh=Oa(function(e,f){var n=Fa(f,xd(Sh));return Ic(e,64,xa,f,n)}),uj=
Gc(function(e,f){return Ic(e,256,xa,xa,xa,f)}),vj=Xe(pb),wj=Xe(function(e,f){return e>=f}),Zc=sb(function(){return arguments}())?sb:function(e){return qb(e)&&fb.call(e,"callee")&&!Qh.call(e,"callee")},Ua=xb.isArray,xj=xe?Ha(xe):bd,Lc=Ii||lg,yj=Sd?Ha(Sd):pd,Hg=Yc?Ha(Yc):Kf,sg=Td?Ha(Td):$d,Gg=kd?Ha(kd):Lf,ld=Ud?Ha(Ud):Mf,zj=Xe(ce),Aj=Xe(function(e,f){return e<=f}),Bj=ud(function(e,f){if(be(f)||Tb(f))wc(f,Ab(f),e);else for(var n in f)fb.call(f,n)&&bb(e,n,f[n])}),Th=ud(function(e,f){wc(f,Pb(f),e)}),nf=
ud(function(e,f,n,r){wc(f,Pb(f),e,r)}),Cj=ud(function(e,f,n,r){wc(f,Ab(f),e,r)}),Dj=Gc(Xd),Ej=Oa(function(e,f){e=lb(e);var n=-1,r=f.length,w=2<r?f[2]:xa;for(w&&Jb(f[0],f[1],w)&&(r=1);++n<r;){w=f[n];for(var x=Pb(w),ea=-1,ia=x.length;++ea<ia;){var y=x[ea],z=e[y];if(z===xa||lc(z,zd[y])&&!fb.call(e,y))e[y]=w[y]}}return e}),Fj=Oa(function(e){e.push(xa,nh);return da(Uh,xa,e)}),Gj=fh(function(e,f,n){null!=f&&"function"!=typeof f.toString&&(f=Ce.call(f));e[f]=n},hg(Sb)),Hj=fh(function(e,f,n){null!=f&&"function"!=
typeof f.toString&&(f=Ce.call(f));fb.call(e,f)?e[f].push(n):e[f]=[n]},Sa),Ij=Oa(Pc),Jj=ud(function(e,f,n){qd(e,f,n)}),Uh=ud(function(e,f,n,r){qd(e,f,n,r)}),Kj=Gc(function(e,f){var r={};if(null==e)return r;var w=!1;f=n(f,function(f){f=fc(f,e);w||(w=1<f.length);return f});wc(e,Gf(e),r);w&&(r=Qb(r,7,xi));for(var x=f.length;x--;)ge(r,f[x]);return r}),Lj=Gc(function(e,f){return null==e?{}:Je(e,f)}),Vh=kh(Ab),Wh=kh(Pb),Mj=vd(function(e,f,n){f=f.toLowerCase();return e+(n?Mh(f):f)}),Nj=vd(function(e,f,n){return e+
(n?"-":"")+f.toLowerCase()}),Oj=vd(function(e,f,n){return e+(n?" ":"")+f.toLowerCase()}),Pj=$g("toLowerCase"),Qj=vd(function(e,f,n){return e+(n?"_":"")+f.toLowerCase()}),Rj=vd(function(e,f,n){return e+(n?" ":"")+gg(f)}),Sj=vd(function(e,f,n){return e+(n?" ":"")+f.toUpperCase()}),gg=$g("toUpperCase"),Xh=Oa(function(e,f){try{return da(e,xa,f)}catch(Df){return fg(Df)?Df:new Nh(Df)}}),Tj=Gc(function(e,f){y(f,function(f){f=xc(f);Ob(e,f,qg(e[f],e))});return e}),Uj=eh(),Vj=eh(!0),Wj=Oa(function(e,f){return function(n){return Pc(n,
e,f)}}),Xj=Oa(function(e,f){return function(n){return Pc(e,n,f)}}),Yj=ag(n),Zj=ag(e),ak=ag(oa),bk=gh(),ck=gh(!0),dk=Ue(function(e,f){return e+f},0),ek=bg("ceil"),fk=Ue(function(e,f){return e/f},1),gk=bg("floor"),hk=Ue(function(e,f){return e*f},1),ik=bg("round"),jk=Ue(function(e,f){return e-f},0);aa.after=function(e,f){if("function"!=typeof f)throw new dc("Expected a function");e=Wa(e);return function(){if(1>--e)return f.apply(this,arguments)}};aa.ary=Bh;aa.assign=Bj;aa.assignIn=Th;aa.assignInWith=
nf;aa.assignWith=Cj;aa.at=Dj;aa.before=Ch;aa.bind=qg;aa.bindAll=Tj;aa.bindKey=Rh;aa.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ua(e)?e:[e]};aa.chain=xh;aa.chunk=function(e,f,n){f=(n?Jb(e,f,n):f===xa)?1:yb(Wa(f),0);n=null==e?0:e.length;if(!n||1>f)return[];for(var r=0,w=0,x=xb(We(n/f));r<n;)x[w++]=Hb(e,r,r+=f);return x};aa.compact=function(e){for(var f=-1,n=null==e?0:e.length,r=0,w=[];++f<n;){var x=e[f];x&&(w[r++]=x)}return w};aa.concat=function(){var e=arguments.length;
if(!e)return[];for(var f=xb(e-1),n=arguments[0];e--;)f[e-1]=arguments[e];return ea(Ua(n)?Nb(n):[n],Ya(f,1))};aa.cond=function(e){var f=null==e?0:e.length,r=Sa();e=f?n(e,function(e){if("function"!=typeof e[1])throw new dc("Expected a function");return[r(e[0]),e[1]]}):[];return Oa(function(n){for(var r=-1;++r<f;){var w=e[r];if(da(w[0],this,n))return da(w[1],this,n)}})};aa.conforms=function(e){return md(Qb(e,1))};aa.constant=hg;aa.countBy=jj;aa.create=function(e,f){e=wd(e);return null==f?e:$c(e,f)};
aa.curry=Dh;aa.curryRight=Eh;aa.debounce=Fh;aa.defaults=Ej;aa.defaultsDeep=Fj;aa.defer=rj;aa.delay=sj;aa.difference=Si;aa.differenceBy=Ti;aa.differenceWith=Ui;aa.drop=function(e,f,n){var r=null==e?0:e.length;if(!r)return[];f=n||f===xa?1:Wa(f);return Hb(e,0>f?0:f,r)};aa.dropRight=function(e,f,n){var r=null==e?0:e.length;if(!r)return[];f=n||f===xa?1:Wa(f);f=r-f;return Hb(e,0,0>f?0:f)};aa.dropRightWhile=function(e,f){return e&&e.length?td(e,Sa(f,3),!0,!0):[]};aa.dropWhile=function(e,f){return e&&e.length?
td(e,Sa(f,3),!0):[]};aa.fill=function(e,f,n,r){var w=null==e?0:e.length;if(!w)return[];n&&"number"!=typeof n&&Jb(e,f,n)&&(n=0,r=w);w=e.length;n=Wa(n);0>n&&(n=-n>w?0:w+n);r=r===xa||r>w?w:Wa(r);0>r&&(r+=w);for(r=n>r?0:Kh(r);n<r;)e[n++]=f;return e};aa.filter=function(e,f){return(Ua(e)?x:Xb)(e,Sa(f,3))};aa.flatMap=function(e,f){return Ya(bf(e,f),1)};aa.flatMapDeep=function(e,f){return Ya(bf(e,f),La)};aa.flatMapDepth=function(e,f,n){n=n===xa?1:Wa(n);return Ya(bf(e,f),n)};aa.flatten=oh;aa.flattenDeep=function(e){return(null==
e?0:e.length)?Ya(e,La):[]};aa.flattenDepth=function(e,f){if(null==e||!e.length)return[];f=f===xa?1:Wa(f);return Ya(e,f)};aa.flip=function(e){return Ic(e,512)};aa.flow=Uj;aa.flowRight=Vj;aa.fromPairs=function(e){for(var f=-1,n=null==e?0:e.length,r={};++f<n;){var w=e[f];r[w[0]]=w[1]}return r};aa.functions=function(e){return null==e?[]:ec(e,Ab(e))};aa.functionsIn=function(e){return null==e?[]:ec(e,Pb(e))};aa.groupBy=mj;aa.initial=function(e){return(null==e?0:e.length)?Hb(e,0,-1):[]};aa.intersection=
Vi;aa.intersectionBy=Wi;aa.intersectionWith=Xi;aa.invert=Gj;aa.invertBy=Hj;aa.invokeMap=nj;aa.iteratee=cg;aa.keyBy=oj;aa.keys=Ab;aa.keysIn=Pb;aa.map=bf;aa.mapKeys=function(e,f){var n={};f=Sa(f,3);rb(e,function(e,r,w){Ob(n,f(e,r,w),e)});return n};aa.mapValues=function(e,f){var n={};f=Sa(f,3);rb(e,function(e,r,w){Ob(n,r,f(e,r,w))});return n};aa.matches=function(e){return Ge(Qb(e,1))};aa.matchesProperty=function(e,f){return Fe(e,Qb(f,1))};aa.memoize=df;aa.merge=Jj;aa.mergeWith=Uh;aa.method=Wj;aa.methodOf=
Xj;aa.mixin=ig;aa.negate=ef;aa.nthArg=function(e){e=Wa(e);return Oa(function(f){return He(f,e)})};aa.omit=Kj;aa.omitBy=function(e,f){return Lh(e,ef(Sa(f)))};aa.once=function(e){return Ch(2,e)};aa.orderBy=function(e,f,n,r){if(null==e)return[];Ua(f)||(f=null==f?[]:[f]);n=r?xa:n;Ua(n)||(n=null==n?[]:[n]);return Ie(e,f,n)};aa.over=Yj;aa.overArgs=tj;aa.overEvery=Zj;aa.overSome=ak;aa.partial=rg;aa.partialRight=Sh;aa.partition=pj;aa.pick=Lj;aa.pickBy=Lh;aa.property=Ng;aa.propertyOf=function(e){return function(f){return null==
e?xa:mc(e,f)}};aa.pull=Yi;aa.pullAll=vh;aa.pullAllBy=function(e,f,n){return e&&e.length&&f&&f.length?fe(e,f,Sa(n,2)):e};aa.pullAllWith=function(e,f,n){return e&&e.length&&f&&f.length?fe(e,f,xa,n):e};aa.pullAt=Zi;aa.range=bk;aa.rangeRight=ck;aa.rearg=uj;aa.reject=function(e,f){return(Ua(e)?x:Xb)(e,ef(Sa(f,3)))};aa.remove=function(e,f){var n=[];if(!e||!e.length)return n;var r=-1,w=[],x=e.length;for(f=Sa(f,3);++r<x;){var ea=e[r];f(ea,r,e)&&(n.push(ea),w.push(r))}nc(e,w);return n};aa.rest=function(e,
f){if("function"!=typeof e)throw new dc("Expected a function");f=f===xa?f:Wa(f);return Oa(e,f)};aa.reverse=dg;aa.sampleSize=function(e,f,n){f=(n?Jb(e,f,n):f===xa)?1:Wa(f);return(Ua(e)?uc:Uf)(e,f)};aa.set=function(e,f,n){return null==e?e:Rc(e,f,n)};aa.setWith=function(e,f,n,r){r="function"==typeof r?r:xa;return null==e?e:Rc(e,f,n,r)};aa.shuffle=function(e){return(Ua(e)?vc:Vf)(e)};aa.slice=function(e,f,n){var r=null==e?0:e.length;if(!r)return[];n&&"number"!=typeof n&&Jb(e,f,n)?(f=0,n=r):(f=null==f?
0:Wa(f),n=n===xa?r:Wa(n));return Hb(e,f,n)};aa.sortBy=qj;aa.sortedUniq=function(e){return e&&e.length?Me(e):[]};aa.sortedUniqBy=function(e,f){return e&&e.length?Me(e,Sa(f,2)):[]};aa.split=function(e,f,n){n&&"number"!=typeof n&&Jb(e,f,n)&&(f=n=xa);n=n===xa?4294967295:n>>>0;return n?(e=cb(e))&&("string"==typeof f||null!=f&&!sg(f))&&(f=Ib(f),!f&&Bc.test(e))?Va(Pa(e),0,n):e.split(f,n):[]};aa.spread=function(e,f){if("function"!=typeof e)throw new dc("Expected a function");f=null==f?0:yb(Wa(f),0);return Oa(function(n){var r=
n[f];n=Va(n,0,f);r&&ea(n,r);return da(e,this,n)})};aa.tail=function(e){var f=null==e?0:e.length;return f?Hb(e,1,f):[]};aa.take=function(e,f,n){if(!e||!e.length)return[];f=n||f===xa?1:Wa(f);return Hb(e,0,0>f?0:f)};aa.takeRight=function(e,f,n){var r=null==e?0:e.length;if(!r)return[];f=n||f===xa?1:Wa(f);f=r-f;return Hb(e,0>f?0:f,r)};aa.takeRightWhile=function(e,f){return e&&e.length?td(e,Sa(f,3),!1,!0):[]};aa.takeWhile=function(e,f){return e&&e.length?td(e,Sa(f,3)):[]};aa.tap=function(e,f){f(e);return e};
aa.throttle=function(e,f,n){var r=!0,w=!0;if("function"!=typeof e)throw new dc("Expected a function");ob(n)&&(r="leading"in n?!!n.leading:r,w="trailing"in n?!!n.trailing:w);return Fh(e,f,{leading:r,maxWait:f,trailing:w})};aa.thru=af;aa.toArray=Jh;aa.toPairs=Vh;aa.toPairsIn=Wh;aa.toPath=function(e){return Ua(e)?n(e,xc):Wb(e)?[e]:Nb(Ug(cb(e)))};aa.toPlainObject=Qg;aa.transform=function(e,f,n){var r=Ua(e),w=r||Lc(e)||ld(e);f=Sa(f,4);if(null==n){var x=e&&e.constructor;n=w?r?new x:[]:ob(e)?Fc(x)?wd(Ze(e)):
{}:{}}(w?y:rb)(e,function(e,r,w){return f(n,e,r,w)});return n};aa.unary=function(e){return Bh(e,1)};aa.union=$i;aa.unionBy=aj;aa.unionWith=bj;aa.uniq=function(e){return e&&e.length?zc(e):[]};aa.uniqBy=function(e,f){return e&&e.length?zc(e,Sa(f,2)):[]};aa.uniqWith=function(e,f){f="function"==typeof f?f:xa;return e&&e.length?zc(e,xa,f):[]};aa.unset=function(e,f){return null==e?!0:ge(e,f)};aa.unzip=eg;aa.unzipWith=wh;aa.update=function(e,f,n){return null==e?e:Rc(e,f,Ub(n)(mc(e,f)),void 0)};aa.updateWith=
function(e,f,n,r){r="function"==typeof r?r:xa;null!=e&&(e=Rc(e,f,Ub(n)(mc(e,f)),r));return e};aa.values=rd;aa.valuesIn=function(e){return null==e?[]:Ca(e,Pb(e))};aa.without=cj;aa.words=ah;aa.wrap=function(e,f){return rg(Ub(f),e)};aa.xor=dj;aa.xorBy=ej;aa.xorWith=fj;aa.zip=gj;aa.zipObject=function(e,f){return Pe(e||[],f||[],bb)};aa.zipObjectDeep=function(e,f){return Pe(e||[],f||[],Rc)};aa.zipWith=hj;aa.entries=Vh;aa.entriesIn=Wh;aa.extend=Th;aa.extendWith=nf;ig(aa,aa);aa.add=dk;aa.attempt=Xh;aa.camelCase=
Mj;aa.capitalize=Mh;aa.ceil=ek;aa.clamp=function(e,f,n){n===xa&&(n=f,f=xa);n!==xa&&(n=ic(n),n=n===n?n:0);f!==xa&&(f=ic(f),f=f===f?f:0);return cc(ic(e),f,n)};aa.clone=function(e){return Qb(e,4)};aa.cloneDeep=function(e){return Qb(e,5)};aa.cloneDeepWith=function(e,f){f="function"==typeof f?f:xa;return Qb(e,5,f)};aa.cloneWith=function(e,f){f="function"==typeof f?f:xa;return Qb(e,4,f)};aa.conformsTo=function(e,f){return null==f||Oc(e,f,Ab(f))};aa.deburr=bh;aa.defaultTo=function(e,f){return null==e||e!==
e?f:e};aa.divide=fk;aa.endsWith=function(e,f,n){e=cb(e);f=Ib(f);var r=e.length;r=n=n===xa?r:cc(Wa(n),0,r);n-=f.length;return 0<=n&&e.slice(n,r)==f};aa.eq=lc;aa.escape=function(e){return(e=cb(e))&&ub.test(e)?e.replace(Mb,Cc):e};aa.escapeRegExp=function(e){return(e=cb(e))&&Vc.test(e)?e.replace(sc,"\\$&"):e};aa.every=function(f,n,r){var w=Ua(f)?e:Vb;r&&Jb(f,n,r)&&(n=xa);return w(f,Sa(n,3))};aa.find=kj;aa.findIndex=sh;aa.findKey=function(e,f){return ma(e,Sa(f,3),rb)};aa.findLast=lj;aa.findLastIndex=th;
aa.findLastKey=function(e,f){return ma(e,Sa(f,3),Yb)};aa.floor=gk;aa.forEach=yh;aa.forEachRight=zh;aa.forIn=function(e,f){return null==e?e:If(e,Sa(f,3),Pb)};aa.forInRight=function(e,f){return null==e?e:Ig(e,Sa(f,3),Pb)};aa.forOwn=function(e,f){return e&&rb(e,Sa(f,3))};aa.forOwnRight=function(e,f){return e&&Yb(e,Sa(f,3))};aa.get=Ff;aa.gt=vj;aa.gte=wj;aa.has=function(e,f){return null!=e&&ph(e,f,fd)};aa.hasIn=Pf;aa.head=uh;aa.identity=Sb;aa.includes=function(e,f,n,r){e=Tb(e)?e:rd(e);n=n&&!r?Wa(n):0;
r=e.length;0>n&&(n=yb(r+n,0));return ff(e)?n<=r&&-1<e.indexOf(f,n):!!r&&-1<ja(e,f,n)};aa.indexOf=function(e,f,n){var r=null==e?0:e.length;if(!r)return-1;n=null==n?0:Wa(n);0>n&&(n=yb(r+n,0));return ja(e,f,n)};aa.inRange=function(e,f,n){f=Hc(f);n===xa?(n=f,f=0):n=Hc(n);e=ic(e);return e>=Gb(f,n)&&e<yb(f,n)};aa.invoke=Ij;aa.isArguments=Zc;aa.isArray=Ua;aa.isArrayBuffer=xj;aa.isArrayLike=Tb;aa.isArrayLikeObject=tb;aa.isBoolean=function(e){return!0===e||!1===e||qb(e)&&"[object Boolean]"==Bb(e)};aa.isBuffer=
Lc;aa.isDate=yj;aa.isElement=function(e){return qb(e)&&1===e.nodeType&&!de(e)};aa.isEmpty=function(e){if(null==e)return!0;if(Tb(e)&&(Ua(e)||"string"==typeof e||"function"==typeof e.splice||Lc(e)||ld(e)||Zc(e)))return!e.length;var f=Fb(e);if("[object Map]"==f||"[object Set]"==f)return!e.size;if(be(e))return!ae(e).length;for(var n in e)if(fb.call(e,n))return!1;return!0};aa.isEqual=function(e,f){return yc(e,f)};aa.isEqualWith=function(e,f,n){var r=(n="function"==typeof n?n:xa)?n(e,f):xa;return r===xa?
yc(e,f,xa,n):!!r};aa.isError=fg;aa.isFinite=function(e){return"number"==typeof e&&jh(e)};aa.isFunction=Fc;aa.isInteger=Hh;aa.isLength=De;aa.isMap=Hg;aa.isMatch=function(e,f){return e===f||Zd(e,f,Nf(f))};aa.isMatchWith=function(e,f,n){n="function"==typeof n?n:xa;return Zd(e,f,Nf(f),n)};aa.isNaN=function(e){return Ih(e)&&e!=+e};aa.isNative=function(e){if(Ri(e))throw new Nh("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return cd(e)};aa.isNil=function(e){return null==e};aa.isNull=
function(e){return null===e};aa.isNumber=Ih;aa.isObject=ob;aa.isObjectLike=qb;aa.isPlainObject=de;aa.isRegExp=sg;aa.isSafeInteger=function(e){return Hh(e)&&-9007199254740991<=e&&9007199254740991>=e};aa.isSet=Gg;aa.isString=ff;aa.isSymbol=Wb;aa.isTypedArray=ld;aa.isUndefined=function(e){return e===xa};aa.isWeakMap=function(e){return qb(e)&&"[object WeakMap]"==Fb(e)};aa.isWeakSet=function(e){return qb(e)&&"[object WeakSet]"==Bb(e)};aa.join=function(e,f){return null==e?"":Ji.call(e,f)};aa.kebabCase=
Nj;aa.last=gc;aa.lastIndexOf=function(e,f,n){var r=null==e?0:e.length;if(!r)return-1;var w=r;n!==xa&&(w=Wa(n),w=0>w?yb(r+w,0):Gb(w,r-1));if(f===f){for(n=w+1;n--&&e[n]!==f;);e=n}else e=la(e,ra,w,!0);return e};aa.lowerCase=Oj;aa.lowerFirst=Pj;aa.lt=zj;aa.lte=Aj;aa.max=function(e){return e&&e.length?Rb(e,Sb,pb):xa};aa.maxBy=function(e,f){return e&&e.length?Rb(e,Sa(f,2),pb):xa};aa.mean=function(e){return na(e,Sb)};aa.meanBy=function(e,f){return na(e,Sa(f,2))};aa.min=function(e){return e&&e.length?Rb(e,
Sb,ce):xa};aa.minBy=function(e,f){return e&&e.length?Rb(e,Sa(f,2),ce):xa};aa.stubArray=kg;aa.stubFalse=lg;aa.stubObject=function(){return{}};aa.stubString=function(){return""};aa.stubTrue=function(){return!0};aa.multiply=hk;aa.nth=function(e,f){return e&&e.length?He(e,Wa(f)):xa};aa.noConflict=function(){vb._===this&&(vb._=Ei);return this};aa.noop=jg;aa.now=cf;aa.pad=function(e,f,n){e=cb(e);var r=(f=Wa(f))?Ia(e):0;if(!f||r>=f)return e;f=(f-r)/2;return Ve(Le(f),n)+e+Ve(We(f),n)};aa.padEnd=function(e,
f,n){e=cb(e);var r=(f=Wa(f))?Ia(e):0;return f&&r<f?e+Ve(f-r,n):e};aa.padStart=function(e,f,n){e=cb(e);var r=(f=Wa(f))?Ia(e):0;return f&&r<f?Ve(f-r,n)+e:e};aa.parseInt=function(e,f,n){n||null==f?f=0:f&&(f=+f);return Ki(cb(e).replace(Jd,""),f||0)};aa.random=function(e,f,n){n&&"boolean"!=typeof n&&Jb(e,f,n)&&(f=n=xa);n===xa&&("boolean"==typeof f?(n=f,f=xa):"boolean"==typeof e&&(n=e,e=xa));e===xa&&f===xa?(e=0,f=1):(e=Hc(e),f===xa?(f=e,e=0):f=Hc(f));if(e>f){var r=e;e=f;f=r}return n||e%1||f%1?(n=Rg(),Gb(e+
n*(f-e+ve("1e-"+((n+"").length-1))),f)):Vd(e,f)};aa.reduce=function(e,f,n){var r=Ua(e)?ia:sa,w=3>arguments.length;return r(e,Sa(f,4),n,w,Nc)};aa.reduceRight=function(e,f,n){var r=Ua(e)?ka:sa,w=3>arguments.length;return r(e,Sa(f,4),n,w,Ah)};aa.repeat=function(e,f,n){f=(n?Jb(e,f,n):f===xa)?1:Wa(f);return Ka(cb(e),f)};aa.replace=function(){var e=arguments,f=cb(e[0]);return 3>e.length?f:f.replace(e[1],e[2])};aa.result=function(e,f,n){f=fc(f,e);var r=-1,w=f.length;w||(w=1,e=xa);for(;++r<w;){var x=null==
e?xa:e[xc(f[r])];x===xa&&(r=w,x=n);e=Fc(x)?x.call(e):x}return e};aa.round=ik;aa.runInContext=Gd;aa.sample=function(e){return(Ua(e)?Eb:oc)(e)};aa.size=function(e){if(null==e)return 0;if(Tb(e))return ff(e)?Ia(e):e.length;var f=Fb(e);return"[object Map]"==f||"[object Set]"==f?e.size:ae(e).length};aa.snakeCase=Qj;aa.some=function(e,f,n){var r=Ua(e)?oa:Wf;n&&Jb(e,f,n)&&(f=xa);return r(e,Sa(f,3))};aa.sortedIndex=function(e,f){return sd(e,f)};aa.sortedIndexBy=function(e,f,n){return he(e,f,Sa(n,2))};aa.sortedIndexOf=
function(e,f){var n=null==e?0:e.length;if(n){var r=sd(e,f);if(r<n&&lc(e[r],f))return r}return-1};aa.sortedLastIndex=function(e,f){return sd(e,f,!0)};aa.sortedLastIndexBy=function(e,f,n){return he(e,f,Sa(n,2),!0)};aa.sortedLastIndexOf=function(e,f){if(null==e?0:e.length){var n=sd(e,f,!0)-1;if(lc(e[n],f))return n}return-1};aa.startCase=Rj;aa.startsWith=function(e,f,n){e=cb(e);n=null==n?0:cc(Wa(n),0,e.length);f=Ib(f);return e.slice(n,n+f.length)==f};aa.subtract=jk;aa.sum=function(e){return e&&e.length?
ta(e,Sb):0};aa.sumBy=function(e,f){return e&&e.length?ta(e,Sa(f,2)):0};aa.template=function(e,f,n){var r=aa.templateSettings;n&&Jb(e,f,n)&&(f=xa);e=cb(e);f=nf({},f,r,mh);n=nf({},f.imports,r.imports,mh);var w=Ab(n),x=Ca(n,w),ea,ia,y=0;n=f.interpolate||Xc;var z="__p += '";n=mg((f.escape||Xc).source+"|"+n.source+"|"+(n===ac?Ld:Xc).source+"|"+(f.evaluate||Xc).source+"|$","g");var ja="//# sourceURL="+(fb.call(f,"sourceURL")?(f.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ue+"]")+"\n";
e.replace(n,function(f,n,r,w,x,ja){r||(r=w);z+=e.slice(y,ja).replace(gb,Ja);n&&(ea=!0,z+="' +\n__e("+n+") +\n'");x&&(ia=!0,z+="';\n"+x+";\n__p += '");r&&(z+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'");y=ja+f.length;return f});z+="';\n";(f=fb.call(f,"variable")&&f.variable)||(z="with (obj) {\n"+z+"\n}\n");z=(ia?z.replace(Ta,""):z).replace(Ra,"$1").replace(ib,"$1;");z="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(ea?", __e = _.escape":"")+(ia?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":
";\n")+z+"return __p\n}";f=Xh(function(){return Oh(w,ja+"return "+z).apply(xa,x)});f.source=z;if(fg(f))throw f;return f};aa.times=function(e,f){e=Wa(e);if(1>e||9007199254740991<e)return[];var n=4294967295,r=Gb(e,4294967295);f=Sa(f);e-=4294967295;for(r=ya(r,f);++n<e;)f(n);return r};aa.toFinite=Hc;aa.toInteger=Wa;aa.toLength=Kh;aa.toLower=function(e){return cb(e).toLowerCase()};aa.toNumber=ic;aa.toSafeInteger=function(e){return e?cc(Wa(e),-9007199254740991,9007199254740991):0===e?e:0};aa.toString=cb;
aa.toUpper=function(e){return cb(e).toUpperCase()};aa.trim=function(e,f,n){if((e=cb(e))&&(n||f===xa))return e.replace(eb,"");if(!e||!(f=Ib(f)))return e;e=Pa(e);n=Pa(f);f=Ea(e,n);n=Da(e,n)+1;return Va(e,f,n).join("")};aa.trimEnd=function(e,f,n){if((e=cb(e))&&(n||f===xa))return e.replace(gd,"");if(!e||!(f=Ib(f)))return e;e=Pa(e);f=Da(e,Pa(f))+1;return Va(e,0,f).join("")};aa.trimStart=function(e,f,n){if((e=cb(e))&&(n||f===xa))return e.replace(Jd,"");if(!e||!(f=Ib(f)))return e;e=Pa(e);f=Ea(e,Pa(f));return Va(e,
f).join("")};aa.truncate=function(e,f){var n=30,r="...";if(ob(f)){var w="separator"in f?f.separator:w;n="length"in f?Wa(f.length):n;r="omission"in f?Ib(f.omission):r}e=cb(e);f=e.length;if(Bc.test(e)){var x=Pa(e);f=x.length}if(n>=f)return e;f=n-Ia(r);if(1>f)return r;n=x?Va(x,0,f).join(""):e.slice(0,f);if(w===xa)return n+r;x&&(f+=n.length-f);if(sg(w)){if(e.slice(f).search(w)){x=n;w.global||(w=mg(w.source,cb(Md.exec(w))+"g"));for(w.lastIndex=0;e=w.exec(x);)var ea=e.index;n=n.slice(0,ea===xa?f:ea)}}else e.indexOf(Ib(w),
f)!=f&&(w=n.lastIndexOf(w),-1<w&&(n=n.slice(0,w)));return n+r};aa.unescape=function(e){return(e=cb(e))&&Db.test(e)?e.replace(Lb,Cf):e};aa.uniqueId=function(e){var f=++Di;return cb(e)+f};aa.upperCase=Sj;aa.upperFirst=gg;aa.each=yh;aa.eachRight=zh;aa.first=uh;ig(aa,function(){var e={};rb(aa,function(f,n){fb.call(aa.prototype,n)||(e[n]=f)});return e}(),{chain:!1});aa.VERSION="4.17.20";y("bind bindKey curry curryRight partial partialRight".split(" "),function(e){aa[e].placeholder=aa});y(["drop","take"],
function(e,f){Ba.prototype[e]=function(n){n=n===xa?1:yb(Wa(n),0);var r=this.__filtered__&&!f?new Ba(this):this.clone();r.__filtered__?r.__takeCount__=Gb(n,r.__takeCount__):r.__views__.push({size:Gb(n,4294967295),type:e+(0>r.__dir__?"Right":"")});return r};Ba.prototype[e+"Right"]=function(f){return this.reverse()[e](f).reverse()}});y(["filter","map","takeWhile"],function(e,f){var n=f+1,r=1==n||3==n;Ba.prototype[e]=function(e){var f=this.clone();f.__iteratees__.push({iteratee:Sa(e,3),type:n});f.__filtered__=
f.__filtered__||r;return f}});y(["head","last"],function(e,f){var n="take"+(f?"Right":"");Ba.prototype[e]=function(){return this[n](1).value()[0]}});y(["initial","tail"],function(e,f){var n="drop"+(f?"":"Right");Ba.prototype[e]=function(){return this.__filtered__?new Ba(this):this[n](1)}});Ba.prototype.compact=function(){return this.filter(Sb)};Ba.prototype.find=function(e){return this.filter(e).head()};Ba.prototype.findLast=function(e){return this.reverse().find(e)};Ba.prototype.invokeMap=Oa(function(e,
f){return"function"==typeof e?new Ba(this):this.map(function(n){return Pc(n,e,f)})});Ba.prototype.reject=function(e){return this.filter(ef(Sa(e)))};Ba.prototype.slice=function(e,f){e=Wa(e);var n=this;if(n.__filtered__&&(0<e||0>f))return new Ba(n);0>e?n=n.takeRight(-e):e&&(n=n.drop(e));f!==xa&&(f=Wa(f),n=0>f?n.dropRight(-f):n.take(f-e));return n};Ba.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};Ba.prototype.toArray=function(){return this.take(4294967295)};rb(Ba.prototype,
function(e,f){var n=/^(?:filter|find|map|reject)|While$/.test(f),r=/^(?:head|last)$/.test(f),w=aa[r?"take"+("last"==f?"Right":""):f],x=r||/^find/.test(f);w&&(aa.prototype[f]=function(){function f(e){e=w.apply(aa,ea([e],y));return r&&ka?e[0]:e}var ia=this.__wrapped__,y=r?[1]:arguments,z=ia instanceof Ba,ja=y[0],h=z||Ua(ia);h&&n&&"function"==typeof ja&&1!=ja.length&&(z=h=!1);var ka=this.__chain__,oa=!!this.__actions__.length;ja=x&&!ka;z=z&&!oa;if(!x&&h)return ia=z?ia:new Ba(this),ia=e.apply(ia,y),ia.__actions__.push({func:af,
args:[f],thisArg:xa}),new za(ia,ka);if(ja&&z)return e.apply(this,y);ia=this.thru(f);return ja?r?ia.value()[0]:ia.value():ia})});y("pop push shift sort splice unshift".split(" "),function(e){var f=hf[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);aa.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var w=this.value();return f.apply(Ua(w)?w:[],e)}return this[n](function(n){return f.apply(Ua(n)?n:[],e)})}});rb(Ba.prototype,function(e,f){if(e=aa[f]){var n=
e.name+"";fb.call(Ad,n)||(Ad[n]=[]);Ad[n].push({name:f,func:e})}});Ad[Se(xa,2).name]=[{name:"wrapper",func:xa}];Ba.prototype.clone=function(){var e=new Ba(this.__wrapped__);e.__actions__=Nb(this.__actions__);e.__dir__=this.__dir__;e.__filtered__=this.__filtered__;e.__iteratees__=Nb(this.__iteratees__);e.__takeCount__=this.__takeCount__;e.__views__=Nb(this.__views__);return e};Ba.prototype.reverse=function(){if(this.__filtered__){var e=new Ba(this);e.__dir__=-1;e.__filtered__=!0}else e=this.clone(),
e.__dir__*=-1;return e};Ba.prototype.value=function(){var e=this.__wrapped__.value(),f=this.__dir__,n=Ua(e),r=0>f,w=n?e.length:0;var x=0;for(var ea=w,ia=this.__views__,y=-1,z=ia.length;++y<z;){var ja=ia[y],h=ja.size;switch(ja.type){case "drop":x+=h;break;case "dropRight":ea-=h;break;case "take":ea=Gb(ea,x+h);break;case "takeRight":x=yb(x,ea-h)}}ia=ea;ea=ia-x;x=r?ia:x-1;ia=this.__iteratees__;y=ia.length;z=0;ja=Gb(ea,this.__takeCount__);if(!n||!r&&w==ea&&ja==ea)return Oe(e,this.__actions__);n=[];a:for(;ea--&&
z<ja;){x+=f;r=-1;for(w=e[x];++r<y;){var ka=ia[r];h=ka.iteratee;ka=ka.type;h=h(w);if(2==ka)w=h;else if(!h)if(1==ka)continue a;else break a}n[z++]=w}return n};aa.prototype.at=ij;aa.prototype.chain=function(){return xh(this)};aa.prototype.commit=function(){return new za(this.value(),this.__chain__)};aa.prototype.next=function(){this.__values__===xa&&(this.__values__=Jh(this.value()));var e=this.__index__>=this.__values__.length,f=e?xa:this.__values__[this.__index__++];return{done:e,value:f}};aa.prototype.plant=
function(e){for(var f,n=this;n instanceof fa;){var r=zg(n);r.__index__=0;r.__values__=xa;f?w.__wrapped__=r:f=r;var w=r;n=n.__wrapped__}w.__wrapped__=e;return f};aa.prototype.reverse=function(){var e=this.__wrapped__;return e instanceof Ba?(this.__actions__.length&&(e=new Ba(this)),e=e.reverse(),e.__actions__.push({func:af,args:[dg],thisArg:xa}),new za(e,this.__chain__)):this.thru(dg)};aa.prototype.toJSON=aa.prototype.valueOf=aa.prototype.value=function(){return Oe(this.__wrapped__,this.__actions__)};
aa.prototype.first=aa.prototype.head;le&&(aa.prototype[le]=Bi);return aa}();vb._=pc;!(fa=pc,fa!==xa&&(aa.exports=fa))}).call(this)}).call(this,h(147),h(205)(ha))},function(ha,ca,h){function ba(){}function aa(){}function fa(e,f){Object(x.a)("disableLogs")||e||f&&y(f)}function da(e){if(!Object(x.a)("disableLogs"))throw console.error(e),Error(e);}function z(e){Object(x.a)("disableLogs")||console.error(e)}function y(e,f){Object(x.a)("disableLogs")||(f?console.log(e+": "+f):console.log(e))}function f(e,
f){Object(x.a)("disableLogs")||(f?console.warn(e+": "+f):console.warn(e))}function e(e){void 0===e&&(e=!0);Object(x.b)("disableLogs",e)}h.d(ca,"f",function(){return y});h.d(ca,"h",function(){return f});h.d(ca,"g",function(){return z});h.d(ca,"e",function(){return da});h.d(ca,"a",function(){return fa});h.d(ca,"d",function(){return e});h.d(ca,"b",function(){return aa});h.d(ca,"c",function(){return ba});var x=h(35)},function(ha,ca,h){var ba=h(80);h.d(ca,"a",function(){return ba.a});var aa=h(78);h.d(ca,
"b",function(){return aa.a});var fa=h(150);h.d(ca,"d",function(){return fa.a});var da=h(151);h.d(ca,"c",function(){return da.a});var z=h(212);h.d(ca,"e",function(){return z.a})},function(ha,ca,h){function ba(){ba=Object.assign||function(f){for(var e,x=1,r=arguments.length;x<r;x++){e=arguments[x];for(var w in e)Object.prototype.hasOwnProperty.call(e,w)&&(f[w]=e[w])}return f};return ba.apply(this,arguments)}function aa(f,e){aa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,f){e.__proto__=
f}||function(e,f){for(var r in f)f.hasOwnProperty(r)&&(e[r]=f[r])};return aa(f,e)}function fa(f,e){function x(){this.constructor=f}aa(f,e);f.prototype=null===e?Object.create(e):(x.prototype=e.prototype,new x)}function da(f,e,x,r){function w(e){return e instanceof x?e:new x(function(f){f(e)})}return new (x||(x=Promise))(function(n,x){function ea(e){try{z(r.next(e))}catch(la){x(la)}}function y(e){try{z(r["throw"](e))}catch(la){x(la)}}function z(e){e.done?n(e.value):w(e.value).then(ea,y)}z((r=r.apply(f,
e||[])).next())})}function z(f,e){function x(e){return function(f){return r([e,f])}}function r(r){if(n)throw new TypeError("Generator is already executing.");for(;w;)try{if(n=1,ea&&(ia=r[0]&2?ea["return"]:r[0]?ea["throw"]||((ia=ea["return"])&&ia.call(ea),0):ea.next)&&!(ia=ia.call(ea,r[1])).done)return ia;if(ea=0,ia)r=[r[0]&2,ia.value];switch(r[0]){case 0:case 1:ia=r;break;case 4:return w.label++,{value:r[1],done:!1};case 5:w.label++;ea=r[1];r=[0];continue;case 7:r=w.ops.pop();w.Cm.pop();continue;
default:if(!(ia=w.Cm,ia=0<ia.length&&ia[ia.length-1])&&(6===r[0]||2===r[0])){w=0;continue}if(3===r[0]&&(!ia||r[1]>ia[0]&&r[1]<ia[3]))w.label=r[1];else if(6===r[0]&&w.label<ia[1])w.label=ia[1],ia=r;else if(ia&&w.label<ia[2])w.label=ia[2],w.ops.push(r);else{ia[2]&&w.ops.pop();w.Cm.pop();continue}}r=e.call(f,w)}catch(ma){r=[6,ma],ea=0}finally{n=ia=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}var w={label:0,la:function(){if(ia[0]&1)throw ia[1];return ia[1]},Cm:[],ops:[]},n,ea,ia,y;mb();
mb();Kb();return y={next:x(0),"throw":x(1),"return":x(2)},"function"===typeof Symbol&&(y[Symbol.iterator]=function(){return this}),y}function y(){for(var f=0,e=0,x=arguments.length;e<x;e++)f+=arguments[e].length;f=Array(f);var r=0;for(e=0;e<x;e++)for(var w=arguments[e],n=0,ea=w.length;n<ea;n++,r++)f[r]=w[n];return f}h.d(ca,"c",function(){return fa});h.d(ca,"a",function(){return ba});h.d(ca,"b",function(){return da});h.d(ca,"d",function(){return z});h.d(ca,"e",function(){return y})},function(ha,ca,
h){h.d(ca,"c",function(){return aa});h.d(ca,"d",function(){return fa});h.d(ca,"b",function(){return da});h.d(ca,"e",function(){return z});h.d(ca,"a",function(){return y});h.d(ca,"g",function(){return f});var ba=h(217);h.d(ca,"f",function(){return ba.a});var aa;(function(e){e[e.E_0=0]="E_0";e[e.E_90=1]="E_90";e[e.E_180=2]="E_180";e[e.E_270=3]="E_270";e[e.e_0=0]="e_0";e[e.e_90=1]="e_90";e[e.e_180=2]="e_180";e[e.e_270=3]="e_270"})(aa||(aa={}));var fa;(function(e){e.ACCEPTED="Accepted";e.REJECTED="Rejected";
e.CANCELLED="Cancelled";e.COMPLETED="Completed";e.NONE="None"})(fa||(fa={}));var da;(function(e){e.MARKED="Marked";e.UNMARKED="Unmarked"})(da||(da={}));var z;(function(e){e.MARKED="Marked";e.REVIEW="Review"})(z||(z={}));var y;(function(e){e.BOLD="BOLD";e.ITALIC="ITALIC";e.UNDERLINE="UNDERLINE"})(y||(y={}));var f={ARROW:"AnnotationCreateArrow",CALLOUT:"AnnotationCreateCallout",ELLIPSE:"AnnotationCreateEllipse",FREEHAND:"AnnotationCreateFreeHand",FREETEXT:"AnnotationCreateFreeText",LINE:"AnnotationCreateLine",
POLYGON:"AnnotationCreatePolygon",POLYGON_CLOUD:"AnnotationCreatePolygonCloud",POLYLINE:"AnnotationCreatePolyline",RECTANGLE:"AnnotationCreateRectangle",DISTANCE_MEASUREMENT:"AnnotationCreateDistanceMeasurement",PERIMETER_MEASUREMENT:"AnnotationCreatePerimeterMeasurement",AREA_MEASUREMENT:"AnnotationCreateAreaMeasurement",RECTANGULAR_AREA_MEASUREMENT:"AnnotationCreateRectangularAreaMeasurement",ELLIPSE_MEASUREMENT:"AnnotationCreateEllipseMeasurement",COUNT_MEASUREMENT:"AnnotationCreateCountMeasurement",
SIGNATURE:"AnnotationCreateSignature",STAMP:"AnnotationCreateStamp",FILEATTACHMENT:"AnnotationCreateFileAttachment",RUBBER_STAMP:"AnnotationCreateRubberStamp",STICKY:"AnnotationCreateSticky",HIGHLIGHT:"AnnotationCreateTextHighlight",SQUIGGLY:"AnnotationCreateTextSquiggly",STRIKEOUT:"AnnotationCreateTextStrikeout",UNDERLINE:"AnnotationCreateTextUnderline",REDACTION:"AnnotationCreateRedaction",TEXT_SELECT:"TextSelect",EDIT:"AnnotationEdit",PAN:"Pan",CROP:"CropPage",MARQUEE:"MarqueeZoomTool",ERASER:"AnnotationEraserTool",
FREEHAND2:"AnnotationCreateFreeHand2",FREEHAND3:"AnnotationCreateFreeHand3",FREEHAND4:"AnnotationCreateFreeHand4",HIGHLIGHT2:"AnnotationCreateTextHighlight2",HIGHLIGHT3:"AnnotationCreateTextHighlight3",HIGHLIGHT4:"AnnotationCreateTextHighlight4",FREETEXT2:"AnnotationCreateFreeText2",FREETEXT3:"AnnotationCreateFreeText3",FREETEXT4:"AnnotationCreateFreeText4",CALLOUT2:"AnnotationCreateCallout2",CALLOUT3:"AnnotationCreateCallout3",CALLOUT4:"AnnotationCreateCallout4",STICKY2:"AnnotationCreateSticky2",
STICKY3:"AnnotationCreateSticky3",STICKY4:"AnnotationCreateSticky4",UNDERLINE2:"AnnotationCreateTextUnderline2",UNDERLINE3:"AnnotationCreateTextUnderline3",UNDERLINE4:"AnnotationCreateTextUnderline4",STRIKEOUT2:"AnnotationCreateTextStrikeout2",STRIKEOUT3:"AnnotationCreateTextStrikeout3",STRIKEOUT4:"AnnotationCreateTextStrikeout4",SQUIGGLY2:"AnnotationCreateTextSquiggly2",SQUIGGLY3:"AnnotationCreateTextSquiggly3",SQUIGGLY4:"AnnotationCreateTextSquiggly4",RECTANGLE2:"AnnotationCreateRectangle2",RECTANGLE3:"AnnotationCreateRectangle3",
RECTANGLE4:"AnnotationCreateRectangle4",ELLIPSE2:"AnnotationCreateEllipse2",ELLIPSE3:"AnnotationCreateEllipse3",ELLIPSE4:"AnnotationCreateEllipse4",POLYGON2:"AnnotationCreatePolygon2",POLYGON3:"AnnotationCreatePolygon3",POLYGON4:"AnnotationCreatePolygon4",POLYGON_CLOUD2:"AnnotationCreatePolygonCloud2",POLYGON_CLOUD3:"AnnotationCreatePolygonCloud3",POLYGON_CLOUD4:"AnnotationCreatePolygonCloud4",LINE2:"AnnotationCreateLine2",LINE3:"AnnotationCreateLine3",LINE4:"AnnotationCreateLine4",POLYLINE2:"AnnotationCreatePolyline2",
POLYLINE3:"AnnotationCreatePolyline3",POLYLINE4:"AnnotationCreatePolyline4",ARROW2:"AnnotationCreateArrow2",ARROW3:"AnnotationCreateArrow3",ARROW4:"AnnotationCreateArrow4",COUNT_MEASUREMENT2:"AnnotationCreateCountMeasurement2",COUNT_MEASUREMENT3:"AnnotationCreateCountMeasurement3",COUNT_MEASUREMENT4:"AnnotationCreateCountMeasurement4",DISTANCE_MEASUREMENT2:"AnnotationCreateDistanceMeasurement2",DISTANCE_MEASUREMENT3:"AnnotationCreateDistanceMeasurement3",DISTANCE_MEASUREMENT4:"AnnotationCreateDistanceMeasurement4",
PERIMETER_MEASUREMENT2:"AnnotationCreatePerimeterMeasurement2",PERIMETER_MEASUREMENT3:"AnnotationCreatePerimeterMeasurement3",PERIMETER_MEASUREMENT4:"AnnotationCreatePerimeterMeasurement4",AREA_MEASUREMENT2:"AnnotationCreateAreaMeasurement2",AREA_MEASUREMENT3:"AnnotationCreateAreaMeasurement3",AREA_MEASUREMENT4:"AnnotationCreateAreaMeasurement4",ELLIPSE_MEASUREMENT2:"AnnotationCreateEllipseMeasurement2",ELLIPSE_MEASUREMENT3:"AnnotationCreateEllipseMeasurement3",ELLIPSE_MEASUREMENT4:"AnnotationCreateEllipseMeasurement4",
RECTANGULAR_AREA_MEASUREMENT2:"AnnotationCreateRectangularAreaMeasurement2",RECTANGULAR_AREA_MEASUREMENT3:"AnnotationCreateRectangularAreaMeasurement3",RECTANGULAR_AREA_MEASUREMENT4:"AnnotationCreateRectangularAreaMeasurement4"}},function(ha,ca,h){var ba=h(235);h.d(ca,"a",function(){return ba.a});var aa=h(16);h.d(ca,"b",function(){return aa.a});var fa=h(170);h.d(ca,"c",function(){return fa.a});var da=h(236);h.d(ca,"d",function(){return da.a});var z=h(237);h.d(ca,"e",function(){return z.a});var y=
h(238);h.d(ca,"f",function(){return y.a});var f=h(239);h.d(ca,"g",function(){return f.a});var e=h(240);h.d(ca,"h",function(){return e.a});var x=h(128);h.d(ca,"i",function(){return x.a});var r=h(241);h.d(ca,"j",function(){return r.a});var w=h(242);h.d(ca,"m",function(){return w.a});var n=h(243);h.d(ca,"k",function(){return n.a});var ea=h(244);h.d(ca,"n",function(){return ea.a});var ia=h(19);h.d(ca,"o",function(){return ia.a});var ka=h(82);h.d(ca,"p",function(){return ka.a});var oa=h(245);h.d(ca,"q",
function(){return oa.a});var ma=h(246);h.d(ca,"r",function(){return ma.a});h(247);var la=h(143);h.d(ca,"s",function(){return la.a});var ja=h(73);h.d(ca,"t",function(){return ja.c});var ua=h(112);h.d(ca,"u",function(){return ua.a});var ra=h(171);h.d(ca,"x",function(){return ra.a});var na=h(70);h.d(ca,"v",function(){return na.a});var Ba=h(101);h.d(ca,"w",function(){return Ba.a});var za=h(248);h.d(ca,"y",function(){return za.a});var sa=h(249);h.d(ca,"z",function(){return sa.a});var va=h(250);h.d(ca,
"A",function(){return va.a});var ta=h(251);h.d(ca,"B",function(){return ta.a});var ya=h(144);h.d(ca,"C",function(){return ya.a});var pa=h(42);h.d(ca,"D",function(){return pa.a});var Ha=h(252);h.d(ca,"E",function(){return Ha.a});var Ca=h(253);h.d(ca,"F",function(){return Ca.a});var Aa=h(254);h.d(ca,"G",function(){return Aa.a});var Ea=h(255);h.d(ca,"H",function(){return Ea.a});var Da=h(67);h.d(ca,"I",function(){return Da.a});var Ja=h(256);h.d(ca,"J",function(){return Ja.a});var Na=h(257);h.d(ca,"l",
function(){return Na.a});var wa=h(20);h.d(ca,"K",function(){return wa.a})},function(ha,ca,h){var ba=h(206);h.d(ca,"a",function(){return ba.a});var aa=h(207);h.d(ca,"i",function(){return aa.a});var fa=h(208);h.d(ca,"h",function(){return fa.a});var da=h(209);h.d(ca,"c",function(){return da.a});var z=h(136);h.d(ca,"d",function(){return z.a});var y=h(213);h.d(ca,"b",function(){return y.a});var f=h(214);h.d(ca,"g",function(){return f.a});var e=h(111);h.d(ca,"f",function(){return e.a});var x=h(203);h.d(ca,
"e",function(){return x.a})},function(ha,ca,h){function ba(e,f){var n=this;y.a.call(this);this.qp=w.Annotations.da.kc.HZ();this.O=ba.d2(f)(e);this.O.f$(function(e){"pagesUpdated"===e.type&&(n.Ao=[],n.Iv={});n.trigger(e.type,[e.data])});this.type=f||"xod";this.filename="";this.OV=20;this.Ao=[];this.Iv={}}function aa(){return n||ea}h.d(ca,"b",function(){return aa});var fa=h(0);h.n(fa);var da=h(1),z=h(25),y=h(76);ha=h(36);var f=h(35),e=h(259),x=h(18),r=h(55),w=window;w.ci=w.ci||{};var n=null,ea=null;
w.kb.N$=function(e){n=e};w.kb.MS=function(e){ea=e};var ia=8;w.kb.WI=function(){return ia};w.kb.jJ=function(e){ia=e;Object(f.b)("CANVAS_CACHE_SIZE",524288*e*e);w.aw=524288*e*e;w.Yo=3*e;w.IU=x.h||x.m?25+15*e:25+30*e;var n=Object(z.a)();n&&n.R9(e);switch(e){case 0:w.Yo=0;Object(f.b)("CANVAS_CACHE_SIZE",0);w.aw=0;break;case 1:w.Yo=0,Object(f.b)("CANVAS_CACHE_SIZE",0)}};w.kb.lJ=function(e){var n=1+2*(e-1);--e;0>n&&(n=0);0>e&&(e=0);Object(f.b)("maxPagesBefore",e);Object(f.b)("maxPagesAhead",n)};w.kb.jJ(6);
w.kb.lJ(5);ba.Events={DOCUMENT_COMPLETE:"documentComplete",DOCUMENT_READY:"documentReady",PAGES_DIFF:"pagesDiff",PAGES_UPDATED:"pagesUpdated",CHANGE_PAGE_IDS:"changePageIds",LAYERS_UPDATED:"layersUpdated",BOOKMARKS_UPDATED:"bookmarksUpdated"};var ka=Object.create({});ba.d2=function(e){Object(fa.isUndefined)(e)&&(e="xod");if(!ka.hasOwnProperty(e))throw Error('Document type "'+e+'" is not registered with CoreControls.Document');return function(f){return new ka[e](f)}};ba.cv=function(e,f,n){if(Object(fa.isUndefined)(e)||
Object(fa.isUndefined)(f))return!1;n&&n.forEach(function(e){ba.prototype[e]=function(){return this.O[e].apply(this.O,arguments)}});ka[e]=f;Object(da.b)('registered document type "'+e+'"');return!0};ba.pba=function(e){return ka.hasOwnProperty(e)?(delete ka[e],!0):!1};ba.prototype={au:function(){return this.type},Ui:function(){return"blackbox"!==this.type?!1:this.O.Ui.apply(this.O,arguments)},zg:function(e){return this.O.zg.apply(this.O,arguments)},m6:function(e){this.qp.Oba(e)},cT:function(e){this.Wh(e);
this.qp.gn(e)},Nj:function(e){return this.O.Nj.apply(this.O,arguments)},Jr:function(e){return this.O.Jr.apply(this.O,arguments)},Rs:function(){return this.O.Rs.apply(this.O,arguments)},FN:function(){return this.O.getBookmarks.apply(this.O,arguments)},tq:function(e){this.O.tq.apply(this.O,arguments)},uq:function(){return this.O.uq.apply(this.O,arguments)},gc:function(){return this.O.getPageCount.apply(this.O,arguments)},Gb:function(){return this.O.Gb.apply(this.O,arguments)},Ul:function(e,f,n){return this.O.Ul.apply(this.O,
arguments)},CO:function(e,f,n,r){var w=this;return n<=f?Object(da.e)("End index must be greater than start index"):new Promise(function(x){w.Jh(e,function(e){e=e.Qe();var w=8*f,ea=8*n;if(w>e.length||ea>e.length)return Object(da.e)("Index out of bounds");for(var ia=[];w<ea;w+=8)ia.push({x1:e[w],y1:e[w+1],x2:e[w+2],y2:e[w+3],x3:e[w+4],y3:e[w+5],x4:e[w+6],y4:e[w+7]});x(ia);r&&r(ia)})})},kz:function(e,f,n){return this.O.kz.apply(this.O,arguments)},iz:function(e,f,n){return this.O.iz.apply(this.O,arguments)},
getMetadata:function(){var e=this.O.getMetadata(),f={title:this.O.Hc.title,creator:this.O.Hc.creator,subject:this.O.Hc.subject,keywords:this.O.Hc.keywords,created:this.O.Hc.created,modified:this.O.Hc.modified,description:this.O.Hc.description,producer:this.O.Hc.producer},n=Object.keys(f);e=Object.assign(e,f);return window.Proxy?new window.Proxy(e,{get:function(e,f){if("then"===f)return e.then.bind(e);n.includes(f)&&Object(da.h)("Synchronous access to the getMetadata API is deprecated and will be removed in a future version. Please use the promise returned by the function.");
return e[f]}}):e},qk:function(){return this.O.qk.apply(this.O,arguments)},Sy:function(){return this.O.Sy?this.O.Sy():[]},mz:function(){return this.O.mz?this.O.mz.apply(this.O,arguments):!1},Jq:function(e){var f=this;return new Promise(function(n){f.O.Jq.call(f.O,function(){n();e&&e()})})},Zl:function(){return this.O.Zl()},E0:function(){return this.O.drawWatermark.apply(this.O,arguments)},Qq:function(e,f,n){var r=this,w=this;return new Promise(function(x,ea){r.O.loadAsync.call(r.O,e,function(e){if(e)ea(e);
else{for(var n=w.yc(),r=n.length,ia=w.bg(),y=0;y<r;++y)n[y].Wh(ia);x()}f&&f(e);return w},n)})},vI:function(){return this.O&&this.O.updateRasterizerOptions?(this.O.updateRasterizerOptions.apply(this.O,arguments),!0):!1},yu:function(e,f,n,w,x,ea){e=Object(r.b)(e,f,n,w,x,ea);var ia=Object(r.c)(this.Gb(e.pageNumber),e);e.getZoom=function(){return ia};return this.O.loadCanvasAsync(e)},YP:function(e,f){var n=this;return new Promise(function(r){n.Jh(e,function(e){if(!e)return r("");e=e.Db;r(e);f&&f(e)})})},
iE:function(e){return this.O.extractXFDF.apply(this.O,arguments)},gG:function(e,f){return this.O.loadThumbnailAsync.apply(this.O,arguments)},iu:function(e){this.O&&this.O.iu&&this.O.iu(e)},qA:function(e){return this.O.qA.apply(this.O,arguments)},EA:function(e){return this.O.EA.apply(this.O,arguments)},dg:function(){return this.O.dg.apply(this.O,arguments)},qv:function(e){return this.O.qv.apply(this.O,arguments)},Dv:function(e,f){var n=this;return new Promise(function(r,w){try{n.O.Dv.apply(n.O,[function(){setTimeout(function(){return r()});
e&&e()},f])}catch(ra){w(ra)}})},Fd:function(){this.qp.ce();this.jn in this.O&&this.jn.Fd();return this.O.unloadResources.apply(this.O,arguments)},Sq:function(e,f){return this.O.Sq.apply(this.O,arguments)},zu:function(e,f){return this.O.zu.apply(this.O,arguments)},io:function(){return this.O.io.apply(this.O,arguments)},Gl:function(e){return this.O.Gl.apply(this.O,arguments)},C2:function(){return this.O.maxViewportZoom},TR:function(){var e=this.Ao.shift();Object(da.b)("text","Text was removed at page index "+
e);this.O.aa[e].text=null;delete this.Iv[e]},zR:function(){for(var e=this.Ao.length-1;0<=e;--e)this.TR()},Jh:function(e,f){var n=e-1;this.Iv[n]?this.Ao.splice(this.Ao.indexOf(n),1):(this.Ao.length===this.OV&&this.TR(),this.Iv[n]=!0);this.Ao.push(n);Object(da.b)("text","Load text for pageIndex "+n);var r=this;return this.O.loadTextData.call(this.O,e,function(e){f(e);r.Iv[n]||(r.O.aa[n].text=null)})},Au:function(e){function f(e,f){return new Promise(function(n){e.loadTextData(f,function(){n()})})}var n=
this;e=e.map(function(e){return f(n,e)});return Promise.all(e)},getFileData:function(e){e=void 0===e?{}:e;return this.O.getFileData.apply(this.O,[e,this.bg()])},yq:function(){return this.O.yq?this.O.yq.apply(this.O):null},JE:function(){return this.filename},JH:function(e){Object(fa.isString)(e)&&(this.filename=e)},Ev:function(e,f){return this.O.Ev?this.O.Ev.apply(this.O,arguments):null},It:function(e){return this.O.It?this.O.It.apply(this.O,arguments):null},Jg:function(e,f,n){return this.O.Jg.apply(this.O,
arguments)},Zi:function(e,f){return this.O.Zi.apply(this.O,arguments)},Qh:function(e){return e.length>=this.getPageCount()?Promise.reject("doc.removePages: unable to remove pages: "+e+". This would result in no pages remaining. Please leave at least one page."):this.O.Qh.apply(this.O,arguments)},Zj:function(){return this.O.Zj.apply(this.O,arguments)},Sh:function(e,f){return this.O.Sh.apply(this.O,arguments)},Bi:function(e,f){return this.O.Bi.apply(this.O,arguments)},Tz:function(e){for(var f=[],n=
0;n<arguments.length;++n)f[n-0]=arguments[n];return this.O.Tz.apply(this.O,f)},Bg:function(e,f,n,r,w){return this.O.Bg.apply(this.O,arguments)},On:function(){return this.O.getLayersArray.apply(this.O,arguments)},qm:function(){var e=this.O.qm.apply(this.O,arguments);this.trigger(ba.Events.LAYERS_UPDATED);return e},TA:function(e){return this.O.TA.apply(this.O,arguments)},Nk:function(){return this.O.Nk.apply(this.O,arguments)},get Cd(){return this.O.aa.length},Ad:function(e){return this.O.aa[e-1].width},
zd:function(e){return this.O.aa[e-1].height},wc:function(e){return e>this.getPageCount()?(Object(da.h)("Attempting to get page matrix for page "+e+" that doesn't exist."),null):this.O.aa[e-1].Xa},hk:function(e){return this.O.hk.apply(this.O,arguments)},wq:function(){return this.O.wq.apply(this.O,arguments)},Ii:function(e){return this.O.aa[e-1].rotation},UE:function(e){return this.O.aa[e-1].text},H$:function(e,f){this.O.aa[e-1].text=f},J2:function(e){return this.O.aa[e-1].zl},nO:function(e){return this.O.aa[e-
1].links},yc:function(){var e=this;this.O.aa.forEach(function(f){f.Wh(e.bg())});return this.O.aa},oq:function(){if(this.O&&this.O.oq)return this.O.oq()},Yc:function(){return this.O.Yc},Qi:function(e,f,n){return this.O.Qi.apply(this.O,arguments)},Ok:function(e){this.O.Ok.apply(this.O,arguments)},T4:function(){return this.O.Yn},sm:function(e){this.O.sm.apply(this.O,arguments)},ym:function(){return this.O.ym.apply(this.O,arguments)},cq:function(e){return this.O.cq.apply(this.O,arguments)},Py:function(){return this.O.Py.apply(this.O,
arguments)},zy:function(e,f){return this.O.zy.apply(this.O,arguments)},Pl:function(e,f){return 0===e.length?[]:this.O.Pl.apply(this.O,arguments)},um:function(){return this.O.um()},k2:function(f){f=void 0===f?2:f;var n=this,r,w,x,ea,ia,y;return $h(function(z){switch(z.ra){case 1:if(1>f||3<f)throw Error("Aggression level must be between 1 and 3");r=n.O;w=r.Fb;if(w.fileSize)return z.return(w.fileSize);if(!w.url){if(w.file&&w.file.size)return z.return(w.file.size);z.ra=2;break}x=[function(){return Promise.resolve(r.fileSize)},
function(){return Object(e.a)(w.url).then(function(e){return e["content-length"]})},function(){return fetch(w.url).then(function(e){return e.blob()}).then(function(e){return e.size})}].slice(0,f);ea=0;case 3:if(!(ea<x.length)){z.ra=2;break}ia=x[ea];z.Np=6;return vf(z,ia(),8);case 8:y=z.Vc;y=parseInt(y);if(!isNaN(y)&&"number"===typeof y)return z.return(y);wf(z,4);break;case 6:xf(z);case 4:ea++;z.ra=3;break;case 2:throw Error("Could not determine file size");}})}};Object(fa.extend)(ba.prototype,Object.create(y.a.prototype));
Object(ha.b)(ba);ca.a=ba},function(ha,ca,h){function ba(h,z){return window.Proxy?new window.Proxy(z,{set:function(y,f,e){switch(f){case "R":case "G":case "B":case "A":h.Va()}y[f]=e;return!0}}):z}h.d(ca,"b",function(){return ba});var aa=h(0);h.n(aa);var fa=window;ha=function(){function h(z,y,f,e){this.A=this.B=this.G=this.R=0;z instanceof h?(this.R=z.R,this.G=z.G,this.B=z.B,this.A=z.A):Object(aa.isArray)(z)?1===z.length?(this.B=this.G=this.R=z=Math.round(255*(z[0]||0)),this.A=1):3===z.length?(this.R=
Math.round(255*(z[0]||0)),this.G=Math.round(255*(z[1]||0)),this.B=Math.round(255*(z[2]||0)),this.A=1):4===z.length&&(y=z[1]||0,f=z[2]||0,e=z[3]||0,this.R=Math.round(255*(1-(z[0]||0))*(1-e)),this.G=Math.round(255*(1-y)*(1-e)),this.B=Math.round(255*(1-f)*(1-e)),this.A=1):Object(aa.isString)(z)&&"#"===z[0]?(z=fa.Annotations.ma.sh(z),this.R=z.R,this.G=z.G,this.B=z.B,this.A=1):(Object(aa.isUndefined)(z)||(this.R=Number(z)),Object(aa.isUndefined)(y)||(this.G=Number(y)),Object(aa.isUndefined)(f)||(this.B=
Number(f)),Object(aa.isUndefined)(e)?Object(aa.isUndefined)(z)&&Object(aa.isUndefined)(y)&&Object(aa.isUndefined)(f)||(this.A=1):this.A=Number(e))}h.prototype.toString=function(){var z=this.R+","+this.G+","+this.B;return"undefined"===typeof this.A?"rgb("+z+")":"rgba("+z+","+this.A+")"};h.prototype.Hr=function(){return fa.Annotations.ma.Uh(this)};h.prototype.FT=function(){return fa.Annotations.ma.toFixed(this.R/255,3)+" "+fa.Annotations.ma.toFixed(this.G/255,3)+" "+fa.Annotations.ma.toFixed(this.B/
255,3)+" rg"};h.prototype.bo=function(){return 0===this.R&&0===this.G&&0===this.B&&1===this.A};h.prototype.LP=function(){return 0===this.A};return h}();ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(0);h.n(aa);var fa=h(1),da=h(11),z=h(90),y=h(25),f=h(56),e=h(32),x=h(132),r=h(7),w=h(171),n=h(62),ea=h(29),ia=h(38),ka=h(276),oa=h(117),ma=h(68),la=h(46),ja=h(58),ua=h(5),ra=h(30),na=h(4),Ba=h(13),za=h(109),sa=h(36);ha=h(197);var va=h(97),ta=h(26),ya=h(15),pa=h(105),Ha=h(6),Ca=h(175),Aa=h(10),Ea=h(283),Da=
h(183),Ja=window,Na=function(e){function f(){for(var f=[],n=0;n<arguments.length;n++)f[n]=arguments[n];return e.apply(this,f)||this}Object(ba.c)(f,e);return f}(Error),wa=function(){function sa(){var n;this.xK=!0;this.select=Object(aa.bind)(this.select,this);this.SnapMode={DEFAULT:14,POINT_ON_LINE:1,LINE_MID_POINT:2,LINE_INTERSECTION:4,PATH_ENDPOINT:8,e_DefaultSnapMode:14,e_PointOnLine:1,e_LineMidpoint:2,e_LineIntersection:4,e_PathEndpoint:8};this.O=null;this.defaults={FitMode:this.li.HB,DisplayMode:new f.a(this,
e.a.Vr),Zoom:1};this.na=new da.a(this);this.OL=new z.a(this);this.sa=new x.a(this);this.$j={};this.NU=3;this.xS();this.iN=this.YD=this.dY=this.rt=!1;this.cursor="default";this.mo=null;this.dj=[];this.dG=!1;this.HQ=function(e,f,n){n(e)};this.qI=(n={},n[na.g.ARROW]=new ua.d(this,void 0),n[na.g.CALLOUT]=new ua.e(this,void 0),n[na.g.ELLIPSE]=new ua.i(this,void 0),n[na.g.FREEHAND]=new ua.m(this,void 0),n[na.g.FREETEXT]=new ua.n(this,void 0),n[na.g.LINE]=new ua.p(this,void 0),n[na.g.POLYGON]=new ua.u(this,
void 0),n[na.g.POLYGON_CLOUD]=new ua.t(this,void 0),n[na.g.POLYLINE]=new ua.v(this,void 0),n[na.g.RECTANGLE]=new ua.w(this,void 0),n[na.g.DISTANCE_MEASUREMENT]=new ua.h(this,void 0),n[na.g.PERIMETER_MEASUREMENT]=new ua.s(this,void 0),n[na.g.AREA_MEASUREMENT]=new ua.c(this,void 0),n[na.g.RECTANGULAR_AREA_MEASUREMENT]=new w.a(this,void 0),n[na.g.ELLIPSE_MEASUREMENT]=new ua.j(this,void 0),n[na.g.COUNT_MEASUREMENT]=new ua.f(this,void 0),n[na.g.SIGNATURE]=new ua.A(this,void 0),n[na.g.STAMP]=new ua.B(this,
void 0),n[na.g.FILEATTACHMENT]=new ua.l(this,void 0),n[na.g.RUBBER_STAMP]=new ua.z(this,void 0),n[na.g.STICKY]=new ua.C(this,void 0),n[na.g.HIGHLIGHT]=new ua.E(this,void 0),n[na.g.SQUIGGLY]=new ua.G(this,void 0),n[na.g.STRIKEOUT]=new ua.H(this,void 0),n[na.g.UNDERLINE]=new ua.J(this,void 0),n[na.g.REDACTION]=new ua.y(this,void 0),n[na.g.EDIT]=new ua.a(this,void 0),n[na.g.PAN]=new ua.r(this,void 0),n[na.g.TEXT_SELECT]=new ua.F(this,void 0),n[na.g.CROP]=new ua.g(this,void 0),n[na.g.MARQUEE]=new ua.q(this,
void 0),n[na.g.ERASER]=new ua.k(this,void 0),n)}sa.prototype.qba=function(){var e=this;Object.keys(this.links).forEach(function(f){if(e.links.hasOwnProperty(f)){f=e.links[parseInt(f,10)];for(var n=0;n<f.length;++n)f[n].style&&(f[n].style.border="")}})};sa.prototype.aJ=function(e){this.trigger(Aa.c.MOUSE_LEFT_UP,e);this.Pa&&this.Pa.mouseLeftUp&&this.Pa.mouseLeftUp(e);this.qba()};sa.prototype.$I=function(e){this.trigger(Aa.c.MOUSE_LEFT_DOWN,e);this.Pa&&this.Pa.mouseLeftDown&&(this.Pa.mouseLeftDown(e),
this.Pa.isSelecting&&this.Pa.isSelecting()||!(this.Pa instanceof ua.a||this.Pa instanceof ua.r)?this.To("none"):this.To("auto"))};sa.prototype.fV=function(e){this.trigger(Aa.c.CLICK,e)};sa.prototype.pV=function(e){this.trigger(Aa.c.TAP,e);this.Pa&&this.Pa.tap&&this.Pa.tap(e)};sa.prototype.hV=function(e){this.trigger(Aa.c.DBL_CLICK,e);this.Pa&&this.Pa.mouseDoubleClick&&this.Pa.mouseDoubleClick(e)};sa.prototype.iV=function(e){this.trigger(Aa.c.KEY_DOWN,e);this.Pa&&this.Pa.keyDown&&this.Pa.keyDown(e)};
sa.prototype.jV=function(e){this.trigger(Aa.c.KEY_UP,e);this.Pa&&this.Pa.QP&&this.Pa.QP(e)};sa.prototype.gV=function(e){this.Pa&&this.Pa.contextMenu&&this.Pa.contextMenu(e)};sa.prototype.kV=function(e){this.trigger(Aa.c.MOUSE_ENTER,e);this.Pa&&this.Pa.X5&&this.Pa.X5(e)};sa.prototype.bJ=function(e){this.trigger(Aa.c.MOUSE_MOVE,e);this.Pa&&this.Pa.mouseMove&&this.Pa.mouseMove(e)};sa.prototype.lV=function(e){this.trigger(Aa.c.MOUSE_LEAVE,e);this.Pa&&this.Pa.mouseLeave&&this.Pa.mouseLeave(e)};sa.prototype.mV=
function(e){this.trigger(Aa.c.MOUSE_RIGHT_DOWN,e);this.Pa&&this.Pa.mouseRightDown&&this.Pa.mouseRightDown(e)};sa.prototype.nV=function(e){this.trigger(Aa.c.MOUSE_RIGHT_UP,e);this.Pa&&this.Pa.Y5&&this.Pa.Y5(e)};sa.prototype.oV=function(e){this.Pa&&this.Pa.aR&&this.Pa.aR(e)};sa.prototype.zY=function(){function e(e){w=!0;var n=f.O.yc()[e-1];if(n){var r,ia=f.ta().Yb(),y=ia.length;if(x&&x!==n){for(r=0;r<y;++r){var z=ia[r];z.am()&&z.pageNumber===ea&&ia[r].Of("PC",new Ja.Annotations.da.kc.wb.jw("Close",
f,{}))}x.Of("C",new Ja.Annotations.da.kc.wb.jw.create("Close",f,{}))}x=n;ea=e;n.Of("O",new Ja.Annotations.da.kc.wb.jw.create("Open",f,{}));for(r=0;r<y;++r)z=ia[r],z.am()&&z.pageNumber===e&&ia[r].Of("PO",new Ja.Annotations.da.kc.wb.jw("Close",f,{}))}}var f=this,n=this.Mi();n.addEventListener("dragstart",function(e){"IMG"===e.target.nodeName&&e.preventDefault()});n.addEventListener("touchstart",function(e){f.$I(e)});n.addEventListener("touchmove",function(e){f.Jb={x:e.touches[0].pageX,y:e.touches[0].pageY};
f.bJ(e)});n.addEventListener("touchend",function(e){f.aJ(e);f.AC=!1});n.addEventListener("pointerdown",function(e){f.oV(e)});n.addEventListener("dblclick",function(e){f.hV(e)});n.addEventListener("click",function(e){f.fV(e)});n.addEventListener("tap",function(e){f.pV(e)});window.addEventListener("keydown",function(e){f.iV(e)});window.addEventListener("keyup",function(e){f.jV(e)});n.addEventListener("contextmenu",function(e){f.gV(e)});n.addEventListener("mouseenter",function(e){f.kV(e)});n.addEventListener("mouseleave",
function(e){f.lV(e)});n=f.Mi();var r=f.Zb();r&&(n=r);n.addEventListener("mousedown",function(e){if(r){var n=r.clientWidth,w=r.clientHeight,x=r.getBoundingClientRect();if(e.clientX>x.left+n||e.clientY>x.top+w)return}1===e.which?(f.$I(e),f.AC=!0):3===e.which&&(f.mV(e),f.yK=!0)});document.addEventListener("mouseup",function(e){1===e.which&&f.AC?(f.aJ(e),f.AC=!1):3===e.which&&f.yK&&(f.nV(e),f.yK=!1)});document.addEventListener("mousemove",function(e){f.Jb={x:e.pageX,y:e.pageY};f.bJ(e)});f.sa.vc().Yk()&&
r.addEventListener("scroll",Object(aa.bind)(f.onscroll,f));window.addEventListener("resize",Object(aa.bind)(f.resize,f));f.on(sa.Xe.rV,function(){f.bb.pause()});f.on(sa.Xe.yV,function(){f.bb.resume()});var w=!1,x=null,ea;f.on(sa.Xe.AB,function(){f.O&&(f.O.Of("Init",new Ja.Annotations.da.kc.wb.SI.create("Open",f,{})),f.O.Of("Open",new Ja.Annotations.da.kc.wb.SI.create("Open",f,{})),w||e(1))});f.on(sa.Events.DOCUMENT_UNLOADED,function(){f.n9()});f.on(sa.Events.PAGE_NUMBER_UPDATED,function(n){e(n);f.O.Ok({currentPage:n})});
f.on(sa.Xe.oJ,function(e){if(f.dG){f.Xx();var n=[];e.forEach(function(e){f.Qg[e]&&n.push(e)});f.Qg.fill(!1);n.forEach(function(e){f.Qg[e]=!0});var r=f.na.Yb().filter(function(f){return-1===e.indexOf(f.Ba()-1)});f.na.zn(r,!0,!0)}f.O.Ok({visiblePages:e});var w=Object(aa.intersection)(e,f.Js);w.length&&(clearTimeout(f.hY),f.hY=window.setTimeout(function(){f.Lk.Jk("DocumentViewer.renderRequest",{type:"annotations",pages:w})},80))});f.on(sa.Xe.KU,function(e){f.$l=!1;f.Nv();e?(f.loop=!0,f.oI(f.KM,f.VZ,
!1)):f.loop=!1});f.on(sa.Xe.MI,function(){setTimeout(function(){f.xR();f.bi()},200)})};sa.prototype.resize=function(e){e&&e.target!==window||!this.O||!this.sa.vc().Yk()||(this.Cg===this.li.Zoom?(this.TC(),this.sa.vc().Zg(),this.onscroll()):(e=this.Cg(),e!==this.ca.jk?(this.Es(e),this.nD()):(this.sa.vc().Zg(),this.nD(),this.onscroll())))};sa.prototype.nD=function(){var e=this.Zb(),f=e.getBoundingClientRect().width;f=(e.scrollWidth-f+this.bz())/2;Object(Ba.g)(e,f)};sa.prototype.C9=function(){var e=
this.Zb();Object(za.c)(getComputedStyle(e).direction);this.resize()};sa.prototype.Ux=function(){return Object(ba.b)(this,void 0,void 0,function(){var e,f,n=this;return Object(ba.d)(this,function(r){switch(r.label){case 0:return e=Object.values(this.eF()).filter(function(e){return e instanceof ua.m}),f=[],e.forEach(function(e){e.annotation&&f.push(e.complete())}),[4,Promise.all(f)];case 1:return r.la(),this.ny=this.ny.then(function(){if(n.O)return n.trigger(Aa.c.DOCUMENT_UNLOADED),n.fj(!0),Promise.resolve(n.ce()).then(function(){n.xS()});
var e=Object(ma.b)(n.nt);e&&e()}),[2,this.ny]}})})};sa.prototype.xS=function(){this.O=null;this.nt=Promise.resolve();this.ny=Promise.resolve();this.bb=new ka.a(this);this.sa.zS(this.defaults.DisplayMode);this.Cg=this.defaults.FitMode;this.eS=!1;this.TP=[];this.wd=1;this.links={};this.yg=[];this.Ha||(this.Ha=Promise.resolve(null));this.ca=new va.a(null);this.Jb=this.Ud=null;this.margin=4;this.Ir=new ya.g;this.Ed=this.rQ=this.Yz=null;this.jQ=this.mG=this.$l=this.lF=this.loop=!1;this.kQ=this.lQ=null;
this.ju=!1;this.DT="rgba(0, 0, 200, 0.3)";this.sH="rgba(255, 255, 0, 0.5)";this.QC="rgba(248, 153, 57, 0.5)";var e=this,f=Object.keys(this.$j);0<f.length&&f.forEach(function(f){e.$j[f].then(function(e){e.destroy()})});this.$j={};this.tE=[];this.Lk=new oa.a;this.Lk.PR("DocumentViewer.renderRequest",{read:function(f){f.hD&&e.sa.Zg();e.wba();f=e.sa.Te().map(function(e){return e-1});e.bb.Kr(f);return{Ce:f,A9:e.qR()}},consolidateChanges:function(e){var f=e.filter(function(e){return"pages"===e.type}),n=
e.filter(function(e){return"annotations"===e.type}),r=e.filter(function(e){return"layout"===e.type});e=e.filter(function(e){return"retainScroll"===e.type});var w=[];f.length&&w.push({type:"pages",pages:aa.union.apply(void 0,f.map(function(e){return e.pages||[]})),useVisiblePages:f.some(function(e){return!!e.useVisiblePages}),check:f.every(function(e){return!!e.check})});n.length&&w.push({type:"annotations",pages:aa.union.apply(void 0,n.map(function(e){return e.pages||[]}))});r.length&&w.push({type:"layout",
pages:aa.union.apply(void 0,r.map(function(e){return e.pages||[]}))});return w=w.concat(e)},write:function(f,n){var r={hD:!1};n.forEach(function(n){if("pages"===n.type){var w=n.useVisiblePages?Object(aa.union)(f.Ce,n.pages):Object(aa.intersection)(f.Ce,n.pages);0<w.length&&(n.check?e.bb.bZ():e.bi(w.map(function(e){return e+1})))}else"annotations"===n.type?(w=Object(aa.intersection)(f.Ce,n.pages),e.Js=Object(aa.difference)(e.Js,w),e.bb.UR(),w.forEach(function(f){e.Kl(f+1)})):"layout"===n.type?(r.hD=
!0,w=e.sa.ai().map(function(e){return e-1}).concat(n.pages),n.pages.forEach(function(f){e.ca.PH(f,void 0)}),w.length&&(w.forEach(function(f){e.bb.zz(e.ca.eg(f))}),e.Lk.Jk("DocumentViewer.renderRequest",{type:"pages",pages:w})),e.bb.wI(e.bd())):"retainScroll"===n.type&&e.rU(f.A9)});return r},clearCache:function(){e.fj(!1,!1,!1)}},{hD:!0},!1);this.iA=[];this.Js=[];this.Ex=null;this.PL=Promise.resolve();this.$H=!1};sa.prototype.qR=function(){var e=this.Mn(),f=this.Zb(),n=Object(Ba.d)(f);f=f.scrollTop||
0;var r=document.getElementById("pageContainer"+e);r&&(n-=r.offsetLeft+r.parentNode.offsetLeft,f-=r.offsetTop+r.parentNode.offsetTop);return{Dd:e-1,x:n,y:f}};sa.prototype.rU=function(e){var f=document.getElementById("pageContainer"+(e.Dd+1)),n=e.x;e=e.y;f&&(n+=f.offsetLeft+f.parentNode.offsetLeft,e+=f.offsetTop+f.parentNode.offsetTop);this.scrollTo(n,e)};sa.prototype.SU=function(e){var f={};Object(aa.isUndefined)(e)||(Object(aa.isObject)(e)?f=e:f.docId=e);"onError"in f||(f.onError=function(e){throw Error("Error loading document: "+
e);});"getPassword"in f||(f.getPassword=function(){throw Error("Document requires a password. If you wish to process this type of document please define a getPassword callback.");});"docId"in f||(f.docId=null);f.licenseKey=f.licenseKey||f.l;"workerTransportPromise"in f||("pdf"===f.type?f.workerTransportPromise=Object(ia.e)(f.pdfBackendType,f.workerHandlers,f.licenseKey):"office"===f.type&&(f.workerTransportPromise=Object(n.e)(f.officeBackendType,f.workerHandlers,f.licenseKey)));return f};sa.prototype.sR=
function(e){e=e.map(function(e){return e-1});this.Lk.Jk("DocumentViewer.renderRequest",{type:"layout",pages:e});this.Lk.Jk("DocumentViewer.renderRequest",{type:"retainScroll"})};sa.prototype.rO=function(){return this.Lk};sa.prototype.rN=function(){if(this.dG){for(var e=this.sa.Te(),f=0;f<e.length;++f){var n=e[f]-1;if(!this.Qg[n])return n}return null}n=this.wd-1;e=this.Qg;for(f=n;!Object(aa.isUndefined)(e[n])||!Object(aa.isUndefined)(e[f]);){if(!1===e[n])return n;if(!1===e[f])return f;--f;++n}return null};
sa.prototype.sN=function(e){var f=this;e=e.pages;f.oF||-1===e.indexOf(1)||(f.trigger(sa.Xe.AB),f.oF=!0);var n=f.bb.e3();e.forEach(function(e){0<=n.indexOf(e-1)&&f.Kl(e)});var r=f.rN();null===r&&f.trigger(sa.Events.ANNOTATIONS_LOADED);f.nu=!1;f.Js=f.Js.concat(e.map(function(e){return e-1}));f.Xx(r)};sa.prototype.H_=function(){this.$H=!0};sa.prototype.Xx=function(e){Object(fa.b)("Request annotations for page "+e);if(!this.nu)if(e=Object(aa.isUndefined)(e)?this.rN():e,null!==e){var f=[e];this.$H&&(f=
[],this.Qg.forEach(function(e,n){e||f.push(n)}),this.$H=!1);this.v5(f,this.nt)}else this.nu=!1};sa.prototype.bQ=function(e){var f=this;e.forEach(function(e){f.Qg[e-1]=!0})};sa.prototype.v5=function(e,f){var n=this;n.nu=!0;this.iA=this.iA.concat(e);this.Ex||(this.Ex=window.setTimeout(function(){if(n.Oq(f)){var e=n.iA;n.iA=[];n.Ex=null;n.eda=n.PL.then(function(){if(n.Oq(f)){var r=e.map(function(e){return e+1});n.na.QR(r);for(var w=0;w<e.length;++w)n.na.x5(e[w]);return(w=n.getDocument())?w.iE(r):null}}).then(function(e){return new Promise(function(r){return Object(ba.b)(this,
void 0,void 0,function(){var w;return Object(ba.d)(this,function(x){switch(x.label){case 0:if(!n.Oq(f)||!e)return[3,5];if(!e.hasOwnProperty("xfdfString"))return[3,1];w=e.pages.map(function(e){return e-1});n.HQ(e.xfdfString,w,function(w){var x=this;if(n.Oq(f)&&!Object(aa.isUndefined)(w)){var ea=n.I1(e.xfdfString===w&&!e.external);n.bQ(e.pages);n.na.gP(w,ea).then(function(){return Object(ba.b)(x,void 0,void 0,function(){return Object(ba.d)(this,function(f){switch(f.label){case 0:return n.KF()?[4,n.xL(e.pages)]:
[3,2];case 1:f.la(),f.label=2;case 2:return n.sN(e),r(),[2]}})})})}else r()});return[3,4];case 1:if(!e.hasOwnProperty("annots"))return[3,4];n.na.wg(e.annots,{imported:!0});n.na.Ne(e.annots);n.bQ(e.pages);return n.KF()?[4,n.xL(e.pages)]:[3,3];case 2:x.la(),x.label=3;case 3:n.sN(e),r(),x.label=4;case 4:return[3,6];case 5:n.trigger(sa.Events.ANNOTATIONS_LOADED),r(),x.label=6;case 6:return[2]}})})})})}},20))};sa.prototype.xL=function(e){return Object(ba.b)(this,void 0,void 0,function(){var f,n,r,w,x,
ea,ia=this;return Object(ba.d)(this,function(y){switch(y.label){case 0:f=function(e){var f,r,w,x,ea,y,z;return Object(ba.d)(this,function(ja){switch(ja.label){case 0:return n.O?[4,n.O.YP(e)]:[2,{value:void 0}];case 1:f=ja.la(),r=Object(Da.c)(f),w=function(f){var r,w;return Object(ba.d)(this,function(x){switch(x.label){case 0:return n.O?[4,n.O.CO(e,f.index,f.index+f.content.length)]:[2,{value:void 0}];case 1:return r=x.la(),w=Object(Da.b)(r),w.forEach(function(n){Object(Da.a)(ia.na,n,e,f.content)}),
[2]}})},x=0,ea=r,ja.label=2;case 2:if(!(x<ea.length))return[3,5];y=ea[x];return[5,w(y)];case 3:z=ja.la();if("object"===typeof z)return[2,z];ja.label=4;case 4:return x++,[3,2];case 5:return 0<r.length&&n.na.ld(e,!1,!0),[2]}})},n=this,r=0,w=e,y.label=1;case 1:if(!(r<w.length))return[3,4];x=w[r];return[5,f(x)];case 2:ea=y.la();if("object"===typeof ea)return[2,ea.value];y.label=3;case 3:return r++,[3,1];case 4:return[2]}})})};sa.prototype.KF=function(){return this.xK};sa.prototype.a$=function(e){this.xK=
e};sa.prototype.Qq=function(e,f){var n=this;f=this.SU(f);var w=new r.a(f.docId,f.type),x=Promise.resolve(w);Object(ma.c)(x,function(){return w.Fd()});this.nt=x;w.cT(this);this.ny.then(function(){return n.Ha}).then(function(e){w.sm(e)}).then(function(){return new Promise(function(r,ea){n.oF=!1;n.QL=!1;w.Qq(e,function(e){n.Oq(x)?e?ea(e):null!==n.O?r(n.Ux().then(function(){return w})):r(w):(w.Fd(),ea(new Na("Document already replaced")))},{annotationManager:n.na,getPassword:f.getPassword,workerTransportPromise:f.workerTransportPromise,
extension:f.extension,defaultPageSize:f.defaultPageSize,pageSizes:f.pageSizes,forceClientSideInit:f.forceClientSideInit,l:f.licenseKey})})}).then(function(e){n.O=e;n.kP()}).catch(function(e){if(!(e instanceof Na))f.onError(e)})};sa.prototype.Pz=function(e,f){return Object(ba.b)(this,void 0,void 0,function(){var n,w,x;return Object(ba.d)(this,function(ea){switch(ea.label){case 0:return[4,this.Ux()];case 1:return ea.la(),this.OL.clear(),e instanceof r.a?(n=Promise.resolve(e),Object(ma.c)(n,function(){return w.Fd()})):
n=Object(ma.a)(e,Object(ba.a)(Object(ba.a)({},f),{annotationManager:this.na})),this.nt=n,[4,n];case 2:w=ea.la();if(!this.Oq(n))return w.Fd(),[2];w.cT(this);return[4,this.fF()];case 3:return x=ea.la(),w.sm(x),this.QL=this.oF=!1,null===this.O?[3,5]:[4,this.Ux()];case 4:ea.la(),ea.label=5;case 5:return this.O=w,this.kP(),[2]}})})};sa.prototype.kP=function(){var f=this;this.Qg=Array(this.O.Cd);this.nu=!1;var n=this.O.um();this.Qg.fill(n?!1:!0);Object(fa.b)("Will request annotations "+n);n&&this.Xx(0);
this.ca=new va.a(this.O);this.defaults.FitMode===this.li.Zoom&&this.ca.Pk(this.defaults.Zoom);this.O.on(r.a.Events.BOOKMARKS_UPDATED,function(){f.trigger(sa.Xe.CU)});this.O.on(Ca.a.Events.OFFICE_ANNOTATIONS_UPDATED,function(e){f.na.wg(e,!0);f.na.Ne(e)});this.ca.on(va.a.Events.LAYOUT_CHANGED,this.p5.bind(this));this.ca.on(va.a.Events.PAGE_IDS_CHANGED,this.r6.bind(this));this.ca.on(va.a.Events.ZOOM_CHANGED,function(e){f.AI=f.bb.og;f.bb.wI(e)});this.na.V8(this.ca);this.trigger(sa.Events.BEFORE_DOCUMENT_LOADED);
(n=this.O.au())&&"pdf"===n||this.bb.W$();this.bb.init();this.sa.fL(this.sa.vc());this.iN||(this.iN=!0,this.zY());if(this.sa.vc().mode!==e.a.hi){this.ca.Pk(this.sx(this.Cg));this.fj();this.sa.ai();this.sa.Zg();this.bi();n=this.Zb();var w=(n.scrollWidth+this.bz()-n.clientWidth)/2;Object(Ba.g)(n,w)}this.gY=new Promise(function(e){f.off(sa.Xe.HI).on(sa.Xe.HI,function(){f.QL=!0;e()})});this.trigger(sa.Events.DOCUMENT_LOADED);1.2>=this.O.O.bh&&this.trigger(sa.Xe.AB)};sa.prototype.Oq=function(e){return e===
this.nt};sa.prototype.yE=function(){return this.gY};sa.prototype.To=function(f){if(this.sa.vc().mode!==e.a.hi){var n=this.Zb();n&&(n.style["touch-action"]=f)}};sa.prototype.Zb=function(){this.mS||this.SS(document.getElementById("DocumentViewer"));return this.mS};sa.prototype.SS=function(e){this.mS=e};sa.prototype.Mi=function(){this.gU||this.$S(document.getElementById("viewer"));return this.gU};sa.prototype.$S=function(e){this.gU=e};sa.prototype.bz=function(){var e=document.createElement("div");Object(Ba.b)(e,
{width:50,height:50,overflow:"hidden",position:"absolute",top:-200,left:-200});var f=document.createElement("div");f.style.height="100px";e.appendChild(f);document.body.appendChild(e);f=e.clientWidth;e.style["overflow-y"]="auto";var n=e.clientWidth;document.body.removeChild(e);return f-n};sa.prototype.ce=function(){var e=this;if(this.O){var f=this.O;clearTimeout(this.Ex);return this.na.ce().then(function(){return Promise.all([e.PL,e.Cy?e.Cy.ce():null,e.Lk?e.Lk.ce():null,e.bb?e.bb.ce():null,e.ca?e.ca.ce():
null])}).then(function(){e.off(sa.Xe.GU);f.off();return f.Fd()})}return Promise.resolve()};sa.prototype.zd=function(e){var f=this.O.Ii(e);return 90===f||270===f?this.O.Ad(e):this.O.zd(e)};sa.prototype.Ad=function(e){var f=this.O.Ii(e);return 90===f||270===f?this.O.zd(e):this.O.Ad(e)};sa.prototype.wc=function(e){return this.O.wc(e)};sa.prototype.ta=function(){return this.na};sa.prototype.H1=function(){return this.OL};sa.prototype.M9=function(e){this.eY=e};sa.prototype.I1=function(e){return Object.assign({nP:e},
this.eY)};sa.prototype.u$=function(e){this.dG=e};sa.prototype.o$=function(){};sa.prototype.QH=function(e){this.HQ=e};sa.prototype.GH=function(e){return Object(ba.b)(this,void 0,void 0,function(){var f,n;return Object(ba.d)(this,function(r){switch(r.label){case 0:return this.nu?(Object(fa.h)("\n        Internal annotations are being loading at this moment, please call setDocumentXFDFRetriever before loading the document. For example:\n\n        instance.docViewer.setDocumentXFDFRetriever(async (documentId) => {\n          const documentXFDFString = await fetchDocumentXFDFFromServer(documentId);\n          return documentXFDFString;\n        });\n        instance.loadDocument(...);\n      "),
[2]):"function"!==typeof e?(this.QH(function(e,f,n){n(e)}),[2]):this.Cy?[3,2]:[4,h.e(7).then(h.bind(null,364))];case 1:f=r.la().default,this.Cy=new f(this),r.label=2;case 2:return n=this.Cy,n.GH(e),this.QH(n.D3()),[2]}})})};sa.prototype.J$=function(e){this.EQ=e};sa.prototype.nM=function(){if(this.EQ){var e=this.TP,f=this.sa.Te(0,0);e=Object(aa.difference)(f,e);for(var n=0;n<e.length;++n)this.EQ(e[n]);this.TP=f}};sa.prototype.Sl=function(){return this.sa};sa.prototype.lT=function(e,f,n,r){function w(){y=
!0}function x(e){if(y)throw e&&e.destroy(),this.off(sa.Events.DOCUMENT_UNLOADED,w),Error("snapToNearest is cancelled because the document got closed.");}var ia=this;if(!Object(ea.j)())return Object(fa.h)("snapToNearest requires the full API to be enabled. Please set the fullAPI option to true in your WebViewer constructor."),Promise.resolve();var y=!1;this.Ng(sa.Events.DOCUMENT_UNLOADED,w);r=r||Ja.PDFNet.GeometryCollection.SnappingMode.e_DefaultSnapMode;var z=this.getDocument(),ja=z.Ul(e,f,n);return this.n2(e,
x).then(function(e){x();return e.snapToNearest(ja.x,ja.y,r)}).then(function(f){x();ia.off(sa.Events.DOCUMENT_UNLOADED,w);return z.iz(e,f.x,f.y)})};sa.prototype.n2=function(e,f){if(this.$j[e])return this.$j[e];var n=this,r;this.$j[e]=Ja.PDFNet.initialize().then(function(){f();return n.getDocument().dg().then(function(n){f();r=n;return r.requirePage(e)}).then(function(){f();return r.getGeometryCollectionForPage(e)}).then(function(e){f(e);return e})});n.ZX(e);return this.$j[e]};sa.prototype.ZX=function(e){this.tE.push(e);
this.tE.length>this.NU&&(e=this.tE.shift(),this.$j[e].then(function(e){e.destroy()}),delete this.$j[e])};sa.prototype.mf=function(e){"undefined"!==typeof e.enableAnnotations&&(this.rt=!!e.enableAnnotations);"undefined"!==typeof e.annotMode&&(this.dY=!!e.annotMode)};sa.prototype.bd=function(){return this.ca.jk};sa.prototype.Yy=function(){return this.margin};sa.prototype.xO=function(){return this.margin*this.bd()};sa.prototype.v$=function(e){this.margin=e};sa.prototype.Xt=function(e){return e?this.ca.Q2(e-
1):this.ca.Xt()};sa.prototype.bF=function(e){return e?this.ca.R2(e-1):this.ca.bF()};sa.prototype.gaa=function(e){this.DT=e};sa.prototype.V$=function(e){void 0===e&&(e={});this.sH=e.searchResult||this.sH;this.QC=e.activeSearchResult||this.QC};sa.prototype.$t=function(){return this.Pa};sa.prototype.eF=function(){return this.qI};sa.prototype.zq=function(e){return this.qI[e]};sa.prototype.n9=function(){Object.values(this.qI).forEach(function(e){return e.reset()})};sa.prototype.d$=function(e){this.YD=
e};sa.prototype.IP=function(){return this.YD};sa.prototype.Sd=function(e){return Object(aa.isUndefined)(e)?this.ca.gF:this.ca.Se(e-1).rotation};sa.prototype.Tc=function(e){var f=this.Sd(e);if(Object(aa.isUndefined)(e))throw Error("Please pass the page number as the first parameter");e=this.Tl(e)/90;return(f+e)%4};sa.prototype.tv=function(e,f){0<=e&&3>=e&&(Object(aa.isUndefined)(f)?(this.ca.LH(e),this.ca.fZ()):this.ca.sv(f-1,e),this.rotate(f))};sa.prototype.Tl=function(e){return 1>e||Object(aa.isNaN)(e)||
e>this.gc()||!this.O.Ii?0:this.O.Ii(e)};sa.prototype.F$=function(e){var f=this;Object.keys(e).forEach(function(n){f.ca.sv(parseInt(n)-1,e[n])});this.Es(this.Cg(),void 0,void 0,!0)};sa.prototype.P2=function(){return this.ca.s2()};sa.prototype.getDocument=function(){return this.O};sa.prototype.Bq=function(e,f){void 0===f&&(f=!1);var n=null;this.bb.og&&(n=this.sa,n=n.Vn(e,n.jz(f?0:this.bb.He,f?0:this.bb.He)));return n};sa.prototype.J3=function(e){var f=null;if(e=this.Bq(e))f=e.ac;return f};sa.prototype.h2=
function(e){var f=null;if(e=this.Bq(e,!0))f=e.ac;return f};sa.prototype.YA=function(e,f){var n=this.O.Gb(e),r=this.mc(e),w=this.sa.xq(e),x=this.Bq(e);if(x){var ea=x.ac;w=x.gB}x=n.width;n=n.height;return Object(y.a)().YA(f,{width:x,height:n},r,this.Sd(e),w,ea,this.Tl(e)/90)};sa.prototype.Ft=function(e){if(this.O){var f=this.O.Gb(e),n=this.mc(e),r=this.sa.xq(e),w=this.Bq(e);if(w){var x=w.ac;r=w.gB}w=f.width;f=f.height;return Object(y.a)().Ft(e,{width:w,height:f},n,this.Sd(e),r,x,this.Tl(e)/90)}};sa.prototype.l2=
function(){return this.Cg};sa.prototype.$E=function(){return this.eS};sa.prototype.R$=function(e){this.eS=e};sa.prototype.C_=function(e){if(e.url)(new la.k({uri:e.url})).onTriggered(e,null,this);else e.isValid()?this.Wp(e.Ac,e.Hq,e.Lr):Object(fa.h)("Tried to go to invalid bookmark destination")};sa.prototype.Wp=function(e,f,n,r){if(this.sa.vc().Yk()){this.Mn()!==e&&this.Lf(e);var w=this.Ad(e),x=this.zd(e);e=this.sa.Mh({x:f>w||0>f?0:f,y:n>x||0>n?0:n},e);f=this.Zb();n=Object(Ba.c)(f);if(r&&(r=e.x-n.left-
Object(Ba.d)(f),w=e.y-n.top-(f.scrollTop||0),0<r&&r<f.offsetWidth&&0<w&&w<f.offsetHeight))return;this.scrollTo(e.x-n.left,e.y-n.top)}else this.trigger(sa.Events.DISPLAY_PAGE_LOCATION,[e,n,f,r])};sa.prototype.scrollTo=function(e,f){var n=this.Zb();Object(Ba.g)(n,e);n.scrollTop=f};sa.prototype.Paa=function(e,f,n){if(e!==this.Yz||f!==this.rQ)this.lQ=e,this.kQ=f,this.mG=!0,this.jQ=n};sa.prototype.Uaa=function(e){var f=!1;if(null===this.Yz||this.Yz!==e)f=!0;if(null===this.loop||!0===this.loop)f=!0;this.Yz=
e;this.Ed!==this.wd-1&&(this.Ed=this.wd-1,f=!0);return f};sa.prototype.Vaa=function(e){for(var f=!0,n=0;n<e.length;++n){var r=e.charCodeAt(n);if(!(1424<=r&&1535>=r||1536<=r&&1791>=r||1872<=r&&1919>=r||64336<=r&&65023>=r||65136<=r&&65279>=r)){f=!1;break}}return f};sa.prototype.Kba=function(e,f){var n=0<=e,r=f<=this.O.Cd-1;e=e<=f;n&&r||Object(fa.h)("Start or End Pages are invalid, please check the range and try again. Falling back to default page range...");e||Object(fa.h)("Start Page is greater than End Page, please check the range and try again. Falling back to default page range...");
return n&&r&&e};sa.prototype.saa=function(e,f,n,r){this.ca.tD();this.ju=!1;this.Ed=0;r?(r=n.startPage,n=n.endPage,this.Ed=r):(r=this.Ed,n=this.O.Cd-1);this.Ir.aM(this.O,e,f,r,n);return function(){}};sa.prototype.xaa=function(e,f,n,r){var w=this;this.ju=!0;this.Uaa(e)&&(r?(r=n.startPage,n=n.endPage,this.Ed=r):0<(f&ya.e.nw)?(n=!0===this.loop?this.O.Cd-1:this.Ed,r=0):(r=!0===this.loop?0:this.Ed,n=this.O.Cd-1),this.Ir.aM(this.O,e,f,r,n));return function(e){e.Lo===ya.d.Xo?(w.ND(e),w.lF=!0):e.Lo===ya.d.DONE&&
(w.lF?w.trigger(sa.Events.NOTIFY,"endOfDocumentSearch"):w.trigger(sa.Events.NOTIFY,"noMatchesFound"))}};sa.prototype.oI=function(e,f,n,r){if(this.O){var w=!1;var x=Object(aa.isObject)(n)?n:{fullSearch:n,onResult:r,onPageEnd:r,onDocumentEnd:r};n=x.fullSearch||!1;this.JA=!1;this.KM!==e&&(this.KM=e,this.lF=!1);this.VZ=f;this.Vaa(e)&&(e=e.split("").reverse().join(""));!0===this.$l?this.Paa(e,f,n):(x.startPage&&(x.endPage=x.endPage||this.O.Cd,--x.startPage,--x.endPage,w=this.Kba(x.startPage,x.endPage)),
e=n?this.saa(e,f,x,w):this.xaa(e,f,x,w),r=function(e){if(x.onResult&&e.Lo===ya.d.Xo)x.onResult(e);else if(x.onPageEnd&&e.Lo===ya.d.$r)x.onPageEnd(e);else if(x.onDocumentEnd&&e.Lo===ya.d.DONE)x.onDocumentEnd(e);else if(x.onError&&e instanceof Error)x.onError(e)},r=x.onResult||x.onPageEnd||x.onDocumentEnd?r:e,this.Ir.A$(f),this.rQ=f,this.Xaa(n,r))}};sa.prototype.cR=function(e){null===this.O.UE(e)&&this.O.Jh(e,function(){})};sa.prototype.Nv=function(){this.trigger(sa.Events.SEARCH_IN_PROGRESS,[this.$l,
!this.ju])};sa.prototype.Xaa=function(e,f){function n(e){ia===w.O&&(w.O.H$(w.Ed+1,e),r())}function r(){function r(){ea=[];try{x=w.Ir.mg(ea)}catch(Db){w.JA=!0;w.$l=!1;f(Db);return}ia=x.Lo;x.Ug=ea;var y={};y=Object.assign(y,x);y.ambientStr=x.KL;y.resultStr=x.oH;y.resultStrStart=x.dS;y.resultStrEnd=x.cS;y.pageNum=x.yG+1;y.resultCode=ia;y.quads=ea;y.ambient_str=y.ambientStr;y.result_str=y.resultStr;y.result_str_start=y.resultStrStart;y.result_str_end=y.resultStrEnd;y.page_num=y.pageNum;if(w.JA)w.JA=!1,
w.$l=!1,w.Nv();else if(!0===w.mG)w.mG=!1,w.$l=!1,w.Nv(),setTimeout(function(){w.oI(w.lQ,w.kQ,w.jQ,f)},0);else{if(ia===ya.d.$r){var z=void 0,ja=void 0;if(w.Ir.Ti()){if(0<w.Ed)for(w.Ed--,ja=0;3>ja;++ja)z=w.Ed-ja,0<z&&w.cR(z+1)}else if(w.Ed<w.O.Cd-1)for(w.Ed++,ja=0;3>ja;++ja)z=w.Ed+ja,z<w.O.Cd-1&&w.cR(z+1)}else ia!==ya.d.Xo||e||(w.ca.uD(),w.ca.KS(x.yG,x.oH));f(y);ia===ya.d.DONE||!e&&ia===ya.d.Xo?(w.$l=!1,w.Nv()):null!==w.O.UE(w.Ed+1)?setTimeout(r,0):w.O.Jh(w.Ed+1,n)}}var ia=-1;null!==w.O.UE(w.Ed+1)?
setTimeout(r,0):w.O.Jh(w.Ed+1,n)}var w=this;this.$l=!0;this.Nv();!0===this.loop&&(w.Ed=this.Ir.Ti()?this.O.Cd-1:0,this.loop=!1);var x,ea=[],ia=this.O;r()};sa.prototype.OP=function(e,f){e!==this.wd&&this.Lf(e);if(0<f.length){f=f.map(function(e){return e.ik?e.ik():e});for(var n=f[0].y4,r=f[0].x4,w=f[0].y2,x=f[0].x2,ea=1;ea<f.length;ea++)f[ea].x4<r&&(r=f[ea].x4),f[ea].y4<n&&(n=f[ea].y4),f[ea].x2>x&&(x=f[ea].x2),f[ea].y2>w&&(w=f[ea].y2);f=this.Zb();ea=Object(Ba.c)(f);var ia=ea.top+(f.scrollTop||0),y=
ia+f.clientHeight,z=ea.left+Object(Ba.d)(f),ja=z+f.clientWidth;n=this.sa.Mh({x:r,y:n},e);r=this.sa.Mh({x:x,y:w},e);e=n.x<r.x?n.x:r.x;w=n.y<r.y?n.y:r.y;x=n.x>r.x?n.x:r.x;n=n.y>r.y?n.y:r.y;(e<z||w<ia||x>ja||n>y)&&this.scrollTo(e-f.clientWidth/2+(x-e)/2-ea.left,w-f.clientHeight/2+(n-w)/2-ea.top)}};sa.prototype.PP=function(e,f){var n=e.pageNum;"undefined"!==typeof f?f(n,e.quads):this.OP(n,e.quads)};sa.prototype.ND=function(e,f){var n=this;this.ju=!0;this.Fs=e;this.Vo(function(){var r=e.pageNum-1;n.ca.tD();
n.ca.G$(r,e);n.PP(e,f)});this.trigger(Aa.c.ACTIVE_SEARCH_RESULT_CHANGED,[e]);var r=this.Pn();this.trigger(Aa.c.SEARCH_RESULTS_CHANGED,[r])};sa.prototype.A_=function(e){var f=this;this.Vo(function(){f.ca.cU(e.pageNum-1,e)});var n=this.Pn();this.trigger(Aa.c.SEARCH_RESULTS_CHANGED,[n])};sa.prototype.B_=function(e){var f=this;this.Vo(function(){e.forEach(function(e){f.ca.cU(e.pageNum-1,e)})});var n=this.Pn();this.trigger(Aa.c.SEARCH_RESULTS_CHANGED,[n])};sa.prototype.I9=function(e){this.ju?(this.ND(e),
this.Fs=e):(this.Fs=e,this.PP(e),this.Vo(),this.trigger(Aa.c.ACTIVE_SEARCH_RESULT_CHANGED,[e]))};sa.prototype.C1=function(){return this.Fs};sa.prototype.kZ=function(){var e=this;this.Vo(function(){e.ca.tD()});this.JA=!0;this.Fs=void 0;this.trigger(Aa.c.ACTIVE_SEARCH_RESULT_CHANGED,[]);this.trigger(Aa.c.SEARCH_RESULTS_CHANGED,[[]]);this.trigger(Aa.c.SEARCH_IN_PROGRESS,[])};sa.prototype.Pn=function(e){return this.ca.Pn(e)};sa.prototype.pS=function(e,f,n){var r=new Ha.f;r.cb(f.x,f.y,f.x+1,f.y+1);var w=
this,x=new ya.f(this.O),ea=this.O;ea.Jh(e,function(){ea===w.O&&(x.qx(e,r),w.mo=x.qx,w.dj=[[e,r]],n(e,x.Qe().map(function(e){return e.ik()}),x.yb))})};sa.prototype.BO=function(e,f){var n=this;return new Promise(function(r,w){var x=new Ha.f;x.cb(f.x,f.y,f.x+1,f.y+1);var ea=new ya.f(n.O),ia=n.O;ia.Jh(e,function(){ia!==n.O?w("The document has changed since the time this function was originally invoked"):(ea.qx(e,x),n.mo=ea.qx,n.dj=[[e,x]],r(ea.z2(f.x,f.y)))})})};sa.prototype.mr=function(e,f,n){if(f.constructor!==
Ha.f){var r=new Ha.f;r.cb(f.ha,f.ea,f.ia,f.fa);f=r}var w=this,x=new ya.f(this.O),ea=this.O;ea.Jh(e,function(){if(ea===w.O){var r=e-1;"rectangular"===ua.I.SELECTION_MODE?x.qS(r,f):x.oS(r,f);r=x.yb;var ia=x.Qe();n&&n(e,ia.map(function(e){return e.ik()}),r)}})};sa.prototype.tA=function(e,f,n){var r=e-1;this.ca.KS(r,n);this.ca.I$(r,f);this.trigger(sa.Events.TEXT_SELECTED,[f,n,e]);this.Vo()};sa.prototype.VD=function(e){this.sF(e)};sa.prototype.dP=function(e,f,n){for(var r=0;r<f.length;r++){var w=f[r];
e.fillStyle=n;e.beginPath();e.moveTo(w.x1,w.y1);e.lineTo(w.x2,w.y2);e.lineTo(w.x3,w.y3);e.lineTo(w.x4,w.y4);e.closePath();e.fill()}};sa.prototype.g4=function(e,f){var n=this.ca.Se(e-1).Zh;if(n&&0!==n.length){f=f.getContext("2d");this.dP(f,n,this.DT);var r={Qe:function(){return n}},w=this.ca.RE().map(function(e){return e+1}),x=!1,ea=!1;e===w[0]&&(x=!0);e===w[w.length-1]&&(ea=!0);f.save();w=new pa.a(r,!0,!1,this,x,ea);x=this.wc(e);w.draw(f,r,this.mc(e),x);f.restore()}};sa.prototype.f4=function(e,f){if((e=
this.ca.Se(e-1).Xg)&&0!==e.length){var n=f.getContext("2d"),r=this;e.forEach(function(e){var f=e===r.Fs?r.QC:r.sH;r.dP(n,e.quads.map(function(e){return e.ik?e.ik():e}),f)})}};sa.prototype.sF=function(e,f){f=f||this.Ft(e);null!==f&&(this.g4(e,f),this.f4(e,f))};sa.prototype.highlight=function(){var e=this;this.ca.QE().forEach(function(f){e.sF(f+1)})};sa.prototype.Vo=function(e){var f=this.ca.QE();e&&e();e=this.ca.QE();f=Object(aa.uniq)(f.concat(e));for(e=0;e<f.length;++e)this.na.ld(f[e]+1)};sa.prototype.select=
function(e,f){if(null!==this.Ud&&null!==this.Jb||e||f){this.ca.uD();if(e&&f){e.Dd=e.pageIndex;e.x=e.x;e.y=e.y;f.Dd=f.pageIndex;f.x=f.x;f.y=f.y;var n={first:e.Dd+1,last:f.Dd+1}}else Object(fa.e)("deprecated"),n=this.sa.Wt();var r=n.first;n=n.last;if(null!==r&&null!==n){var w=new Ha.f,x=e||this.sa.Uk(this.Ud,r),ea=f||this.sa.Uk(this.Jb,r);if(x.y>ea.y){var ia=x;x=ea;ea=ia}ia=this.Ad(r);var y=this.zd(r);1<=n-r?w.cb(x.x,x.y,ia,y):w.cb(x.x,x.y,ea.x,ea.y);this.mr(r,w,Object(aa.bind)(this.tA,this));for(x=
r;x<n-1;x++)w=new Ha.f,ia=this.Ad(x),y=this.zd(x),w.cb(0,0,ia,y),this.mr(x,w,Object(aa.bind)(this.tA,this));r!==n&&(x=e||this.sa.Uk(this.Ud,n),ea=f||this.sa.Uk(this.Jb,n),x.y>ea.y&&(ea=x),w=new Ha.f,w.cb(0,0,ea.x,ea.y),this.mr(n,w,Object(aa.bind)(this.tA,this)))}}};sa.prototype.lZ=function(e){if(0!==this.Xt().length||this.ca.M2(e-1)){var f=this.Ft(e);null!==f&&(Object(y.a)().rD(f,this.Ad(e),this.zd(e)),this.rt&&this.na.ld(e))}};sa.prototype.tM=function(){this.ca.uD();this.ca.sM()};sa.prototype.Ys=
function(){var e=this;this.Vo(function(){""!==e.Xt()&&e.trigger(sa.Events.TEXT_SELECTED,[null,""]);e.tM();e.$t()instanceof ua.F&&e.$t().Ys()})};sa.prototype.S1=function(e,f,n){var r=[],w=this.ca.eg(e-1);if((w=this.bb.Qd(w))&&w.lf)for(f=this.aF({x:f,y:n},e),e=w.ac?this.aF({x:w.ac.ha,y:w.ac.ea},e):{x:0,y:0},n=Object(ra.e)(),f.x*=n,f.y*=n,e.x*=n,e.y*=n,e=Math.round(f.y-e.y)*w.lf.width+Math.round(f.x-e.x),w=w.lf.data,f=0;f<w.length;++f)if(n=w[f],"Alpha"!==n.name){var x=new Uint8Array(n.data);e<x.length&&
0<=e&&r.push({name:n.name,value:Math.round(x[e]/255*100)})}return r};sa.prototype.aF=function(e,f){var n=this.mc(f),r=this.Tc(f);e=Object(ja.a)(n,r,{width:this.Ad(f),height:this.zd(f)},null,!1).ka(e);return{x:e.x,y:e.y}};sa.prototype.h3=function(e,f){var n=this.mc(f),r=this.Sd(f);e=Object(ja.a)(n,r,this.O.Gb(f),0,!1).ka(e);return{x:e.x,y:e.y}};sa.prototype.vv=function(e){if(e&&this.Pa!==e){e instanceof ua.a||e instanceof ua.F||e instanceof ua.r||this.Ys();if(this.Pa){this.Pa.switchOut&&this.Pa.switchOut(e);
var f=this.Pa}e.switchIn&&e.switchIn(this.Pa);this.Pa=e;this.trigger(sa.Events.TOOL_MODE_UPDATED,[e,f])}};sa.prototype.yO=function(e){var f=this.Zb(),n=Object(Ba.c)(f);f=this.sa.Uk({x:Object(Ba.d)(f)+n.left,y:(f.scrollTop||0)+n.top},e);return{Ac:e,Gba:f,B9:n}};sa.prototype.RS=function(e){var f=e.B9;e=this.sa.Mh(e.Gba,e.Ac);this.scrollTo(e.x-f.left,e.y-f.top)};sa.prototype.KH=function(f){null===this.O?(this.Cg=f,this.trigger(sa.Events.FIT_MODE_UPDATED,this.Cg)):(f=this.sx(f),this.sa.vc().mode===e.a.hi?
this.ca.Pk(f):f!==this.ca.jk&&(this.Es(f),this.nD()))};sa.prototype.sx=function(e){this.Cg=e;e=this.Cg();this.trigger(sa.Events.FIT_MODE_UPDATED,this.Cg);return e};sa.prototype.rotate=function(e){this.Es(this.Cg(),void 0,void 0,!0);this.trigger(sa.Events.ROTATION_UPDATED,[this.Sd(e),e])};sa.prototype.Aq=function(e,f){return f?(e+1)%4:(e-1+4)%4};sa.prototype.t9=function(e){if(this.O){var f=this;Object(aa.isUndefined)(e)?(this.ca.LH(this.Aq(this.Sd(),!0)),this.ca.xN(function(e){e.rotation=f.Aq(e.rotation,
!0)})):this.ca.sv(e-1,this.Aq(this.Sd(e),!0));this.rotate(e)}};sa.prototype.u9=function(e){if(this.O){var f=this;Object(aa.isUndefined)(e)?(this.ca.LH(this.Aq(this.Sd(),!1)),this.ca.xN(function(e){e.rotation=f.Aq(e.rotation,!1)})):this.ca.sv(e-1,this.Aq(this.Sd(e),!1));this.rotate(e)}};sa.prototype.Es=function(e,f,n,r){this.ca.Pk(e);this.sa.vc().Yk()&&("undefined"!==typeof f&&"undefined"!==typeof n?(this.fj(!1,r,!0),this.sa.ai(),this.sa.Zg(),this.scrollTo(f,n)):(e=this.yO(this.wd),this.fj(!1,r,!0),
this.sa.ai(),this.sa.Zg(),this.RS(e)),this.bb.Xs(),this.bi(),this.trigger(sa.Events.ZOOM_UPDATED,this.ca.jk))};sa.prototype.Xv=function(e,f,n){this.sx(this.li.Zoom);null===this.O?(this.ca.Pk(e),this.trigger(sa.Events.ZOOM_UPDATED,e)):this.Es(e,f,n)};sa.prototype.xU=function(e,f,n){this.sx(this.li.Zoom);this.ca.Pk(e);e=this.Zb();f=this.Jb.x-f;n=this.Jb.y-n;var r=(parseFloat(e.scrollTop)+n)/e.scrollHeight,w=(parseFloat(Object(Ba.d)(e))+f)/e.scrollWidth;this.fj(!1,!1,!0);this.sa.ai();this.sa.Zg();this.scrollTo(w*
e.scrollWidth-f,r*e.scrollHeight-n);this.bi();this.trigger(sa.Events.ZOOM_UPDATED,this.ca.jk)};sa.prototype.mc=function(e){return this.ca.Se(e-1).zoom};sa.prototype.UA=function(e,f){--e;var n=this.ca.eg(e);this.bb.$ba(n);this.ca.UA(e,f)};sa.prototype.fj=function(f,n,r){this.bb.AZ();this.links={};if(this.sa.vc().mode!==e.a.hi){var w=this.bb.Ce;if(!n&&r)for(var x=0;x<w.length;x++){var ea=w[x],ia=ea+1,y=document.getElementById("pageContainer"+ia),z=void 0;y&&(z=this.AI?y.querySelector("#hrthumb"+ia):
y.querySelector(".canvas"+ia+":not(.progressive)"));z&&this.ca.PH(ea,z)}r&&!n||this.ca.iZ()}this.sa.ev(!f)};sa.prototype.Z8=function(e){if(this.sa.vc().Yk()){var f=document.getElementById("pageContainer"+e),n=document.activeElement;(null===n||void 0===n?0:n.closest("#pageWidgetContainer"+e))&&n.blur();for(!this.sa.vc().pu(e)&&f&&[].forEach.call(f.querySelectorAll("canvas"),function(e){Object(y.a)().Kn(e)});f&&f.firstChild;)f.removeChild(f.firstChild);Object(y.a)().pM()}--e;e in this.links&&delete this.links[e]};
sa.prototype.rx=function(e){if(Object(aa.isUndefined)(e)||1>e||e>this.ca.aa.length)return!1;this.wd!==e&&(this.wd=e,this.trigger(sa.Events.PAGE_NUMBER_UPDATED,e));return!0};sa.prototype.Lf=function(f){this.sa.vc().Yk()||this.trigger(sa.Events.CHANGE_PAGE,f);if(!1!==this.rx(f)){this.JM=!0;f=this.wd-1;var n=this.sa.vc();n.MF()||n.mode===e.a.hi||(this.sa.vc().mode===e.a.Xr&&f++,n.Me=Math.floor(window.parseFloat(f)/n.Ic),n.oe=n.Me,n.uh=n.Me+1,this.fj(),this.sa.ai(),this.sa.Zg());if(this.sa.vc().Yk()){f=
this.O.Gb(this.wd);0<this.Tl(this.wd)/90%2&&(n=f.width,f.width=f.height,f.height=n);n=this.sa.Mh({x:0,y:0},this.wd);var r=this.sa.Mh({x:f.width,y:f.height},this.wd);f=Math.min(n.x,r.x);n=Math.min(n.y,r.y);r=Object(Ba.c)(this.Zb());this.scrollTo(f-r.left,n-this.xO()-r.top)}this.bi()}};sa.prototype.Mn=function(){return this.wd};sa.prototype.gc=function(){return this.O.Cd};sa.prototype.E_=function(){this.Lf(this.ca.aa.length)};sa.prototype.D_=function(){this.Lf(1)};sa.prototype.TC=function(e){e=e||this.sa.Rp().Ca();
var f=0,n=document.getElementById("docpad");if(null!==n){var r=this.Zb();r=r?parseFloat(r.style.height):0;r>e&&(f=Math.floor((r-e)/2));n.style.marginBottom=window.parseInt(f,10)+"px"}};sa.prototype.pY=function(e,f){var n=this.mc(f),r=this.ca.Se(f-1);f=this.Sd(f);var w=Math.floor(r.width*n);n=Math.floor(r.height*n);r=null;f===na.c.E_90||f===na.c.E_270?(r="rotate("+90*f+"deg)",r=f===na.c.E_90?" translate("+w+"px, 0)  "+r:" translate(0,"+n+"px)  "+r,Object(Ba.b)(e,{height:w,width:n})):(f===na.c.e_180&&
(r="translate("+w+"px,"+n+"px) scale(-1,-1)"),Object(Ba.b)(e,{width:w,height:n}));null!==r&&Object(Ba.b)(e,{position:"absolute",transform:r,"transform-origin":"top left","ms-transform":r,"ms-transform-origin":"top left","-moz-transform":r,"-moz-transform-origin":"top left","-webkit-transform-origin":"top left","-webkit-transform":r,"-o-transform":r,"-o-transform-origin":"top left"})};sa.prototype.TL=function(e,f,n,r){e.id=(r?"hrthumb":"thumb")+f;e.style.position="absolute";this.pY(e,f);n&&(e.style["z-index"]=
r?"10":"7",(n=document.getElementById("pageContainer"+f))?n.querySelector("#"+e.id)||n.insertBefore(e,n.firstChild):Object(fa.h)("appendThumb: Page container "+f+" missing"))};sa.prototype.Kl=function(e){this.YC(e);this.lZ(e);this.IZ(e);this.zba(e);this.na.ld(e,void 0,!0)};sa.prototype.Fx=function(e,f){this.AI||this.ca.hZ(f-1);(e=Object(y.a)().Fx(e,f))||Object(fa.b)("appendAllCanvas: Page container for page "+f+" does not exist.");return e};sa.prototype.YC=function(e){var f=this.Bq(e);if(f)var n=
f.ac;f=this.O.Gb(e);var r=this.Tl(e);if(90===r||270===r)r=f.width,f.width=f.height,f.height=r;Object(y.a)().YC(e,f,this.mc(e),this.Tc(e),n)};sa.prototype.Yx=function(e){var f=this.Bq(e);if(f)var n=f.ac;f=this.O.Gb(e);var r=this.Tl(e);if(90===r||270===r)r=f.width,f.width=f.height,f.height=r;return Object(y.a)().Yx(e,f,this.mc(e),this.Tc(e),n)};sa.prototype.$G=function(e,f){this.vq(e);Object(y.a)().$G(e,f)};sa.prototype.IZ=function(e){var f=this.O.Gb(e),n=f.width;f=f.height;var r=this.O.Ii(e);if(90===
r||270===r)r=n,n=f,f=r;r=this.mc(e);n*=r;f*=r;var w=Object(ja.a)(1,this.Tc(e),{width:n,height:f},void 0,!1);r=document.getElementById("pageWidgetContainer"+e);if(!r){r=document.createElement("div");r.id="pageWidgetContainer"+e;var x=Object(y.a)().M3(e);x&&x.appendChild(r)}w="matrix("+w.m_a.toFixed(10)+","+w.m_b.toFixed(10)+","+w.m_c.toFixed(10)+","+w.m_d.toFixed(10)+","+w.m_h.toFixed(10)+","+w.m_v.toFixed(10)+")";e=this.sa.SE(e);Object(Ba.b)(r,{position:"absolute",top:e.y,left:e.x,width:n,height:f,
"z-index":40,transform:w,"transform-origin":"top left","-webkit-transform":w,"-webkit-transform-origin":"top left","-ms-transform":w,"-ms-transform-origin":"top left","-moz-transform":w,"-moz-transform-origin":"top left",overflow:"hidden"})};sa.prototype.vq=function(e){return this.ca.Se(e-1)};sa.prototype.wR=function(){this.O&&this.O.iu(this.O.yc());this.xR()};sa.prototype.xR=function(){this.trigger(sa.Events.LAYOUT_CHANGED,{contentChanged:Object(aa.range)(1,this.gc()+1),removed:[],added:[],moved:{}});
this.bb.Xs()};sa.prototype.yR=function(e){this.trigger(sa.Events.LAYOUT_CHANGED,{contentChanged:[e],removed:[],added:[],moved:{}});this.bb.zz(this.vq(e).id)};sa.prototype.zba=function(e){e=this.O.J2(e);Object(aa.isArray)(e)&&this.na.wg(e,{imported:!0})};sa.prototype.bi=function(e,f){Object(aa.isUndefined)(f)||this.rx(f);this.Kr(e);this.bb.RM();this.nM()};sa.prototype.Kr=function(e){e=e||this.sa.Te();e=e.map(function(e){return e-1});var f=this.bb.rY(e);this.bb.Kr(e);f&&this.trigger(sa.Xe.oJ,[e])};
sa.prototype.Dr=function(e){this.bb.Dr(e-1)};sa.prototype.onscroll=function(){this.O&&this.Lk.Jk("DocumentViewer.renderRequest",{type:"pages",useVisiblePages:!0,check:!0});this.nM()};sa.prototype.Z3=function(e){return!!document.querySelector("#pageContainer"+e+" #thumb"+e)};sa.prototype.U3=function(e){return!!document.querySelector("#pageContainer"+e+" #hrthumb"+e)};sa.prototype.wba=function(){if(this.JM)this.JM=!1;else{var f=0,n=void 0;this.Kr();var r=this.bb.Ce,w=this.Zb(),x=parseInt(getComputedStyle(w).marginLeft,
10)||0,ea=w.offsetTop+w.scrollTop||0,ia=ea+w.offsetHeight;x=Object(Ba.d)(w)+x||0;var y=x+w.clientWidth;w=this.sa.vc();for(var z=0;z<r.length;z++){var ja={ha:x,ea:ea,ia:y,fa:ia},h=r[z]+1;if(!(1>h)){var ka=this.O.Gb(h),oa=w.xG({x:0,y:0},h);h=w.xG({x:ka.width,y:ka.height},h);ja=Object(ta.c)(ja,{ha:oa.x<h.x?oa.x:h.x,ea:oa.y<h.y?oa.y:h.y,ia:oa.x>h.x?oa.x:h.x,fa:oa.y>h.y?oa.y:h.y});ka=ka.width*ka.height;ka=window.parseFloat((ja.ia-ja.ha)*(ja.fa-ja.ea))/ka;ka>f&&(n=r[z],f=ka)}}r=!1;ea=w.mode===e.a.Wr||w.mode===
e.a.Xr;w.mode!==e.a.GB&&w.mode!==e.a.gw&&!ea||n+2!==this.wd||ea&&0===n||(r=!0);!r&&0<f&&this.rx(n+1)}};sa.prototype.XH=function(e){this.bb.XH(e)};sa.prototype.R4=function(){return this.bb.og};sa.prototype.OS=function(){};sa.prototype.r6=function(e){this.bb.Us(e);this.sa.Us(e)};sa.prototype.p5=function(e){var f=this;f.sR(e.contentChanged.map(function(e){return e}));var n=!1,r=e.added;0<r.length&&(r.forEach(function(e){f.Qg.splice(e-1,0,!1)}),n=!0);r=e.removed;0<r.length&&(r.reverse().forEach(function(e){f.Qg.splice(e-
1,1)}),f.bb.WT(f.O.wq()),n=!0,f.wd>f.gc()&&f.rx(f.gc()));n&&(f.bb.jZ(),r=this.yO(this.wd),f.sa.kJ(),f.sa.ai(),f.sa.Zg(),this.RS(r),f.bi());r=e.annotationsChanged;var w=0<r.length;w&&r.forEach(function(e){!0===f.Qg[e-1]&&(f.Qg[e-1]=!1)});(n||w)&&f.Xx();f.trigger(sa.Events.LAYOUT_CHANGED,[e])};sa.prototype.sm=function(e){this.Ha=Promise.resolve(e);if(this.O){var f=this;this.Ha.then(function(e){f.O.sm(e)})}};sa.prototype.fF=function(){return this.Ha};return sa}();wa.prototype.li={UI:function(){var e=
this.bz(),f=this.Zb();var n=1===this.sa.vc().Ic?this.ca.Se(this.wd-1).width:this.sa.Rp().Fa()/this.bd();return window.parseFloat(f.clientWidth-e)/(n+1+this.Yy()*this.sa.vc().Ic*2)},HB:function(){var e=this.Zb(),f=this.ca.Se(this.wd-1),n=window.parseFloat(e.clientHeight/(f.height+2*this.Yy()));f=1===this.sa.vc().Ic?f.width:this.sa.Rp().Fa()/this.bd();e=window.parseFloat(e.clientWidth-this.bz())/(f+1+this.Yy()*this.sa.vc().Ic*2);return n<e?n:e},Zoom:function(){this.TC();return this.ca.jk}};Object(sa.b)(wa);
Object.defineProperty(wa.prototype,"zoom",{get:function(){return this.bd()},set:function(e){this.ca.Pk(e)}});wa.Events=Aa.c;wa.Xe=Aa.d;sa=Object(Ea.a)(wa,{getState:function(e){return Object(ba.b)(void 0,void 0,void 0,function(){var f,n;return Object(ba.d)(this,function(r){switch(r.label){case 0:return f={zoom:e.bd(),rotation:e.Sd(),scrollState:e.qR()},n="layers",[4,e.O.On()];case 1:return[2,(f[n]=r.la(),f)]}})})},n6:function(e,f){return Object(ba.b)(void 0,void 0,void 0,function(){var n;return Object(ba.d)(this,
function(r){switch(r.label){case 0:return Object(aa.isUndefined)(f.zoom)||e.Xv(f.zoom),Object(aa.isUndefined)(f.rotation)||e.tv(f.rotation),Object(aa.isUndefined)(f.scrollState)||e.rU(f.scrollState),Object(aa.isUndefined)(f.layers)||!e.O?[3,2]:[4,e.O.On()];case 1:n=r.la(),n=n.map(function(e,n){return Object(ba.a)(Object(ba.a)({},e),{visible:f.layers[n].visible})}),e.O.qm(n),e.wR(),e.bi(),r.label=2;case 2:return[2]}})})}});ca.a=Object(ha.a)([{type:ha.a.RV.HU,check:function(e){return!!e.O},methods:{Ad:"getPageWidth",
zd:"getPageHeight",gc:"getPageCount"}}])(sa)},function(ha,ca,h){h.d(ca,"a",function(){return ba});h.d(ca,"b",function(){return aa});h.d(ca,"c",function(){return fa});h.d(ca,"d",function(){return da});var ba={ANNOTATION_SELECTED:"annotationSelected",ANNOTATION_DOUBLE_CLICKED:"annotationDoubleClicked",ANNOTATION_CHANGED:"annotationChanged",UPDATE_ANNOTATION_PERMISSION:"updateAnnotationPermission",ANNOTATIONS_DRAWN:"annotationsDrawn",ANNOTATION_HIDDEN:"annotationHidden",SET_NOTE_TEXT:"setNoteText",ADD_REPLY:"addReply",
DELETE_REPLY:"deleteReply",FIELD_CHANGED:"fieldChanged",FILE_ATTACHMENT_DATA_AVAILABLE:"fileAttachmentDataAvailable"},aa={JI:"annotationChanged.editbox",KI:"annotationDoubleClicked.editbox",zU:"annotationSelected.cropTool",II:"annotationChanged.cropTool"},fa={ACTIVE_SEARCH_RESULT_CHANGED:"activeSearchResultChanged",SEARCH_RESULTS_CHANGED:"searchResultsChanged",MOUSE_LEFT_UP:"mouseLeftUp",MOUSE_LEFT_DOWN:"mouseLeftDown",CLICK:"click",TAP:"tap",DBL_CLICK:"dblClick",KEY_DOWN:"keyDown",KEY_UP:"keyUp",
MOUSE_ENTER:"mouseEnter",MOUSE_MOVE:"mouseMove",MOUSE_LEAVE:"mouseLeave",MOUSE_RIGHT_DOWN:"mouseRightDown",MOUSE_RIGHT_UP:"mouseRightUp",DOCUMENT_UNLOADED:"documentUnloaded",ANNOTATIONS_LOADED:"annotationsLoaded",BEFORE_DOCUMENT_LOADED:"beforeDocumentLoaded",DOCUMENT_LOADED:"documentLoaded",DISPLAY_PAGE_LOCATION:"displayPageLocation",NOTIFY:"notify",SEARCH_IN_PROGRESS:"searchInProgress",TEXT_SELECTED:"textSelected",TOOL_MODE_UPDATED:"toolModeUpdated",FIT_MODE_UPDATED:"fitModeUpdated",ROTATION_UPDATED:"rotationUpdated",
ZOOM_UPDATED:"zoomUpdated",PAGE_NUMBER_UPDATED:"pageNumberUpdated",CHANGE_PAGE:"changePage",LAYOUT_CHANGED:"layoutChanged",PAGE_COMPLETE:"pageComplete",DISPLAY_MODE_UPDATED:"displayModeUpdated",BEGIN_RENDERING:"beginRendering",FINISHED_RENDERING:"finishedRendering",TOOL_UPDATED:"toolUpdated"},da={HI:"annotationsLoaded.internal",GU:"documentReady.annotsLoaded",rV:"PAUSE",yV:"RESUME",KU:"endOfDocumentResult",EU:"contentRemoved.annotManager",aV:"mouseMove.hover",MI:"backendSwitch",qV:"pageProgressiveUpdate",
fJ:"rotationUpdated.textTool",oJ:"visiblePagesChanged",AB:"documentReady",CU:"bookmarksUpdated",cca:"contentRemoved"}},function(ha,ca,h){function ba(r){var w=this;if(!r)throw Error("AnnotationManager requires DocumentViewer to initialize");var x=this;x.LM=function(){return Promise.resolve()};x.ct="";x.FF=!1;x.readOnly=!1;x.zN=!0;x.Yda=!1;x.pL=!0;x.bK=!1;x.N=r;x.mh=new y.a(x);x.Wca=new da.a(x,r);x.Uca=new z.a(x,r);x.eK=new f.a(x);x.Dp=new Ba.kb.ZV(x);x.qL=new e.a(x);x.init();x.Ci=new Ba.Annotations.da.Tf(this);
x.NL=function(e){return e.Author};r.on(n.d.EU,function(){x.zb.forEach(function(e){e.trigger(za.HTMLAnnotation.Events.CONTENT_REMOVED)})});r.on(n.c.DOCUMENT_LOADED,function(){x.G_()});x.xda={};x.Ij={line:[za.fd],circle:[za.Xk],square:[za.ni],freetext:[za.Ja],stamp:[za.Bc],text:[za.Yd],ink:[za.FreeHandAnnotation],polyline:[za.pg],polygon:[za.Uf],strikeout:[za.ap],highlight:[za.vj],redact:[za.De],underline:[za.bp],squiggly:[za.$o],caret:[za.Ur],widget:[ia.TextWidgetAnnotation,ia.DatePickerWidgetAnnotation,
ia.ChoiceWidgetAnnotation,ia.ListWidgetAnnotation,ia.PushButtonWidgetAnnotation,ia.CheckButtonWidgetAnnotation,ia.RadioButtonWidgetAnnotation,ia.SignatureWidgetAnnotation],link:[za.Ub],fileattachment:[za.ki],custom:[za.Zr]};x.controlPointSize=8;x.controlPointHitBoxScale=1;x.on(ba.Events.ANNOTATION_DOUBLE_CLICKED,function(e){e.ViewState&&w.N.s9(e.ViewState)});x.on(ba.Events.ANNOTATION_SELECTED,function(e,f){var n=this;if(e)if("selected"===f){var r=[];e.forEach(function(e){r=r.concat(n.ME(e))});r=r.filter(function(e){return!n.tk(e)});
n.KA(r)}else if("deselected"===f){var w=[];e.forEach(function(e){w=w.concat(n.ME(e))});w=w.forEach(function(e){n.tk(e)&&n.Jl(e)})}});x.on(ba.Events.ANNOTATION_DOUBLE_CLICKED,function(e){switch(e.elementName){case "fileattachment":e.getFileData().then(function(f){var r=e.ZN(),w=r.filename;x.trigger(n.a.FILE_ATTACHMENT_DATA_AVAILABLE,{fileData:f,filename:w,mimeType:r.mimeType,fileName:w})})}});x.on(ba.Events.ANNOTATION_CHANGED,function(e,f){var n=this;"add"===f&&e.forEach(function(e){if(e.Listable&&
!e.ToolName)switch(e.elementName){case "line":e.ToolName=e.Measure&&"LineDimension"===e.IT?la.g.DISTANCE_MEASUREMENT:"None"===e.cg()&&"None"===e.Re()?la.g.LINE:la.g.ARROW;break;case "circle":e.ToolName=la.g.ELLIPSE;break;case "square":e.ToolName=la.g.RECTANGLE;break;case "freetext":e.ToolName=e.fk()===za.Ja.Intent.FreeTextCallout?la.g.CALLOUT:la.g.FREETEXT;break;case "stamp":e.ToolName=la.g.STAMP;break;case "ink":e.qca===za.za.Zc("signature")?e.ToolName=la.g.SIGNATURE:e.ToolName=la.g.FREEHAND;break;
case "polyline":e.ToolName=e.Measure&&"PolyLineDimension"===e.IT?la.g.PERIMETER_MEASUREMENT:la.g.POLYLINE;break;case "polygon":e.ToolName="cloudy"===e.Style&&"PolygonCloud"===e.Hd?la.g.POLYGON_CLOUD:e.Measure&&"PolygonDimension"===e.IT?la.g.AREA_MEASUREMENT:la.g.POLYGON;break;case "strikeout":e.ToolName=la.g.STRIKEOUT;break;case "highlight":e.ToolName=la.g.HIGHLIGHT;break;case "underline":e.ToolName=la.g.UNDERLINE;break;case "squiggly":e.ToolName=la.g.SQUIGGLY;break;case "text":e.ToolName=la.g.STICKY;
break;case "redact":e.ToolName=la.g.REDACTION}});"modify"===f&&e.forEach(function(e){var f;return $h(function(r){if(1==r.ra){if(!e.ViewState){r.ra=0;return}f=e;return vf(r,n.N.getState(),3)}f.ViewState=r.Vc;r.ra=0})})});x.on(ba.Events.ANNOTATION_CHANGED,function(e,f,n){if(!n.imported&&"add"!==f&&"delete"!==f&&(e=e.filter(function(e){return!(e instanceof za.tb)&&0<e.mq().length}),0!==e.length)){var r={};e.forEach(function(e){var f=rc(e.mq()).next().value;f=w.Pd(f);e=e.pb();var n=f.pb();e.isEqual(n)||
(f.Wd(e),r[f.PageNumber]=!0)});Object.keys(r).forEach(function(e){w.ld(parseInt(e,10),null,!0)})}});x.on(ba.Events.ANNOTATION_CHANGED,function(e,f,n){if(!n.J4&&!n.imported&&za.za.extraSelectorsEnabled&&e&&0!==e.length&&!(1<e.length)){var r=e[0],w=x.N.getDocument(),ea=r.PE();if(-1!==ea&&x.N.mo&&0!==x.N.dj.length&&r.ym())if(x.N.dj[x.N.dj.length-1][0]!==ea+1)x.N.mo=null,x.N.dj=[];else{var ia=x.N.dj.pop(),y=function(){if(r&&ia&&x.N.mo){var e=x.N.getDocument();e===w&&x.Pd(r.YU)&&(e=new ra.f(e),x.N.mo.apply(e,
ia),r.TextIndices=e.ax,r.SurroundingTexts=e.bx,r.Va(!0),x.trigger(ba.Events.ANNOTATION_CHANGED,[[r],"modify",{J4:!0}]))}};w.Yc().then(function(){var e=x.N.getDocument();if(e===w){var f=za.za.UM(ea,e.gc());e.Au(f).then(y)}})}}})}var aa=h(0);h.n(aa);var fa=h(1),da=h(270),z=h(271),y=h(272),f=h(174),e=h(84),x=h(25),r=h(29),w=h(5),n=h(10),ea=h(20),ia=h(22),ka=h(37),oa=h(2);ha=h(36);var ma=h(58),la=h(4),ja=h(95),ua=h(26),ra=h(15),na=h(97),Ba=window,za=Ba.Annotations;ba.prototype={init:function(){function e(){return{get:function(e,
f){return this[e]&&this[e][f]},set:function(e,f,n){this[e]=this[e]||{};this[e][f]=n},delete:function(e,f){this[e]&&delete this[e][f]}}}this.zb=[];this.JD=[];this.xl=[];this.dy={};this.mh.be();this.lm=null;this.qy=e();this.KG=e()},R3:function(e,f){function n(e){e.Ot().forEach(function(e){r(e)})}function r(f){e.vl(f);var n=f.InReplyTo;f.InReplyTo=e.Id;f.ReplyType="group";n&&f.InReplyTo!==n&&w.Pd(n).fy(f)}var w=this;f.forEach(function(f){f!==e&&(f.InReplyTo?r(f):(r(f),n(f)))});this.trigger(ba.Events.ANNOTATION_CHANGED,
[f,"modify",{}])},TT:function(e){if(0!==e.length){var f=this,n=!1;e.forEach(function(e){if("group"===e.ReplyType){var r=f.Pd(e.InReplyTo);r&&(r.fy(e),n=!0);e.InReplyTo=null;e.ReplyType=null}});n&&this.trigger(ba.Events.ANNOTATION_CHANGED,[e,"modify",{}])}},E2:function(e){var f=0,n=[];e.forEach(function(e){e=e.InReplyTo||e.Id;0>n.indexOf(e)&&(n.push(e),f++)});return f},ME:function(e){var f=[];if(e.Nq()){if(e=this.Pd(e.InReplyTo))return f.push(e),f.concat(e.Ot())}else f=e.Ot(),f.push(e);return f},G_:function(){this.Bn=
!1},wh:function(){return this.ct},FH:function(e){this.ct=e;this.trigger(ba.Events.UPDATE_ANNOTATION_PERMISSION)},gO:function(){return this.FF},MH:function(e){this.FF=e;this.trigger(ba.Events.UPDATE_ANNOTATION_PERMISSION)},XE:function(){return this.readOnly},O$:function(e){this.readOnly=e;this.trigger(ba.Events.UPDATE_ANNOTATION_PERMISSION)},lu:function(){return this.zN},i$:function(e){this.zN=e},eU:function(){return this.pL},v_:function(){this.pL=!1;this.eK.disable()},y_:function(){this.bK=!0},L$:function(e){this.OM=
e},jM:function(e){return(this.OM?this.OM(e.Author,e):this.FF||e.Author===this.ct||null===e.Author||"undefined"===typeof e.Author||""===e.Author)&&!this.readOnly&&!e.ReadOnly},Pc:function(e){return this.jM(e)&&!e.Locked},iD:function(e){return this.jM(e)&&!e.LockedContents},faa:function(e){this.xT=e},te:function(){return this.Ci},QR:function(e){e=e.map(Number);var f=[];this.zb=this.zb.filter(function(n){return-1!==e.indexOf(n.PageNumber)&&n.eO()?(f.push(n),n.hB(),!1):!0});if(0<f.length){var n=this;
setTimeout(function(){n.trigger(ba.Events.ANNOTATION_CHANGED,[f,"delete",{imported:!0}])},0)}},V8:function(e){var f=this;e.on(na.a.Events.LAYOUT_CHANGED,function(e){if(e.removed&&0<e.removed.length){var n=f.zb.filter(function(f){return-1<e.removed.indexOf(f.PageNumber)});f.zn(n,!1,!0)}f.zb.forEach(function(f){var n=e.moved[f.PageNumber];n&&(f.PageNumber=n)});f.Aba(e)});e.on(na.a.Events.PAGE_CONTENT_CHANGED,function(e,n){0<n.length&&f.QR(n)});e.on(na.a.Events.PAGE_DIFF,function(e){var n={};f.zb.forEach(function(e){var f=
e.Ba();f in n?n[f].push(e):n[f]=[e]});e.forEach(function(e){var f=e.before;e=e.after;var r=n[e.pageNum];if(r){var w=new ra.a;w.Dh(e.matrix);w.concat(f.Xa.inverse());r.forEach(function(e){var f=e.IsModified,n=e.pb(),r=n.x1,x=n.y1,ea=n.x2,ia=n.y2,y=e.isImporting;e.isImporting=!0;e.rj(w);e.isImporting=y;f||n.x1!==r||n.x2!==ea||n.y1!==x||n.y2!==ia||(e.IsModified=f)})}})})},dT:function(e){var f=e instanceof za.Bc&&this.bK;return(!(e instanceof za.HTMLAnnotation)||e instanceof ia.PushButtonWidgetAnnotation||
e instanceof ia.SignatureWidgetAnnotation)&&!f&&!!e.$c()&&!Object(aa.isNil)(e.$c().objnum)&&!Object(aa.isNil)(e.$c().gennum)},ld:function(e,f,n,r){var w=e;Object(aa.isObject)(e)||(w={pageNumber:e,overrideCanvas:f,majorRedraw:n,overrideContainer:r});e=w.pageNumber;f=w.namespace||"default";w.namespace=f;r=e-1;if(!this.qy.get(r,f))return this.C5(w);this.KG.set(r,f,{Ac:e,F5:n});return this.qy.get(r,f)},C5:function(e){var f=e.pageNumber,n=e.overrideCanvas,r=e.overrideContainer,w=e.namespace;if(isNaN(f))throw Error("Invalid page index given");
var ea=f-1,ia=this.N.mc(f),y=this.Pl(f),z=!!n,ja=n,h=!!document.querySelector("#pageContainer"+f+" .auxiliary");!z&&h&&(ja=this.N.Yx(f))&&this.N.YA(f,ja);if(!ja)return Promise.resolve();h=ja.getContext("2d");var ka="undefined"!==typeof e.completeRotation?e.completeRotation:this.N.Tc(f),oa=90*ka,ma=this.N.wc(f);n||(oa=this.N.Tl(f),this.eZ(ja,f,oa));var da=r||Object(x.a)().Cq(f),aa=Promise.resolve();y={documentRotation:oa,completeRotation:ka,appearanceData:y,isOverriding:z,widgetContainer:da,zoom:ia};
y=Object.assign(y,e);for(e=0;e<this.zb.length;e++)oa=this.zb[e],oa.Ba()===f&&(aa=aa.then(this.$M.bind(this,oa,h,ma,y)));this.lm&&this.lm.PageNumber===f&&(this.Hg(this.lm)?this.lm=null:aa=aa.then(this.$M.bind(this,this.lm,h,ma,y)));var na=this;h=aa.then(function(){var e=na.N.getDocument();if(e){z||na.N.sF(f,ja);na.qy.delete(ea,w);var x=(na.N.Sd()-ka)%4;e.E0(ja,f,!0,x);z||ia!==na.N.mc(f)||na.N.$G(f,ja);if(e=na.KG.get(ea,w))return na.KG.delete(ea,w),na.ld({pageNumber:e.Ac,overrideCanvas:n,overrideContainer:r,
majorRedraw:e.F5,namespace:w});z||na.trigger(ba.Events.ANNOTATIONS_DRAWN,[f])}});this.qy.set(ea,w,h);return h},eZ:function(e,f){this.N.vq(f);Object(x.a)().rD(e)},J_:function(e,f,n,r){var w=this;return new Promise(function(x){if(w.N.rt||e.AP())if(r.isOverriding?e.EP():e.isVisible()){if(r.majorRedraw&&w.Hg(e)){var ea=r.isOverriding?1:w.N.mc(e.PageNumber);e.render(r.widgetContainer,w,ea,r.isOverriding)}w.K_(e,f,n,r).then(function(){x()})}else r.isOverriding||e.hB(),x();else x()})},K_:function(e,f,n,
r){var w=this,x,ea,ia,y;return $h(function(z){if(1==z.ra)return e instanceof za.Ja||e.op?(z.ra=2,z=void 0):z=vf(z,e.Nn(n),3),z;if(2!=z.ra&&(x=z.Vc)&&!e.op)try{return z.return(Object(ua.b)(e,f,n,r))}catch(Ja){Object(fa.c)(Ja)}if(!w.dT(e)||e.IsHovering)return w.RD(e,f,n,r),z.return(Promise.resolve());ea=r.appearanceData;ia=ea.yl.indexOf(e);if(y=ea.jY[ia])return e.hidden?z.return(Promise.resolve()):z.return(y.then(function(n){f.save();return n.draw(f,e.$c().offset).then(function(){f.restore()})}).catch(function(x){Object(fa.h)("Annotation appearance failed to render: ",
x);w.RD(e,f,n,r)}));w.RD(e,f,n,r);return z.return(Promise.resolve())})},RD:function(e,f,n,r){r=r||{};var w=e.Ba();n=n||this.N.wc(w);if(this.N.getDocument()){var x=this.N.getDocument().Gb(w);if(x)if(r.overridePageCanvas?(w=this.N.getDocument().au(),w="blackbox"===w||"xod"===w?1:f.canvas.width/x.width):w=this.N.mc(w),e.BlendMode&&Object(ua.f)(e.BlendMode)){var ea=e.PageNumber,ia=Object(aa.isUndefined)(r.overridePageRotation)?this.N.Tc(ea):r.overridePageRotation,y=r.overridePageRotation;Object(aa.isUndefined)(y)&&
(y=r.overridePageCanvas?ia:this.N.Tl(ea)/90);Ba.Annotations.za.NI.F0(e,f,n,{pageInfo:x,completeRotation:ia,documentRotation:y,zoom:w,overridePageCanvas:r.overridePageCanvas})}else e.draw(f,n,r.documentRotation,w)}},$M:function(e,f,n,r){if(!this.Bn&&this.N.getDocument()){f.save();this.waa(e,f,r.isOverriding);f.save();var w=this;return e.hj().then(function(){return w.J_(e,f,n,r)}).then(function(){f.restore();r.isOverriding||w.VD(e,f,n);f.restore()})}},L9:function(e,f,n){var r=e.canvas;f=Object(ma.a)(f,
n,{width:r.width,height:r.height});switch(n){case la.c.E_0:e.setTransform(f.m_a,f.m_b,f.m_c,f.m_d,0,0);break;case la.c.E_90:e.setTransform(f.m_a,f.m_b,f.m_c,f.m_d,r.width,0);break;case la.c.E_180:e.setTransform(f.m_a,f.m_b,f.m_c,f.m_d,r.width,r.height);break;case la.c.E_270:e.setTransform(f.m_a,f.m_b,f.m_c,f.m_d,0,r.height)}},waa:function(e,f,n){var r=this.N.mc(e.Ba());!0===e.NoZoom&&(f.translate(e.Fc(),e.Gc()),n||(f.scale(1/r,1/r),Object(ja.a)()&&e.DateCreated<Object(ja.a)()?(n=this.N.Sd(e.PageNumber),
0<n&&(3===n?f.translate(e.Fa(),0):2===n?f.translate(e.Fa(),e.Ca()):1===n&&f.translate(0,e.Ca()),f.rotate(-1*n*Math.PI/2))):(e=this.N.Tc(e.PageNumber),f.rotate(-1*e*Math.PI/2))))},VD:function(e,f,n){if(this.tk(e)&&e.isVisible()){var r=new e.selectionModel(e,this.Pc(e),!0,this.N),w=this.N.mc(e.Ba());!0===e.NoZoom&&(f.translate(-e.Fc(),-e.Gc()),w=1);e.fp||(e.kv(),e.jv());r.draw(f,e,w,n)}},Pl:function(e){var f=this,n=this.Yb().filter(function(n){return n.PageNumber===e&&f.dT(n)}),r=n.map(function(e){return e.$c()});
if(this.N.getDocument())return{jY:this.N.getDocument().Pl(r,e),yl:n}},sb:function(e){this.Hg(e)||(this.lm=e);return this.ld(e.PageNumber)},P$:function(e){this.sb=Object(aa.throttle)(ba.prototype.sb.bind(this),e)},m5:function(e){var f=e.Ba();this.N.OP(f,[{x4:e.Eg(),y4:e.Gg(),x2:e.Ki(),y2:e.Ei()}])},d4:function(e){this.rF([e])},rF:function(e){0!==e.length&&(e.forEach(function(e){e.Hidden=!0}),this.hy(e),this.Ne(e),this.trigger(ba.Events.ANNOTATION_HIDDEN,[e,!0]))},Baa:function(e){this.bI([e])},bI:function(e){e.forEach(function(e){e.Hidden=
!1});this.Ne(e);this.trigger(ba.Events.ANNOTATION_HIDDEN,[e,!1])},Hg:function(e){return-1<this.zb.indexOf(e)},OH:function(e,f){e.setContents(f);this.trigger(ba.Events.ANNOTATION_CHANGED,[[e],"modify",{}])},HY:function(e){var f=this.zb.indexOf(e);-1<f&&(this.zb.splice(f,1),this.zb.push(e))},cM:function(e){var f=this.zb.indexOf(e);-1<f&&(this.zb.splice(f,1),this.zb.unshift(e))},Ld:function(e,f){this.wg(Array.isArray(e)?e:[e],f)},wg:function(e,f,n){f=void 0===f?!1:f;n=void 0===n?!1:n;if(e){var r=f;Object(aa.isObject)(f)||
(r={imported:f,isUndoRedo:n,autoFocus:!0});f=r.imported;n=!!r.isUndoRedo;r=!!r.autoFocus;for(var w=0;w<e.length;++w){var x=e[w];0>=x.PageNumber&&Object(fa.h)("Invalid annotation PageNumber: "+x.PageNumber);this.zb.push(x);this.bT(x)}this.YH(e);0<e.length&&this.trigger(ba.Events.ANNOTATION_CHANGED,[e,"add",{imported:f,isUndoRedo:n,autoFocus:r}])}},rba:function(e){this.bT(e);if(e.vk()){var f=this.Rn(e);this.trigger(ba.Events.SET_NOTE_TEXT,[e,f])}else this.trigger(ba.Events.SET_NOTE_TEXT,e)},bT:function(e){function f(){return(65536*
(1+Math.random())|0).toString(16).substring(1)}e.Id||(e.isImporting=!0,e.Id=f()+f()+"-"+f()+"-"+f()+"-"+f()+"-"+f()+f()+f(),e.isImporting=!1);e.Wh&&e.Wh(this.N);e.am()&&e.Tb(e.Qb().value)},KX:function(e){var f=this;this.Yb().forEach(function(n){n.InReplyTo&&n.InReplyTo===e.Id&&(e.vl(n),f.trigger(ba.Events.ADD_REPLY,[n,e,f.Rn(e)]))})},YH:function(e){function f(e,f){return f.DateCreated-e.DateCreated}var n=[],r;for(r=0;r<e.length;++r){var w=e[r];if(w instanceof za.Annotation)if(w.vk()){var x=this.Pd(w.InReplyTo);
x&&(x.vl(w),this.trigger(ba.Events.ADD_REPLY,[w,x,this.Rn(x)]))}else n.push(w),this.KX(w)}for(r=0;r<n.length;++r)if(e=n[r],0!==e.Qn().length)for(w=[],w.push({annot:e,MD:null});0<w.length;){var ea=w.pop();x=ea.annot;null!==ea.MD&&this.trigger(ba.Events.ADD_REPLY,[x,ea.MD,e]);ea=x.Qn().sort(f);for(var ia=0;ia<ea.length;++ia)w.push({annot:ea[ia],MD:x})}},uaa:function(e){if(e.vk()){var f=this.Pd(e.InReplyTo);f&&(f.vl(e),this.trigger(ba.Events.ADD_REPLY,[e,f,this.Rn(e)]))}},Rn:function(e){for(;null!==
e&&e.vk();)e=this.Pd(e.InReplyTo);return e},EZ:function(e,f){var n=new za.Yd;n.InReplyTo=e.Id;n.X=e.X;n.Y=e.Y;n.PageNumber=e.PageNumber;n.Author=this.wh();n.setContents(f||"");e.vl(n);this.Ld(n);return n},sba:function(e,f,n,r){f=void 0===f?la.d.NONE:f;n=void 0===n?la.e.REVIEW:n;var w=new za.Yd,x=this.wh();r||(r=f+" set by "+x);w.InReplyTo=e.Id;w.X=e.X;w.Y=e.Y;w.PageNumber=e.PageNumber;w.Subject="Sticky Note";w.Author=x;w.State=f;w.StateModel=n;w.Hidden=!0;w.setContents(r);e.vl(w);this.Ld(w);this.trigger(ba.Events.ADD_REPLY,
[w,e,this.Rn(e)]);return w},Aba:function(e){this.Yb().filter(function(e){return e instanceof za.Ub&&Object(aa.hasIn)(e,"actions.U[0].dest.page")}).forEach(function(f){var n=f.actions.U[0].dest.page;e.removed&&-1!==e.removed.indexOf(n)&&(f.actions.U[0].dest.page=null);(n=Object(aa.get)(e,"moved["+n+"]",null))&&(f.actions.U[0].dest.page=n)})},YT:function(e){this.Hg(e)&&this.ld(e.Ba())},$C:function(e){return za.oi.$C(e,this.N)},GF:function(){var e=this.N.getDocument();e=e&&e.au();return this.vR&&(Object(r.j)()&&
"pdf"===e||"blackbox"===e)},G4:function(){return this.vR},K0:function(e){this.vR=e},C4:function(e){var f=this.N.getDocument();return e&&e instanceof za.De&&!(f&&f.Ui())&&this.GF()},Rc:function(e,f,n,r){this.zn(Array.isArray(e)?e:[e],f,n,r)},zn:function(e,f,r,w){var x=this,ea=this,y=f;Object(aa.isObject)(f)||(y={imported:f,force:r,isUndoRedo:w});f=y.imported;r=y.force;w=y.isUndoRedo;y=y.source;e=e.filter(function(e){return!!e&&!e.NoDelete});if(0!==e.length){e.forEach(function(e){ea.TT(e.Ot());e.mq().forEach(function(e){(e=
x.Pd(e))&&x.Rc(e)})});var z={};if(r||f||!this.XE()){var ja=[],h=!1;e=e.slice();for(var ka=[],oa=0;oa<e.length;oa++){var ma=e[oa];ma===this.lm&&(this.lm=null);ma.hB();if(ma instanceof ia.WidgetAnnotation){var da=ma.Qb();if(da){var na=da.widgets.indexOf(ma);da.widgets.splice(na,1)}}this.Hg(ma)?r||f||this.Pc(ma)?(this.mh.Dx(ma)&&ka.push(ma),this.mh.Jl(ma),da=this.zb.splice(this.zb.indexOf(ma),1),ja.push(da[0]),ma.IsAdded||f||this.JD.push(da[0]),ma.vk()&&(ma.ZO&&(da=this.Rn(ma),this.trigger(ba.Events.DELETE_REPLY,
[ma,da])),this.Pd(ma.InReplyTo).fy(ma)),ma.Qn().forEach(function(e){ea.trigger(ba.Events.SET_NOTE_TEXT,[e]);e.InReplyTo=null;ea.YH([e])}),z[ma.Ba()]=!0):h=!0:z[ma.Ba()]=!0}0<ja.length&&this.trigger(ba.Events.ANNOTATION_CHANGED,[ja,"delete",{imported:f,isUndoRedo:!!w,source:y}]);0<ka.length&&this.trigger(ba.Events.ANNOTATION_SELECTED,[ka,"deselected"]);h&&this.N.trigger(n.c.NOTIFY,"permissionDelete");Object.keys(z).forEach(function(e){parseInt(e,10)<=x.N.gc()&&x.ld(parseInt(e,10))})}else this.N.trigger(n.c.NOTIFY,
"readOnlyDelete")}},vba:function(){if(!this.readOnly){this.xl=[];for(var e={},f=this.fe(),n=0;n<f.length;n++)if(!(f[n]instanceof za.tb)){var r=this.Rl(f[n]);r.Nq()||(e[f[n].Id]=r.Id);this.xl.push(r)}this.xl.forEach(function(f){f.Nq()&&(f.InReplyTo=e[f.InReplyTo])});this.zw=0}},U1:function(){return this.xl},n7:function(e){e=void 0===e?!1:e;if(!this.readOnly&&"undefined"!==typeof this.zw){this.zw++;for(var f=[],n,r={},w=0;w<this.xl.length;w++){var x=this.Rl(this.xl[w],{copyAssociatedLink:!0}),ea=x.mq();
1!==ea.length||x instanceof za.Ub||(ea=this.Rl(this.Pd(ea[0])),this.Ld(ea),x.cD([ea.YU]));x.Nq()||(r[this.xl[w].Id]=x.Id);f.push(x);var ia=this.N.Mn();ea=this.N.O.Ad(ia);var y=this.N.O.zd(ia);ea=new oa.d(0,0,ea,y);y=x.pb();if(e){ia=this.N.Zb();ia={x:this.N.Jb.x+ia.scrollLeft,y:this.N.Jb.y+ia.scrollTop};var z=this.N.sa,ja=z.vc().Wt(ia,ia);ja=null!==ja.first?ja.first:this.N.Mn();n=z.Uk(ia,ja);x.zD={x:-f[0].Fc()+x.Fc(),y:-f[0].Gc()+x.Gc()};x.Ba()!==ja&&x.rv(ja)}else x.Ba()===ia?y.translate(5*this.zw,
5*this.zw):x.rv(ia);y.Di(ea);x.resize(y)}f.forEach(function(e){e.Nq()&&(e.InReplyTo=r[e.InReplyTo])});this.wg(f,{autoFocus:!1});this.xl=f;this.be();this.KA(f);e&&f.forEach(function(e){var f=n,r=f.y;e.wv(f.x+e.zD.x);e.xv(r+e.zD.y);delete e.zD})}},Rl:function(e,f){function n(){return(65536*(1+Math.random())|0).toString(16).substring(1)}var r=this.c3(e);if(null===r)return null;var w=this.N.wc(e.Ba()),x=w.inverse(),ea=document.createElementNS("",e.elementName);ea=e.serialize(ea,x);e=new r;e.isImporting=
!0;e.deserialize(ea,w,this);e.isImporting=!1;e.Id=n()+n()+"-"+n()+"-"+n()+"-"+n()+"-"+n()+n()+n();e.Author=this.ct;e.DateCreated=new Date;e.DateModified=new Date;e.IsAdded=!0;e.IsModified=!1;f&&f.copyAssociatedLink&&(f=e.mq(),1!==f.length||e instanceof za.Ub||(f=this.Rl(this.Pd(f[0])),this.Ld(f),e.cD([f.Id])));return e},G1:function(e){return e.jca()},tk:function(e){return this.mh.Dx(e)},lj:function(e){e.Listable&&this.Hg(e)&&(this.mh.lj(e),this.ld(e.Ba()),this.trigger(ba.Events.ANNOTATION_SELECTED,
[[e],"selected"]))},KA:function(e){var f=this,n=[],r={};if(e&&Array.isArray(e)){for(var w=0;w<e.length;w++){var x=e[w];x.Listable&&this.Hg(x)&&(this.mh.lj(x),r[x.Ba()]=x.Ba(),n.push(x))}Object.keys(r).forEach(function(e){f.ld(parseInt(e,10))})}0<n.length&&this.trigger(ba.Events.ANNOTATION_SELECTED,[n,"selected"])},be:function(){var e=this;0!==this.fe().length&&(this.mh.be(),this.N.sa.Te().forEach(function(f){e.ld(f)}),this.trigger(ba.Events.ANNOTATION_SELECTED,[null,"deselected"]))},Jl:function(e){this.mh.Jl(e);
this.ld(e.Ba());this.trigger(ba.Events.ANNOTATION_SELECTED,[[e],"deselected"])},hy:function(e){var f=this;e=e.filter(function(e){return f.mh.Dx(e)});this.mh.hy(e);this.Ne(e);0<e.length&&this.trigger(ba.Events.ANNOTATION_SELECTED,[e,"deselected"])},fe:function(){return this.mh.fe()},Yb:function(){return this.zb},Pd:function(e,f){f=f||this.zb;if(Object(aa.isUndefined)(e)||Object(aa.isNull)(e))return null;for(var n=0;n<f.length;n++)if(f[n].Id===e)return f[n];return null},wE:function(e,f,n){n=n||this.zb;
if(Object(aa.isUndefined)(e)||Object(aa.isNull)(e))return[];for(var r=[],w=0;w<n.length;w++)n[w].Id===e&&r.push(n[w]);return Object(aa.isUndefined)(f)?r:r.filter(function(e){return e.PageNumber===f})},Ql:function(e){e=this.xE(e);return 0<e.length?e[0]:null},xE:function(e){if(!this.N.rt)return[];var f=new ea.a(this.N);e=f.Pe({x:f.xh(e).x,y:f.xh(e).y});f=[];if(null!==e)for(var n=this.Yb(),r=new oa.d(e.x,e.y,e.x,e.y),w=n.length-1;0<=w;w--){var x=n[w];if(x.selectionModel&&x.isVisible()&&x.Ba()===e.pageNumber){var ia=
ka.a.canvasVisibilityPadding,y=x.pb();y.translate(-ia,-ia);y.x2+=2*ia;y.y2+=2*ia;if(Object(ua.h)(y,r)||x.IsClickableOutsideRect){var z=x.PageNumber;ia=this.N.mc(z);y=this.N.wc(z);z=this.N.Tc(z);var ja=this.tk(x),h=new x.selectionModel(x,this.Pc(x),ja,this.N);h.testSelection(x,e.x,e.y,y,ia,z)?f.push(x):ja&&h.Hv(x,ia,e.x,e.y)&&f.push(x)}}}return f},In:function(e){var f=this,n=this.N.yE();n||(n=new Promise(function(e){f.N.Ng("documentLoaded",function(){e(f.N.yE())})}));e&&e.annotList?n=Promise.resolve():
this.N.H_();n=n.then(function(){return Promise.all((e&&e.annotList||f.Yb()).map(function(e){return e.hj()}))});return Promise.all([].concat(Cd(this.D1().map(function(e){return e.complete()})),[n])).then(function(){return f.Dp.KV(e)})},vE:function(){Object(fa.h)("getAnnotCommand is deprecated. Use exportAnnotCommand instead. Also note that both functions now return a promise.");return this.eE()},eE:function(){var e=this;return Promise.all(this.Yb().map(function(e){return e.hj()})).then(function(){return e.Dp.vE()})},
k1:function(e){this.YH(e);var f=this.Yb();f.filter(function(e){return e instanceof ia.SignatureWidgetAnnotation}).forEach(function(e){for(var n=rc(f),r=n.next();!r.done;r=n.next())if(r=r.value,e.HF(r)){e.annot=r;break}});this.N.rO().Jk("DocumentViewer.renderRequest",{type:"annotations",pages:Object(aa.uniq)(e.map(function(e){return e.Ba()-1}))})},gP:function(e,f){var n=this;if(!this.N.getDocument())throw Error("importAnnotations was called before the document was loaded. Please wait for the 'documentLoaded' event before calling 'importAnnotations'. See http://r.pdftron.com/documentloaded for more info.");
var r=f=Object.assign({eo:function(){return n.Bn},batchSize:100,batchDelay:0,replace:[],rr:!0},f),w=void 0===r.replace?[]:r.replace;w=Array.isArray(w)?w:[w];this.zb=this.zb.filter(function(e){return w.every(function(f){return!(e instanceof f)})});return/<!DOCTYPE(.|\s)*?<!ENTITY.*>/.test(e)?Promise.resolve([]):new Promise(function(r){var w=Ba.Annotations.ma.lz(e);n.Dp.ZU(w,function(e){var f=e.yl,w,x,ea,ia;return $h(function(e){switch(e.ra){case 1:w=0,x=f.length;case 2:if(!(w<x)){e.ra=4;break}ea=f[w].pi;
if(!ea||!ea.filename){e.ra=3;break}return vf(e,n.LM(ea.filename),6);case 6:(ia=e.Vc)?f[w].en(ia,ea):Object(fa.h)("Custom appearance from filename found in XFDF but handler is not setup to return that document. Please use the AnnotationManager.setCustomAppearanceHandler function to set up your handler.");case 3:w++;e.ra=2;break;case 4:if(n.Bn)return r([]),e.return();n.k1(f);r(f);e.ra=0}})},f)})},Wl:function(e,f){var n=this;e=Ba.Annotations.ma.lz(e);f=this.Dp.Wl(e,f);e=[];f.Bx&&0<f.Bx.length&&(e=e.concat(f.Bx),
this.uaa(f.Bx[0]));f.kt&&0<f.kt.length&&(e=e.concat(f.kt));f.lG&&0<f.lG.length&&(e=e.concat(f.lG));var r=f.kt?f.kt.map(function(e){return e.Id}):[],w=e.map(function(e){return e.Id});e.filter(function(e){return e.InReplyTo&&!r.includes(e.Id)}).forEach(function(e){var f=n.Pd(e.InReplyTo);f&&f.vl(e)});this.zb.filter(function(e){return 0<e.Qn().length}).filter(function(e){return e.Qn().some(function(e){return w.includes(e.Id)})}).forEach(function(e){for(var f=e.Qn(),n=f.length-1;0<=n;n--)(f[n].InReplyTo!==
e.Id||r.includes(f[n].Id))&&e.fy(f[n])});return Promise.resolve(e)},U9:function(e){this.LM=e},Ne:function(e){e=Array.isArray(e)?e:[e];e=Object(aa.uniq)(e.map(function(e){return e.PageNumber}));for(var f=[],n=0;n<e.length;n++)f.push(this.ld(e[n],void 0,!0));return Promise.all(f)},D1:function(){return Object.values(this.N.eF()).filter(function(e){return e instanceof w.m})},ce:function(){this.Yb().forEach(function(e){e.off();e.Yaa&&(e.Yaa=null);e.innerElement&&(e.rg=null);e.element&&(e.sf=null)});this.init();
this.Bn=!0;this.Ci.ce();this.qL.hN();return Promise.resolve()},T8:function(e,f){if("string"!==typeof e||!f)return!1;"undefined"===typeof this.Ij[e]&&(this.Ij[e]=[]);this.Ij[e].push(f);return!0},o_:function(e,f){if("string"!==typeof e||!f)return!1;this.Ij[e]=this.Ij[e].filter(function(e){return e!==f});return!0},d3:function(){return this.Ij},c3:function(e){if(!e||!e.elementName)return null;var f=this.Ij[e.elementName];if(f&&0<f.length)for(var n=0;n<f.length;n++){var r=f[n];if(e instanceof r)return r}return null},
x5:function(e){var f=this.dy[e];if(f){var n=f.length;e=this.N.wc(e+1);for(var r=[],w=0;w<n;++w){var x=f[w].annot,ea=f[w].data;x.isImporting=!0;x.deserialize(ea,e,this);x.isImporting=!1;x.IsAdded=!1;x.IsModified=!1;r.push(x)}this.wg(r,!0);this.Ne(r)}},Ry:function(){return this.eK},MO:function(){return this.qL},N9:function(e,f){if(Object(aa.isFunction)(f)){Object(fa.h)("Passing a function to annotManager.setAnnotationStyles as the second argument is deprecated, please pass an object instead. The deprecated argument will be removed in 7.0.");
var n="StrokeColor TextColor FillColor FontSize Opacity StrokeThickness Precision Scale OverlayText Dashes Style".split(" ").reduce(function(f,n){if(e[n]||0===e[n])f[n]=e[n];return f},{});f=f(n)}Object(aa.isObject)(f)&&(Object.keys(f).forEach(function(n){e[n]=f[n]}),this.YT(e),this.trigger(ba.Events.ANNOTATION_CHANGED,[[e],"modify",{}]))},uS:function(e){this.NL=e},HE:function(e){return this.NL(e)},C$:function(e){Object(ja.b)(e)}};Object(ha.b)(ba);ba.Events=n.a;ba.Xe=n.b;ca.a=ba},function(ha,ca,h){function ba(h){this.Fj=
{};this.up=null;this.Cs=0;Object(aa.isObject)(h)&&(Object(aa.isArray)(h.mask)&&this.xt(h.mask),h.onUpdate&&(this.kx=h.onUpdate))}var aa=h(0);h.n(aa);var fa=window;ba.READ_ONLY="ReadOnly";ba.REQUIRED="Required";ba.NO_EXPORT="NoExport";ba.MULTILINE="Multiline";ba.PASSWORD="Password";ba.COMB="Comb";ba.NO_TOGGLE_TO_OFF="NoToggleToOff";ba.RADIO="Radio";ba.PUSH_BUTTON="PushButton";ba.COMBO="Combo";ba.EDIT="Edit";ba.DO_NOT_SCROLL="DoNotScroll";ba.RADIOS_IN_UNISON="RadiosInUnison";ba.FILE_SELECT="FileSelect";
ba.DO_NOT_SPELL_CHECK="DoNotSpellCheck";ba.RICH_TEXT="RichText";ba.SORT="Sort";ba.MULTI_SELECT="MultiSelect";ba.COMMIT_ON_SEL_CHANGE="CommitOnSelChange";ha={};ba.prototype={dw:(ha[ba.READ_ONLY]=1,ha[ba.REQUIRED]=2,ha[ba.NO_EXPORT]=4,ha[ba.MULTILINE]=4096,ha[ba.PASSWORD]=8192,ha[ba.NO_TOGGLE_TO_OFF]=16384,ha[ba.RADIO]=32768,ha[ba.PUSH_BUTTON]=65536,ha[ba.COMBO]=131072,ha[ba.EDIT]=262144,ha[ba.DO_NOT_SCROLL]=8388608,ha[ba.RADIOS_IN_UNISON]=33554432,ha),clear:function(){this.Fj={};this.kx&&this.kx()},
xt:function(h){Object(aa.isNull)(this.up)&&(this.up={});for(var z=h.length,y=0;y<z;++y){var f=h[y];this.up[f]=this.dw[f]||0}},ZZ:function(h){var z=[],y=this.up||this.dw;Object.keys(y).forEach(function(f){0!==(h&y[f])&&(h&=~y[f],z.push(f))});return{result:z,unsupported:h}},get:function(h){return!!this.Fj[h]},bba:function(){var h=this,z=0;Object.keys(this.Fj).forEach(function(y){h.Fj.hasOwnProperty(y)&&!0===h.Fj[y]&&(z|=h.dw[y])});return z|this.Cs},toArray:function(){var h=this;return Object.keys(this.Fj).filter(function(z){return h.Fj[z]})},
deserialize:function(h){h=fa.Annotations.ma.getAttribute(h,"Ff");this.set(parseInt(h,10))},serialize:function(h){h.setAttribute("Ff",String(this.bba()))},set:function(h,z){if(Object(aa.isArray)(h)){z=h.length;for(var y=0;y<z;++y)this.set(h[y])}else Object(aa.isNumber)(h)?(h=this.ZZ(h),this.Cs|=h.unsupported,this.set(h.result)):Object(aa.isString)(h)&&(y=!0,Object(aa.isUndefined)(z)||(y=!!z),this.up?Object(aa.isUndefined)(this.up[h])?this.Cs|=this.dw[h]||0:this.Fj[h]=y:this.Fj[h]=y,this.kx&&this.kx())}};
ca.a=ba},function(ha,ca,h){var ba=h(218);h.d(ca,"a",function(){return ba.a});var aa=h(219);h.d(ca,"b",function(){return aa.a});var fa=h(220);h.d(ca,"c",function(){return fa.a});var da=h(221);h.d(ca,"e",function(){return da.a});var z=h(120);h.d(ca,"d",function(){return z.a});var y=h(222);h.d(ca,"g",function(){return y.a});var f=h(223);h.d(ca,"f",function(){return f.a})},function(ha,ca,h){function ba(e){return JSON.parse(JSON.stringify(e))}function aa(e,r){f!==r&&(e=e.Mi())&&(e.style.cursor=z.h?"zoom-in"===
r?'url("'+y+'zoom-in.cur"), default':"zoom-out"===r?'url("'+y+'zoom-out.cur"), default':r:r,f=r)}function fa(){return y}function da(e){e.lastIndexOf("/")!==e.length-1&&(e+="/");y=e}h.d(ca,"e",function(){return da});h.d(ca,"c",function(){return fa});h.d(ca,"d",function(){return aa});h.d(ca,"b",function(){return e});h.d(ca,"a",function(){return ba});var z=h(30),y="../assets/",f,e={scale:"1 in = 1 in",axis:[{factor:.0138889,unit:"in",decimalSymbol:".",thousandsSymbol:",",display:"D",precision:100,unitPrefix:"",
unitSuffix:"",unitPosition:"S"}],distance:[{factor:1,unit:"in",decimalSymbol:".",thousandsSymbol:",",display:"D",precision:100,unitPrefix:"",unitSuffix:"",unitPosition:"S"}],area:[{factor:1,unit:"sq in",decimalSymbol:".",thousandsSymbol:",",display:"D",precision:100,unitPrefix:"",unitSuffix:"",unitPosition:"S"}]}},function(ha,ca,h){var ba=h(23);h.d(ca,"a",function(){return ba.a});var aa=h(79);h.d(ca,"b",function(){return aa.a});var fa=h(99);h.d(ca,"c",function(){return fa.a});h(137);h(125);h(148);
h(138);var da=h(86);h.d(ca,"e",function(){return da.a});var z=h(87);h.d(ca,"d",function(){return z.a});var y=h(210);h.d(ca,"g",function(){return y.a});var f=h(211);h.d(ca,"f",function(){return f.a});h(88);h(139);h(149);h(114);h(115)},function(ha,ca,h){function ba(e){aa.a.call(this,e);this.Ap=this.zp=0;this.vp={x:0,y:0};this.Zs=this.Cb=null;this.state=ba.oc.NONE;this.Vp=NaN;this.mouseDown=!1;this.cursor="default";this.fN=this.overrideSelection=!1}var aa=h(20),fa=h(14),da=h(2),z=h(13),y=h(10),f=h(18),
e=h(107);ba.oc={NONE:0,CB:1,xV:2,hw:3,BB:4,lw:5};ba.PAGE_PADDING=new da.d(2,2,2,2);ba.fQ=function(){};ba.z$=function(e){ba.fQ=e};ba.prototype=Object.assign(new aa.a,{b$:function(e){this.fN=e},mouseLeftDown:function(f){aa.a.prototype.mouseLeftDown.call(this,f);var r=this.N.ta(),w=r.Ql(f);w&&this.fN&&(r.be(),r.lj(w));if(this.overrideSelection)r.be(),this.state=ba.oc.NONE;else{this.mouseDown=!0;this.state=ba.oc.NONE;var n=this.Pe(this.Jb);if(n){w&&(w.kv(),w.jv(),f.altKey&&(r.be(),w=r.Rl(w,{copyAssociatedLink:!0}),
w.kv(),w.jv(),r.Ld(w),r.lj(w)));this.Vp=n.pageNumber;this.zp=n.x;this.Ap=n.y;this.vp.x=this.zp;this.vp.y=this.Ap;w=r.fe();for(var x=0;x<w.length;x++){var ia=w[x];if(ia.Ba()===this.Vp){var y=(new ia.selectionModel(ia,r.Pc(ia),!0,this.N)).Hv(ia,this.N.mc(ia.Ba()),n.x,n.y);if(y){this.Cb=ia;this.Zs=y;y instanceof e.a?this.state=ba.oc.lw:!this.Cb.NoResize&&r.Pc(this.Cb)?this.state=ba.oc.BB:(this.state=ba.oc.NONE,r.be());return}}}if(0<r.fe().length&&(n=r.xE(f),0<n.length)){this.Cb=null;for(w=0;w<n.length;++w)if(r.tk(n[w])){this.Cb=
n[w];break}this.Cb||(this.Cb=n[0]);n=r.tk(this.Cb);!this.Cb.NoMove&&r.Pc(this.Cb)&&n?this.state=ba.oc.CB:f.ctrlKey||f.metaKey?this.state=ba.oc.hw:(this.state=ba.oc.NONE,r.be());return}}r.be()}},mouseMove:function(e){aa.a.prototype.mouseMove.call(this,e);this.mouseDown&&(this.isSelecting()||"PanTool"!==this.Fh&&"AnnotationEditTool"!==this.Fh)&&(document.activeElement instanceof HTMLTextAreaElement||document.activeElement instanceof HTMLInputElement||e.preventDefault());if(!this.overrideSelection&&
this.Cb&&this.state!==ba.oc.NONE){var f=this.N.ta(),w=this.pageCoordinates[1];if(w&&this.Vp===w.pageNumber){var n=w.x-this.vp.x,x=w.y-this.vp.y;this.vp.x=w.x;this.vp.y=w.y;this.state!==ba.oc.lw&&(this.Cb.kv(),this.Cb.jv());if(this.state===ba.oc.CB&&this.BP(this.Cb)&&(0!==n||0!==x))Object(fa.d)(this.N,"move"),f=f.fe(),this.I_(f,n,x);else if((this.state===ba.oc.BB||this.state===ba.oc.lw)&&this.Zs){var ia=new da.b(this.Ud.x,this.Ud.y);f=this.Cb.Fc();var y=this.Cb.Gc(),z=this.Cb.Fa(),h=this.Cb.Ca();n=
this.Zs.move(this.Cb,n,x,this.Pe(ia),w,this.N,e);e=ba.fQ(this.Cb)||{};x=e.width;e=e.height;this.Cb.Width<x&&(this.Cb.XA(Math.max(x,z)),this.Cb.wv(f));this.Cb.Height<e&&(this.Cb.qr(Math.max(e,h)),this.Cb.xv(y));n&&this.N.ta().sb(this.Cb)}}}},mouseLeftUp:function(){if(!this.overrideSelection){this.mouseDown=!1;var e=this.N.ta(),f=e.fe();if(this.state===ba.oc.CB){for(var w=[],n=0;n<f.length;n++){var ea=f[n];ea.ML&&(ea.ML=void 0,w.push(ea))}0<w.length&&e.trigger(y.a.ANNOTATION_CHANGED,[w,"modify",{}])}else this.state===
ba.oc.xV||this.state===ba.oc.lw?(w=this.Zs.xa,this.Zs&&e.trigger(y.a.ANNOTATION_CHANGED,[[w],"modify",{}])):this.state===ba.oc.BB&&this.Cb&&e.trigger(y.a.ANNOTATION_CHANGED,[[this.Cb],"modify",{}]);0<f.length?Object(fa.d)(this.N,"default"):Object(fa.d)(this.N,this.cursor);this.state=ba.oc.NONE}},DA:function(){this.N.ta().Rc(this.annotation);this.annotation=null},keyDown:function(e){27===e.which&&void 0!==this.annotation&&null!==this.annotation&&this.DA();46!==e.which&&8!==e.which||Object(z.e)(e.target)||
(f.k&&e.preventDefault(),e=this.N.ta().fe(),this.N.ta().zn(e))},tap:function(e){if(!this.overrideSelection){var f=this.N.ta();if(this.Vb=f.Ql(e)){var w=f.tk(this.Vb);e.ctrlKey||e.metaKey?w?f.Jl(this.Vb):f.lj(this.Vb):w||(this.WC===this.Vb?this.WC=null:(f.be(),f.lj(this.Vb)));this.N.To("none");e.preventDefault()}}},isSelecting:function(){return this.state!==ba.oc.NONE},I_:function(e,f,w){var n=this;e=e.filter(this.BP.bind(this));aa.a.ALLOW_ANNOTS_OUTSIDE_PAGE||e.forEach(function(e){var r=e.pb(),x=
rc(n.nG(e,n.Cb,f,w)),ea=x.next().value;x=x.next().value;r.translate(ea,x);ea=n.O2(e);r.K4(ea)&&(r.Di(ea),x=e.pb(),ea=r.x1-x.x1,x=r.y1-x.y1,e=rc(n.nG(n.Cb,e,ea,x)),ea=e.next().value,x=e.next().value,f=0<f?Math.min(ea,f):Math.max(ea,f),w=0<w?Math.min(x,w):Math.max(x,w))});e.forEach(function(e){var r=rc(n.nG(e,n.Cb,f,w)),x=r.next().value;r=r.next().value;var ea=e.pb();ea.translate(x,r);e.resize(ea);e.ML=!0});this.N.ta().Ne(e)},BP:function(e){return this.N.ta().Pc(e)&&!e.NoMove},O2:function(e){var f=
e.Ba();e=this.N.Ad(f);f=this.N.zd(f);return new da.d(ba.PAGE_PADDING.x1,ba.PAGE_PADDING.y1,e-ba.PAGE_PADDING.x2,f-ba.PAGE_PADDING.y2)},nG:function(e,f,w,n){e=this.N.Tc(e.Ba());f=this.N.Tc(f.Ba());if(e===f)return[w,n];switch(e-f){case -3:case 1:n=rc([n,-w]);w=n.next().value;n=n.next().value;break;case -2:case 2:n=rc([-w,-n]);w=n.next().value;n=n.next().value;break;case -1:case 3:n=rc([-n,w]),w=n.next().value,n=n.next().value}return[w,n]}});ca.a=ba},function(ha,ca,h){function ba(e,f,w){f=f.split(" ");
for(var n=[],r=f[0],x=1;x<f.length;x++){var y=f[x];e.measureText(r+" "+y).width<w?r+=" "+y:(n.push(r),r=y)}n.push(r);return n}function aa(f){var r="";if(!f)return r;var w=f.includes(e.a.BOLD);f=f.includes(e.a.ITALIC);w&&(r+=e.a.BOLD+" ");f&&(r+=e.a.ITALIC+" ");return r.trim()}function fa(f){return f&&f.includes(e.a.UNDERLINE)}function da(e,f,w,n,ea,ia){e.fillText(f,w,n);if(ia){ia=document.createElement("span");ia.style.font=e.font;ia.innerHTML=f;var r=document.createElement("div");r.style.display=
"inline-block";r.style.width="1px";r.style.height="0px";var x=document.createElement("div");x.appendChild(ia);x.appendChild(r);x.style.height="0px";x.style.overflow="hidden";document.body.appendChild(x);r.style.verticalAlign="baseline";ia=r.offsetTop-ia.offsetTop;r.style.verticalAlign="bottom";document.body.removeChild(x);f=e.measureText(f).width;n+=ia;ia/=15;ia=1>ia?1:ia;e.beginPath();if("left"===e.textAlign||"start"===e.textAlign){var y=w;var z=w+f}else"right"===e.textAlign||"end"===e.textAlign?
(y=w-f,z=w):"center"===e.textAlign&&(y=w-f/2,z=w+f/2);e.strokeStyle=ea;e.lineWidth=ia;e.moveTo(y,n);e.lineTo(z,n);e.stroke()}}function z(){}function y(e){return'<?xml version="1.0" encoding="UTF-8"?><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><pages><defmtx matrix="1.333333,0.000000,0.000000,-1.333333,0.000000,'+4*e/3+'"/></pages><pdf-info version="2" xmlns="http://www.pdftron.com/pdfinfo"/></xfdf>'}function f(e,f){var r=e.lastIndexOf(".");return e.substring(0,r)+"-"+f+e.substring(r)}
h.d(ca,"g",function(){return ba});h.d(ca,"c",function(){return aa});h.d(ca,"f",function(){return fa});h.d(ca,"a",function(){return da});h.d(ca,"e",function(){return z});h.d(ca,"b",function(){return y});h.d(ca,"d",function(){return f});var e=h(4)},function(ha,ca,h){function ba(){return n||ja}function aa(){return ka}function fa(e){ka=e}h.d(ca,"l",function(){return r});h.d(ca,"h",function(){return z});h.d(ca,"n",function(){return n});h.d(ca,"j",function(){return e});h.d(ca,"d",function(){return x});
h.d(ca,"k",function(){return ea});h.d(ca,"e",function(){return ia});h.d(ca,"i",function(){return y});h.d(ca,"b",function(){return f});h.d(ca,"r",function(){return fa});h.d(ca,"f",function(){return aa});h.d(ca,"m",function(){return oa});h.d(ca,"p",function(){return ma});h.d(ca,"c",function(){return la});h.d(ca,"o",function(){return ba});h.d(ca,"g",function(){return ua});h.d(ca,"a",function(){return ra});h.d(ca,"q",function(){return w});var da="undefined"===typeof window?self:window,z=function(){var e=
navigator.userAgent.toLowerCase();return(e=/(msie) ([\w.]+)/.exec(e)||/(trident)(?:.*? rv:([\w.]+)|)/.exec(e))?parseInt(e[2],10):e}(),y=function(){var e=da.navigator.userAgent.match(/OPR/),f=da.navigator.userAgent.match(/Maxthon/),n=da.navigator.userAgent.match(/Edge/);return da.navigator.userAgent.match(/Chrome\/(.*?) /)&&!e&&!f&&!n}(),f=function(){if(!y)return null;var e=da.navigator.userAgent.match(/Chrome\/([0-9]+)\./);return e?parseInt(e[1],10):e}(),e=!!navigator.userAgent.match(/Edge/i)||navigator.userAgent.match(/Edg\/(.*?)/)&&
da.navigator.userAgent.match(/Chrome\/(.*?) /),x=function(){if(!e)return null;var f=da.navigator.userAgent.match(/Edg\/([0-9]+)\./);return f?parseInt(f[1],10):f}(),r=/iPad|iPhone|iPod/.test(da.navigator.platform)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints,w=function(){var e=da.navigator.userAgent.match(/.*\/([0-9\.]+)\s(Safari|Mobile).*/i);return e?parseFloat(e[1]):e}(),n=/^((?!chrome|android).)*safari/i.test(da.navigator.userAgent)||/^((?!chrome|android).)*$/.test(da.navigator.userAgent)&&
r,ea=da.navigator.userAgent.match(/Firefox/),ia=function(){if(!ea)return null;var e=da.navigator.userAgent.match(/Firefox\/([0-9]+)\./);return e?parseInt(e[1],10):e}(),ka=!1,oa=!(z||!/Android|webOS|Touch|IEMobile|Silk/i.test(navigator.userAgent)&&!r),ma=!!navigator.userAgent.match(/(iPad|iPhone|iPod)/i),la=-1<da.navigator.userAgent.indexOf("Android"),ja=/Mac OS X 10_13_6.*\(KHTML, like Gecko\)$/.test(da.navigator.userAgent),ua=!(!self.VV||!self.VV.Dfa),ra=-1<da.navigator.userAgent.indexOf("Edge/16")||
-1<da.navigator.userAgent.indexOf("MSAppHost")},function(ha,ca,h){function ba(y,f,e){aa.a.call(this,y);this.annotation=null;this.annotationPrototype=f;this.zZ=e;this.cursor="crosshair";this.WC=null;this.defaults={StrokeColor:new z.a(0,0,0),FillColor:new z.a(0,0,0,0),StrokeThickness:1,Opacity:1}}var aa=h(16),fa=h(14),da=h(2),z=h(8);ba.prototype=Object.assign(new aa.a,{switchIn:function(){Object(fa.d)(this.N,this.cursor);this.N.mf({annotMode:!0})},switchOut:function(y){null!==this.annotation&&void 0!==
this.annotation&&(this.Tx&&this.Tx(),this.N.na.Rc(this.annotation),this.annotation=null);aa.a.prototype.switchOut.call(this,y);this.N.mf({annotMode:!1})},mouseLeftDown:function(y){aa.a.prototype.mouseLeftDown.call(this,y);if(!this.isSelecting()&&!this.annotation&&(y=this.pageCoordinates[0])){var f=this.N.na;this.annotation=new this.annotationPrototype(this.zZ);this.annotation.X=y.x;this.annotation.Y=y.y;this.annotation.PageNumber=y.pageNumber;this.annotation.Author=f.wh();null!==this.annotation.StrokeColor&&
(y=this.defaults.StrokeColor)&&(this.annotation.StrokeColor=new z.a(y.R,y.G,y.B,y.A));null!==this.annotation.StrokeThickness&&null!==this.defaults.StrokeThickness&&(this.annotation.StrokeThickness=this.defaults.StrokeThickness);null!==this.annotation.FillColor&&(y=this.defaults.FillColor)&&(this.annotation.FillColor=new z.a(y.R,y.G,y.B,y.A));null!==this.defaults.Opacity&&(this.annotation.Opacity=this.defaults.Opacity);this.annotation.ToolName=this.name;this.trigger(ba.Events.ANNOTATION_CREATED,[this.annotation])}},
mouseLeftUp:function(y){aa.a.prototype.mouseLeftUp.call(this,y);this.isSelecting()||this.finish()},mouseMove:function(y){aa.a.prototype.mouseMove.call(this,y);if(!this.isSelecting()&&this.annotation&&"undefined"!==typeof this.pageCoordinates){var f=this.pageCoordinates[0],e=this.pageCoordinates[1];null!==e&&null!==f&&f.pageNumber===e.pageNumber&&(f=new da.d(f.x,f.y,e.x,e.y),f.normalize(),this.annotation.Wd(f),this.N.na.sb(this.annotation),this.Mp(y))}},finish:function(){this.annotation&&(this.WF(this.annotation)?
this.N.ta().Rc(this.annotation):(this.Yl()&&(this.WC=this.annotation),this.N.na.Ld(this.annotation),this.trigger(ba.Events.ANNOTATION_ADDED,[this.annotation])),this.annotation=null)},Yl:function(){return!1},WF:function(y){var f=y.Fa(),e=y.Ca();y=2*(y.getRectPadding()+1);return f<=y&&e<=y}});ba.Events={ANNOTATION_ADDED:"annotationAdded",ANNOTATION_CREATED:"annotationCreated"};ca.a=ba},function(ha,ca,h){function ba(e){this.Jb=this.Ud=null;this.N=this.docViewer=e;this.pageCoordinates=[];this.YD=!1}var aa=
h(0);h.n(aa);var fa=h(1),da=h(14);ha=h(36);var z=h(10),y=h(120),f=window;ba.ENABLE_TEXT_SELECTION=!0;ba.ENABLE_AUTO_SWITCH=!0;ba.ENABLE_ANNOTATION_HOVER_CURSORS=!0;ba.ALLOW_ANNOTS_OUTSIDE_PAGE=!1;ba.prototype={reset:function(){this.Jb=this.Ud=null;this.pageCoordinates=[]},xh:function(e){var f={},r=this.N.Zb(),w=Object(y.a)(r);r=r.scrollTop||0;e&&e.touches?(e=0===e.touches.length?e.changedTouches[0]:e.touches[0],f.x=w+e.clientX,f.y=r+e.clientY):(f.x=w+e.pageX,f.y=r+e.pageY);return f},aR:function(e){this.pointerType=
e.pointerType},mouseLeftDown:function(e){var x=this.xh(e);this.Ud=x;this.Jb={x:x.x,y:x.y};this.pageCoordinates[0]=this.Pe(this.Ud);this.pageCoordinates[1]=this.pageCoordinates[0];e.data={mouseCoordinate:{x:x.x,y:x.y},pageCoordinate:this.pageCoordinates[0]};this.Vb=this.N.na.Ql(e);this.oz()&&(this.Vb instanceof f.Annotations.tb?Object(da.d)(this.N,this.cursor):this.N.ta().Pc(this.Vb)&&Object(da.d)(this.N,"move"));x=this.N.$t();if(this.N.IP()&&"touch"===this.pointerType&&"Pan"!==x.name){var r=this.N.zq("Pan");
r.previousStylusTool=x;this.N.vv(r);r.mouseLeftDown(e)}},mouseLeftUp:function(e){var f=this.xh(e);this.Jb=f;this.pageCoordinates[1]=this.Pe(this.Jb);e.data={mouseCoordinate:{x:f.x,y:f.y},pageCoordinate:this.pageCoordinates[1]}},mouseRightDown:function(){},mouseMove:function(e){var f=this.xh(e),r=this.N.na;this.Jb=f;var w=this.Pe(this.Jb);w&&(Object(da.d)(this.N,this.cursor),this.Vb=r.Ql(e),this.$T(r,w),this.ZT(r,e),this.xba(r,w));if(this.Ud){if((r=this.pageCoordinates[0])&&null!=r.pageNumber)var n=
r.pageNumber;else{r=this.Pe(this.Ud);if(!r)return;n=r.pageNumber}if(!this.N||!this.N.getDocument())return;r=this.N.Ad(n);w=this.N.zd(n);n=this.Pe(this.Jb,n);ba.ALLOW_ANNOTS_OUTSIDE_PAGE||(0>n.x&&(n.x=0),0>n.y&&(n.y=0),n.x>r&&(n.x=r),n.y>w&&(n.y=w));this.pageCoordinates[1]=n}else this.pageCoordinates[1]=this.Pe(this.Jb);e.data={mouseCoordinate:{x:f.x,y:f.y},pageCoordinate:this.pageCoordinates[1]}},oz:function(){return!this.overrideSelection&&this.Vb&&this.Vb.Listable&&this.Vb.isVisible()},$T:function(e,
f){var r=!ba.ENABLE_TEXT_SELECTION||!ba.ENABLE_AUTO_SWITCH,w=this.N.$t();w=!("AnnotationEditTool"===w.Fh||"TextSelectTool"===w.Fh||"RedactCreateTool"===w.Fh);var n=this.vf&&0<Object.keys(this.vf).length;r||this.mouseDown||w||n||0<e.fe().length||this.N.pS(f.pageNumber,f,function(e,f){"RedactCreateTool"===this.Fh?(this.cursor=0<f.length?"text":"crosshair",Object(da.d)(this.N,this.cursor)):0<f.length?this.N.vv(this.N.zq("TextSelect")):0===f.length&&this.N.vv(this.N.zq("AnnotationEdit"))}.bind(this))},
ZT:function(e){ba.ENABLE_ANNOTATION_HOVER_CURSORS&&(this.oz()?e.tk(this.Vb)?this.Vb instanceof f.Annotations.De&&!this.Vb.IsText?Object(da.d)(this.N,"move"):this.Vb instanceof f.Annotations.tb?Object(da.d)(this.N,this.cursor):this.N.ta().Pc(this.Vb)&&Object(da.d)(this.N,"move"):Object(da.d)(this.N,"pointer"):Object(da.d)(this.N,this.cursor))},xba:function(e,f){if(ba.ENABLE_ANNOTATION_HOVER_CURSORS&&!this.overrideSelection)for(var r=e.fe(),w=0;w<r.length;w++){var n=r[w],x=(new n.selectionModel(n,e.Pc(n),
!0,this.N)).Hv(n,this.N.mc(n.PageNumber),f.x,f.y);if(!x)break;n=this.N.Tc(n.PageNumber);Object(da.d)(this.N,x.Qy(n))}},mouseDoubleClick:function(e){e=this.xh(e);this.Ud={x:e.x,y:e.y};this.Jb={x:e.x,y:e.y};e=this.N.na;var f=this.Pe(this.Jb);f&&(this.zp=f.x,this.Ap=f.y,this.oz()&&e.trigger(z.a.ANNOTATION_DOUBLE_CLICKED,this.Vb))},mouseLeave:function(){},tap:function(){},keyDown:function(){},contextMenu:function(){},switchIn:function(){},switchOut:function(){Object(da.d)(this.N,"default");this.N.na.be()},
bg:function(){return this.N},Pe:function(e,f){if("undefined"===typeof f&&(f=this.docViewer.Sl().Wt(e,e),f=null===f.first?f.last:f.first,null===f))return null;e=this.docViewer.Sl().Uk(e,f);f=parseFloat(e.x.toFixed(2));var r=parseFloat(e.y.toFixed(2));return{pageNumber:e.pageNumber,x:f,y:r}},Kc:function(e){var f=this;Object(aa.isFunction)(e)&&(Object(fa.h)("Passing a function to tool.setStyles is deprecated, please pass an object instead. The deprecated argument will be removed in 7.0."),e=e(this.defaults));
Object(aa.isObject)(e)&&(Object.keys(e).forEach(function(r){f.defaults[r]=e[r]}),this.N.trigger(z.c.TOOL_UPDATED,[this]))},NH:function(e){this.name=e;this.N.trigger(z.c.TOOL_UPDATED,[this])},Mp:function(e){this.annotation&&e.touches&&1<e.touches.length&&(this.N.ta().Rc(this.annotation),this.annotation=null)}};Object(ha.b)(ba);ca.a=ba},function(ha,ca,h){function ba(e,f,r){return(r.y-e.y)*(f.x-e.x)>(f.y-e.y)*(r.x-e.x)}function aa(e,x,r){return[e,x,r].some(function(e){return!(e instanceof f.b)})?null:
x.x<=Math.max(e.x,r.x)&&x.x>=Math.min(e.x,r.x)&&x.y<=Math.max(e.y,r.y)&&x.y>=Math.min(e.y,r.y)}function fa(e,x,r){if([e,x,r].some(function(e){return!(e instanceof f.b)}))return null;e=(x.y-e.y)*(r.x-x.x)-(x.x-e.x)*(r.y-x.y);return 0===e?"colinear":0<e?"clockwise":"counterClockwise"}function da(e,x,r,w){if([e,w,r,w].some(function(e){return!(e instanceof f.b)}))return null;var n=fa(e,x,r),ea=fa(e,x,w),ia=fa(r,w,e),y=fa(r,w,x);return n!==ea&&ia!==y||"colinear"===n&&aa(e,r,x)||"colinear"===ea&&aa(e,w,
x)||"colinear"===ia&&aa(r,e,w)||"colinear"===y&&aa(r,x,w)?!0:!1}var z=h(1),y=h(15),f=h(2);ca.a={aQ:function(e,f,r,w){return null===e||null===f||null===r||null===w?null:{ha:e,ea:f,ia:e+r,fa:f+w}},$ea:function(e,f){if(!f||!e)return!1;"undefined"!==typeof f.ha&&"undefined"!==typeof f.ea&&"undefined"!==typeof f.ia&&"undefined"!==typeof f.fa||Object(z.h)("rect points are undefined");var r=e.x>=f.ha&&e.x<=f.ia;e=e.y>=f.ea&&e.y<=f.fa;return r&&e},f8:function(e,f){return e&&f?e.ha<=f.ia&&e.ia>=f.ha&&e.ea<=
f.fa&&e.fa>=f.ea?!0:!1:!1},Zea:function(e,f,r,w,n){e=new y.b(e,f);r=new y.b(r,w);w=n.ka(e);n=n.ka(r);return{x:Math.min(w.x,n.x),y:Math.min(w.y,n.y),w:Math.abs(w.x-n.x),h:Math.abs(w.y-n.y)}},Math:{LZ:function(e){return function(e){return function(){var f=e+=1831565813;f=Math.imul(f^f>>>15,f|1);f^=f+Math.imul(f^f>>>7,f|61);return((f^f>>>14)>>>0)/4294967296}}(function(e){var f;var w=0;for(f=1779033703^e.length;w<e.length;w++)f=Math.imul(f^e.charCodeAt(w),3432918353),f=f<<13|f>>>19;return function(){f=
Math.imul(f^f>>>16,2246822507);f=Math.imul(f^f>>>13,3266489909);f^=f>>>16;return f>>>=0}}(e)())},t5:function(e,f,r,w){return ba(e,r,w)!==ba(f,r,w)&&ba(e,f,r)!==ba(e,f,w)},bk:function(e,f){var r=Math.atan(Math.abs(e.y-f.y)/Math.abs(e.x-f.x));f.x<e.x&&f.y>e.y?r=Math.PI-r:f.x<=e.x&&f.y<e.y?(r=Math.PI-r,r*=-1):f.x>=e.x&&f.y<e.y&&(r*=-1);0===r&&e.x>f.x&&(r=Math.PI);return r},HA:function(e,x,r){r=r||{x:0,y:0};var w=e.x-r.x;e=e.y-r.y;return new f.b(Math.cos(x)*w-Math.sin(x)*e+r.x,Math.sin(x)*w+Math.cos(x)*
e+r.y)},clamp:function(e,f,r){r=void 0!==r?r:Infinity;f=void 0!==f?f:-Infinity;return Math.max(Math.min(e,r),f)},E1:function(e,f){return Math.atan2(f,e)},W2:function(e){if(!(3>e.length)){for(var f=e[0],r=0,w=1;w<e.length;w++){var n=e[w];r+=(n.x-f.x)*(n.y+f.y);f=n}return 0<=r?1:-1}},pZ:function(e){for(var f=[],r=0;r<e.length;r++)f.push({x:e[r].x,y:e[r].y});return f},bR:function(e){if(1>e.length)return!1;var f=Math.abs(e[e.length-1].y-e[0].y);return 1.2358E-4<Math.abs(e[e.length-1].x-e[0].x)||1.2358E-4<
f?!0:!1},pm:function(e){var f=Math.cos(e);e=Math.sin(e);return{m_a:f,m_b:-e,m_c:e,m_d:f,m_h:0,m_v:0}},translate:function(e,f,r){e.m_h+=f;e.m_v+=r;return e},ka:function(e,f,r){return{x:f*e.m_a+r*e.m_c+e.m_h,y:f*e.m_b+r*e.m_d+e.m_v}},qY:function(e,f,r,w,n,ea,ia,y,z,h,aa){0>n&&(n=-n);0>ea&&(ea=-ea);var x=(e-h)/2,ka=(f-aa)/2,oa=Math.cos(ia),ma=Math.sin(ia),da=oa*x+ma*ka;x=-ma*x+oa*ka;ka=n*n;var la=ea*ea,fa=da*da,ba=x*x,ta=fa/ka+ba/la;1<ta&&(n*=Math.sqrt(ta),ea*=Math.sqrt(ta),ka=n*n,la=ea*ea);if(ta=ka*
ba+la*fa){ka=(ka*la-ka*ba-la*fa)/ta;y=(y===z?-1:1)*Math.sqrt(0>ka?0:ka);la=n*x/ea*y;fa=y*-(ea*da/n);y=(e+h)/2+(oa*la-ma*fa);oa=(f+aa)/2+(ma*la+oa*fa);ma=(da-la)/n;ka=(x-fa)/ea;la=(-da-la)/n;x=(-x-fa)/ea;fa=Math.sqrt(ma*ma+ka*ka);da=(0>ka?-1:1)*Math.acos(ma/fa);fa=Math.sqrt((ma*ma+ka*ka)*(la*la+x*x));ka=(0>ma*x-ka*la?-1:1)*Math.acos(Math.max(Math.min((ma*la+ka*x)/fa,1),-1));!z&&0<ka?ka-=2*Math.PI:z&&0>ka&&(ka+=2*Math.PI);x=[];ma=!1;if(1E-9>Math.abs(ka))z=4,ma=!0,x[0]=n*Math.cos(da),x[1]=ea*Math.sin(da),
x[2]=n*Math.cos(da+ka),x[3]=ea*Math.sin(da+ka);else{la=0;z=2;ba=!1;do{0>ka?(ta=la,fa=.5*-Math.PI,la-=.5*Math.PI,la<=ka+.01&&(fa=ka-ta,ba=!0)):(ta=la,fa=.5*Math.PI,la+=.5*Math.PI,la>=ka-.01&&(fa=ka-ta,ba=!0));var ya=Math.cos(fa/2),pa=Math.sin(fa/2),ca=4*(1-ya)/3,ha=pa-ca*ya/pa;ta=[];var Aa=[];ta[0]=ya;Aa[0]=-pa;ta[1]=ya+ca;Aa[1]=-ha;ta[2]=ya+ca;Aa[2]=ha;ta[3]=ya;Aa[3]=pa;ya=Math.sin(da+fa/2);pa=Math.cos(da+fa/2);for(ca=0;4>ca;ca++)x[z-2+2*ca]=n*(ta[ca]*pa-Aa[ca]*ya),x[z-1+2*ca]=ea*(ta[ca]*ya+Aa[ca]*
pa);z+=6;da+=fa}while(!ba&&26>z)}n=this.pm(-ia);this.translate(n,y,oa);for(ea=2;ea<z-2;ea+=2)ia=void 0===x[ea]?this.ka(n,0,0):this.ka(n,x[ea],x[ea+1]),x[ea]=ia.x,x[ea+1]=ia.y;x[0]=e;x[1]=f;2<z&&(x[z-2]=h,x[z-1]=aa);if(ma)w.push("l"),w.push("l"),r.push(x[0]),r.push(x[1]),r.push(x[2]),r.push(x[3]);else for(w.push("l"),r.push(x[0]),r.push(x[1]),e=2;e<z;e+=6)w.push("c"),r.push(x[e]),r.push(x[e+1]),r.push(x[e+2]),r.push(x[e+3]),r.push(x[e+4]),r.push(x[e+5])}},TZ:function(e,f){return e.x*f.y-e.y*f.x},Lea:function(e){return 1E4*
(e+2*Math.PI)%2*Math.PI*1E4/1E4},Qt:function(e,f){var r=180*Math.atan2(f.y-e.y,f.x-e.x)/Math.PI;f=Math.sqrt(Math.pow(f.x-e.x,2)+Math.pow(f.y-e.y,2));return f=-157.5>r?{x:e.x-f,y:e.y}:-112.5>r?{x:e.x-f*Math.sin(Math.PI/4),y:e.y-f*Math.sin(Math.PI/4)}:-67.5>r?{x:e.x,y:e.y-f}:-22.5>r?{x:e.x+f*Math.sin(Math.PI/4),y:e.y-f*Math.sin(Math.PI/4)}:22.5>r?{x:e.x+f,y:e.y}:67.5>r?{x:e.x+f*Math.sin(Math.PI/4),y:e.y+f*Math.sin(Math.PI/4)}:112.5>r?{x:e.x,y:e.y+f}:157.5>r?{x:e.x-f*Math.sin(Math.PI/4),y:e.y+f*Math.sin(Math.PI/
4)}:{x:e.x-f,y:e.y}},Wu:function(e,f,r,w,n){var x=[],ia=[];var y=-1/((w-f)/(r-e));ia[0]=(e+r)/2;ia[1]=(f+w)/2;e=-y*ia[0]+ia[1];x[0]=ia[0]+n;x[1]=y*(ia[0]+n)+e;return x},eQ:function(e,x){return[e,x].some(function(e){return!(e instanceof f.b)})?null:new f.b((e.x+x.x)/2,(e.y+x.y)/2)},th:function(e,x){if([e,x].some(function(e){return!(e instanceof f.b)}))return null;var r=e.x-x.x;e=e.y-x.y;return Math.sqrt(r*r+e*e)},o6:aa,H2:fa,w4:da,s5:function(e,x,r){var w=r.x1,n=r.y1,ea=r.x2;r=r.y2;return[[new f.b(w,
n),new f.b(ea,n)],[new f.b(w,n),new f.b(w,r)],[new f.b(w,r),new f.b(ea,r)],[new f.b(ea,n),new f.b(ea,r)]].some(function(f){return da.apply(null,[e,x].concat(Cd(f)))})}}}},function(ha,ca,h){h.r(ca);var ba=h(24);h.d(ca,"WidgetAnnotation",function(){return ba.a});var aa=h(12);h.d(ca,"WidgetFlags",function(){return aa.a});var fa=h(229);h.d(ca,"ChoiceWidgetAnnotation",function(){return fa.a});var da=h(230);h.d(ca,"ListWidgetAnnotation",function(){return da.a});var z=h(231);h.d(ca,"SignatureWidgetAnnotation",
function(){return z.a});var y=h(168);h.d(ca,"TextWidgetAnnotation",function(){return y.a});var f=h(45);h.d(ca,"ButtonWidgetAnnotation",function(){return f.a});var e=h(232);h.d(ca,"PushButtonWidgetAnnotation",function(){return e.a});var x=h(233);h.d(ca,"CheckButtonWidgetAnnotation",function(){return x.a});var r=h(169);h.d(ca,"RadioButtonWidgetAnnotation",function(){return r.a});var w=h(234);h.d(ca,"DatePickerWidgetAnnotation",function(){return w.a})},function(ha,ca,h){var ba=h(79);ha=function(){function h(h,
aa,z,y,f,e){void 0===h&&(h=0);void 0===aa&&(aa=0);void 0===z&&(z=0);void 0===y&&(y=0);void 0===f&&(f=0);void 0===e&&(e=0);this.m_a=h;this.m_b=aa;this.m_c=z;this.m_d=y;this.m_h=f;this.m_v=e;"undefined"!==typeof h&&(this.m_a=h,"undefined"!==typeof aa&&(this.m_b=aa,"undefined"!==typeof z&&(this.m_c=z,"undefined"!==typeof y&&(this.m_d=y,"undefined"!==typeof f&&(this.m_h=f,"undefined"!==typeof e&&(this.m_v=e))))))}h.pm=function(aa){var da=Math.cos(aa);aa=Math.sin(aa);1E-7>Math.abs(aa)&&(aa=0);1E-7>Math.abs(da)&&
(da=0);var z=new h;z.cb(da,-aa,aa,da,0,0);return z};h.prototype.Dh=function(h){this.m_a=h.m_a;this.m_b=h.m_b;this.m_c=h.m_c;this.m_d=h.m_d;this.m_h=h.m_h;this.m_v=h.m_v};h.prototype.cb=function(h,aa,z,y,f,e){this.m_a=h;this.m_b=aa;this.m_c=z;this.m_d=y;this.m_h=f;this.m_v=e};h.prototype.set=function(h,aa,z,y,f,e){this.m_a=h;this.m_b=aa;this.m_c=z;this.m_d=y;this.m_h=f;this.m_v=e};h.prototype.inverse=function(){var aa=new h,da=this.m_a*this.m_d-this.m_b*this.m_c;if(!da)return aa;aa.m_a=this.m_d/da;
aa.m_c=-this.m_c/da;aa.m_h=(this.m_c*this.m_v-this.m_h*this.m_d)/da;aa.m_b=-this.m_b/da;aa.m_d=this.m_a/da;aa.m_v=-(this.m_a*this.m_v-this.m_h*this.m_b)/da;return aa};h.prototype.ka=function(h){var aa=h.x;h.x=h.x*this.m_a+h.y*this.m_c+this.m_h;h.y=aa*this.m_b+h.y*this.m_d+this.m_v;return h};h.prototype.concat=function(h){var aa=this.m_a,z=this.m_b,y=this.m_c,f=this.m_d;this.m_a=h.m_a*aa+h.m_b*y;this.m_b=h.m_a*z+h.m_b*f;this.m_c=h.m_c*aa+h.m_d*y;this.m_d=h.m_c*z+h.m_d*f;this.m_h=h.m_h*aa+h.m_v*y+this.m_h;
this.m_v=h.m_h*z+h.m_v*f+this.m_v;return this};h.prototype.fq=function(h){return this.m_a==h.m_a&&this.m_b==h.m_b&&this.m_c==h.m_c&&this.m_d==h.m_d&&this.m_h==h.m_h&&this.m_v==h.m_v};h.prototype.RT=function(h){var aa=new ba.a(h[0],h[1]),z=new ba.a(h[2],h[3]),y=new ba.a(h[4],h[5]),f=new ba.a(h[6],h[7]);aa=this.ka(aa);z=this.ka(z);y=this.ka(y);f=this.ka(f);h[0]=aa.x;h[1]=aa.y;h[2]=z.x;h[3]=z.y;h[4]=y.x;h[5]=y.y;h[6]=f.x;h[7]=f.y};h.prototype.QT=function(h){var aa=Array(8);aa[0]=h.ha;aa[1]=h.ea;aa[2]=
h.ia;aa[3]=h.ea;aa[4]=h.ia;aa[5]=h.fa;aa[6]=h.ha;aa[7]=h.fa;this.RT(aa);h.Ro(aa)};return h}();ca.a=ha},function(ha,ca,h){function ba(f,e){y.Annotations.HTMLAnnotation.call(this,e);if(!f)throw Error("Please set the field properly in the widget constructor");this.Oc=null;this.Ua=f;this.lp=null;f.$X(this,e?e.index:void 0);this.IsAdded=!1;this.eca=new Date;this.DateModified=null;this.WK="Left-justified";this.WB=!1;this.KJ="";this.cC={};this.QJ={Normal:"",Rollover:"",Down:""};this.Iw=!1;this.Wc=new da.a({mask:["Invisible",
"Hidden","NoPrint","NoZoom","NoRotate","NoView",da.a.READ_ONLY,"Locked","ToggleNoView","LockedContents"]});this["_xsi:type"]="Widget";this.Subject=this["_xsi:type"];this.set(e);var x=this;this.on(ba.Events.COMMIT,Object(aa.bind)(this.commit,this));this.on(ba.Events.CHANGE,function(e){for(var f=[],n=0;n<arguments.length;++n)f[n-0]=arguments[n];x.yS();1===f.length?x.Yh(f[0]):x.Yh(f);this.innerElement===document.activeElement&&!1===this.Vx||x.trigger(ba.Events.COMMIT)});this.on(ba.Events.BLUR,function(){x.fieldFlags.get(da.a.READ_ONLY)||
x.Tb(x.Ua.value);x.refresh()});this.on(ba.Events.FOCUS,function(){x.WO()})}var aa=h(0);h.n(aa);var fa=h(1),da=h(12),z=h(30),y=window;ba.prototype={elementName:"widget",Gm:null,nh:function(f){if(!y.Annotations.Annotation.prototype.nh.call(this,f)||!this.Gm)return!1;f=y.Annotations.ma.getAttribute(f,"FT");return this.Gm===f},gk:function(){for(var f="",e=Object.keys(this.appearances),x=0;x<e.length;++x){var r=e[x];if("Off"!==r){f=r;break}}return f},Eh:function(f){this.Yh(f)},yS:function(){this.Iw=!0},
set:function(f){if(Object(aa.isObject)(f)){this.isImporting=f.isImporting;Object(aa.isUndefined)(f.value)||(this.value=String(f.value));Object(aa.isUndefined)(f.flags)||(this.Wc.set(f.flags),this.Wc.get("Hidden")&&this.nf(!1),this.Wc.get("NoView")&&this.nf(!1));if(!Object(aa.isUndefined)(f.captions)){var e=f.captions,x=this.QJ;Object.keys(e).forEach(function(f){x[f]=e[f]})}Object(aa.isUndefined)(f.page)||(this.PageNumber=f.page);Object(aa.isUndefined)(f.quadding)||(this.quadding=f.quadding);Object(aa.isUndefined)(f.appearances)||
(this.cC=f.appearances);Object(aa.isUndefined)(f.appearance)||(this.appearance=f.appearance);Object(aa.isUndefined)(f.rotation)||(this.rotation=f.rotation);Object(aa.isUndefined)(f.font)||(this.font=f.font);Object(aa.isUndefined)(f.dateModified)||(this.DateModified=f.dateModified,this.yo=f.originalDateModifiedText,this.Nu=f.originalDateModifiedTime);this.isImporting=!1}},Td:function(f){var e=y.Annotations.HTMLAnnotation.prototype.Td.apply(this,arguments);e=Object.assign(e,this.font.pI(f));this.fieldFlags.get(da.a.REQUIRED)?
e.border=1.5*f+"px solid red":e["border-width"]||(e["border-width"]=0);return Object.assign(e,this.GE())},md:function(){var f=y.Annotations.HTMLAnnotation.prototype.md.apply(this,arguments);return Object.assign(f,{"text-align":{"Left-justified":"left",Centered:"center","Right-justified":"right"}[this.quadding]})},GE:function(){var f=ba.getContainerCustomStyles;return f&&f(this)},dk:function(){var f=ba.getCustomStyles;return f&&f(this)},IL:function(){function f(e){e.scale&&1!==e.scale&&e.preventDefault();
e.stopPropagation()}var e=this.rg;e.addEventListener("touchstart",f,{passive:!1});e.addEventListener("touchmove",f,{passive:!1});e.addEventListener("touchend",f,{passive:!1});e.addEventListener("mousedown",f,{passive:!1});e.addEventListener("mousemove",f,{passive:!1});e.addEventListener("mouseup",f,{passive:!1})},am:function(){return!0},ub:function(){return this.Oc},Tb:function(f){f=y.Annotations.da.kc.wb.qa.create("Format",this.Ua,{value:f});this.Ua.Of("F",f);this.Yh(f.value)},nf:function(f){this.Wc.set("Hidden",
!f);y.Annotations.HTMLAnnotation.prototype.nf.call(this,f)},render:function(f,e,x,r){var w=!1;r||(y.Annotations.za.Zk=x,this.innerElement&&this.element&&!z.i||(w=!0));y.Annotations.HTMLAnnotation.prototype.render.apply(this,arguments);w&&!r&&(this.element.setAttribute("id",this.Ua.name),this.refresh())},Yh:function(f){this.Oc=f;this.refresh()},refresh:function(){var f=this.fieldFlags.get(da.a.MULTILINE),e=this.Oc&&!Array.isArray(this.Oc)?String(this.Oc):"";Array.isArray(this.Oc)&&(e=this.Oc);"C"!==
this.Ps&&this.font.o1(e,this,f);if(f=this.element)if(f.setAttribute("id",this.Ua.name),e=this.Td(y.Annotations.za.Zk),this.Jj(f,e),f=this.innerElement)e=this.Ua.userName||this.Ua.tooltipName,this.Ua&&e&&f.setAttribute("title",e),e=this.md(y.Annotations.za.Zk),this.Jj(f,e)},Li:function(){return null},deserialize:function(f,e,x){y.Annotations.HTMLAnnotation.prototype.deserialize.call(this,f,e);var r=y.Annotations.ma;this.Ua.YS(r.getAttribute(f,"FT"));r.getAttribute(f,"creationdate")?this.DateCreated=
r.iy(r.getAttribute(f,"creationdate")):this.DateCreated=null;this.border.deserialize(f);this.fieldFlags.deserialize(f);this.font.deserialize(f,e);var w=r.Ln(f,"V","value");this.Eh(w);this.Ua.Eh(w);this.defaultValue=r.Ln(f,"DV","defaultvalue");w=r.Ln(f,"defaultappearance","defaultappearance");w=r.mA(w);r.getAttribute(f,"color")?this.StrokeColor=r.getAttribute(f,"color").split(","):w.color&&(this.StrokeColor=w.color);r.getAttribute(f,"BG")&&(this.backgroundColor=r.getAttribute(f,"BG").split(","));this.rotation=
r=(r=r.getAttribute(f,"rotation"))?parseInt(r,10):0;if(90===r||270===r)r=this.Width,this.Width=this.Height,this.Height=r;this.tL(f,e,x)},serialize:function(){},Qb:function(){return this.Ua},CS:function(f){this.Ua=f;this.Tb(this.Ua.value)},Wh:function(f){y.Annotations.HTMLAnnotation.prototype.Wh.call(this,f);this.Ua&&this.Ua.Wh(f)},MX:function(f,e,x){this.Ua.xi(f,e,x)},xi:function(f,e,x){-1!==["K","V","F","C"].indexOf(f)?this.MX(f,e,x):y.Annotations.HTMLAnnotation.prototype.xi.call(this,f,e,x)},commit:function(){this.Ua.trigger(Annotations.da.qa.Events.COMMIT,
this.ub(),this)},Yt:function(){var f=y.Annotations.da.kc.wb,e=this;return Object.assign(y.Annotations.HTMLAnnotation.prototype.Yt.call(this),{E:{triggers:"mouseenter",internal_name:"mouseenter",getEvent:function(){return f.qa.create("Mouse Enter",e.Qb())}},X:{triggers:"mouseleave",internal_name:"mouseleave",getEvent:function(){return f.qa.create("Mouse Leave",e.Qb())}},D:{triggers:"mousedown",internal_name:"mousedown",getEvent:function(){return f.qa.create("Mouse Down",e.Qb())}},U:{triggers:z.j?"touchend":
"mouseup",internal_name:"mouseup",getEvent:function(){return f.qa.create("Mouse Up",e.Qb())}},Bl:{triggers:"focusout",internal_name:"blur",getEvent:function(){var x=e.Qb();return f.qa.create("Blur",x,{value:x.value})}},Fo:{triggers:"focusin",internal_name:"focus",getEvent:function(){return f.qa.create("Focus",e.Qb())}}})},S3:function(){return!!this.lp},Kj:function(){var f=this;y.Annotations.HTMLAnnotation.prototype.Kj.apply(this,arguments);var e=this.innerElement;e&&(e.addEventListener("focusout",
function(){f.Iw&&(f.Iw=!1,f.trigger(ba.Events.COMMIT));f.trigger(ba.Events.BLUR)}),e.addEventListener("focusin",function(){f.trigger(ba.Events.FOCUS)}),e.addEventListener("mouseenter",function(){f.trigger(ba.Events.MOUSE_ENTER)}),e.addEventListener("mouseleave",function(){f.trigger(ba.Events.MOUSE_LEAVE)}),e.addEventListener("mousedown",function(){f.trigger(ba.Events.MOUSE_DOWN)}),e.addEventListener(this.dU?"click":z.j?"touchend":"mouseup",function(){f.trigger(ba.Events.MOUSE_UP)}))},WO:function(){this.fieldFlags.get(da.a.READ_ONLY)||
this.Yh(this.Ua.value);this.refresh()}};ba.prototype=Object.assign(Object.create(y.Annotations.HTMLAnnotation.prototype),ba.prototype);Object.defineProperties(ba.prototype,{fieldName:{get:function(){return this.Ua.name}},value:{get:function(){return this.ub()},set:function(f){this.Tb(f)}},defaultValue:{get:function(){return this.Ua.defaultValue},set:function(f){this.Ua.defaultValue=f}},fieldFlags:{get:function(){return this.Ua.flags}},flags:{get:function(){return this.Wc}},font:{get:function(){return this.lp||
this.Ua.font},set:function(f){this.lp=new y.Annotations.uj(f)}},fieldActions:{get:function(){return this.Ua.actions}},appearance:{get:function(){return this.KJ},set:function(f){this.cC[f]?this.KJ=f:Object(fa.f)("Unknown appearance: "+f)}},quadding:{get:function(){return this.WK},set:function(f){this.WK=f}},appearances:{get:function(){return this.cC}},captions:{get:function(){return this.QJ}}});ba.Events={COMMIT:"commit",CHANGE:"change",BLUR:"blur",FOCUS:"focus",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",
MOUSE_DOWN:"mousedown",MOUSE_UP:"mouseup"};ca.a=ba},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(58),da=h(30),z=h(4),y=h(13),f=h(123),e=h(35),x=h(26),r=null;r=new (function(){function w(){this.useCache=!0;this.mn={}}w.prototype.dL=function(e,f,r,w){f=Math.floor(f);r=Math.floor(r);w=w||Object(da.e)();var n=parseInt(e.style.width,10),x=parseInt(e.style.height,10);x=""===e.style.height||1<Math.abs(x-r);var ea=.01<Math.abs(e.width/n-w);if(""===e.style.width||1<Math.abs(n-f)||x||ea)n=Math.floor(r*
w),e.setAttribute("width",Math.floor(f*w).toString()),e.setAttribute("height",n.toString()),e.style.width=f+"px",e.style.height=r+"px"};w.prototype.Fw=function(e,f,r,w){if("undefined"===typeof w||null===w)w=document.createElement("canvas");this.dL(w,e,f,r);return"undefined"===typeof w.getContext("2d")?null:w};w.prototype.DW=function(e,f,r){var n=.2,w=1,x=null,ea=e;if(1>=e*r||1>=f*r)x=this.Fw(1,1);if(4E6>e*f)return this.Fw(e,f);r=e/f;64E6<e*f&&(f=Math.sqrt(64E6/r),w=r*f/e,e=r*f);r=null;for("undefined"===
typeof n&&(n=.25);null===x;){r=this.Fw(Math.ceil(e*w),Math.ceil(f*w),Object(da.e)(),r);var ia=r.getContext("2d");ia.fillStyle="white";ia.fillRect(r.width-1,r.height-1,1,1);ia=!(1>Object(da.e)())&&(r.width<parseFloat(r.style.width)||r.height<parseFloat(r.style.height));if(null!==r&&0<this.OW(r)&&!ia)x=r;else if(w-=n,0>=w)return Object(aa.e)("No canvas could be created"),null}1>w&&(e="scale("+ea/parseFloat(x.style.width)+")",Object(y.b)(x,{transform:e,"transform-origin":"top left","ms-transform":e,
"ms-transform-origin":"top left","-moz-transform":e,"-moz-transform-origin":"top left","-webkit-transform-origin":"top left","-webkit-transform":e,"-o-transform":e,"-o-transform-origin":"top left"}));x.style.position="absolute";x.getContext("2d").clearRect(x.width-1,x.height-1,1,1);return x};w.prototype.OW=function(e){return e.getContext("2d").getImageData(e.width-1,e.height-1,1,1).data[3]};w.prototype.R9=function(e){this.useCache=1<e};w.prototype.pM=function(e){this.mn[e]&&(this.mn[e].width=0,this.mn[e].height=
0);delete this.mn[e]};w.prototype.rD=function(e){if(!e)throw Error("Canvas not defined");var f=e.getContext("2d");f.save();f.setTransform(1,0,0,1,0,0);f.clearRect(0,0,e.width,e.height);f.restore()};w.prototype.setUpCanvas=function(f,r,w,x,y,h,aa,ja){aa=!1;if(w===z.c.E_90||w===z.c.E_270)aa=!0;y=!Object(ba.isUndefined)(h);x=f;y?(y=(aa?h.y2-h.y1:h.x2-h.x1)*r,f=(aa?h.x2-h.x1:h.y2-h.y1)*r,x={ha:h.x1,ia:h.x2,ea:h.y1,fa:h.y2}):(y=aa?f.height*r:f.width*r,f=aa?f.width*r:f.height*r);h=this.Fw(y,f,ja);f=parseFloat(h.style.width);
ja=ja||Object(da.e)();r=Object(fa.a)(f/y*r,w,x,{x:0,y:0},!0,ja);w=h.getContext("2d");Object(e.a)("flattenedResources")||(h.style.backgroundColor="white");w.transform(r.m_a,r.m_b,r.m_c,r.m_d,r.m_h,r.m_v);return{canvas:h,ctx:w,t:r}};w.prototype.Fx=function(e,f){var n=document.getElementById("pageContainer"+f);if(!n)return null;var r=n.querySelector(".canvas"+f);r&&r.parentNode.removeChild(r);Object(y.b)(e,{"z-index":20,position:"absolute"});e.classList.add("hacc");e.classList.add("canvas"+f);n.appendChild(e);
return n};w.prototype.pK=function(e){return{width:e.ia-e.ha,height:e.fa-e.ea}};w.prototype.bL=function(e,f){var n=!1;if(f===z.c.E_90||f===z.c.E_270)n=!0;return{width:n?e.height:e.width,height:n?e.width:e.height}};w.prototype.YA=function(e,f,r,w,z,h,aa){if(h){var n=e.getContext("2d");n.restore();n.save();var ea=Object(da.e)(),ia=this.bL(this.pK(h),w),ka=Math.round(ia.width*r);ia=Math.round(ia.height*r);var oa=Math.round(parseFloat(e.style.width)),ma=Math.round(parseFloat(e.style.height));Object(y.b)(e,
{left:z.x,top:z.y});if(1<Math.abs(oa-ka)||1<Math.abs(ma-ia))e.width=ka*ea,e.height=ia*ea,Object(y.b)(e,{width:ka,height:ia});if(h&&aa){z=f.width;ka=f.height;if(1===aa||3===aa)z=f.height,ka=f.width;f=Object(fa.a)(1,aa,{width:z,height:ka},null,!1).inverse();h=Object(x.k)(f.ka({x:h.ha,y:h.ea}),f.ka({x:h.ia,y:h.fa}))}r=Object(fa.a)(r,(w+(aa||0))%4,h,null,!0,ea);n.setTransform(r.m_a,r.m_b,r.m_c,r.m_d,r.m_h,r.m_v)}else Object(y.b)(e,{left:"",top:"",transform:""});return e};w.prototype.Ft=function(e,f,r,
w,x,y,z){return(e=document.querySelector("#pageContainer"+e+" .auxiliary"))?this.YA(e,f,r,w,x,y,z):null};w.prototype.Yx=function(e,r,w,x,y,z){if(y){var n=this.pK(y);y=n.width;n=n.height}else y=r.width,n=r.height;n=this.bL({width:y,height:n},x);y=n.width*w;n=n.height*w;var ea=e-1;!z&&this.mn[ea]?(e=this.mn[ea],this.dL(e,y,n),e.getContext("2d").setTransform(1,0,0,1,0,0)):e=this.DW(y,n,w);z||(this.mn[ea]=e);e.classList.add("auxiliary");e.style["z-index"]=30;e.style.position="absolute";z=e.getContext("2d");
if(!z)throw f.b;z.clearRect(0,0,e.width,e.height);r=Object(fa.a)(parseFloat(e.style.width)/y*w,x,r);z.transform(r.m_a,r.m_b,r.m_c,r.m_d,r.m_h,r.m_v);return e};w.prototype.YC=function(e,f,r,w,x){var n=document.getElementById("pageContainer"+e);n&&!n.querySelector(".auxiliary")&&(e=this.Yx(e,f,r,w,x,!0),n.insertBefore(e,n.firstChild))};w.prototype.$G=function(e,f){var n=document.querySelector("#pageContainer"+e+" .auxiliary");if(n){r.rD(n);e=f.width;var w=f.height;n.width=e;n.height=w;n.style.width=
f.style.width;n.style.height=f.style.height;n.style.top=f.style.top;n.style.left=f.style.left;n=n.getContext("2d");n.setTransform(1,0,0,1,0,0);0<e&&0<w&&n.drawImage(f,0,0)}};w.prototype.M3=function(e){return document.getElementById("pageContainer"+e)};w.prototype.Cq=function(e){return document.getElementById("pageWidgetContainer"+e)};w.prototype.Kn=function(e){setTimeout(function(){document.body.contains(e)||(e.width=0,e.height=0)},5E3)};return w}());ca.a=function(){return r}},function(ha,ca,h){function ba(e,
f,n,r){return Object(la.b)(this,void 0,void 0,function(){var w,x,ea,ia,y,z,h,ja,ka,aa,oa,ma,da,na;return Object(la.d)(this,function(ua){switch(ua.label){case 0:return[4,e.Nn(n)];case 1:w=ua.la();x=w.RL;(ia=e.pi)&&ia.pageNumber?ea=ia.pageNumber:(y=ia.objnum+"-"+ia.gennum,z=x.wq(),h=z.indexOf(y),ea=-1<h?h+1:1);ja=e.Fc();ka=e.Gc();aa=e.Fa();oa=e.Ca();ma=x.Ad(ea);da=x.zd(ea);na=Math.max(aa/ma,oa/da)*r.zoom;if(e.rw&&e.nW===na)return f.drawImage(e.rw,ja,ka,aa,oa),[2,Promise.resolve()];e.nW=na;return[2,
new Promise(function(n){x.vI({pageTransparent:ia.transparentBackground});return x.yu({pageNumber:ea,drawComplete:function(r){f.drawImage(r,ja,ka,aa,oa);e.Q9(r);return n()},getZoom:function(){return na}})})]}})})}function aa(e){var f=Object.prototype.toString.call(e);return"object"===typeof e&&null!==e&&("[object File]"===f||"[object Blob]"===f)}function fa(e,f){e.sort(function(e,n){e=f.indexOf(e);n=f.indexOf(n);return e<n?-1:e>n?1:0})}function da(e){return window.Annotations.za.NI.E4(e)}function z(e){for(var f=
"",n=0,r,w,x;n<e.length;)r=e.charCodeAt(n),128>r?(f+=String.fromCharCode(r),n++):191<r&&224>r?(w=e.charCodeAt(n+1),f+=String.fromCharCode((r&31)<<6|w&63),n+=2):(w=e.charCodeAt(n+1),x=e.charCodeAt(n+2),f+=String.fromCharCode((r&15)<<12|(w&63)<<6|x&63),n+=3);return f}function y(){for(var e=[],f=0;f<arguments.length;f++)e[f]=arguments[f];var n=[];n[e.length-1]=null;var r=0;if(0<e.length){var w=e[r].endsWith("/")?e[r].length-1:e[r].length;n[r]=e[r].substring(0,w)}for(r=1;r<e.length-1;++r)f=e[r].startsWith("/")?
1:0,w=e[r].endsWith("/")?e[r].length-1:e[r].length,n[r]=e[r].substring(f,w);1<e.length&&(f=e[r].startsWith("/")?1:0,n[r]=e[r].substring(f,e[r].length));return n.join("/")}function f(e,f,n){var r=0,w=0;switch(Number(e)){case 90:w=f;break;case 180:r=f;w=n;break;case 270:r=n}return{uy:r,vy:w}}function e(e,f){var n=e.x,r=f.x,w=e.y,x=f.y;e.x>f.x&&(r=e.x,n=f.x);e.y>f.y&&(x=e.y,w=f.y);return{ha:n,ea:w,ia:r,fa:x}}function x(e,f){e=n(e);f=n(f);var r={ha:0,ea:0,ia:0,fa:0};!0===w(e,f)&&(r.ha=Math.max(e.x1,f.x1),
r.ea=Math.max(e.y1,f.y1),r.ia=Math.min(e.x2,f.x2),r.fa=Math.min(e.y2,f.y2));return r}function r(e,f){e=n(e);f=n(f);return e.x1<=f.x1&&e.x2>=f.x2&&e.y1<=f.y1&&e.y2>=f.y2}function w(e,f){e=n(e);f=n(f);return e.ha<=f.ia&&e.ia>=f.ha&&e.ea<=f.fa&&e.fa>=f.ea}function n(e){var f,n,r,w,x,ea,ia,y,z;return Object(la.a)(Object(la.a)({},e),(f={ha:null!==(n=e.x1)&&void 0!==n?n:e.ha,ia:null!==(r=e.x2)&&void 0!==r?r:e.ia,ea:null!==(w=e.y1)&&void 0!==w?w:e.ea,fa:null!==(x=e.y2)&&void 0!==x?x:e.fa},f.x1=null!==(ea=
e.x1)&&void 0!==ea?ea:e.ha,f.x2=null!==(ia=e.x2)&&void 0!==ia?ia:e.ia,f.y1=null!==(y=e.y1)&&void 0!==y?y:e.ea,f.y2=null!==(z=e.y2)&&void 0!==z?z:e.fa,f))}function ea(){try{return new ImageData(1,1),!0}catch(ja){return!1}}function ia(){var e=document.createElement("canvas");e.width=1;e.height=1;e=e.getContext("2d");e.fillStyle="#000";e.fillRect(0,0,1,1);e.globalCompositeOperation="multiply";e.fillStyle="#fff";e.fillRect(0,0,1,1);return 0===e.getImageData(0,0,1,1).data[0]}function ka(e){for(var f="",
n=0;n<e;n++)f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return f}function oa(){return!(!window.URL||!window.URL.createObjectURL)}function ma(){if(window.Uint8Array)try{return new window.Uint8Array(new ArrayBuffer(1)),!0}catch(ja){return!1}else return!1}h.d(ca,"p",function(){return ma});h.d(ca,"e",function(){return oa});h.d(ca,"j",function(){return ka});h.d(ca,"n",function(){return ia});h.d(ca,"o",function(){return ea});h.d(ca,"l",function(){return n});
h.d(ca,"h",function(){return w});h.d(ca,"a",function(){return r});h.d(ca,"c",function(){return x});h.d(ca,"k",function(){return e});h.d(ca,"d",function(){return f});h.d(ca,"i",function(){return y});h.d(ca,"q",function(){return z});h.d(ca,"f",function(){return da});h.d(ca,"m",function(){return fa});h.d(ca,"g",function(){return aa});h.d(ca,"b",function(){return ba});var la=h(3)},function(ha,ca,h){var ba=h(8);ha=function(){function h(h,aa,z,y){this.x=h;this.y=aa;this.width=z;this.height=y;this.x=h;this.y=
aa;this.width=z;this.height=y}h.prototype.testSelection=function(aa,da,z,y,f){aa=this.getDimensions(aa,da,z);da=0;1<h.selectionAccuracyPadding&&(da=h.selectionAccuracyPadding);return y>=aa.x1-da&&y<=aa.x1+aa.Fa()+da&&f>=aa.y1-da&&f<=aa.y1+aa.Ca()+da};h.prototype.draw=function(h,aa,z,y){"undefined"===typeof y&&(y=1);this.Kc(h,y);var f=this.getDimensions(aa,z,y);aa=f.x1;z=f.y1;y=f.Fa();f=f.Ca();h.beginPath();h.arc(aa+y/2,z+f/2,y/2,0,2*Math.PI);h.stroke();h.fill()};h.prototype.Kc=function(aa,da){aa.strokeStyle=
h.outlineColor.toString();aa.fillStyle=h.color.toString();aa.shadowColor=h.shadowColor.toString();aa.shadowBlur=h.shadowBlur;aa.shadowOffsetY=h.shadowOffsetY;aa.lineWidth=h.selectionPointOutlineThickness/da};h.prototype.Qy=function(){return"default"};h.handleWidth=10;h.handleHeight=10;h.rotationHandleWidth=28;h.rotationHandleHeight=28;h.selectionAccuracyPadding=1;h.outlineColor=new ba.a(49,131,200);h.color=new ba.a(49,131,200);h.shadowColor=new ba.a(0,0,0,.2);h.shadowBlur=1;h.shadowOffsetY=1;h.selectionPointOutlineThickness=
2;return h}();ca.a=ha},function(ha,ca,h){function ba(z){return da[z]||null}h.d(ca,"d",function(){return ba});var aa=h(3);h(135);var fa=h(50);h.d(ca,"b",function(){return fa.b});h.d(ca,"a",function(){return fa.a});var da={};ca.c=function(z,y,f){void 0===f&&(f={});return Object(aa.b)(void 0,void 0,void 0,function(){var e,x,r,w,n,ea,ia,ka,oa,ma,la,ja,ua,ra,na,ba,za,sa,va,ta,ya;return Object(aa.d)(this,function(aa){switch(aa.label){case 0:e=f.decrypt;x=f.decryptOptions;r=f.cacheHint;w=f.useDownloader||
!1;n=f.withCredentials;ea=f.serverOptions;ia=f.customHeaders;ka=f.filename;oa=z;switch(oa){case fa.b.HttpPartRetriever:return[3,1];case fa.b.LocalPartRetriever:return[3,3];case fa.b.LocalPdfPartRetriever:return[3,5];case fa.b.AndroidContentPartRetriever:return[3,7];case fa.b.ArrayBufferPdfPartRetriever:return[3,9];case fa.b.AzurePartRetriever:return[3,11];case fa.b.ExternalPdfPartRetriever:return[3,13];case fa.b.IOSPartRetriever:return[3,15];case fa.b.StreamingPartRetriever:return[3,17];case fa.b.WinRTPartRetriever:return[3,
19];case fa.b.BlackBoxPartRetriever:return[3,21];case fa.b.WebDBPartRetriever:return[3,23]}return[3,25];case 1:return[4,h.e(0).then(h.bind(null,349))];case 2:return ma=aa.la().default,da.HttpPartRetriever=ma,[2,new ma(y,r,e,x,ia)];case 3:return[4,h.e(10).then(h.bind(null,350))];case 4:return la=aa.la().default,da.LocalPartRetriever=la,[2,new la(y,e,x)];case 5:return[4,h.e(11).then(h.bind(null,351))];case 6:return ja=aa.la().default,da.LocalPdfPartRetriever=ja,[2,new ja(y)];case 7:return[4,Promise.all([h.e(0),
h.e(3)]).then(h.bind(null,352))];case 8:return ua=aa.la().default,da.AndroidContentPartRetriever=ua,[2,new ua(y,r,e,x)];case 9:return[4,h.e(4).then(h.bind(null,353))];case 10:return ra=aa.la().default,da.ArrayBufferPdfPartRetriever=ra,[2,new ra(y)];case 11:return[4,Promise.all([h.e(0),h.e(5)]).then(h.bind(null,354))];case 12:return na=aa.la().default,da.AzurePartRetriever=na,[2,new na(y,r,e,x)];case 13:return[4,h.e(8).then(h.bind(null,355))];case 14:return ba=aa.la().default,da.ExternalPdfPartRetriever=
ba,[2,new ba(y,{useDownloader:w,withCredentials:n,customHeaders:ia,filename:ka})];case 15:return[4,Promise.all([h.e(0),h.e(9)]).then(h.bind(null,356))];case 16:return za=aa.la().default,da.IOSPartRetriever=za,[2,new za(y,r,e,x)];case 17:return[4,h.e(14).then(h.bind(null,357))];case 18:return sa=aa.la().default,da.StreamingPartRetriever=sa,[2,new sa(y,r,e,x,ia)];case 19:return[4,Promise.all([h.e(0),h.e(16)]).then(h.bind(null,358))];case 20:return va=aa.la().default,da.WinRTPartRetriever=va,[2,new va(y,
r,e,x)];case 21:return[4,h.e(6).then(h.bind(null,359))];case 22:return ta=aa.la().default,da.BlackBoxPartRetriever=ta,[2,new ta(y,ea.serverRoot,ea)];case 23:return[4,h.e(15).then(h.bind(null,360))];case 24:return ya=aa.la().default,da.WebDBPartRetriever=ya,[2,new ya(y,e,x)];case 25:throw Error("Invalid PartRetriever type passed to 'getPartRetriever(type, file, options)'. Valid options are "+Object.keys(fa.b).join(", "));}})})}},function(ha,ca,h){function ba(){return ra}function aa(e){e.lastIndexOf("/")!==
e.length-1&&(e+="/");ra=e}function fa(){return ua||oa.Ef()}function da(e,f){f||e.lastIndexOf("/")===e.length-1||(e+="/");ua=e}function z(){return la}function y(){return la||oa.Ef()+"pdf/"}function f(e){e.lastIndexOf("/")!==e.length-1&&(e+="/");la=e}function e(){return ma}function x(){return ma||oa.Ef()+"pdf/"+(na?"full/":"lean/")}function r(e){e.lastIndexOf("/")!==e.length-1&&(e+="/");ja=e}function w(){return ja}function n(){return ja||oa.Ef()+"pdf/"+(na?"full/":"lean/")}function ea(e){e.lastIndexOf("/")!==
e.length-1&&(e+="/");ma=e}function ia(){return na}function ka(e){na=e}h.d(ca,"a",function(){return ka});h.d(ca,"j",function(){return ia});h.d(ca,"o",function(){return ea});h.d(ca,"d",function(){return n});h.d(ca,"g",function(){return w});h.d(ca,"m",function(){return r});h.d(ca,"f",function(){return x});h.d(ca,"i",function(){return e});h.d(ca,"n",function(){return f});h.d(ca,"e",function(){return y});h.d(ca,"h",function(){return z});h.d(ca,"l",function(){return da});h.d(ca,"c",function(){return fa});
h.d(ca,"k",function(){return aa});h.d(ca,"b",function(){return ba});ha=window;ha.kb=ha.kb||{};var oa=ha.kb,ma,la,ja,ua,ra,na=ha.PDFNet&&ha.PDFNet.hasFullApi||!1},function(ha,ca,h){var ba=h(216);h.d(ca,"a",function(){return ba.a});h.d(ca,"d",function(){return ba.b});h.d(ca,"g",function(){return ba.c});h.d(ca,"k",function(){return ba.d});var aa=h(18);h.d(ca,"c",function(){return aa.c});h.d(ca,"f",function(){return aa.f});h.d(ca,"h",function(){return aa.h});h.d(ca,"i",function(){return aa.l});h.d(ca,
"j",function(){return aa.p});var fa=h(106);h.d(ca,"b",function(){return fa.a});h.d(ca,"e",function(){return fa.b})},function(ha,ca,h){function ba(z,y,f){z.splice(y,0,f)}function aa(z){z.length=0}function fa(z,y){z.push.apply(z,y)}function da(z){return z.length?z[z.length-1]:null}h.d(ca,"d",function(){return da});h.d(ca,"a",function(){return fa});h.d(ca,"b",function(){return aa});h.d(ca,"c",function(){return ba});h(3)},function(ha,ca){ca.a={mJ:"Single",Vr:"Continuous",GB:"Facing",gw:"FacingContinuous",
Wr:"Cover",Xr:"CoverFacing",hi:"Custom"}},function(ha,ca,h){var ba=h(8),aa=h(37),fa=h(2),da=h(180);ha=function(){function z(y,f,e,x){this.dc=[];this.sW=f;this.DK=e;this.xa=y;this.N=x}z.prototype.testSelection=function(y,f,e,x,r){return aa.a.qn(y,f,e,r)};z.prototype.Hv=function(y,f,e,x){for(var r=this.dc.length-1;0<=r;r--){var w=this.dc[r],n=this.getDimensions(y);n=Object(da.a)(n,f,y);if(w.testSelection(y,n,f,e,x))return w}};z.prototype.T1=function(){return this.dc};z.prototype.getDimensions=function(y){return new fa.d(y.X,
y.Y,y.X+y.Width,y.Y+y.Height)};z.prototype.Pc=function(){return this.sW};z.prototype.isSelected=function(){return this.DK};z.prototype.draw=function(y,f,e,x){y.save();this.drawSelectionOutline(y,f,e,x);y.restore();x=this.getDimensions(f);x=Object(da.a)(x,e,f);for(var r=0;r<this.dc.length;r++)this.dc[r]&&this.dc[r].draw(y,f,x,e)};z.prototype.drawSelectionOutline=function(y,f,e){void 0===e&&(e=1);var x=z.useDashedLine;x&&(z.selectionOutlineThickness=2);y.save();var r=this.getDimensions(f);f=Object(da.a)(r,
e,f);y.lineWidth=z.selectionOutlineThickness/e;this.Pc()?y.strokeStyle=z.defaultSelectionOutlineColor.toString():y.strokeStyle=z.defaultNoPermissionSelectionOutlineColor.toString();y.beginPath();y.moveTo(f.x1,f.y1);y.lineTo(f.x2,f.y1);y.lineTo(f.x2,f.y2);y.lineTo(f.x1,f.y2);y.closePath();y.stroke();e=z.selectionOutlineDashSize/e;e=[e,e];x&&(y.setLineDash(e),y.strokeStyle="rgb(255, 255, 255)",y.beginPath(),y.moveTo(f.x1,f.y1),y.lineTo(f.x2,f.y1),y.lineTo(f.x2,f.y2),y.lineTo(f.x1,f.y2),y.closePath(),
y.stroke());y.restore()};z.selectionOutlineThickness=1;z.selectionAccuracyPadding=2;z.defaultSelectionOutlineColor=new ba.a(49,131,200);z.defaultNoPermissionSelectionOutlineColor=new ba.a(255,0,0);z.selectionOutlineExtraPadding=10;z.selectionOutlineDashSize=4;z.useDashedLine=!1;z.showPaddingWhenAnnotationIsSmall=!0;z.Mo=50;return z}();ca.a=ha},function(ha,ca,h){h.d(ca,"a",function(){return ba});h.d(ca,"b",function(){return aa});var ba={LEFT:1,yB:2,RIGHT:4},aa={Nm:16,JB:32,Km:64}},function(ha,ca,h){function ba(y,
f){mb();var e=Symbol();(da[y]||(da[y]=new Map)).set(e,f);return function(){da[y].delete(e)}}function aa(y,f){var e;z[y]=f;null===(e=da[y])||void 0===e?void 0:e.forEach(function(e){e(f)})}function fa(y){return z[y]}h.d(ca,"a",function(){return fa});h.d(ca,"b",function(){return aa});h.d(ca,"c",function(){return ba});var da={},z={flattenedResources:!1,CANVAS_CACHE_SIZE:void 0,maxPagesBefore:void 0,maxPagesAhead:void 0,disableLogs:!1,wvsQueryParameters:{},_trnDebugMode:!1,_logFiltersEnabled:null}},function(ha,
ca,h){function ba(f){Object.getOwnPropertyNames(y.prototype).forEach(function(e){Object.defineProperty(f.prototype,e,Object.getOwnPropertyDescriptor(y.prototype,e))})}h.d(ca,"b",function(){return ba});var aa=h(3),fa=h(1),da=h(0);h.n(da);var z=/^([^\.]*)(?:\.(.+)|)/,y=function(){function f(){}f.prototype.on=function(e,f){if(void 0===e||void 0===f||"function"!==typeof f)return this;var r=this.sC(e);e=r[0];r=r[1];this._events||(this._events={});this._events[e]||(this._events[e]=[]);this._events[e].push({hQ:r,
handler:f});return this};f.prototype.off=function(e,f){if(!this._events)return this;void 0===e&&(this._events={});e=this.sC(e);var r=e[0],w=e[1];if(!this._events[r])return this;this._events[r]=f?this._events[r].filter(function(e){return e.handler!==f}):w?this._events[r].filter(function(e){return e.hQ!==w}):[];return this};f.prototype.trigger=function(e,f){for(var r=this,w=[],n=2;n<arguments.length;n++)w[n-2]=arguments[n];var x=!Object(da.isUndefined)(f);f=Object(aa.e)([f],w);if(!this._events)return this;
w=this.sC(e);n=w[0];var ia=w[1];if(!this._events[n])return this;1===f.length&&Array.isArray(f[0])&&(f=f[0]);(ia?this._events[n].filter(function(e){return e.hQ===ia}).map(function(e){return e.handler}):this._events[n].map(function(e){return e.handler})).forEach(function(e){try{x?e.call.apply(e,Object(aa.e)([r],f)):e.call(r)}catch(oa){Object(fa.e)(oa)}});return this};f.prototype.Ng=function(e,f){function r(){for(var n=[],x=0;x<arguments.length;x++)n[x]=arguments[x];w.off(e,r);f.apply(w,n)}var w=this;
return this.on(e,r)};f.prototype.sC=function(e){e=z.exec(e)||[];return[e[1],e[2]||""]};return f}();ca.a=y},function(ha,ca,h){var ba=h(21),aa=h(2),fa=document.createElement("canvas");ca.a=function(){function h(){}h.qn=function(z,y,f,e){void 0===e&&(e=1);var x=z.pb(),r=x.x1,w=x.x2,n=x.y1;x=x.y2;var ea=z.NoZoom?e:1;e=z.Width/ea;ea=z.Height/ea;z.NoZoom&&(w=r+e,x=n+ea);return y>=r&&y<=w&&f>=n&&f<=x};h.tn=function(z,y,f,e){if(z.pi)return!0;var x=fa.getContext("2d");fa.width=4;fa.height=4;x.setTransform(1,
0,0,1,-(y-z.Fc()),-(f-z.Gc()));y=z.StrokeThickness;z.xj=y+h.canvasVisibilityPadding;z.NoZoom||x.translate(-1*z.Fc(),-1*z.Gc());z.draw(x,e);e=1<x.getImageData(0,0,1,1).data[3];x.setTransform(1,0,0,1,0,0);x.clearRect(0,0,2,2);z.xj=y;return e};h.nI=function(z,y,f){z=z.Quads;for(var e=0;e<z.length;e++){var x=z[e],r=Math.min(x.y1,x.y2,x.y3,x.y4),w=Math.max(x.y1,x.y2,x.y3,x.y4),n=Math.max(x.x1,x.x2,x.x3,x.x4);if(y>=Math.min(x.x1,x.x2,x.x3,x.x4)&&y<=n&&f>=r&&f<=w)return!0}return!1};h.t4=function(z,y,f,e){if(!(z instanceof
Annotations.Uf))return!1;var x=z.gb(),r=x.length;x[0].x===x[r-1].x&&x[0].y===x[r-1].y&&(x=x.slice(0,x.length-1),r=x.length);if(3>r)return h.tn(z,y,f,e);var w=ba.a.Math;z=w.w4;e=w.H2;w=w.o6;y=new aa.b(y,f);f=new aa.b(Number.MAX_VALUE,f);for(var n=0,ea=0;ea<r;ea++){var ia=x[ea],ka=x[(ea+1)%r];if(z(ia,ka,y,f)){if("colinear"===e(ia,y,ka))return w(ia,y,ka);n++}}return 1===n%2};h.canvasVisibilityPadding=5;return h}()},function(ha,ca,h){function ba(f,n,r){Ha||va.Oh||aa(f,n);Object(ma.a)()||Object(ma.f)(r);
r=r||Object(ma.a)();f=Object(ma.d)();if(va.Oh){if(f&&r&&!Object(ma.c)(r))throw Error("PDFNet was already initialized in demo mode. For solution see pdftron.com/kb_demo_init. Note that calling initPDFWorkerTransports or creating WebViewer object will also call PDFNet.initialize so your license key should be used in all of these calls.");}else Object(ma.e)(!r),r=Promise.all([Object(ma.b)(r),Ha]).then(function(e){Object(ma.e)(!e[0]||Object(ma.c)(e[0]));return da(e[1],n,ya,e[0])}).then(function(e){return va.Oh.bS=
e}),e({pdf:r});return va.Oh}function aa(e,f,n){if(!va.Oh||e!==Object(ja.b)()){Object(ja.d)().resolve(e);Object(ea.isUndefined)(n)&&(n={});var r=Object(la.h)(),w=Object(la.g)(),ia=Object(la.i)();n.emsWorkerPath=Object(la.e)()+(ta||r||w?"ResizableWorker.js":"PDFworker.js");n.wasmWorkerPath=Object(la.f)();n.externalPath=Object(la.b)();n.kU=Object(ja.f)();ia&&(n.pdfWorkerPath=ia);Ha=x(e,f,n)}}function fa(e){ta=e}function da(e,f,n,x){if(Object(ea.isUndefined)(e))return null;var y;f=new Promise(function(f,
r){w(function(){r(new oa.a("The worker has encountered an error",ua.h?"error.EmsWorkerErrorIE":"error.EmsWorkerError"))});var x={},ea=Object(la.h)(),ia=Object(la.g)();ta&&(x.workerHeapSize=ta);ea&&(x.pdfResourcePath=ea);ia&&(x.pdfAsmPath=ia);ea=window.location.href;ia=ea.lastIndexOf("#");ia=ea.lastIndexOf("/",ia);-1!==ia&&(x.parentUrl=ea.substring(0,ia+1));y=new window.XV(e,n,x);y.Gx=Object(ja.b)();Ca=Object(ka.c)("disableLogs",function(e){y.w_(e)});y.CI.then(function(){f()},function(e){r(e)})});
var z=new Promise(function(e,f){if(na.utils.isJSWorker&&na.jsworker&&na.jsworker.utils)"android"!==na.jsworker.platform&&"ios"!==na.jsworker.platform||!na.jsworker.utils.getResourcesDir?na.jsworker.utils.getHTMLContentPath?na.jsworker.utils.getHTMLContentPath(function(n){n?(n.endsWith("/")||(n+="/"),e(n+"js/html5/pdf/")):f(new oa.a("Couldn't fetch resource file path."))}):f(new oa.a("Some functions required for fetching resources are not defined.")):na.jsworker.utils.getResourcesDir(function(n,r){n?
f(n):e(r)});else{var n=new XMLHttpRequest;n.open("GET",Object(la.e)()+"pdfnet.res",!0);n.responseType="arraybuffer";n.onload=function(){200===n.status||0===n.status?e(n.response):f(new oa.a("Couldn't fetch resource file.","error.ResourceLoadError"))};n.onerror=function(){f(new oa.a("Network error","error.ResourceLoadError"))};n.send(null)}});return Promise.all([f,z]).then(function(e){x=r(x);return na.utils.isJSWorker&&na.jsworker&&na.jsworker.utils?y.A5(e[1],x):y.$P(e[1],x).catch(function(f){if(-1<
f.message.indexOf("AMS"))throw f;Object(ia.e)(f.message);return y.$P(e[1])})}).then(function(){var e=pa;"undefined"!==typeof e&&y.OA(e);return y})}function z(e){pa=e;va.Oh&&va.Oh.then(function(e){e.OA(pa)});va.xo&&va.xo.then(function(e){e.OA(pa)})}function y(){Ha=null;va.Oh&&(va.Oh.bS&&va.Oh.bS.reset(),va.Oh=null);va.xo=null;Ca&&Ca();Object(ja.g)();Object(ma.f)(void 0)}function f(){return va}function e(e){e.pdf&&(va.Oh=e.pdf);e.office&&(va.xo=e.office)}function x(e,f,n){n=n||{};var r;"wasm-threads"!==
e||"wasmWorkerPath"in n||(e="ems");return new Promise(function(x,ea){function y(f){function x(e){"object"===typeof e.data&&"action"in e.data&&"workerLoaded"===e.data.action&&(f.workerLoadingProgress&&f.workerLoadingProgress(1),r.removeEventListener("message",x))}w(function(){ea(new oa.a("The worker has encountered an error",ua.h?"error.EmsWorkerErrorIE":"error.EmsWorkerError"))});var ia="disableLogs="+(Object(ka.a)("disableLogs")?"1":"0"),y="wasm="+("asm"!==e?"1":"0"),z=n.emsWorkerPath.toLowerCase().startsWith("http"),
h=n.externalPath?"&externalPath="+encodeURIComponent(n.externalPath):"",ja=n.officeAsmPath?"&officeAsmPath="+encodeURIComponent(n.officeAsmPath):"";z?(z=Object(la.f)().slice(0,-9),r=new Worker(Object(la.c)()+"CORSWorker.js#isfull="+Object(la.j)()+"&file="+encodeURIComponent(n.emsWorkerPath)+"&path="+encodeURIComponent(z)+"&"+ia+"&"+y)):r=n.pdfWorkerPath?new Worker(n.emsWorkerPath+"?isfull="+Object(la.j)()+"&pdfWorkerPath="+encodeURIComponent(n.pdfWorkerPath)+h+ja+"&"+ia+"&"+y):new Worker(n.emsWorkerPath+
"?isfull="+Object(la.j)()+h+ja+"&"+ia+"&"+y);r.onerror=Aa;ya=!0;r.addEventListener("message",x,!1);ia=Ba.WI();Ba.MS(ia?18E3/ia:0);return r}function z(e,f){x(e);n.kU.Gx=f}if("jsworker"===e)Object(ia.f)("Attempting to load JSWorker"),na.utils.isJSWorker&&(r=na.jsworker.loadWorker(),Object(ia.f)("JSWorker loaded!"),r&&r.getProcessId(function(e){Object(ia.f)("Loaded worker in process: "+e)})),ya=!1,z(r,"jsworker");else if("wasm-threads"===e){w(function(){ea(new oa.a("The worker has encountered an error",
"error.EmsWorkerError"))});r=document.createElement("iframe");r.style="width:0;height:0;border:0;border:none;display:block;";var h=window.location.pathname.endsWith("aspx")?"iframe.aspx":"iframe.html";r.src=Ba.Ef()+"pdf/"+h;r.title="worker";document.body.appendChild(r);r.Bu=[];r.addEventListener=function(e,f){function n(e){r.contentWindow===e.source&&f(e)}var r=this;this.Bu.push([f,n]);"message"===e&&window.addEventListener(e,n)};r.removeEventListener=function(e,f){if("message"===e)for(var n=0;n<
this.Bu.length;n++)if(f===this.Bu[n][0]){window.removeEventListener(e,this.Bu[n][1]);this.Bu.splice(n,1);break}};r.postMessage=function(e){this.contentWindow.postMessage(e)};r.reset=function(){this.parentNode.removeChild(this)};r.onerror=Aa;r.getWorkerType=function(){return"wasm-threads"};window.loadThreadedBackend=ra.a;window.parentWarn=ia.h;r.onload=function(e){var w=Object(la.j)();r.postMessage({action:"loadWasmWorker",wasmSource:n.wasmWorkerPath,isFull:w},e.origin);Ha=r.contentWindow.getWasmWorkerPromise();
ya=!0;Ha.then(function(){f.workerLoadingProgress&&f.workerLoadingProgress(1)});e=Ba.WI();Ba.MS(e?18E3/e:0);z(r,"wasm-threads")}}else"ems"!==e&&"asm"!==e||z(y(f),e)})}function r(e){var f=/(ENTERP|ENTCPU|WEBCPU|OEM):/;if(e&&!f.test(e))Object(ia.h)("WebViewer is currently running in demo mode, please provide a commercial license key to remove demo stamps");else return e}function w(e){za.push(e);for(var f=0;f<sa.length;++f)e(sa[f])}function n(){return ya}h.d(ca,"c",function(){return n});h.d(ca,"a",function(){return w});
h.d(ca,"b",function(){return r});h.d(ca,"g",function(){return x});h.d(ca,"k",function(){return e});h.d(ca,"d",function(){return f});h.d(ca,"h",function(){return y});h.d(ca,"i",function(){return z});h.d(ca,"j",function(){return fa});h.d(ca,"f",function(){return aa});h.d(ca,"e",function(){return ba});var ea=h(0);h.n(ea);var ia=h(1),ka=h(35),oa=h(60),ma=h(61),la=h(29),ja=h(53),ua=h(18),ra=h(263),na=window,Ba=window.kb,za=[],sa=[],va={},ta,ya,pa,Ha,Ca,Aa=Object(ea.throttle)(function(e){var f=za.length;
sa.push(e);for(var n=0;n<f;++n)za[n](e)},100,{trailing:!1})},function(ha,ca,h){var ba=h(71);h.d(ca,"a",function(){return ba.a});var aa=h(224);h.d(ca,"b",function(){return aa.a});var fa=h(225);h.d(ca,"d",function(){return fa.a});var da=h(163);h.d(ca,"e",function(){return da.a});h(152);var z=h(122);h.d(ca,"f",function(){return z.a});var y=h(226);h.d(ca,"g",function(){return y.a});var f=h(33);h.d(ca,"j",function(){return f.a});var e=h(165);h.d(ca,"k",function(){return e.a});var x=h(166);h.d(ca,"c",function(){return x.a});
var r=h(105);h.d(ca,"l",function(){return r.a});var w=h(227);h.d(ca,"h",function(){return w.a});var n=h(228);h.d(ca,"i",function(){return n.a})},function(ha,ca,h){h.d(ca,"a",function(){return aa});var ba=h(1),aa;(function(h){h.HOLD_TO_DRAW="holdToDraw";h.TWO_CLICKS="twoClicks"})(aa||(aa={}));ca.b={IH:function(h){Object.values(aa).includes(h)?this.Af=h:Object(ba.e)("An invalid draw mode is passed to setDrawMode. Valid values are "+Object.keys(aa).map(function(h){return"DrawModes."+h}).join(", "))},
Jt:function(){return this.Af}}},function(ha,ca,h){h.d(ca,"a",function(){return ba});h.d(ca,"c",function(){return aa});h.d(ca,"b",function(){return fa});var ba={cV:0,eV:1,sV:2,AV:10},aa={WU:1,wV:2,VU:4,dV:8,$U:16,DU:32},fa={SB:0,MB:1,YI:2,Yr:3}},function(ha,ca,h){function ba(h,z){aa.a.call(this,h);this.text=this.annotation=null;this.annotationPrototype=z;this.defaults={Opacity:1,StrokeColor:new fa.a(255,0,0)}}var aa=h(67),fa=h(8);ba.AUTO_SET_TEXT=!0;ba.prototype=Object.assign(new aa.a,{switchIn:function(h){aa.a.prototype.switchIn.call(this,
h);this.N.mf({annotMode:!0})},switchOut:function(h){this.annotation&&(this.N.na.Rc(this.annotation),this.text=this.annotation=null);aa.a.prototype.switchOut.call(this,h);this.N.mf({annotMode:!1})},mouseLeftDown:function(h){aa.a.prototype.mouseLeftDown.call(this,h);this.isSelecting()||this.annotation||!this.pageCoordinates||(h=this.N.na,this.annotation=new this.annotationPrototype,this.annotation.Author=h.wh(),h=this.defaults.StrokeColor,this.annotation.StrokeColor=new fa.a(h.R,h.G,h.B,h.A),this.annotation.Opacity=
this.defaults.Opacity||1,this.annotation.ToolName=this.name,this.trigger(ba.Events.ANNOTATION_CREATED,[this.annotation]))},textSelected:function(h,z,y){this.annotation&&this.pageCoordinates[0].pageNumber===h&&0<z.length&&(this.annotation.VA(z),this.annotation.PageNumber=h,this.text=y,!ba.AUTO_SET_TEXT||this.annotation.ux&&this.annotation.ux!==this.annotation.getContents()||(this.annotation.ux=this.text,this.annotation.setContents(this.text)),this.N.na.sb(this.annotation))},mouseLeftUp:function(h){aa.a.prototype.mouseLeftUp.call(this,
h);!this.isSelecting()&&this.annotation&&(h=this.N.na,!this.text||1>this.text.length?h.Rc(this.annotation):(h.Ld(this.annotation),this.trigger(ba.Events.ANNOTATION_ADDED,[this.annotation])),this.annotation=this.text=null)}});ba.Events={ANNOTATION_ADDED:"annotationAdded",ANNOTATION_CREATED:"annotationCreated"};ca.a=ba},function(ha,ca,h){function ba(h,da){da.forEach(function(z){aa(h,z)})}function aa(h,aa){var z=Object.getOwnPropertyNames(aa).reduce(function(f,e){f[e]=Object.getOwnPropertyDescriptor(aa,
e);return f},{});Object.defineProperties(h,z);var y=Object.getPrototypeOf(aa);z=Object.getOwnPropertyNames(y).reduce(function(f,e){"constructor"!==e&&(f[e]=Object.getOwnPropertyDescriptor(y,e));return f},{});Object.defineProperties(h,z)}h.d(ca,"a",function(){return aa});h.d(ca,"b",function(){return ba})},function(ha,ca,h){var ba=h(3),aa=h(0);h.n(aa);var fa=h(1),da=h(18);document.head||(document.head=document.getElementsByTagName("head")[0]);var z=(ha=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent))&&
14<=ha[1],y=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="),
f={woff:"application/x-font-woff",opentype:"font/opentype",sfnt:"application/font-sfnt"},e={},x=null,r=null,w=function(){function n(e,n,r,w){this.U5=f;Object(aa.isUndefined)(w)?this.url=["data:",this.U5[r],";base64,",btoa(n)].join(""):this.url="'"+w+"'";this.url=["url(",this.url,")"].join("");this.w9=["@font-face { font-family:'",e,"';src:",this.url,"}"].join("");this.name=e}n.prototype.insert=function(){if(!e[this.name]){var f=r;if(!f){var n=document.createElement("style");document.head.appendChild(n);
r=f=n.sheet;x=n}n=f.cssRules.length;f.insertRule(this.w9,n);e[this.name]=f.cssRules[n]}};n.prototype.remove=function(){if(!da.h){var f=e[this.name];if(!f)throw Error("CSS @font-face rule is not in use");var n=r,w,x=n.cssRules.length,ea=n.cssRules;for(w=0;w<x;w++)if(ea[w]===f){n.deleteRule(w);delete e[this.name];return}throw Error("CSS @font-face stylesheet has been altered externally");}};return n}();ha=!1;if("undefined"!==typeof document&&document.fonts)try{var n=new w("lt"+Date.now()+"0",y,"opentype");
ha="error"!==(new window.FontFace(n.name,n.url,{})).status}catch(ia){ha=!1}else ha=!1;n=function(){function f(){this.fonts=[];this.Taa=1}f.prototype.OX=function(e){this.fonts.push(e)};f.prototype.T3=function(){return 0!==this.fonts.length};f.prototype.XP=function(f){function n(e,f){return e.charCodeAt(f)<<24|e.charCodeAt(f+1)<<16|e.charCodeAt(f+2)<<8|e.charCodeAt(f+3)&255}function r(e,f){da++;30<da?(Object(fa.h)("Load test font never loaded."),f()):(ka.font="30px "+e,ka.fillText(".",0,20),0<ka.getImageData(0,
0,1,1).data[3]?f():setTimeout(Object(aa.bind)(r,null,e,f)))}var x=this,ea;if(Object(aa.isEmpty)(e)||z){for(ea=0;ea<x.fonts.length;ea++)setTimeout(f,0,x.fonts[ea].name);x.fonts=[]}else{var ia=y,h;ea=document.createElement("canvas");ea.width=1;ea.height=1;var ka=ea.getContext("2d"),da=0,ba="lt"+Date.now()+this.Taa++;ia=ia.substr(0,976)+ba+ia.substr(976+ba.length);var sa=n(ia,16);ea=0;for(h=ba.length-3;ea<h;ea+=4)sa=sa-1482184792+n(ba,ea)|0;ea<ba.length&&(sa=sa-1482184792+n(ba+"XXX",ea)|0);ia=ia.substr(0,
16)+(String.fromCharCode(sa>>24&255)+String.fromCharCode(sa>>16&255)+String.fromCharCode(sa>>8&255)+String.fromCharCode(sa&255))+ia.substr(20);var va=new w(ba,ia,"opentype");va.insert();ia=[];ea=0;for(h=this.fonts.length;ea<h;ea++)ia.push(this.fonts[ea].name);ia.push(ba);var ta=document.createElement("div");ta.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;");ea=0;for(h=ia.length;ea<h;++ea)sa=document.createElement("span"),sa.textContent=
"Hi",sa.style.fontFamily=ia[ea],ta.appendChild(sa);document.body.appendChild(ta);r(ba,function(){document.body.removeChild(ta);va.remove();for(var e=0;e<x.fonts.length;e++)if(f(x.fonts[e].name),!x.fonts[e].url.startsWith("url(data")){var n=x.fonts[e].url;if(n.startsWith("url('")){if(8>n.length){Object(fa.h)("Invalid font ObjectURL.");return}n=n.substring(5,n.length-2)}URL.revokeObjectURL(n);x.fonts[e].url=null}x.fonts=[]})}};f.prototype.y5=function(e,f,n){var r=document.createElement("div");r.setAttribute("style",
"visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;");r.innerHTML='<span style="font-family:'+e+'">" + testString +"</span>';document.body.appendChild(r);fetch(f).then(function(e){e.ok&&setTimeout(function(){n();document.body.removeChild(r)},300)})};return f}();h=function(f){function n(e,n,r,w){e=f.call(this,e,n,r,w)||this;e.pE=new window.FontFace(e.name,e.url,{});return e}Object(ba.c)(n,f);n.prototype.insert=function(){document.fonts.add(this.pE);e[this.name]=this};
n.prototype.remove=function(){document.fonts.delete(this.pE)};return n}(w);var ea=function(e){function f(){return e.call(this)||this}Object(ba.c)(f,e);f.prototype.XP=function(e){this.fonts.forEach(function(f){f.pE.load().then(function(){e(f.name);if(!f.url.startsWith("url(data")){var n=f.url;if(n.startsWith("url('")){if(8>n.length){Object(fa.h)("Invalid font ObjectURL.");return}n=n.substring(5,n.length-2)}URL.revokeObjectURL(n);f.url=null}})["catch"](function(n){e(f.name);Object(fa.h)("loadFonts: font failed to load: "+
f.name);n&&Object(fa.h)("loadFonts: exception is: "+n.message)})})};return f}(n);ca.a={FontFace:ha?h:w,MU:ha?ea:n,q1:ha,LE:function(e,f){return"f"+e+"-"+f},Vy:function(){return e},p3:function(){return x},nea:function(){return r},daa:function(e){x=e},eaa:function(e){r=e}}},function(ha,ca,h){function ba(z,y){aa.a.call(this,z,y)}var aa=h(24),fa=h(12),da=h(18);ba.prototype={Gm:"Btn",Ps:null,nh:function(z){if(aa.a.prototype.nh.call(this,z)){var y=new fa.a({mask:[fa.a.PUSH_BUTTON,fa.a.RADIO]}),f="C";y.deserialize(z);
y.get(fa.a.PUSH_BUTTON)?f="P":y.get(fa.a.RADIO)&&(f="R");return f===this.Ps}return!1},lS:function(z){if(da.n&&!da.l||da.k)16>z.height||16>z.width?(z.transform="scale("+Math.min(z.height,z.width)/16+")",z.transformOrigin="top left"):(z.transform="",z.transformOrigin="")},Dm:function(z){var y=!!this.fieldFlags.get(fa.a.READ_ONLY);z.disabled=y}};ba.prototype=Object.assign(Object.create(aa.a.prototype),ba.prototype);ca.a=ba},function(ha,ca,h){var ba=h(186);h.d(ca,"a",function(){return ba.a});h(48);var aa=
h(121);h.d(ca,"b",function(){return aa.a});var fa=h(76);h.d(ca,"c",function(){return fa.a});h(188);h(153);var da=h(155);h.d(ca,"d",function(){return da.a});var z=h(156);h.d(ca,"e",function(){return z.a});var y=h(154);h.d(ca,"f",function(){return y.a});var f=h(159);h.d(ca,"g",function(){return f.a});var e=h(158);h.d(ca,"h",function(){return e.a});var x=h(160);h.d(ca,"i",function(){return x.a});var r=h(161);h.d(ca,"j",function(){return r.a});var w=h(157);h.d(ca,"k",function(){return w.a})},function(ha,
ca,h){function ba(r){return f.exec(r)||e.exec(r)||x.exec(r)}h.d(ca,"a",function(){return aa});h.d(ca,"c",function(){return y});h.d(ca,"b",function(){return z});h.d(ca,"e",function(){return fa});h.d(ca,"d",function(){return da});h.d(ca,"f",function(){return ba});var aa="D-MMM D-MMM-YY DD-MMM-YY DD-MMM-YYYY DD-MM-YYYY D-M-YYYY".split(" "),fa="m/d;m/d/yy;mm/dd/yy;mm/yy;d-mmm;d-mmm-yy;dd-mmm-yy;yymm-dd;mmm-yy;mmmm-yy;mmm d, yyyy;mmmm d, yyyy;m/d/yy h:MM tt;m/d/yy HH:MM;dd-mmm-yyyy;dd/mm/yyyy;d/m/yyyy;d/m/yy".split(";"),
da={"dd/mm/yyyy":"DD/MM/YYYY","d/m/yyyy":"D/M/YYYY","d/m/yy":"D/M/YY","m/d":"M/D","m/d/yy":"M/D/YY","m/d/yyyy":"M/D/YYYY","mm/dd/yy":"MM/DD/YY","mm/dd/yyyy":"MM/DD/YYYY","mm/yy":"MM/YY","mm/yyyy":"MM/YYYY","d-mmm":"D-MMM","d-mmm-yy":"D-MMM-YY","d-mmm-yyyy":"D-MMM-YYYY","dd-mmm-yy":"DD-MMM-YY","dd-mmm-yyyy":"DD-MMM-YYYY","yy-mm-dd":"YY-MM-DD","yyyy-mm-dd":"YYYY-MM-DD","mmm-yy":"MMM-YY","mmm-yyyy":"MMM-YYYY","mmmm-yy":"MMMM-YY","mmmm-yyyy":"MMMM-YYYY","mmm d, yyyy":"MMM D, YYYY","mmmm d, yyyy":"MMMM D, YYYY",
"m/d/yy h:MM tt":"M/D/YY h:mm a","m/d/yyyy h:MM tt":"M/D/YYYY h:mm a","m/d/yy HH:MM":"M/D/YY HH:mm","m/d/yyyy HH:MM":"M/D/YYYY HH:mm","yymm-dd":"YYMM-DD","m-d-yy":"M-D-YY","m-d":"M-D","mm-yy":"MM-YY","m-d-yyyy":"M-D-YYYY","mm-dd-yyyy":"MM-DD-YYYY","mm-dd-yy":"MM-DD-YY","mm-yyyy":"MM-YYYY","m-d-yyyy h:MM tt":"M-D-YYYY h:mm a","m-d-yyyy HH:MM":"M-D-YYYY HH:mm","HH:MM":"HH:mm","h:MM tt":"h:mm a","HH:MM:ss":"HH:mm:ss","h:MM:ss t":"h:mm:ss a","HH:mm:ss":"HH:mm:ss","h:MM t":"h:mm a"},z=Object.values(da),
y=Object.values(da).filter(function(e){return e&&"m"===e.charAt(0).toLowerCase()}),f=/[\u00c0-\u017d\u0401\u040e\u0419G\u0303\u1e20\u01f4\u1e82\u1e30\u1e54\u1e3e\u00c4\u00d6\u00dc]/,e=/[\u3000-\u303f]|[\u3040-\u309f]|[\u30a0-\u30ff]|[\uff00-\uff9f]|[\u4e00-\u9faf]|[\u3400-\u4dbf]/;try{var x=RegExp("[\u4e00-\u9fff]|[\u3400-\u4dbf]|[\ud840\udc00-\ud869\udedf]|[\ud869\udf00-\ud86d\udf3f]|[\ud86d\udf40-\ud86e\udc1f]|[\ud86e\udc20-\ud873\udeaf]|[\uf900-\ufaff]|[\u3300-\u33ff]|[\ufe30-\ufe4f]|[\uf900-\ufaff]|[\ud87e\udc00-\ud87e\ude1f]",
"u")}catch(r){x=/[\u4e00-\u9fff]|[\u3400-\u4dbf]|[\uf900-\ufaff]|[\u3300-\u33ff]|[\ufe30-\ufe4f]|[\uf900-\ufaff]/}},function(ha,ca,h){var ba=h(0);h.n(ba);ha=function(){function h(h){Object(ba.isObject)(h)&&Object(ba.isString)(h.name)&&(this.hd=h.name);this.elementName=null}h.prototype.onTriggered=function(){};h.prototype.serialize=function(){return document.createElementNS("",this.elementName)};h.prototype.deserialize=function(){};Object.defineProperty(h.prototype,"name",{get:function(){return this.elementName},
enumerable:!1,configurable:!0});return h}();ca.a=ha},function(ha,ca,h){function ba(e){if(f[e])return f[e];if(0===e.indexOf("SB")||0===e.indexOf("SH")){var r=f[e.substring(2)];if(r)return r}return e}function aa(e,w){w=Object(da.isUndefined)(w)?1:"string"===typeof w?parseFloat(w):w;var n={fm:"rgba(145, 15, 5, "+w+")",fill:"rgba(253, 213, 213, "+.7*w+")",hF:"rgba(255, 0, 0, "+.7*w+")"},r={fm:"rgba(65, 106, 28, "+w+")",fill:"rgba(215, 226, 207, "+.7*w+")",hF:"rgba(65, 106, 28, "+.7*w+")"},x={fm:"rgba(24, 37, 100, "+
w+")",fill:"rgba(224, 235, 246, "+.7*w+")",hF:"rgba(24, 37, 100, "+.7*w+")"},y={fm:"rgba(110, 0, 5, "+w+")",fill:"rgba(214, 86, 56, "+.7*w+")"},z={fm:"rgba(214, 176, 67, "+w+")",fill:"rgba(249, 239, 122, "+.7*w+")"};w={fm:"rgba(64, 46, 132, "+w+")",fill:"rgba(148, 132, 212, "+.7*w+")"};switch(e){case f.Approved:case f.Completed:case f.Final:return r;case f.AsIs:case f.Confidential:case f.Departmental:case f.Draft:case f.Experimental:case f.ForComment:case f.ForPublicRelease:case f.NotForPublicRelease:case f.Sold:case f.TopSecret:return x;
case f.Expired:case f.NotApproved:case f.Void:return n;case f.SHSignHere:return y;case f.SHWitness:return z;case f.SHInitialHere:return w;default:return x}}function fa(e,f,n,x,y,z){e.beginPath();f+=3;n+=3;x-=6;y-=6;e.moveTo(f+z,n);e.lineTo(f+x-z,n);e.quadraticCurveTo(f+x,n,f+x,n+z);e.lineTo(f+x,n+y-z);e.quadraticCurveTo(f+x,n+y,f+x-z,n+y);e.lineTo(f+z,n+y);e.quadraticCurveTo(f,n+y,f,n+y-z);e.lineTo(f,n+z);e.quadraticCurveTo(f,n,f+z,n);e.closePath();e.fill();e.stroke()}var da=h(0);h.n(da);var z=h(21),
y,f={Approved:"Approved",AsIs:"As Is",Completed:"Completed",Confidential:"Confidential",Departmental:"Departmental",Draft:"Draft",Experimental:"Experimental",Expired:"Expired",Final:"Final",ForComment:"For Comment",ForPublicRelease:"For Public Release",InformationOnly:"Information Only",NotApproved:"Not Approved",NotForPublicRelease:"Not For Public Release",PreliminaryResults:"Preliminary Results",Sold:"Sold",TopSecret:"Top Secret",Void:"Void",SHSignHere:"Sign Here",SHWitness:"Witness",SHInitialHere:"Initial Here",
SHAccepted:"Accepted",SBRejected:"Rejected"},e=Object.keys(f),x;ca.a={sI:f,gea:aa,HO:ba,s0:function(e,f,n,x,y,z){var r=z.Av;n=z.padding;var w=z.opacity,ea=z.d_;f=z.CT;var ia=ba(z.Icon);z=r.toUpperCase();r=e.measureText(z).width+2*n;x||(x=r,y=f);w=aa(ia,w);e.fillStyle=w.fill;e.strokeStyle=w.fm;e.lineWidth=1;ia=e.createLinearGradient(-(.4*x),0,5*x,0);ia.addColorStop(1,w.hF);ia.addColorStop(0,"white");e.fillStyle=ia;fa(e,0,0,x,y,.15*y);e.font=ea;e.fillStyle=w.fm;n=e.measureText(z).width+2*n;e.save();
n=x/n;f=y/(1.9*f);e.scale(n,f);e.textBaseline="middle";e.textAlign="center";e.fillText(z,x/(2*n),y/(2*f)+2);e.restore()},Oda:fa,t0:function(e,f,n,x,y,z){var r=z.Av,w=z.opacity;z=ba(z.Icon);z=aa(z,w);w=.31*y;var ea=.05*(x+y);e.save();e.lineWidth=1;e.beginPath();e.strokeStyle=z.fm;e.fillStyle=z.fill;z=.1*Math.min(x,y);e.moveTo(f+ea+w+z,n+z);e.lineTo(f+x-ea-z,n+z);e.quadraticCurveTo(f+x-z,n+z,f+x-z,n+ea+z);e.lineTo(f+x-z,n+y-ea-z);e.quadraticCurveTo(f+x-z,n+y-z,f+x-ea-z,n+y-z);e.lineTo(f+ea+w+z,n+y-
z);e.lineTo(f+z,n+y/2);e.lineTo(f+ea+w+z,n+z);e.lineTo(f+ea+w+z+1,n+z);e.stroke();e.closePath();e.fill();e.restore();e.save();r=r.toUpperCase();e.font="bold italic "+.35*y+"px sans-serif";e.fillStyle="black";ea=.01*x;var ia=e.measureText(r).width+2*ea;w=.8<=ia/(x-w)?x/(1.4*ia):1;e.scale(w,1);e.textAlign="right";e.textBaseline="middle";e.fillText(r,f+x/w-ea/w*2-2*z/w,n+y/2);e.restore()},TD:function(e,f,n,x){var r=x/2*.25;x=(x-r)/2;e.save();var w=f+.5*(2*x+r),ea=n+.5*(2*x+r);e.translate(w,ea);e.rotate(Math.PI/
180*45);e.translate(-w,-ea);e.lineWidth=2;e.beginPath();e.strokeStyle="#910f05";w=.2*x;e.moveTo(f+x,n+w);e.lineTo(f+x+r,n+w);e.lineTo(f+x+r,n+x);e.lineTo(f+2*x+r-w,n+x);e.lineTo(f+2*x+r-w,n+x+r);e.lineTo(f+x+r,n+x+r);e.lineTo(f+x+r,n+2*x+r-w);e.lineTo(f+x,n+2*x+r-w);e.lineTo(f+x,n+x+r);e.lineTo(f+w,n+x+r);e.lineTo(f+w,n+x);e.lineTo(f+x,n+x);e.lineTo(f+x,n-e.lineWidth/2+w);e.stroke();f=e.createLinearGradient(-(2*x),0,1.5*x,0);f.addColorStop(0,"white");f.addColorStop(1,"rgba(211, 80, 49, 1)");e.fillStyle=
f;e.fill();e.closePath();e.restore()},O_:function(e,f,n,x,y){e.save();e.lineJoin="round";e.lineWidth=.02*(x+y);e.beginPath();e.strokeStyle="#3f6b14";var r=.073*x,w=[f+r,n+.4816*y],ea=[f+.2768*x,n+.4334*y],ia=[f+.3367*x,n+.66*y],h=[f+.7756*x,n+r],aa=[f+x-r,n+.2408*y],da=[f+.3267*x,n+y-r];r=[f+r,n+.4816*y];e.moveTo(ea[0],ea[1]);var na=z.a.Math.Wu(w[0],w[1],ea[0],ea[1],.006*x);e.lineTo(ia[0],ia[1]);var ba=z.a.Math.Wu(ia[0],ia[1],h[0],h[1],-(.055*x));e.bezierCurveTo(ia[0],ia[1],ba[0],ba[1],h[0],h[1]);
ba=z.a.Math.Wu(h[0],h[1],aa[0],aa[1],-(.02*x));e.bezierCurveTo(h[0],h[1],ba[0],ba[1],aa[0],aa[1]);h=z.a.Math.Wu(aa[0],aa[1],da[0],da[1],-(.11*x));e.bezierCurveTo(aa[0],aa[1],h[0],h[1],da[0],da[1]);aa=z.a.Math.Wu(da[0],da[1],r[0],r[1],.03*x);e.bezierCurveTo(da[0],da[1],aa[0],aa[1],r[0],r[1]);e.bezierCurveTo(w[0],w[1],na[0],na[1],ea[0],ea[1]);e.lineTo(ia[0],ia[1]);e.stroke();f=e.createLinearGradient(f+.28*x,n+.28*y,f+x-.3*x,n+y-.3*y);f.addColorStop(0,"#a8d971");f.addColorStop(1,"#3f6b14");e.fillStyle=
f;e.fill();e.closePath();e.restore()},aU:function(e,f){y=y||document.createElement("canvas");y.width=f.width;y.height=f.height;var n=y.getContext("2d");n.drawImage(f,0,0);f=n.getImageData(0,0,f.width,f.height);for(var r=f.data,w=r.length,x=3;x<w;x+=4)0!==r[x]&&(0===e&&(e=.01),r[x]=255*e);n.putImageData(f,0,0);return y.toDataURL()},YY:function(f){return-1<e.indexOf(f)},m1:function(e,f,n,x){var r=Math.min(f/x.width,n/x.height);e.drawImage(x,f/2-x.width/2*r,n/2-x.height/2*r,x.width*r,x.height*r)},Y1:function(e){x=
x||document.createElement("canvas");var f=x.getContext("2d");x.width=e.width;x.height=e.height;f.drawImage(e,0,0);return x.toDataURL()},U_:function(e){var f=e.ctx,n=e.Ar,r=e.gI;e=e.color.toString();f.lineWidth=4;n-=2;r=2*r-2;f.strokeStyle=e;f.fillStyle=e;f.beginPath();f.moveTo(18,2);f.lineTo(n-16,2);f.quadraticCurveTo(n-1,2,n-1,18);f.lineTo(n-1,r-16);f.quadraticCurveTo(n-1,r,n-16,r);f.lineTo(18,r);f.quadraticCurveTo(2,r,2,r-16);f.lineTo(2,18);f.quadraticCurveTo(2,2,18,2);f.closePath();f.stroke();
f.fill()},V_:function(e){var f=e.ctx,n=e.Ar,r=e.gI,x=e.title,y=e.X3;f.font="bold ".concat(e.fontSize.toString(),"px Arial");f.fillStyle="white";f.textBaseline="middle";f.textAlign="center";f.fillText(x,n/2,2*(y?.4*r:.5*r))},hM:function(e){var f=e.ctx,n=e.title,r=e.fontSize;e=e.yM;f.font="bold ".concat(r.toString(),"px Arial");f=f.measureText(n);n=2*e;e=r;return f.width+e>n?r=n/((f.width+e)/r):n=f.width+e,{fontSize:r,Ar:n}}}},function(ha,ca,h){h.d(ca,"b",function(){return ba});h.d(ca,"a",function(){return aa});
var ba={AndroidContentPartRetriever:"AndroidContentPartRetriever",ArrayBufferPdfPartRetriever:"ArrayBufferPdfPartRetriever",AzurePartRetriever:"AzurePartRetriever",ExternalPdfPartRetriever:"ExternalPdfPartRetriever",HttpPartRetriever:"HttpPartRetriever",IOSPartRetriever:"IOSPartRetriever",LocalPartRetriever:"LocalPartRetriever",LocalPdfPartRetriever:"LocalPdfPartRetriever",StreamingPartRetriever:"StreamingPartRetriever",WinRTPartRetriever:"WinRTPartRetriever",BlackBoxPartRetriever:"BlackBoxPartRetriever",
WebDBPartRetriever:"WebDBPartRetriever"},aa;(function(h){h[h.NEVER_CACHE=0]="NEVER_CACHE";h[h.CACHE=1]="CACHE";h[h.NO_HINT=2]="NO_HINT"})(aa||(aa={}))},function(ha,ca,h){function ba(h,ba){void 0===ba&&(ba=1E6);return Math.round((h+Number.EPSILON)*ba)/ba}h.d(ca,"a",function(){return ba})},function(ha,ca,h){h.d(ca,"a",function(){return ba});h.d(ca,"b",function(){return aa});var ba={MAX:1.79769E308,MIN:-1.79769E308},aa={ff:String.fromCharCode(64256),fi:String.fromCharCode(64257),fl:String.fromCharCode(64258),
ffi:String.fromCharCode(64259),ffl:String.fromCharCode(64260),ft:String.fromCharCode(64261),st:String.fromCharCode(64262)}},function(ha,ca,h){function ba(){return ea}function aa(){return da().promise}function fa(){ea.hG=null}function da(){ea.hG||(ea.hG=window.createPromiseCapability());return ea.hG}function z(){return ea.Gx}function y(){ia||(ia=new Promise(function(e){if(ka)e(ka);else if(n.utils.isJSWorker&&n.jsworker)e("jsworker");else if(n.utils.isPdfjs)e(void 0);else if(f())if(w.i&&86>w.b)try{var x=
Object(r.e)()+"simple_wasm/MemGrow.js",y=self.document.createElement("script");self.Module={onRuntimeInitialized:function(){self.Module._GrowMemory()?e("wasm-threads"):e("ems");var f=self.Module.PThread.runningWorkers;f.length&&f[0].terminate();y.parentNode.removeChild(y)}};y.type="text/javascript";y.src=x;self.document.getElementsByTagName("head")[0].appendChild(y)}catch(ja){e("ems")}else e("wasm-threads");else e("ems")}));return ia}function f(){if(w.k){if(84>w.e)return!1}else if(w.j){if(87>w.d)return!1}else if(!w.i||
w.m)return!1;if(w.k&&!1===self.crossOriginIsolated)return Object(x.h)("Your server has not been configured to serve WebAssembly threads. See https://www.pdftron.com/enabling_wasm-threads for instructions on how to resolve this."),!1;if(!("SharedArrayBuffer"in n&&"WebAssembly"in n&&"Atomics"in n))return!1;try{if("object"===typeof WebAssembly&&"function"===typeof WebAssembly.instantiate){var e=new WebAssembly.Module(Uint8Array.of(0,97,115,109,1,0,0,0));if(e instanceof WebAssembly.Module&&new WebAssembly.Instance(e)instanceof
WebAssembly.Instance)return(new WebAssembly.Memory({initial:1,maximum:1,shared:!0})).buffer instanceof n.SharedArrayBuffer}}catch(ma){}return!1}function e(e){ka=e}h.d(ca,"a",function(){return e});h.d(ca,"c",function(){return y});h.d(ca,"b",function(){return z});h.d(ca,"d",function(){return da});h.d(ca,"g",function(){return fa});h.d(ca,"e",function(){return aa});h.d(ca,"f",function(){return ba});var x=h(1),r=h(29),w=h(18),n=window,ea={},ia,ka},function(ha,ca,h){function ba(h){if("string"!==typeof h){for(var aa=
"",z=0,y=h.length,f;z<y;)f=h.subarray(z,z+1024),z+=1024,aa+=String.fromCharCode.apply(null,f);return aa}return h}function aa(h){if("string"===typeof h){for(var aa=new Uint8Array(h.length),z=h.length,y=0;y<z;y++)aa[y]=h.charCodeAt(y);return aa}return h}h.d(ca,"b",function(){return aa});h.d(ca,"a",function(){return ba})},function(ha,ca,h){(function(ba){function aa(e,f,ea,ia,z,h,aa,da){return new Promise(function(n){if(Object(x.o)()){var w=new r.ImageData(f,ea,ia),ja=Date.now();e.putImageData(w,z,h,
0,0,ea,ia);Object(y.a)("bufferTiming","putImageData took "+(Date.now()-ja));n()}else{Object(y.a)("Memory","fillCanvasData buffer size "+ea*ia*4);var ka=Math.ceil(1E6/ea),oa=ia,ma=e.createImageData(ea,Math.min(ka,ia)),la=0,fa=function(){var r=Math.min(ka,oa),w=ia-oa,x=r*ea*4;Object(y.a)("Memory","NextChunk "+x);ma.data.set(f.subarray(la,la+x));la+=x;e.putImageData(ma,z,h+w,0,0,ea,r);oa-=r;0===oa?n():(r=ba(fa),aa&&(aa[da]=r))};fa()}})}function fa(e,f){return e-f}function da(r,n,x,y,z,h){var w={getZoom:function(){return 1},
getPageRotation:function(){return e.c.E_0},finishedLoading:function(){return!0},acquireResources:function(){return!0},resourcesLoaded:function(){return!0},getPageTransform:function(){},drawProgressive:function(){},drawComplete:function(){},onError:function(){}};Object(f.isObject)(r)?(w=Object.assign(w,r),w.zoom&&(w.getZoom=function(){return w.zoom}),w.pageRotation&&(w.getPageRotation=function(){return w.pageRotation})):w=Object.assign(w,{pageNumber:r,getZoom:function(){return n},getPageRotation:function(){return x},
drawProgressive:z||w.drawProgressive,drawComplete:y||w.drawComplete,canvasNum:h});return w}function z(e,f){var n="height"in f,r="width"in f;if(!("zoom"in f)&&(n||r)){var w=f.height;if(1>w)throw Error("Height must be greater than or equal to 1.");f=f.width;if(1>f)throw Error("Width must be greater than or equal to 1.");var x=e.height;e=e.width;var y=1;n&&r?y=x>e?w/x:f/e:n?y=w/x:r&&(y=f/e);return y}return f.getZoom()}h.d(ca,"b",function(){return da});h.d(ca,"c",function(){return z});h.d(ca,"d",function(){return fa});
h.d(ca,"a",function(){return aa});var y=h(181),f=h(0);h.n(f);var e=h(4),x=h(26),r=window}).call(this,h(185).setImmediate)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(25),fa=h(32),da=h(273),z=h(275),y=h(58),f=h(13),e=h(26),x=h(15),r=h(10),w=h(30);ha=function(){function n(e,f,n){this.Me=this.$i=this.Ic=this.N=this.mode=null;this.uh=this.oe=0;this.Ih=null;this.Ce=[];this.nS=null;this.se={};this.N=e;e=f===fa.a.hi;this.nS=Object(ba.isUndefined)(n)?!e:n;Object(ba.isNull)(f)||Object(ba.isUndefined)(f)||
(this.mode=f)}n.prototype.setParameters=function(e,f,n,r,w){this.mode=fa.a.hi;this.Ic=e;this.$i=f;this.Me=n;this.oe=r;this.uh=w};n.prototype.W9=function(e){this.se=e};n.prototype.MF=function(){return this.mode===fa.a.Vr||this.mode===fa.a.gw||this.mode===fa.a.Wr};n.prototype.Yk=function(){return this.nS};n.prototype.Ba=function(e,f){if(!this.Ih)return 0;e=this.Ih.wO(e-this.Ih.oe);if(this.N.$E()){var n=this.Ih.wo;f=e.yc()[n-(f+1)]}else f=e.yc()[f];if(!f)return 0;f=f.Ac;return Object(ba.isNumber)(f)?
f:0};n.prototype.Mh=function(e,f){if(this.se.pageToWindow)return this.se.pageToWindow(e,f);e=this.N.aF(e,f);f=this.N.ca.Se(f-1);return{x:e.x+f.di,y:e.y+f.ei}};n.prototype.xG=function(e,f){if(this.se.pageToWindow)return this.se.pageToWindow(e,f);e=this.N.h3(e,f);f=this.N.ca.Se(f-1);return{x:e.x+f.di,y:e.y+f.ei}};n.prototype.Uk=function(e,f){if(this.se.windowToPage)return this.se.windowToPage(e,f);var n=this.N.mc(f),r=this.N.ca.Se(f-1),w=new x.b;w.x=e.x-r.di;w.y=e.y-r.ei;e=this.N.Tc(f);r=this.N.Ad(f);
var ea=this.N.zd(f);n=Object(y.a)(n,e,{width:r,height:ea},void 0,!1).inverse().ka(w);return{pageNumber:f,x:n.x,y:n.y}};n.prototype.Uba=function(e,f){if(this.se.windowToPage)return this.se.windowToPage(e,f);var n=this.N.mc(f),r=this.N.ca.Se(f-1),w=new x.b;w.x=e.x-r.di;w.y=e.y-r.ei;e=this.N.Sd(f);n=Object(y.a)(n,e,this.N.O.Gb(f),void 0,!1);n=n.inverse();w=n.ka(w);return{pageNumber:f,x:w.x,y:w.y}};n.prototype.Wt=function(e,f){if(this.se.getSelectedPages)return this.se.getSelectedPages(e,f);var n=null,
r=null;e=Object(ba.isUndefined)(e)?this.N.Ud:e;f=Object(ba.isUndefined)(f)?this.N.Jb:f;a:for(var w=this.oe;w<this.uh;w++)for(var x=0;x<this.Ic;x++){var y=this.Ba(w,x);if(!(1>y)){var ea=this.N.ca.Se(y-1),ia=ea.di,z=ea.ei,h=ea.di+ea.width*(ea.zoom||this.N.zoom);ea=ea.ei+ea.height*(ea.zoom||this.N.zoom);null===n&&e.x<=h&&e.x>=ia&&e.y<=ea&&e.y>=z&&(n=y);null===r&&f.x<=h&&f.x>=ia&&f.y<=ea&&f.y>=z&&(r=y);if(null!==n&&null!==r)break a}}n>r&&(e=[r,n],n=e[0],r=e[1]);return{first:n,last:r}};n.prototype.Te=
function(e,f){if(this.se.getVisiblePages)return this.se.getVisiblePages(e,f);if(!this.N.Zb())return[];var n=[];f=this.getVisibleRegionRect(e,f);for(var r=this.getVisibleRegionRect(0,0),w=this.oe;w<this.uh;w++)for(var x=0;x<this.Ic;x++)if(e=this.Ba(w,x),!(1>e)){var y=this.Vn(e,f,r);null!==y&&n.push({Ac:e,ZQ:y.q7})}n.sort(function(e,f){return f.ZQ-e.ZQ});return n.map(function(e){return e.Ac})};n.prototype.getVisibleRegionRect=function(e,n){e=Object(ba.isUndefined)(e)?.5:e;n=Object(ba.isUndefined)(n)?
.5:n;var r=this.N.Zb();if(null===r)return[];var w=r.getBoundingClientRect(),x=r.scrollTop,y=Object(f.d)(r);r=w.width;var ea=w.height;x=x+w.top-ea*e;w=y+w.left-r*n;return{ha:w,ea:x,ia:w+r*(1+2*n),fa:x+ea*(1+2*e)}};n.prototype.Vn=function(f,n,r){var w=this.N.O.Gb(f),x=this.pageToWindowNoRotate({x:0,y:0},f),y=this.pageToWindowNoRotate({x:w.width,y:w.height},f);w=Object(e.k)(x,y);n=Object(e.c)(w,n);if(n.ha!==n.ia){var ea=void 0;r&&(r=Object(e.c)(w,r),ea=(r.ia-r.ha)*(r.fa-r.ea)/((w.ia-w.ha)*(w.fa-w.ea)));
x=this.windowToPageNoRotate({x:n.ha,y:n.ea},f);y=this.windowToPageNoRotate({x:n.ia,y:n.fa},f);return{ac:Object(e.l)(Object(e.k)(x,y)),gB:{x:n.ha-w.ha,y:n.ea-w.ea},q7:ea}}return null};n.prototype.xq=function(e){if(this.se.getPageTransform)return this.se.getPageTransform(e);e=this.N.vq(e);return{x:0,y:0,width:e.width,height:e.height}};n.prototype.SE=function(){return{x:0,y:0}};n.prototype.Rp=function(){return Object(da.a)({Sk:this.N.xO(),Nba:this.N.ca.Te(),wo:this.Ic,oe:this.oe,Yq:this.uh-this.oe,Kaa:this.mode===
fa.a.Wr||this.mode===fa.a.Xr?1:0,ij:this.N.$E()})};n.prototype.pu=function(e){var f=this.N.ca.eg(e-1);return this.N.bb.pu(f)||this.N.ca.Se(e-1).Vd};n.prototype.qM=function(e){var f=this;this.Hy(function(n){var r=n.id.slice(13),w=0===r.indexOf("b");r=parseInt(r,10);w||f.pu(r)||[].forEach.call(n.querySelectorAll("canvas.canvas"+r),function(e){Object(aa.a)().Kn(e)});Object(aa.a)().pM(r-1);if(e)for(;n.firstChild;)n.removeChild(n.firstChild)})};n.prototype.ev=function(e){var f=this.N.Mi();if(e)if(this.mode===
fa.a.hi)for(;f.firstChild;)f.removeChild(f.firstChild);else this.qM(!0);else this.Ih=null,this.qM(),f&&(f.textContent=""),this.N.trigger(r.d.CONTENT_REMOVED)};n.prototype.Us=function(e){if(this.Ih)for(var f=Object.keys(e),n=0,r=this.Ih.aa.length;n<r;n++){var w=this.Ih.aa[n],x=w.Og,y=e[x];-1<f.indexOf(x)&&w.l$(y)}};n.prototype.ai=function(){if(this.se.createPageSections)return this.ev(!1),this.se.createPageSections(),Object(ba.range)(0,this.N.gc());var e=this;if(this.mode!==fa.a.hi){var f=this.Rp(),
n=Object(z.a)(this.Ih,f);n.N2().forEach(function(f){var n=document.getElementById("pageContainer"+f),r;n&&(r=e.N.AI?n.querySelector("#hrthumb"+f):n.querySelector(".canvas"+f+":not(.progressive)"));r&&e.N.ca.PH(f-1,r)});this.Ih=f;f=n.lY(this.N.Mi()).AG;this.N.TC(this.Ih.Ca());return f}return Object(ba.range)(1,this.N.gc()+1)};n.prototype.Hy=function(e){var f=this.N.Mi();if(f)for(f=f.firstChild;f;)Object(w.g)(f,"pageSection")&&e(f.firstChild),f=f.nextSibling};n.prototype.Zg=function(){var e=this.N.ca,
n=this.N.Zb(),r=Object(f.d)(n),w=n.scrollTop;this.Hy(function(f){var n=f.id.slice(13);n=parseInt(n,10);Object(ba.isNaN)(n)||(f=f.getBoundingClientRect(),e.E$(n-1,{di:Math.round(r+f.left),ei:Math.round(w+f.top)}))})};return n}();ca.a=ha},function(ha,ca){ha=function(){function h(h){if("string"!==typeof h)h={documentElement:h};else{var aa=new DOMParser;h=aa.parseFromString(h,"text/xml")}this.current=h.documentElement;this.next=this.current.nextSibling;this.diff=this.depth=0}h.prototype.EJ=function(){for(;this.next&&
this.next.nodeType!==Node.ELEMENT_NODE;)this.next=this.next.nextSibling};h.prototype.advance=function(){this.EJ();return this.next?(this.current=this.next,this.next=this.current.nextSibling,!0):!1};h.prototype.Oa=function(){return this.current.tagName};h.prototype.Ia=function(){++this.depth;this.next=this.current.firstChild;this.EJ();this.next||++this.diff};h.prototype.Za=function(){--this.depth;0<this.diff?--this.diff:this.current=this.current.parentNode;this.current&&(this.next=this.current.nextSibling)};
h.prototype.ba=function(h){return this.current.getAttribute(h)};return h}();ca.a=ha},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(4),fa=h(30),da=h(23);ca.a=function(z,y,f,e,x,r){e=e||{x:0,y:0};f.width?(f.ha=0,f.ea=0,f.ia=f.width,f.fa=f.height):(f.width=f.ia-f.ha,f.height=f.fa-f.ea);var w=new da.a;Object(ba.isUndefined)(x)&&(x=!0);x&&(x=r||Object(fa.e)(),z*=x,e.x*=x,e.y*=x);w.cb(z,0,0,z,e.x,e.y);z=new da.a;y===aa.c.E_0?z.cb(1,0,0,1,-f.ha,-f.ea):y===aa.c.E_90?z.cb(1,0,0,1,f.fa,-f.ha):y===aa.c.E_180?
z.cb(1,0,0,1,f.ia,f.fa):y===aa.c.E_270&&z.cb(1,0,0,1,-f.ea,f.ia);w.concat(z);w.concat(da.a.pm(Math.PI/2*(4-y)));return w}},function(ha,ca,h){h.d(ca,"a",function(){return ba});var ba={Rr:"auto",fw:"fixedWidth",ew:"fixedHeight"}},function(ha,ca){function h(h,aa){var ba=Error.apply(this,arguments);ba.name=this.name="WorkerError";this.stack=ba.stack;this.message=ba.message;this.userMessage=aa}h.prototype=Object.create(Error.prototype,{constructor:{value:h,writable:!0,configurable:!0}});ca.a=h},function(ha,
ca,h){function ba(e){x=e}function aa(){return x}function fa(e){if(!e||50>e.length)return!1;var f=e.lastIndexOf(":");return"demo:"!==e.slice(0,5)?!1:0<e.slice(5,f).match(/^[a-zA-Z0-9.!#$%&\u2019*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/).length}function da(e){return e?Promise.resolve(e):r.Yca?Promise.resolve():(""+location).split("").reverse().join("").match(/(moc\.nortfdp\.[^.]+\/\/|moc\.nortfdp\/\/)/)||r.jsworker?Promise.resolve(""):z().then(function(e){return e?e:null})}function z(){return new Promise(function(e){function f(n){"object"===
typeof n.data&&"responsel"===n.data.type&&(e(n.data.value),window.removeEventListener("message",f))}function r(){window.parent.postMessage("requestl","*");window.addEventListener("message",f)}try{var w=window.parent&&window.parent.WebViewer?window.parent.WebViewer.l(window.frameElement):void 0;void 0===w?(r(),setTimeout(function(){e(w);window.removeEventListener("message",f)},100)):e(w)}catch(ka){r()}})}function y(f){e=f}function f(){return e}h.d(ca,"a",function(){return f});h.d(ca,"f",function(){return y});
h.d(ca,"b",function(){return da});h.d(ca,"c",function(){return fa});h.d(ca,"d",function(){return aa});h.d(ca,"e",function(){return ba});var e,x,r=window},function(ha,ca,h){function ba(){return Ba||la.Ef()+"office/"}function aa(e){e.lastIndexOf("/")!==e.length-1&&(e+="/");Ba=e}function fa(e,f,r){ja||Object(ka.d)().xo||z(e,f);Object(n.a)()||Object(n.f)(r);r=r||Object(n.a)();if(!Object(ka.d)().xo){var w;e=Promise.all([Object(n.b)(r),ja]).then(function(e){var f=e[0],n=e[1];return new Promise(function(e,
r){Object(ka.a)(function(){r(new ea.a("The worker has encountered an error",ma.h?"error.EmsWorkerErrorIE":"error.EmsWorkerError"))});f=Object(ka.b)(f);w=new ia.a(n,Object(ka.c)(),{l:f});w.CI.then(function(){e(w)},function(e){r(e)})})});Object(ka.k)({office:e})}return Object(ka.d)().xo}function da(e){ja=Promise.resolve(e);Object(ka.k)({office:null})}function z(e,f,n){Object(w.isUndefined)(n)&&(n={});Object(ka.d)().xo&&e===y()||(n.emsWorkerPath=x()+"OfficeWorker.js",n.externalPath=Object(oa.b)(),n.kU=
na,Ba&&(n.pdfWorkerPath=Ba),ra&&(n.officeAsmPath=ra),ja=Object(ka.g)(e,f,n))}function y(){return na.Gx}function f(){return ra||la.Ef()+"}office/"}function e(e){e.lastIndexOf("/")!==e.length-1&&(e+="/");ra=e}function x(){return ua||la.Ef()+"office/"}function r(e){e.indexOf("/")!==e.length-1&&(e+="/");ua=e}h.d(ca,"j",function(){return r});h.d(ca,"d",function(){return x});h.d(ca,"h",function(){return e});h.d(ca,"b",function(){return f});h.d(ca,"a",function(){return y});h.d(ca,"f",function(){return z});
h.d(ca,"g",function(){return da});h.d(ca,"e",function(){return fa});h.d(ca,"i",function(){return aa});h.d(ca,"c",function(){return ba});var w=h(0);h.n(w);var n=h(61),ea=h(60),ia=h(264),ka=h(38),oa=h(29),ma=h(18),la=("undefined"===typeof window?void 0:window).kb,ja,ua,ra,na={},Ba},function(ha,ca,h){(function(h){(function(aa,ba){h.exports=ba()})(this,function(){function aa(){return Be.apply(null,arguments)}function ba(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}
function da(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function z(e){return void 0===e}function y(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function e(e,f){var n=[],r;for(r=0;r<e.length;++r)n.push(f(e[r],r));return n}function x(e,f){return Object.prototype.hasOwnProperty.call(e,f)}function r(e,f){for(var n in f)x(f,n)&&(e[n]=f[n]);x(f,
"toString")&&(e.toString=f.toString);x(f,"valueOf")&&(e.valueOf=f.valueOf);return e}function w(e,f,n,r){return Xc(e,f,n,r,!0).utc()}function n(e){null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1});return e._pf}function ea(e){if(null==e._isValid){var f=n(e),r=Fd.call(f.parsedDateParts,function(e){return null!=e});r=!isNaN(e._d.getTime())&&
0>f.overflow&&!f.empty&&!f.invalidMonth&&!f.invalidWeekday&&!f.weekdayMismatch&&!f.nullInput&&!f.invalidFormat&&!f.userInvalidated&&(!f.meridiem||f.meridiem&&r);e._strict&&(r=r&&0===f.charsLeftOver&&0===f.unusedTokens.length&&void 0===f.bigHour);if(null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function ia(e){var f=w(NaN);null!=e?r(n(f),e):n(f).userInvalidated=!0;return f}function ka(e,f){var r;z(f._isAMomentObject)||(e._isAMomentObject=f._isAMomentObject);z(f._i)||
(e._i=f._i);z(f._f)||(e._f=f._f);z(f._l)||(e._l=f._l);z(f._strict)||(e._strict=f._strict);z(f._tzm)||(e._tzm=f._tzm);z(f._isUTC)||(e._isUTC=f._isUTC);z(f._offset)||(e._offset=f._offset);z(f._pf)||(e._pf=n(f));z(f._locale)||(e._locale=f._locale);if(0<Gd.length)for(r=0;r<Gd.length;r++){var w=Gd[r];var x=f[w];z(x)||(e[w]=x)}return e}function oa(e){ka(this,e);this._d=new Date(null!=e._d?e._d.getTime():NaN);this.isValid()||(this._d=new Date(NaN));!1===yf&&(yf=!0,yf=!1)}function ma(e){return e instanceof
oa||null!=e&&null!=e._isAMomentObject}function la(e){return 0>e?Math.ceil(e)||0:Math.floor(e)}function ja(e){e=+e;var f=0;0!==e&&isFinite(e)&&(f=la(e));return f}function ua(e,f,n){var r=Math.min(e.length,f.length),w=Math.abs(e.length-f.length),x=0,y;for(y=0;y<r;y++)(n&&e[y]!==f[y]||!n&&ja(e[y])!==ja(f[y]))&&x++;return x+w}function ra(e){!1===aa.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function na(e,f){var n=!0;return r(function(){null!=
aa.deprecationHandler&&aa.deprecationHandler(null,e);if(n){for(var r=[],w,x=0;x<arguments.length;x++){w="";if("object"===typeof arguments[x]){w+="\n["+x+"] ";for(var y in arguments[0])w+=y+": "+arguments[0][y]+", ";w=w.slice(0,-2)}else w=arguments[x];r.push(w)}ra(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+Error().stack);n=!1}return f.apply(this,arguments)},f)}function Ba(e,f){null!=aa.deprecationHandler&&aa.deprecationHandler(e,f);yg[e]||(ra(f),yg[e]=!0)}function za(e){return e instanceof
Function||"[object Function]"===Object.prototype.toString.call(e)}function sa(e,f){var n=r({},e),w;for(w in f)x(f,w)&&(da(e[w])&&da(f[w])?(n[w]={},r(n[w],e[w]),r(n[w],f[w])):null!=f[w]?n[w]=f[w]:delete n[w]);for(w in e)x(e,w)&&!x(f,w)&&da(e[w])&&(n[w]=r({},n[w]));return n}function va(e){null!=e&&this.set(e)}function ta(e,f){var n=e.toLowerCase();Hd[n]=Hd[n+"s"]=Hd[f]=e}function ya(e){return"string"===typeof e?Hd[e]||Hd[e.toLowerCase()]:void 0}function pa(e){var f={},n,r;for(r in e)x(e,r)&&(n=ya(r))&&
(f[n]=e[r]);return f}function ca(e){var f=[],n;for(n in e)f.push({unit:n,priority:Cb[n]});f.sort(function(e,f){return e.priority-f.priority});return f}function ha(e,f,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,f-r.length)).toString().substr(1)+r}function Aa(e,f,n,r){var w=r;"string"===typeof r&&(w=function(){return this[r]()});e&&(zb[e]=w);f&&(zb[f[0]]=function(){return ha(w.apply(this,arguments),f[1],f[2])});n&&(zb[n]=function(){return this.localeData().ordinal(w.apply(this,
arguments),e)})}function Ea(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Da(e){var f=e.match(Ag),n;var r=0;for(n=f.length;r<n;r++)f[r]=zb[f[r]]?zb[f[r]]:Ea(f[r]);return function(r){var w="",x;for(x=0;x<n;x++)w+=za(f[x])?f[x].call(r,e):f[x];return w}}function Ja(e,f){if(!e.isValid())return e.localeData().invalidDate();f=Na(f,e.localeData());kc[f]=kc[f]||Da(f);return kc[f](e)}function Na(e,f){function n(e){return f.longDateFormat(e)||e}var r=5;for(ye.lastIndex=
0;0<=r&&ye.test(e);)e=e.replace(ye,n),ye.lastIndex=0,--r;return e}function wa(e,f,n){nd[e]=za(f)?f:function(e){return e&&n?n:f}}function Fa(e,f){return x(nd,e)?nd[e](f._strict,f._locale):new RegExp(Ma(e))}function Ma(e){return qa(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,f,n,r,w){return f||n||r||w}))}function qa(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ia(e,f){var n,r=f;"string"===typeof e&&(e=[e]);y(f)&&(r=function(e,n){n[f]=ja(e)});for(n=0;n<
e.length;n++)Ec[e[n]]=r}function Pa(e,f){Ia(e,function(e,n,r,w){r._w=r._w||{};f(e,r._w,r,w)})}function xa(e){return 0===e%4&&0!==e%100||0===e%400}function La(e){return function(f){return null!=f?(Qa(this,e,f),this):Ga(this,e)}}function Ga(e,f){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+f]():NaN}function Qa(e,f,n){if(e.isValid()&&!isNaN(n))if("FullYear"===f&&xa(e.year())&&1===e.month()&&29===e.date())e._d["set"+(e._isUTC?"UTC":"")+f](n,e.month(),Ta(n,e.month()));else e._d["set"+(e._isUTC?"UTC":
"")+f](n)}function Ta(e,f){if(isNaN(e)||isNaN(f))return NaN;var n=(f%12+12)%12;return 1===n?xa(e+(f-n)/12)?29:28:31-n%7%2}function Ra(e,f){if(!e.isValid())return e;if("string"===typeof f)if(/^\d+$/.test(f))f=ja(f);else if(f=e.localeData().monthsParse(f),!y(f))return e;var n=Math.min(e.date(),Ta(e.year(),f));e._d["set"+(e._isUTC?"UTC":"")+"Month"](f,n);return e}function ib(e){return null!=e?(Ra(this,e),this):Ga(this,"Month")}function Lb(){function e(e,f){return f.length-e.length}var f=[],n=[],r=[],
x;for(x=0;12>x;x++){var y=w([2E3,x]);f.push(this.monthsShort(y,""));n.push(this.months(y,""));r.push(this.months(y,""));r.push(this.monthsShort(y,""))}f.sort(e);n.sort(e);r.sort(e);for(x=0;12>x;x++)f[x]=qa(f[x]),n[x]=qa(n[x]);for(x=0;24>x;x++)r[x]=qa(r[x]);this._monthsShortRegex=this._monthsRegex=new RegExp("^("+r.join("|")+")","i");this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+f.join("|")+")","i")}function Mb(e,f,n,r,w,x,y){100>e&&0<=e?
(f=new Date(e+400,f,n,r,w,x,y),isFinite(f.getFullYear())&&f.setFullYear(e)):f=new Date(e,f,n,r,w,x,y);return f}function Db(e){if(100>e&&0<=e){var f=Array.prototype.slice.call(arguments);f[0]=e+400;f=new Date(Date.UTC.apply(null,f));isFinite(f.getUTCFullYear())&&f.setUTCFullYear(e)}else f=new Date(Date.UTC.apply(null,arguments));return f}function ub(e,f,n){n=7+f-n;return-((7+Db(e,0,n).getUTCDay()-f)%7)+n-1}function $b(e,f,n,r,w){n=(7+n-r)%7;r=ub(e,r,w);r=1+7*(f-1)+n+r;0>=r?(f=e-1,e=(xa(f)?366:365)+
r):r>(xa(e)?366:365)?(f=e+1,e=r-(xa(e)?366:365)):(f=e,e=r);return{year:f,dayOfYear:e}}function wb(e,f,n){var r=ub(e.year(),f,n);r=Math.floor((e.dayOfYear()-r-1)/7)+1;1>r?(e=e.year()-1,f=r+ac(e,f,n)):r>ac(e.year(),f,n)?(f=r-ac(e.year(),f,n),e=e.year()+1):(e=e.year(),f=r);return{week:f,year:e}}function ac(e,f,n){var r=ub(e,f,n);f=ub(e+1,f,n);return((xa(e)?366:365)-r+f)/7}function db(e,f){return e.slice(f,7).concat(e.slice(0,f))}function Id(e,f,n){var r;e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=
[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r){var x=w([2E3,1]).day(r);this._minWeekdaysParse[r]=this.weekdaysMin(x,"").toLocaleLowerCase();this._shortWeekdaysParse[r]=this.weekdaysShort(x,"").toLocaleLowerCase();this._weekdaysParse[r]=this.weekdays(x,"").toLocaleLowerCase()}if(n)f="dddd"===f?pb.call(this._weekdaysParse,e):"ddd"===f?pb.call(this._shortWeekdaysParse,e):pb.call(this._minWeekdaysParse,e);else if("dddd"===f){f=pb.call(this._weekdaysParse,e);if(-1!==f)return f;f=
pb.call(this._shortWeekdaysParse,e);if(-1!==f)return f;f=pb.call(this._minWeekdaysParse,e)}else if("ddd"===f){f=pb.call(this._shortWeekdaysParse,e);if(-1!==f)return f;f=pb.call(this._weekdaysParse,e);if(-1!==f)return f;f=pb.call(this._minWeekdaysParse,e)}else{f=pb.call(this._minWeekdaysParse,e);if(-1!==f)return f;f=pb.call(this._weekdaysParse,e);if(-1!==f)return f;f=pb.call(this._shortWeekdaysParse,e)}return-1!==f?f:null}function Uc(){function e(e,f){return f.length-e.length}var f=[],n=[],r=[],x=
[],y;for(y=0;7>y;y++){var ea=w([2E3,1]).day(y);var z=this.weekdaysMin(ea,"");var h=this.weekdaysShort(ea,"");ea=this.weekdays(ea,"");f.push(z);n.push(h);r.push(ea);x.push(z);x.push(h);x.push(ea)}f.sort(e);n.sort(e);r.sort(e);x.sort(e);for(y=0;7>y;y++)n[y]=qa(n[y]),r[y]=qa(r[y]),x[y]=qa(x[y]);this._weekdaysMinRegex=this._weekdaysShortRegex=this._weekdaysRegex=new RegExp("^("+x.join("|")+")","i");this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+
n.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+f.join("|")+")","i")}function sc(){return this.hours()%12||12}function Vc(e,f){Aa(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),f)})}function eb(e,f){return f._meridiemParse}function Jd(e){return e?e.toLowerCase().replace("_","-"):e}function gd(e){if(!sb[e]&&"undefined"!==typeof h&&h&&h.exports)try{var f=Error("Cannot find module 'undefined'");f.code="MODULE_NOT_FOUND";throw f;}catch(Rf){}return sb[e]}
function Wc(e,f){e&&((f=z(f)?tc(e):hd(e,f))?pd=f:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?"));return pd._abbr}function hd(e,f){if(null!==f){var n=Pc;f.abbr=e;if(null!=sb[e])Ba("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),
n=sb[e]._config;else if(null!=f.parentLocale)if(null!=sb[f.parentLocale])n=sb[f.parentLocale]._config;else if(n=gd(f.parentLocale),null!=n)n=n._config;else return bd[f.parentLocale]||(bd[f.parentLocale]=[]),bd[f.parentLocale].push({name:e,config:f}),null;sb[e]=new va(sa(n,f));bd[e]&&bd[e].forEach(function(e){hd(e.name,e.config)});Wc(e);return sb[e]}delete sb[e];return null}function tc(e){var f;e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr);if(!e)return pd;if(!ba(e)){if(f=gd(e))return f;e=[e]}a:{f=
0;for(var n,r,w,x;f<e.length;){x=Jd(e[f]).split("-");n=x.length;for(r=(r=Jd(e[f+1]))?r.split("-"):null;0<n;){if(w=gd(x.slice(0,n).join("-"))){e=w;break a}if(r&&r.length>=n&&ua(x,r,!0)>=n-1)break;n--}f++}e=pd}return e}function Kd(e){var f;(f=e._a)&&-2===n(e).overflow&&(f=0>f[Rb]||11<f[Rb]?Rb:1>f[Xb]||f[Xb]>Ta(f[Vb],f[Rb])?Xb:0>f[Ya]||24<f[Ya]||24===f[Ya]&&(0!==f[rb]||0!==f[Yb]||0!==f[ec])?Ya:0>f[rb]||59<f[rb]?rb:0>f[Yb]||59<f[Yb]?Yb:0>f[ec]||999<f[ec]?ec:-1,n(e)._overflowDayOfYear&&(f<Vb||f>Xb)&&(f=
Xb),n(e)._overflowWeeks&&-1===f&&(f=mc),n(e)._overflowWeekday&&-1===f&&(f=pi),n(e).overflow=f);return e}function Jc(e,f,n){return null!=e?e:null!=f?f:n}function Ld(e){var f=[];if(!e._d){var r=new Date(aa.now());r=e._useUTC?[r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()]:[r.getFullYear(),r.getMonth(),r.getDate()];if(e._w&&null==e._a[Xb]&&null==e._a[Rb]){var w=e._w;if(null!=w.GG||null!=w.W||null!=w.E){var x=1;var y=4;var ea=Jc(w.GG,e._a[Vb],wb(gb(),1,4).year);var z=Jc(w.W,1);var h=Jc(w.E,1);if(1>
h||7<h)var ia=!0}else if(x=e._locale._week.dow,y=e._locale._week.doy,z=wb(gb(),x,y),ea=Jc(w.gg,e._a[Vb],z.year),z=Jc(w.w,z.week),null!=w.d){if(h=w.d,0>h||6<h)ia=!0}else if(null!=w.e){if(h=w.e+x,0>w.e||6<w.e)ia=!0}else h=x;1>z||z>ac(ea,x,y)?n(e)._overflowWeeks=!0:null!=ia?n(e)._overflowWeekday=!0:(ia=$b(ea,z,h,x,y),e._a[Vb]=ia.year,e._dayOfYear=ia.dayOfYear)}if(null!=e._dayOfYear){ia=Jc(e._a[Vb],r[Vb]);if(e._dayOfYear>(xa(ia)?366:365)||0===e._dayOfYear)n(e)._overflowDayOfYear=!0;ia=Db(ia,0,e._dayOfYear);
e._a[Rb]=ia.getUTCMonth();e._a[Xb]=ia.getUTCDate()}for(ia=0;3>ia&&null==e._a[ia];++ia)e._a[ia]=f[ia]=r[ia];for(;7>ia;ia++)e._a[ia]=f[ia]=null==e._a[ia]?2===ia?1:0:e._a[ia];24===e._a[Ya]&&0===e._a[rb]&&0===e._a[Yb]&&0===e._a[ec]&&(e._nextDay=!0,e._a[Ya]=0);e._d=(e._useUTC?Db:Mb).apply(null,f);f=e._useUTC?e._d.getUTCDay():e._d.getDay();null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm);e._nextDay&&(e._a[Ya]=24);e._w&&"undefined"!==typeof e._w.d&&e._w.d!==f&&(n(e).weekdayMismatch=!0)}}function Md(e){var f;
var r=e._i;var w=yc.exec(r)||Kf.exec(r);if(w){n(e).iso=!0;r=0;for(f=cd.length;r<f;r++)if(cd[r][1].exec(w[1])){var x=cd[r][0];var y=!1!==cd[r][2];break}if(null==x)e._isValid=!1;else{if(w[3]){r=0;for(f=$d.length;r<f;r++)if($d[r][1].exec(w[3])){var ea=(w[2]||" ")+$d[r][0];break}if(null==ea){e._isValid=!1;return}}if(y||null==ea){if(w[4])if(Zd.exec(w[4]))var ia="Z";else{e._isValid=!1;return}e._f=x+(ea||"")+(ia||"");Nd(e)}else e._isValid=!1}}else e._isValid=!1}function re(e){var f=Mf.exec(e._i.replace(/\([^)]*\)|[\n\t]/g,
" ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(f){var r=f[2],w=f[5],x=f[6],y=f[7],ea=parseInt(f[4],10);r=[49>=ea?2E3+ea:999>=ea?1900+ea:ea,Kg.indexOf(f[3]),parseInt(r,10),parseInt(w,10),parseInt(x,10)];y&&r.push(parseInt(y,10));(y=f[1])&&od.indexOf(y)!==(new Date(r[0],r[1],r[2])).getDay()?(n(e).weekdayMismatch=!0,y=e._isValid=!1):y=!0;y&&(e._a=r,(y=f[8])?f=Ee[y]:f[9]?f=0:(f=parseInt(f[10],10),y=f%100,f=(f-y)/100*60+y),e._tzm=f,e._d=Db.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-
e._tzm),n(e).rfc2822=!0)}else e._isValid=!1}function zf(e){var f=Lf.exec(e._i);null!==f?e._d=new Date(+f[1]):(Md(e),!1===e._isValid&&(delete e._isValid,re(e),!1===e._isValid&&(delete e._isValid,aa.createFromInputFallback(e))))}function Nd(e){if(e._f===aa.ISO_8601)Md(e);else if(e._f===aa.RFC_2822)re(e);else{e._a=[];n(e).empty=!0;var f=""+e._i,r,w,y=f.length,ea=0;var ia=Na(e._f,e._locale).match(Ag)||[];for(r=0;r<ia.length;r++){var z=ia[r];if(w=(f.match(Fa(z,e))||[])[0]){var h=f.substr(0,f.indexOf(w));
0<h.length&&n(e).unusedInput.push(h);f=f.slice(f.indexOf(w)+w.length);ea+=w.length}if(zb[z]){if(w?n(e).empty=!1:n(e).unusedTokens.push(z),h=e,null!=w&&x(Ec,z))Ec[z](w,h._a,h,z)}else e._strict&&!w&&n(e).unusedTokens.push(z)}n(e).charsLeftOver=y-ea;0<f.length&&n(e).unusedInput.push(f);12>=e._a[Ya]&&!0===n(e).bigHour&&0<e._a[Ya]&&(n(e).bigHour=void 0);n(e).parsedDateParts=e._a.slice(0);n(e).meridiem=e._meridiem;f=e._a;r=Ya;y=e._locale;ia=e._a[Ya];ea=e._meridiem;null!=ea&&(null!=y.meridiemHour?ia=y.meridiemHour(ia,
ea):null!=y.isPM&&((y=y.isPM(ea))&&12>ia&&(ia+=12),y||12!==ia||(ia=0)));f[r]=ia;Ld(e);Kd(e)}}function Af(f){if(!f._d){var n=pa(f._i);f._a=e([n.year,n.month,n.day||n.date,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)});Ld(f)}}function se(e){var w=e._i,x=e._f;e._locale=e._locale||tc(e._l);if(null===w||void 0===x&&""===w)return ia({nullInput:!0});"string"===typeof w&&(e._i=w=e._locale.preparse(w));if(ma(w))return new oa(Kd(w));if(f(w))e._d=w;else if(ba(x))if(0===e._f.length)n(e).invalidFormat=
!0,e._d=new Date(NaN);else{for(w=0;w<e._f.length;w++){x=0;var y=ka({},e);null!=e._useUTC&&(y._useUTC=e._useUTC);y._f=e._f[w];Nd(y);if(ea(y)&&(x+=n(y).charsLeftOver,x+=10*n(y).unusedTokens.length,n(y).score=x,null==z||x<z)){var z=x;var h=y}}r(e,h||y)}else x?Nd(e):Bf(e);ea(e)||(e._d=null);return e}function Bf(n){var r=n._i;z(r)?n._d=new Date(aa.now()):f(r)?n._d=new Date(r.valueOf()):"string"===typeof r?zf(n):ba(r)?(n._a=e(r.slice(0),function(e){return parseInt(e,10)}),Ld(n)):da(r)?Af(n):y(r)?n._d=new Date(r):
aa.createFromInputFallback(n)}function Xc(e,f,n,r,w){var x={};if(!0===n||!1===n)r=n,n=void 0;var y;if(y=da(e))a:if(y=e,Object.getOwnPropertyNames)y=0===Object.getOwnPropertyNames(y).length;else{for(var ea in y)if(y.hasOwnProperty(ea)){y=!1;break a}y=!0}if(y||ba(e)&&0===e.length)e=void 0;x._isAMomentObject=!0;x._useUTC=x._isUTC=w;x._l=n;x._i=e;x._f=f;x._strict=r;e=new oa(Kd(se(x)));e._nextDay&&(e.add(1,"d"),e._nextDay=void 0);return e}function gb(e,f,n,r){return Xc(e,f,n,r,!1)}function te(e,f){var n;
1===f.length&&ba(f[0])&&(f=f[0]);if(!f.length)return gb();var r=f[0];for(n=1;n<f.length;++n)if(!f[n].isValid()||f[n][e](r))r=f[n];return r}function id(e){var f=pa(e);e=f.year||0;var n=f.quarter||0,r=f.month||0,w=f.week||f.isoWeek||0,x=f.day||0,y=f.hour||0,ea=f.minute||0,ia=f.second||0,z=f.millisecond||0;a:{for(var h in f)if(-1===pb.call(Qc,h)||null!=f[h]&&isNaN(f[h])){f=!1;break a}h=!1;for(var ka=0;ka<Qc.length;++ka)if(f[Qc[ka]]){if(h){f=!1;break a}parseFloat(f[Qc[ka]])!==ja(f[Qc[ka]])&&(h=!0)}f=
!0}this._isValid=f;this._milliseconds=+z+1E3*ia+6E4*ea+36E5*y;this._days=+x+7*w;this._months=+r+3*n+12*e;this._data={};this._locale=tc();this._bubble()}function Zb(e){return e instanceof id}function Od(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function Bc(e,f){Aa(e,0,0,function(){var e=this.utcOffset(),n="+";0>e&&(e=-e,n="-");return n+ha(~~(e/60),2)+f+ha(~~e%60,2)})}function Pd(e,f){e=(f||"").match(e);if(null===e)return null;e=((e[e.length-1]||[])+"").match(Ge)||["-",0,0];f=+(60*e[1])+ja(e[2]);
return 0===f?0:"+"===e[0]?f:-f}function Qd(e,n){return n._isUTC?(n=n.clone(),e=(ma(e)||f(e)?e.valueOf():gb(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+e),n):gb(e).local()}function ue(){return this.isValid()?this._isUTC&&0===this._offset:!1}function Xa(e,f){var n=e;Zb(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:y(e)?(n={},f?n[f]=e:n.milliseconds=e):(f=Fe.exec(e))?(n="-"===f[1]?-1:1,n={y:0,d:ja(f[Xb])*n,h:ja(f[Ya])*n,m:ja(f[rb])*n,s:ja(f[Yb])*n,ms:ja(Od(1E3*f[ec]))*n}):(f=qd.exec(e))?
(n="-"===f[1]?-1:1,n={y:$a(f[2],n),M:$a(f[3],n),w:$a(f[4],n),d:$a(f[5],n),h:$a(f[6],n),m:$a(f[7],n),s:$a(f[8],n)}):null==n?n={}:"object"===typeof n&&("from"in n||"to"in n)&&(f=gb(n.from),n=gb(n.to),f.isValid()&&n.isValid()?(n=Qd(n,f),f.isBefore(n)?n=Tc(f,n):(n=Tc(n,f),n.milliseconds=-n.milliseconds,n.months=-n.months),f=n):f={milliseconds:0,months:0},n={},n.ms=f.milliseconds,n.M=f.months);n=new id(n);Zb(e)&&x(e,"_locale")&&(n._locale=e._locale);return n}function $a(e,f){e=e&&parseFloat(e.replace(",",
"."));return(isNaN(e)?0:e)*f}function Tc(e,f){var n={};n.months=f.month()-e.month()+12*(f.year()-e.year());e.clone().add(n.months,"M").isAfter(f)&&--n.months;n.milliseconds=+f-+e.clone().add(n.months,"M");return n}function ve(e,f){return function(n,r){if(null!==r&&!isNaN(+r)){Ba(f,"moment()."+f+"(period, number) is deprecated. Please use moment()."+f+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.");var w=n;n=r;r=w}n=Xa("string"===typeof n?+n:n,r);we(this,
n,e);return this}}function we(e,f,n){var r=f._milliseconds,w=Od(f._days);f=Od(f._months);e.isValid()&&(f&&Ra(e,Ga(e,"Month")+f*n),w&&Qa(e,"Date",Ga(e,"Date")+w*n),r&&e._d.setTime(e._d.valueOf()+r*n))}function Kc(e,f){var n=12*(f.year()-e.year())+(f.month()-e.month()),r=e.clone().add(n,"months");0>f-r?(e=e.clone().add(n-1,"months"),f=(f-r)/(r-e)):(e=e.clone().add(n+1,"months"),f=(f-r)/(e-r));return-(n+f)||0}function jd(e){if(void 0===e)return this._locale._abbr;e=tc(e);null!=e&&(this._locale=e);return this}
function vb(){return this._locale}function bc(e,f){return(e%f+f)%f}function uc(e,f,n){return 100>e&&0<=e?new Date(e+400,f,n)-126227808E5:(new Date(e,f,n)).valueOf()}function Rd(e,f,n){return 100>e&&0<=e?Date.UTC(e+400,f,n)-126227808E5:Date.UTC(e,f,n)}function vc(e,f){Aa(0,[e,e.length],0,f)}function jb(e,f,n,r,w){if(null==e)return wb(this,r,w).year;var x=ac(e,r,w);f>x&&(f=x);e=$b(e,f,n,r,w);e=Db(e.year,0,e.dayOfYear);this.year(e.getUTCFullYear());this.month(e.getUTCMonth());this.date(e.getUTCDate());
return this}function xe(e,f){f[ec]=ja(1E3*("0."+e))}function Sd(e){return e}function Yc(e,f,n,r){var x=tc();f=w().set(r,f);return x[n](f,e)}function Td(e,f,n){y(e)&&(f=e,e=void 0);e=e||"";if(null!=f)return Yc(e,f,n,"month");var r=[];for(f=0;12>f;f++)r[f]=Yc(e,f,n,"month");return r}function kd(e,f,n,r){"boolean"!==typeof e&&(n=f=e,e=!1);y(f)&&(n=f,f=void 0);f=f||"";var w=tc();e=e?w._week.dow:0;if(null!=n)return Yc(f,(n+e)%7,r,"day");w=[];for(n=0;7>n;n++)w[n]=Yc(f,(n+e)%7,r,"day");return w}function Ud(e,
f,n,r){f=Xa(f,n);e._milliseconds+=r*f._milliseconds;e._days+=r*f._days;e._months+=r*f._months;return e._bubble()}function fd(e){return 0>e?Math.floor(e):Math.ceil(e)}function jc(e){return function(){return this.as(e)}}function Cc(e){return function(){return this.isValid()?this._data[e]:NaN}}function Cf(e,f,n,r,w){return w.relativeTime(f||1,!!n,e,r)}function pc(e){return(0<e)-(0>e)||+e}function qe(){if(!this.isValid())return this.localeData().invalidDate();var e=fc(this._milliseconds)/1E3,f=fc(this._days),
n=fc(this._months);var r=la(e/60);var w=la(r/60);e%=60;var x=la(n/12);n%=12;r%=60;e=e?e.toFixed(3).replace(/\.?0+$/,""):"";var y=this.asSeconds();if(!y)return"P0D";var ea=pc(this._months)!==pc(y)?"-":"",ia=pc(this._days)!==pc(y)?"-":"",z=pc(this._milliseconds)!==pc(y)?"-":"";return(0>y?"-":"")+"P"+(x?ea+x+"Y":"")+(n?ea+n+"M":"")+(f?ia+f+"D":"")+(w||r||e?"T":"")+(w?z+w+"H":"")+(r?z+r+"M":"")+(e?z+e+"S":"")}var Fd=Array.prototype.some?Array.prototype.some:function(e){for(var f=Object(this),n=f.length>>>
0,r=0;r<n;r++)if(r in f&&e.call(this,f[r],r,f))return!0;return!1};var Gd=aa.momentProperties=[],yf=!1,yg={};aa.suppressDeprecationWarnings=!1;aa.deprecationHandler=null;var gi=Object.keys?Object.keys:function(e){var f,n=[];for(f in e)x(e,f)&&n.push(f);return n};var Hd={},Cb={},Ag=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ye=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
kc={},zb={},Bg=/\d/,Eb=/\d\d/,Cg=/\d{3}/,Ef=/\d{4}/,Mc=/[+-]?\d{6}/,bb=/\d\d?/,Dg=/\d\d\d\d?/,Eg=/\d\d\d\d\d\d?/,$c=/\d{1,3}/,Wd=/\d{1,4}/,Ob=/[+-]?\d{1,6}/,Xd=/\d+/,cc=/[+-]?\d+/,Qb=/Z|[+-]\d\d:?\d\d/gi,md=/Z|[+-]\d\d(?::?\d\d)?/gi,Oc=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,nd={},Ec={},Vb=0,Rb=1,Xb=2,Ya=3,rb=4,Yb=5,ec=6,mc=7,pi=8;Aa("Y",0,0,function(){var e=this.year();return 9999>=e?""+
e:"+"+e});Aa(0,["YY",2],0,function(){return this.year()%100});Aa(0,["YYYY",4],0,"year");Aa(0,["YYYYY",5],0,"year");Aa(0,["YYYYYY",6,!0],0,"year");ta("year","y");Cb.year=1;wa("Y",cc);wa("YY",bb,Eb);wa("YYYY",Wd,Ef);wa("YYYYY",Ob,Mc);wa("YYYYYY",Ob,Mc);Ia(["YYYYY","YYYYYY"],Vb);Ia("YYYY",function(e,f){f[Vb]=2===e.length?aa.parseTwoDigitYear(e):ja(e)});Ia("YY",function(e,f){f[Vb]=aa.parseTwoDigitYear(e)});Ia("Y",function(e,f){f[Vb]=parseInt(e,10)});aa.parseTwoDigitYear=function(e){return ja(e)+(68<ja(e)?
1900:2E3)};var Bb=La("FullYear",!0);var pb=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var f;for(f=0;f<this.length;++f)if(this[f]===e)return f;return-1};Aa("M",["MM",2],"Mo",function(){return this.month()+1});Aa("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});Aa("MMMM",0,0,function(e){return this.localeData().months(this,e)});ta("month","M");Cb.month=8;wa("M",bb);wa("MM",bb,Eb);wa("MMM",function(e,f){return f.monthsShortRegex(e)});wa("MMMM",function(e,f){return f.monthsRegex(e)});
Ia(["M","MM"],function(e,f){f[Rb]=ja(e)-1});Ia(["MMM","MMMM"],function(e,f,r,w){w=r._locale.monthsParse(e,w,r._strict);null!=w?f[Rb]=w:n(r).invalidMonth=e});var Jg=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Kg="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");Aa("w",["ww",2],"wo","week");Aa("W",["WW",2],"Wo","isoWeek");ta("week","w");ta("isoWeek","W");Cb.week=5;Cb.isoWeek=5;wa("w",bb);wa("ww",bb,Eb);wa("W",bb);wa("WW",bb,Eb);Pa(["w","ww","W","WW"],function(e,f,n,r){f[r.substr(0,1)]=ja(e)});Aa("d",
0,"do","day");Aa("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});Aa("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});Aa("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});Aa("e",0,0,"weekday");Aa("E",0,0,"isoWeekday");ta("day","d");ta("weekday","e");ta("isoWeekday","E");Cb.day=11;Cb.weekday=11;Cb.isoWeekday=11;wa("d",bb);wa("e",bb);wa("E",bb);wa("dd",function(e,f){return f.weekdaysMinRegex(e)});wa("ddd",function(e,f){return f.weekdaysShortRegex(e)});
wa("dddd",function(e,f){return f.weekdaysRegex(e)});Pa(["dd","ddd","dddd"],function(e,f,r,w){w=r._locale.weekdaysParse(e,w,r._strict);null!=w?f.d=w:n(r).invalidWeekday=e});Pa(["d","e","E"],function(e,f,n,r){f[r]=ja(e)});var od="Sun Mon Tue Wed Thu Fri Sat".split(" ");Aa("H",["HH",2],0,"hour");Aa("h",["hh",2],0,sc);Aa("k",["kk",2],0,function(){return this.hours()||24});Aa("hmm",0,0,function(){return""+sc.apply(this)+ha(this.minutes(),2)});Aa("hmmss",0,0,function(){return""+sc.apply(this)+ha(this.minutes(),
2)+ha(this.seconds(),2)});Aa("Hmm",0,0,function(){return""+this.hours()+ha(this.minutes(),2)});Aa("Hmmss",0,0,function(){return""+this.hours()+ha(this.minutes(),2)+ha(this.seconds(),2)});Vc("a",!0);Vc("A",!1);ta("hour","h");Cb.hour=13;wa("a",eb);wa("A",eb);wa("H",bb);wa("h",bb);wa("k",bb);wa("HH",bb,Eb);wa("hh",bb,Eb);wa("kk",bb,Eb);wa("hmm",Dg);wa("hmmss",Eg);wa("Hmm",Dg);wa("Hmmss",Eg);Ia(["H","HH"],Ya);Ia(["k","kk"],function(e,f){e=ja(e);f[Ya]=24===e?0:e});Ia(["a","A"],function(e,f,n){n._isPm=
n._locale.isPM(e);n._meridiem=e});Ia(["h","hh"],function(e,f,r){f[Ya]=ja(e);n(r).bigHour=!0});Ia("hmm",function(e,f,r){var w=e.length-2;f[Ya]=ja(e.substr(0,w));f[rb]=ja(e.substr(w));n(r).bigHour=!0});Ia("hmmss",function(e,f,r){var w=e.length-4,x=e.length-2;f[Ya]=ja(e.substr(0,w));f[rb]=ja(e.substr(w,2));f[Yb]=ja(e.substr(x));n(r).bigHour=!0});Ia("Hmm",function(e,f){var n=e.length-2;f[Ya]=ja(e.substr(0,n));f[rb]=ja(e.substr(n))});Ia("Hmmss",function(e,f){var n=e.length-4,r=e.length-2;f[Ya]=ja(e.substr(0,
n));f[rb]=ja(e.substr(n,2));f[Yb]=ja(e.substr(r))});var Jf=La("Hours",!0),Pc={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",
ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January February March April May June July August September October November December".split(" "),monthsShort:Kg,week:{dow:0,doy:6},weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysMin:"Su Mo Tu We Th Fr Sa".split(" "),weekdaysShort:od,meridiemParse:/[ap]\.?m?\.?/i},sb={},bd={},pd,yc=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
Kf=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Zd=/Z|[+-]\d\d(?::?\d\d)?/,cd=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],$d=
[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Lf=/^\/?Date\((\-?\d+)/i,Mf=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ee={UT:0,GMT:0,EDT:-240,
EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};aa.createFromInputFallback=na("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});aa.ISO_8601=function(){};
aa.RFC_2822=function(){};var ae=na("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=gb.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:ia()}),ce=na("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=gb.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:ia()}),Qc="year quarter month week day hour minute second millisecond".split(" ");
Bc("Z",":");Bc("ZZ","");wa("Z",md);wa("ZZ",md);Ia(["Z","ZZ"],function(e,f,n){n._useUTC=!0;n._tzm=Pd(md,e)});var Ge=/([\+\-]|\d\d)/gi;aa.updateOffset=function(){};var Fe=/^(\-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,qd=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xa.fn=id.prototype;Xa.invalid=function(){return Xa(NaN)};var He=ve(1,"add"),Ie=ve(-1,"subtract");aa.defaultFormat=
"YYYY-MM-DDTHH:mm:ssZ";aa.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Je=na("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});Aa(0,["gg",2],0,function(){return this.weekYear()%100});Aa(0,["GG",2],0,function(){return this.isoWeekYear()%100});vc("gggg","weekYear");vc("ggggg","weekYear");vc("GGGG","isoWeekYear");vc("GGGGG","isoWeekYear");ta("weekYear",
"gg");ta("isoWeekYear","GG");Cb.weekYear=1;Cb.isoWeekYear=1;wa("G",cc);wa("g",cc);wa("GG",bb,Eb);wa("gg",bb,Eb);wa("GGGG",Wd,Ef);wa("gggg",Wd,Ef);wa("GGGGG",Ob,Mc);wa("ggggg",Ob,Mc);Pa(["gggg","ggggg","GGGG","GGGGG"],function(e,f,n,r){f[r.substr(0,2)]=ja(e)});Pa(["gg","GG"],function(e,f,n,r){f[r]=aa.parseTwoDigitYear(e)});Aa("Q",0,"Qo","quarter");ta("quarter","Q");Cb.quarter=7;wa("Q",Bg);Ia("Q",function(e,f){f[Rb]=3*(ja(e)-1)});Aa("D",["DD",2],"Do","date");ta("date","D");Cb.date=9;wa("D",bb);wa("DD",
bb,Eb);wa("Do",function(e,f){return e?f._dayOfMonthOrdinalParse||f._ordinalParse:f._dayOfMonthOrdinalParseLenient});Ia(["D","DD"],Xb);Ia("Do",function(e,f){f[Xb]=ja(e.match(bb)[0])});var ee=La("Date",!0);Aa("DDD",["DDDD",3],"DDDo","dayOfYear");ta("dayOfYear","DDD");Cb.dayOfYear=4;wa("DDD",$c);wa("DDDD",Cg);Ia(["DDD","DDDD"],function(e,f,n){n._dayOfYear=ja(e)});Aa("m",["mm",2],0,"minute");ta("minute","m");Cb.minute=14;wa("m",bb);wa("mm",bb,Eb);Ia(["m","mm"],rb);var Sf=La("Minutes",!1);Aa("s",["ss",
2],0,"second");ta("second","s");Cb.second=15;wa("s",bb);wa("ss",bb,Eb);Ia(["s","ss"],Yb);var fe=La("Seconds",!1);Aa("S",0,0,function(){return~~(this.millisecond()/100)});Aa(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Aa(0,["SSS",3],0,"millisecond");Aa(0,["SSSS",4],0,function(){return 10*this.millisecond()});Aa(0,["SSSSS",5],0,function(){return 100*this.millisecond()});Aa(0,["SSSSSS",6],0,function(){return 1E3*this.millisecond()});Aa(0,["SSSSSSS",7],0,function(){return 1E4*this.millisecond()});
Aa(0,["SSSSSSSS",8],0,function(){return 1E5*this.millisecond()});Aa(0,["SSSSSSSSS",9],0,function(){return 1E6*this.millisecond()});ta("millisecond","ms");Cb.millisecond=16;wa("S",$c,Bg);wa("SS",$c,Eb);wa("SSS",$c,Cg);var nc;for(nc="SSSS";9>=nc.length;nc+="S")wa(nc,Xd);for(nc="S";9>=nc.length;nc+="S")Ia(nc,xe);var Vd=La("Milliseconds",!1);Aa("z",0,0,"zoneAbbr");Aa("zz",0,0,"zoneName");var Ka=oa.prototype;Ka.add=He;Ka.calendar=function(e,f){e=e||gb();var n=Qd(e,this).startOf("day");n=aa.calendarFormat(this,
n)||"sameElse";f=f&&(za(f[n])?f[n].call(this,e):f[n]);return this.format(f||this.localeData().calendar(n,this,gb(e)))};Ka.clone=function(){return new oa(this)};Ka.diff=function(e,f,n){if(!this.isValid())return NaN;e=Qd(e,this);if(!e.isValid())return NaN;var r=6E4*(e.utcOffset()-this.utcOffset());f=ya(f);switch(f){case "year":f=Kc(this,e)/12;break;case "month":f=Kc(this,e);break;case "quarter":f=Kc(this,e)/3;break;case "second":f=(this-e)/1E3;break;case "minute":f=(this-e)/6E4;break;case "hour":f=
(this-e)/36E5;break;case "day":f=(this-e-r)/864E5;break;case "week":f=(this-e-r)/6048E5;break;default:f=this-e}return n?f:la(f)};Ka.endOf=function(e){e=ya(e);if(void 0===e||"millisecond"===e||!this.isValid())return this;var f=this._isUTC?Rd:uc;switch(e){case "year":var n=f(this.year()+1,0,1)-1;break;case "quarter":n=f(this.year(),this.month()-this.month()%3+3,1)-1;break;case "month":n=f(this.year(),this.month()+1,1)-1;break;case "week":n=f(this.year(),this.month(),this.date()-this.weekday()+7)-1;
break;case "isoWeek":n=f(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case "day":case "date":n=f(this.year(),this.month(),this.date()+1)-1;break;case "hour":n=this._d.valueOf();n+=36E5-bc(n+(this._isUTC?0:6E4*this.utcOffset()),36E5)-1;break;case "minute":n=this._d.valueOf();n+=6E4-bc(n,6E4)-1;break;case "second":n=this._d.valueOf(),n+=1E3-bc(n,1E3)-1}this._d.setTime(n);return this};Ka.format=function(e){e||(e=this.isUtc()?aa.defaultFormatUtc:aa.defaultFormat);e=Ja(this,e);
return this.localeData().postformat(e)};Ka.from=function(e,f){return this.isValid()&&(ma(e)&&e.isValid()||gb(e).isValid())?Xa({to:this,from:e}).locale(this.locale()).humanize(!f):this.localeData().invalidDate()};Ka.fromNow=function(e){return this.from(gb(),e)};Ka.to=function(e,f){return this.isValid()&&(ma(e)&&e.isValid()||gb(e).isValid())?Xa({from:this,to:e}).locale(this.locale()).humanize(!f):this.localeData().invalidDate()};Ka.toNow=function(e){return this.to(gb(),e)};Ka.get=function(e){e=ya(e);
return za(this[e])?this[e]():this};Ka.invalidAt=function(){return n(this).overflow};Ka.isAfter=function(e,f){e=ma(e)?e:gb(e);if(!this.isValid()||!e.isValid())return!1;f=ya(f)||"millisecond";return"millisecond"===f?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(f).valueOf()};Ka.isBefore=function(e,f){e=ma(e)?e:gb(e);if(!this.isValid()||!e.isValid())return!1;f=ya(f)||"millisecond";return"millisecond"===f?this.valueOf()<e.valueOf():this.clone().endOf(f).valueOf()<e.valueOf()};Ka.isBetween=
function(e,f,n,r){e=ma(e)?e:gb(e);f=ma(f)?f:gb(f);if(!(this.isValid()&&e.isValid()&&f.isValid()))return!1;r=r||"()";return("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(f,n):!this.isAfter(f,n))};Ka.isSame=function(e,f){e=ma(e)?e:gb(e);if(!this.isValid()||!e.isValid())return!1;f=ya(f)||"millisecond";if("millisecond"===f)return this.valueOf()===e.valueOf();e=e.valueOf();return this.clone().startOf(f).valueOf()<=e&&e<=this.clone().endOf(f).valueOf()};Ka.isSameOrAfter=function(e,
f){return this.isSame(e,f)||this.isAfter(e,f)};Ka.isSameOrBefore=function(e,f){return this.isSame(e,f)||this.isBefore(e,f)};Ka.isValid=function(){return ea(this)};Ka.lang=Je;Ka.locale=jd;Ka.localeData=vb;Ka.max=ce;Ka.min=ae;Ka.parsingFlags=function(){return r({},n(this))};Ka.set=function(e,f){if("object"===typeof e){e=pa(e);f=ca(e);for(var n=0;n<f.length;n++)this[f[n].unit](e[f[n].unit])}else if(e=ya(e),za(this[e]))return this[e](f);return this};Ka.startOf=function(e){e=ya(e);if(void 0===e||"millisecond"===
e||!this.isValid())return this;var f=this._isUTC?Rd:uc;switch(e){case "year":var n=f(this.year(),0,1);break;case "quarter":n=f(this.year(),this.month()-this.month()%3,1);break;case "month":n=f(this.year(),this.month(),1);break;case "week":n=f(this.year(),this.month(),this.date()-this.weekday());break;case "isoWeek":n=f(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case "day":case "date":n=f(this.year(),this.month(),this.date());break;case "hour":n=this._d.valueOf();n-=bc(n+(this._isUTC?
0:6E4*this.utcOffset()),36E5);break;case "minute":n=this._d.valueOf();n-=bc(n,6E4);break;case "second":n=this._d.valueOf(),n-=bc(n,1E3)}this._d.setTime(n);return this};Ka.subtract=Ie;Ka.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]};Ka.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}};Ka.toDate=
function(){return new Date(this.valueOf())};Ka.toISOString=function(e){if(!this.isValid())return null;var f=(e=!0!==e)?this.clone().utc():this;return 0>f.year()||9999<f.year()?Ja(f,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):za(Date.prototype.toISOString)?e?this.toDate().toISOString():(new Date(this.valueOf()+6E4*this.utcOffset())).toISOString().replace("Z",Ja(f,"Z")):Ja(f,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")};Ka.inspect=function(){if(!this.isValid())return"moment.invalid()";
var e="moment",f="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",f="Z");e="["+e+'("]';var n=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY";return this.format(e+n+"-MM-DD[T]HH:mm:ss.SSS"+(f+'[")]'))};Ka.toJSON=function(){return this.isValid()?this.toISOString():null};Ka.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")};Ka.unix=function(){return Math.floor(this.valueOf()/1E3)};Ka.valueOf=function(){return this._d.valueOf()-
6E4*(this._offset||0)};Ka.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}};Ka.year=Bb;Ka.isLeapYear=function(){return xa(this.year())};Ka.weekYear=function(e){return jb.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)};Ka.isoWeekYear=function(e){return jb.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)};Ka.quarter=Ka.quarters=function(e){return null==e?Math.ceil((this.month()+1)/
3):this.month(3*(e-1)+this.month()%3)};Ka.month=ib;Ka.daysInMonth=function(){return Ta(this.year(),this.month())};Ka.week=Ka.weeks=function(e){var f=this.localeData().week(this);return null==e?f:this.add(7*(e-f),"d")};Ka.isoWeek=Ka.isoWeeks=function(e){var f=wb(this,1,4).week;return null==e?f:this.add(7*(e-f),"d")};Ka.weeksInYear=function(){var e=this.localeData()._week;return ac(this.year(),e.dow,e.doy)};Ka.isoWeeksInYear=function(){return ac(this.year(),1,4)};Ka.date=ee;Ka.day=Ka.days=function(e){if(!this.isValid())return null!=
e?this:NaN;var f=this._isUTC?this._d.getUTCDay():this._d.getDay();if(null!=e){var n=this.localeData();"string"===typeof e&&(isNaN(e)?(e=n.weekdaysParse(e),e="number"===typeof e?e:null):e=parseInt(e,10));return this.add(e-f,"d")}return f};Ka.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var f=(this.day()+7-this.localeData()._week.dow)%7;return null==e?f:this.add(e-f,"d")};Ka.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var f=this.localeData();e="string"===
typeof e?f.weekdaysParse(e)%7||7:isNaN(e)?null:e;return this.day(this.day()%7?e:e-7)}return this.day()||7};Ka.dayOfYear=function(e){var f=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864E5)+1;return null==e?f:this.add(e-f,"d")};Ka.hour=Ka.hours=Jf;Ka.minute=Ka.minutes=Sf;Ka.second=Ka.seconds=fe;Ka.millisecond=Ka.milliseconds=Vd;Ka.utcOffset=function(e,f,n){var r=this._offset||0,w;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=Pd(md,e),
null===e)return this}else 16>Math.abs(e)&&!n&&(e*=60);!this._isUTC&&f&&(w=15*-Math.round(this._d.getTimezoneOffset()/15));this._offset=e;this._isUTC=!0;null!=w&&this.add(w,"m");r!==e&&(!f||this._changeInProgress?we(this,Xa(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,this._changeInProgress=null));return this}return this._isUTC?r:15*-Math.round(this._d.getTimezoneOffset()/15)};Ka.utc=function(e){return this.utcOffset(0,e)};Ka.local=function(e){this._isUTC&&(this.utcOffset(0,e),
this._isUTC=!1,e&&this.subtract(15*-Math.round(this._d.getTimezoneOffset()/15),"m"));return this};Ka.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=Pd(Qb,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this};Ka.hasAlignedHourOffset=function(e){if(!this.isValid())return!1;e=e?gb(e).utcOffset():0;return 0===(this.utcOffset()-e)%60};Ka.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>
this.clone().month(5).utcOffset()};Ka.isLocal=function(){return this.isValid()?!this._isUTC:!1};Ka.isUtcOffset=function(){return this.isValid()?this._isUTC:!1};Ka.isUtc=ue;Ka.isUTC=ue;Ka.zoneAbbr=function(){return this._isUTC?"UTC":""};Ka.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""};Ka.dates=na("dates accessor is deprecated. Use date instead.",ee);Ka.months=na("months accessor is deprecated. Use month instead",ib);Ka.years=na("years accessor is deprecated. Use year instead",
Bb);Ka.zone=na("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,f){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,f),this):-this.utcOffset()});Ka.isDSTShifted=na("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!z(this._isDSTShifted))return this._isDSTShifted;var e={};ka(e,this);e=se(e);if(e._a){var f=e._isUTC?w(e._a):gb(e._a);this._isDSTShifted=
this.isValid()&&0<ua(e._a,f.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var Oa=va.prototype;Oa.calendar=function(e,f,n){e=this._calendar[e]||this._calendar.sameElse;return za(e)?e.call(f,n):e};Oa.longDateFormat=function(e){var f=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];if(f||!n)return f;this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)});return this._longDateFormat[e]};Oa.invalidDate=function(){return this._invalidDate};
Oa.ordinal=function(e){return this._ordinal.replace("%d",e)};Oa.preparse=Sd;Oa.postformat=Sd;Oa.relativeTime=function(e,f,n,r){var w=this._relativeTime[n];return za(w)?w(e,f,n,r):w.replace(/%d/i,e)};Oa.pastFuture=function(e,f){e=this._relativeTime[0<e?"future":"past"];return za(e)?e(f):e.replace(/%s/i,f)};Oa.set=function(e){var f;for(f in e){var n=e[f];za(n)?this[f]=n:this["_"+f]=n}this._config=e;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+
"|"+/\d{1,2}/.source)};Oa.months=function(e,f){return e?ba(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Jg).test(f)?"format":"standalone"][e.month()]:ba(this._months)?this._months:this._months.standalone};Oa.monthsShort=function(e,f){return e?ba(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jg.test(f)?"format":"standalone"][e.month()]:ba(this._monthsShort)?this._monthsShort:this._monthsShort.standalone};Oa.monthsParse=function(e,f,n){var r;if(this._monthsParseExact){a:{e=
e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r){var x=w([2E3,r]);this._shortMonthsParse[r]=this.monthsShort(x,"").toLocaleLowerCase();this._longMonthsParse[r]=this.months(x,"").toLocaleLowerCase()}if(n)f="MMM"===f?pb.call(this._shortMonthsParse,e):pb.call(this._longMonthsParse,e);else if("MMM"===f){f=pb.call(this._shortMonthsParse,e);if(-1!==f)break a;f=pb.call(this._longMonthsParse,e)}else{f=pb.call(this._longMonthsParse,
e);if(-1!==f)break a;f=pb.call(this._shortMonthsParse,e)}f=-1!==f?f:null}return f}this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);for(r=0;12>r;r++)if(x=w([2E3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(x,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(x,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(x="^"+this.months(x,"")+"|^"+this.monthsShort(x,""),this._monthsParse[r]=
new RegExp(x.replace(".",""),"i")),n&&"MMMM"===f&&this._longMonthsParse[r].test(e)||n&&"MMM"===f&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r};Oa.monthsRegex=function(e){if(this._monthsParseExact)return x(this,"_monthsRegex")||Lb.call(this),e?this._monthsStrictRegex:this._monthsRegex;x(this,"_monthsRegex")||(this._monthsRegex=Oc);return this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex};Oa.monthsShortRegex=function(e){if(this._monthsParseExact)return x(this,
"_monthsRegex")||Lb.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex;x(this,"_monthsShortRegex")||(this._monthsShortRegex=Oc);return this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex};Oa.week=function(e){return wb(e,this._week.dow,this._week.doy).week};Oa.firstDayOfYear=function(){return this._week.doy};Oa.firstDayOfWeek=function(){return this._week.dow};Oa.weekdays=function(e,f){f=ba(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(f)?
"format":"standalone"];return!0===e?db(f,this._week.dow):e?f[e.day()]:f};Oa.weekdaysMin=function(e){return!0===e?db(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin};Oa.weekdaysShort=function(e){return!0===e?db(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort};Oa.weekdaysParse=function(e,f,n){var r;if(this._weekdaysParseExact)return Id.call(this,e,f,n);this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=
[],this._fullWeekdaysParse=[]);for(r=0;7>r;r++){var x=w([2E3,1]).day(r);n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(x,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(x,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(x,"").replace(".","\\.?")+"$","i"));this._weekdaysParse[r]||(x="^"+this.weekdays(x,"")+"|^"+this.weekdaysShort(x,"")+"|^"+this.weekdaysMin(x,""),this._weekdaysParse[r]=
new RegExp(x.replace(".",""),"i"));if(n&&"dddd"===f&&this._fullWeekdaysParse[r].test(e)||n&&"ddd"===f&&this._shortWeekdaysParse[r].test(e)||n&&"dd"===f&&this._minWeekdaysParse[r].test(e)||!n&&this._weekdaysParse[r].test(e))return r}};Oa.weekdaysRegex=function(e){if(this._weekdaysParseExact)return x(this,"_weekdaysRegex")||Uc.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex;x(this,"_weekdaysRegex")||(this._weekdaysRegex=Oc);return this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex};
Oa.weekdaysShortRegex=function(e){if(this._weekdaysParseExact)return x(this,"_weekdaysRegex")||Uc.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex;x(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Oc);return this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex};Oa.weekdaysMinRegex=function(e){if(this._weekdaysParseExact)return x(this,"_weekdaysRegex")||Uc.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex;x(this,"_weekdaysMinRegex")||
(this._weekdaysMinRegex=Oc);return this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex};Oa.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)};Oa.meridiem=function(e,f,n){return 11<e?n?"pm":"PM":n?"am":"AM"};Wc("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var f=e%10;return e+(1===ja(e%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}});aa.lang=na("moment.lang is deprecated. Use moment.locale instead.",Wc);aa.langData=na("moment.langData is deprecated. Use moment.localeData instead.",
tc);var oc=Math.abs,Uf=jc("ms"),Rc=jc("s"),Vf=jc("m"),Hb=jc("h"),Wf=jc("d"),sd=jc("w"),he=jc("M"),Me=jc("Q"),Ne=jc("y"),Ib=Cc("milliseconds"),zc=Cc("seconds"),ge=Cc("minutes"),td=Cc("hours"),Oe=Cc("days"),ie=Cc("months"),Pe=Cc("years"),hc=Math.round,Ub={ss:44,s:45,m:45,h:22,d:26,M:11},fc=Math.abs,Va=id.prototype;Va.isValid=function(){return this._isValid};Va.abs=function(){var e=this._data;this._milliseconds=oc(this._milliseconds);this._days=oc(this._days);this._months=oc(this._months);e.milliseconds=
oc(e.milliseconds);e.seconds=oc(e.seconds);e.minutes=oc(e.minutes);e.hours=oc(e.hours);e.months=oc(e.months);e.years=oc(e.years);return this};Va.add=function(e,f){return Ud(this,e,f,1)};Va.subtract=function(e,f){return Ud(this,e,f,-1)};Va.as=function(e){if(!this.isValid())return NaN;var f=this._milliseconds;e=ya(e);if("month"===e||"quarter"===e||"year"===e){var n=this._days+f/864E5;n=this._months+4800*n/146097;switch(e){case "month":return n;case "quarter":return n/3;case "year":return n/12}}else switch(n=
this._days+Math.round(146097*this._months/4800),e){case "week":return n/7+f/6048E5;case "day":return n+f/864E5;case "hour":return 24*n+f/36E5;case "minute":return 1440*n+f/6E4;case "second":return 86400*n+f/1E3;case "millisecond":return Math.floor(864E5*n)+f;default:throw Error("Unknown unit "+e);}};Va.asMilliseconds=Uf;Va.asSeconds=Rc;Va.asMinutes=Vf;Va.asHours=Hb;Va.asDays=Wf;Va.asWeeks=sd;Va.asMonths=he;Va.asQuarters=Me;Va.asYears=Ne;Va.valueOf=function(){return this.isValid()?this._milliseconds+
864E5*this._days+this._months%12*2592E6+31536E6*ja(this._months/12):NaN};Va._bubble=function(){var e=this._milliseconds,f=this._days,n=this._months,r=this._data;0<=e&&0<=f&&0<=n||0>=e&&0>=f&&0>=n||(e+=864E5*fd(146097*n/4800+f),n=f=0);r.milliseconds=e%1E3;e=la(e/1E3);r.seconds=e%60;e=la(e/60);r.minutes=e%60;e=la(e/60);r.hours=e%24;f+=la(e/24);e=la(4800*f/146097);n+=e;f-=fd(146097*e/4800);e=la(n/12);r.days=f;r.months=n%12;r.years=e;return this};Va.clone=function(){return Xa(this)};Va.get=function(e){e=
ya(e);return this.isValid()?this[e+"s"]():NaN};Va.milliseconds=Ib;Va.seconds=zc;Va.minutes=ge;Va.hours=td;Va.days=Oe;Va.weeks=function(){return la(this.days()/7)};Va.months=ie;Va.years=Pe;Va.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var f=this.localeData();var n=!e;var r=Xa(this).abs(),w=hc(r.as("s")),x=hc(r.as("m")),y=hc(r.as("h")),ea=hc(r.as("d")),ia=hc(r.as("M"));r=hc(r.as("y"));w=w<=Ub.ss&&["s",w]||w<Ub.s&&["ss",w]||1>=x&&["m"]||x<Ub.m&&["mm",x]||1>=y&&["h"]||
y<Ub.h&&["hh",y]||1>=ea&&["d"]||ea<Ub.d&&["dd",ea]||1>=ia&&["M"]||ia<Ub.M&&["MM",ia]||1>=r&&["y"]||["yy",r];w[2]=n;w[3]=0<+this;w[4]=f;n=Cf.apply(null,w);e&&(n=f.pastFuture(+this,n));return f.postformat(n)};Va.toISOString=qe;Va.toString=qe;Va.toJSON=qe;Va.locale=jd;Va.localeData=vb;Va.toIsoString=na("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qe);Va.lang=Je;Aa("X",0,0,"unix");Aa("x",0,0,"valueOf");wa("x",cc);wa("X",/[+-]?\d+(\.\d{1,3})?/);Ia("X",function(e,
f,n){n._d=new Date(1E3*parseFloat(e,10))});Ia("x",function(e,f,n){n._d=new Date(ja(e))});aa.version="2.24.0";var Be=gb;aa.fn=Ka;aa.min=function(){var e=[].slice.call(arguments,0);return te("isBefore",e)};aa.max=function(){var e=[].slice.call(arguments,0);return te("isAfter",e)};aa.now=function(){return Date.now?Date.now():+new Date};aa.utc=w;aa.unix=function(e){return gb(1E3*e)};aa.months=function(e,f){return Td(e,f,"months")};aa.isDate=f;aa.locale=Wc;aa.invalid=ia;aa.duration=Xa;aa.isMoment=ma;aa.weekdays=
function(e,f,n){return kd(e,f,n,"weekdays")};aa.parseZone=function(){return gb.apply(null,arguments).parseZone()};aa.localeData=tc;aa.isDuration=Zb;aa.monthsShort=function(e,f){return Td(e,f,"monthsShort")};aa.weekdaysMin=function(e,f,n){return kd(e,f,n,"weekdaysMin")};aa.defineLocale=hd;aa.updateLocale=function(e,f){if(null!=f){var n=Pc;var r=gd(e);null!=r&&(n=r._config);f=sa(n,f);f=new va(f);f.parentLocale=sb[e];sb[e]=f;Wc(e)}else null!=sb[e]&&(null!=sb[e].parentLocale?sb[e]=sb[e].parentLocale:
null!=sb[e]&&delete sb[e]);return sb[e]};aa.locales=function(){return gi(sb)};aa.weekdaysShort=function(e,f,n){return kd(e,f,n,"weekdaysShort")};aa.normalizeUnits=ya;aa.relativeTimeRounding=function(e){return void 0===e?hc:"function"===typeof e?(hc=e,!0):!1};aa.relativeTimeThreshold=function(e,f){if(void 0===Ub[e])return!1;if(void 0===f)return Ub[e];Ub[e]=f;"s"===e&&(Ub.ss=f-1);return!0};aa.calendarFormat=function(e,f){e=e.diff(f,"days",!0);return-6>e?"sameElse":-1>e?"lastWeek":0>e?"lastDay":1>e?
"sameDay":2>e?"nextDay":7>e?"nextWeek":"sameElse"};aa.prototype=Ka;aa.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};return aa})}).call(this,h(205)(ha))},function(ha,ca,h){var ba=h(0);h.n(ba);ha=function(){function h(h,aa,z,y,f,e,x,r){void 0===f&&(f=0);void 0===e&&(e=0);void 0===r&&(r=0);this.children=
h;this.name=aa;this.Ac=z;this.parent=y;this.Lr=f;this.Hq=e;this.url=x;this.index=r}h.prototype.FE=function(){return this.children};h.prototype.getName=function(){return this.name};h.prototype.Ba=function(){return this.Ac};h.prototype.F3=function(){return this.url};h.prototype.getParent=function(){return this.parent};h.prototype.I3=function(){return this.Lr};h.prototype.q2=function(){return this.Hq};h.prototype.getIndex=function(){return this.index};h.prototype.isValid=function(){return!!this.url||
Object(ba.isNumber)(this.Ac)};return h}();ca.a=ha},function(ha,ca,h){function ba(e,n,r){var w={x:e[0].x,y:e[0].y},x={x:e[1].x,y:e[1].y},y={x:e[2].x,y:e[2].y};e={x:e[3].x,y:e[3].y};n={x:n.x,y:n.y};var ea={x:r.x,y:r.y};r=[];if(f(w,x,n,ea)){var ia=fa(w.x,w.y,x.x,x.y,n.x,n.y,ea.x,ea.y);ia&&r.push(ia)}f(x,y,n,ea)&&(x=fa(x.x,x.y,y.x,y.y,n.x,n.y,ea.x,ea.y))&&r.push(x);f(y,e,n,ea)&&(y=fa(y.x,y.y,e.x,e.y,n.x,n.y,ea.x,ea.y))&&r.push(y);f(e,w,n,ea)&&(w=fa(e.x,e.y,w.x,w.y,n.x,n.y,ea.x,ea.y))&&r.push(w);2===r.length&&
da(r[0].x,r[0].y,n.x,n.y)>da(r[1].x,r[1].y,n.x,n.y)&&(w=r[0],r[0]=r[1],r[1]=w);return r}function aa(e,f,n){var r={},w={},x={},y={};var ea=e.x;var ia=e.y;var h=f.x;var z=f.y;e.x===f.x&&e.y===f.y&&(h+=5);e=h-ea;f=z-ia;var ka=Math.sqrt(e*e+f*f);e/=ka;f/=ka;var aa=n*e;ka=n*f;ea-=aa;ia-=ka;h+=aa;z+=ka;f=n*-f;n*=e;r.x=ea-f;r.y=ia-n;w.x=h-f;w.y=z-n;x.x=h+f;x.y=z+n;y.x=ea+f;y.y=ia+n;return[r,w,x,y]}function fa(e,f,n,r,w,x,y,ea){var ia=(n-e)*(ea-x)-(r-f)*(y-w);if(1E-30>Math.abs(ia))return null;w=((f-x)*(y-
w)-(e-w)*(ea-x))/ia;return{x:e+w*(n-e),y:f+w*(r-f)}}function da(e,f,n,r){e=n-e;f=r-f;return Math.sqrt(e*e+f*f)}function z(e,f){var n=f[0],r=f[1],w=f[2];f=f[3];f=y(w.x,w.y,f.x,f.y,n.x,n.y,e.x,e.y);return y(n.x,n.y,r.x,r.y,w.x,w.y,e.x,e.y)||f}function y(e,f,n,r,w,x,y,ea){var ia=0>(y-n)*(r-f)-(ea-r)*(n-e);n=0>(y-w)*(x-r)-(ea-x)*(w-n);e=0>(y-e)*(f-x)-(ea-f)*(e-w);return ia===n&&n===e&&e===ia}function f(f,n,r,w){var y=f.x;f=f.y;var ea=n.x;n=n.y;var ia=r.x;r=r.y;var h=w.x;w=w.y;var z=x(y,f,ea,n,h,w),ka=
x(y,f,ea,n,ia,r),aa=x(y,f,ia,r,h,w),da=x(ea,n,ia,r,h,w),oa=z!==ka&&aa!==da;0===z&&0===ka&&0===aa&&0===da&&(oa=e(y,f,ea,n,ia,r)||e(y,f,ea,n,h,w)||e(ia,r,h,w,y,f)||e(ia,r,h,w,ea,n));return oa}function e(e,f,n,r,w,x){return e<n&&e<w&&w<n||n<e&&n<w&&w<e||f<r&&f<x&&x<r||r<f&&r<x&&x<f||e===w&&f===x||n===w&&r===x?!0:!1}function x(e,f,n,r,w,x){return(x-f)*(n-e)>(r-f)*(w-e)?1:(x-f)*(n-e)===(r-f)*(w-e)?0:-1}function r(e,f,n){e=e[n];var r=e.length;n=[];for(var w=f+1;w<r;++w)n.push(e[w]);for(--r;r>f;--r)e.splice(r,
1);return n}function w(){var e=document.querySelector("#selectionrect");e&&(e.style.display="none")}function n(e,f,n){var r=e[0],w=e[1],x=f[0].pageNumber;f=document.querySelector("#selectionrect");f||(f=document.createElement("div"),f.id="selectionrect",f.className="ui-selectable-helper",n.Mi().appendChild(f));var y=w.x-r.x,h=w.y-r.y;e=n.Zb();var z=Object(ia.d)(e),ka=e.scrollTop||0,aa=r.x-z;r=r.y-ka;var da=w.x-z,oa=w.y-ka;w=n.Ad(x);var ma=n.zd(x);r=Math.min(oa,r);aa=Math.min(da,aa);da=n.Sl().Mh({x:0,
y:0},x);ma=n.Sl().Mh({x:w,y:ma},x);n=Math.min(da.x,ma.x);x=Math.min(da.y,ma.y);w=Math.max(da.x,ma.x);ma=Math.max(da.y,ma.y);n-=z;x-=ka;x>r&&(h+=x-r,r=x);n>aa&&(y+=n-aa,aa=n);ma-=ka;y=ea.a.Math.clamp(Math.abs(y),0,w-z-aa);h=ea.a.Math.clamp(Math.abs(h),0,ma-r);z="inline";if(5>y||5>h)z="none";e=e.offsetParent.getBoundingClientRect();Object(ia.b)(f,{width:y,height:h,top:r-e.top,left:aa-e.left,"z-index":44,position:"absolute",border:"1px dotted black",display:z})}h.d(ca,"b",function(){return n});h.d(ca,
"a",function(){return w});h.d(ca,"f",function(){return r});h.d(ca,"d",function(){return z});h.d(ca,"c",function(){return aa});h.d(ca,"e",function(){return ba});var ea=h(21),ia=h(13)},function(ha,ca,h){function ba(){var f=this.IT;if("LineDimension"===f||"PolyLineDimension"===f)var e="distance";if("PolygonDimension"===f||"EllipseDimension"===f)e="area";return{property:e,Od:this.Measure}}function aa(f,e){for(var x=f.length-3;0<x;x-=3)f=f.slice(0,x)+e+f.slice(x);return f}function fa(f){f.Va&&f.Va();f.adjustRect&&
f.adjustRect()}var da=h(1),z=/(\d+(?:.\d+)?\s\w+)\W+(\d+(?:.\d+)?\s\w+)/,y={mm:.1,cm:1,m:100,km:1E5,mi:160394,yd:91.44,ft:30.48,"in":2.54,pt:.0352778};ca.a=function(f){Object.defineProperties(this,{Precision:{get:function(){var e=ba.call(f||this),x=e.property;if((e=e.Od)&&x)return x=e[x],(x=x[x.length-1].precision)?x=1/x:Object(da.h)("Unable to get precision from: ",x),x},set:function(e){var x=f||this,r=ba.call(x),w=r.property;(r=r.Od)&&w?"number"!==typeof e?Object(da.h)("The argument for setting precision must be a number"):
(r[w].forEach(function(f){f.precision&&(f.precision=1/e)}),fa(x)):Object(da.h)("Unable to set precision to an annotation or a tool which has incorrect IT or no measure dictionary")},enumerable:!0},Scale:{get:function(){var e=ba.call(f||this),x=e.Od,r=e.property;if(x&&r){e=x.scale.match(z);if(e)if(r=e[1],e=e[2],r&&e){var w=[r.split(" "),e.split(" ")];w[0][0]=Number(w[0][0]);w[1][0]=Number(w[1][0])}else Object(da.h)("Unable to convert scale from: "+x.scale+" to format [[value, unit], [value, unit]]");
else w=x[r],w=w[w.length-1].unit,x=y.pt/y[w]/x.axis[0].factor,e=[1,w],r=[x,w],w=[r,e];return w}},set:function(e){var x=f||this,r=ba.call(x),w=r.property;r=r.Od;var n=e[0];e=e[1];if(r&&w)if(Array.isArray(n)&&Array.isArray(e)){var ea=r[w],ia=n[0],h=n[1],z=e[0],aa=e[1];r.scale=n.join(" ")+" = "+e.join(" ");ea[ea.length-1].unit="area"===w?"sq "+aa:aa;r.axis[0].factor=z/ia*(y.pt/y[h]);fa(x)}else Object(da.h)("Both arguments for setting scale must be array");else Object(da.h)("Unable to set scale to an annotation or a tool which has incorrect IT or no measure dictionary")},
enumerable:!0},Zy:{value:function(e,f){if(!Array.isArray(f)||!f.length)return Object(da.h)("Number format array for measurement should have at least one number format dictionary in it"),"";var r=Array(f.length),w=r.length;r[0]=e;for(e=1;e<w;e++){var n=r[e-1],x=n%1;r[e-1]=Math.trunc(n);r[e]=x*f[e].factor}return r.map(function(e,n){var r=f[n],x=r.unit;if(n===w-1){n=r.display;if("D"===n){var y=r.precision;0!==y%10&&Object(da.h)("precision for decimal display must be a multiple of 10");e=e.toFixed((y/
10).toString().length).split(".");var ea=e[0];y=r.decimalSymbol+e[1]}else"F"===n?(ea=Math.trunc(e).toString(),y=r.precision,y=" "+Math.round(e%1*y)+"/"+y):"R"===n?(ea=Math.round(e).toString(),y=""):"T"===n&&(ea=Math.trunc(e).toString(),y="");r=aa(ea,r.thousandsSymbol)+y+" "+x}else r=aa(e.toString(),r.thousandsSymbol)+" "+x;return r}).join(" ")}}})}},function(ha,ca,h){function ba(e){da.a.call(this,e);this.mouseDown=!1;this.cursor="text"}var aa=h(0);h.n(aa);var fa=h(14),da=h(20),z=h(16),y=h(4),f=h(15),
e=h(6),x=h(10);ba.SELECTION_MODE="structural";ba.prototype={switchIn:function(){var e=void 0;if(this.pageCoordinates[0]||this.pageCoordinates[1])e=(this.pageCoordinates[0]?this.pageCoordinates[0].pageNumber:null)||(this.pageCoordinates[1]?this.pageCoordinates[1].pageNumber:null);e=e?this.N.Tc(e):this.N.Sd();this.mM(e);this.N.on(x.d.fJ,Object(aa.bind)(this.mM,this))},switchOut:function(e){da.a.prototype.switchOut.call(this,e);this.N.off(x.d.fJ)},mM:function(e){this.cursor=e===y.c.E_90||e===y.c.E_270?
"vertical-text":"text";Object(fa.d)(this.N,this.cursor)},mouseLeftDown:function(e){z.a.prototype.mouseLeftDown.call(this,e);this.isSelecting()||(e.altKey&&(ba.SELECTION_MODE="rectangular"),this.mouseDown=!0,this.N.Ys())},mouseMove:function(e){z.a.prototype.mouseMove.call(this,e);this.isSelecting()||!0!==this.mouseDown||(1!==e.which&&0!==e.which?this.mouseDown=!1:(e.data&&(this.pageCoordinates[1]=this.Pe(e.data.mouseCoordinate)),this.pageCoordinates[1]&&this.select(this.pageCoordinates[0],this.pageCoordinates[1]),
this.Mp(e)))},select:function(r,w){var n=this.N;if(r&&w){if(w.pageNumber>=r.pageNumber){var x=r;r=w}else x=w;w=x.pageNumber;var y=r.pageNumber;if(null!==w&&null!==y){var h=new e.f,z=n.O.Gb(w);1<=y-w?h.cb(x.x,x.y,z.width,z.height):h.cb(x.x,x.y,r.x,r.y);this.N.mo="rectangular"===ba.SELECTION_MODE?(new f.f(this.N.getDocument())).qS:(new f.f(this.N.getDocument())).oS;this.N.dj=[[w,h]];this.N.mr(w,h,Object(aa.bind)(this.textSelected,this));for(x=w+1;x<y;x++)this.N.dj.unshift([x,h]),z=n.O.Gb(x),h=new e.f,
h.cb(0,0,z.width,z.height),n.mr(x,h,Object(aa.bind)(this.textSelected,this));w!==y&&(h=new e.f,h.cb(0,0,r.x,r.y),this.N.dj.unshift([y,h]),n.mr(y,h,Object(aa.bind)(this.textSelected,this)))}}},textSelected:function(){},mouseLeftUp:function(e){z.a.prototype.mouseLeftUp.call(this,e);this.isSelecting()||(e.altKey&&"rectangular"===ba.SELECTION_MODE&&(ba.SELECTION_MODE="structural"),this.mouseDown=!1)}};ba.prototype=Object.assign(new z.a,ba.prototype);ca.a=ba},function(ha,ca,h){function ba(e,f){return Object(ma.b)(void 0,
void 0,Promise,function(){var n,r;return Object(ma.d)(this,function(w){switch(w.label){case 0:n=e.type;switch(n){case Ca.OFFICE:return[3,1];case Ca.XOD:return[3,3];case Ca.BLACKBOX:return[3,4];case Ca.PDF:return[3,5]}return[3,6];case 1:return r=oa,[4,e.getFileData({downloadType:"pdf"})];case 2:return[2,r.apply(void 0,[w.la(),Object(ma.a)(Object(ma.a)({},f),{extension:"pdf"})])];case 3:return Object(ja.h)("Currently there isn`t a way to load XOD document as a PDF"),[2,e];case 4:return Object(ja.h)('Use "forceClientSideInit" option instead of "loadAsPDF" for WebViewer Server'),
[2,e];case 5:return[2,e];case 6:return[2,e]}})})}function aa(e,f){var n=e.password;if(Object(la.isString)(n)){var r=!1;n=function(n){r?f("A wrong password is given to decrypt the document. Check if the value of the password option is correct."):(n(e.password),r=!0)}}else Object(la.isUndefined)(n)&&(n=function(){f("Document requires a password. If you wish to process this type of document please use the password option.")});return n}function fa(e,f,n){return Object(ma.b)(void 0,void 0,void 0,function(){var r,
w,y;return Object(ma.d)(this,function(ea){switch(ea.label){case 0:if((r=f.workerTransportPromise)||e!==Ca.PDF&&e!==Ca.OFFICE)return[3,3];w={workerLoadingProgress:function(e){return x({type:Ea.WORKER,LG:e},f.onLoadingProgress)}};return(y=f.backendType)?[3,2]:[4,Object(ua.c)()];case 1:y=ea.la(),ea.label=2;case 2:e===Ca.PDF&&(r=Object(sa.e)(y,w,f.licenseKey)),e===Ca.OFFICE&&(r=Object(va.e)(y,w,f.licenseKey)),r.catch(function(e){e=Object(la.isString)(e)?e:e.message;n(e);f.onError(e)}),ea.label=3;case 3:return[2,
r]}})})}function da(e,f,r,y,h,z){return Object(ma.b)(void 0,void 0,void 0,function(){var ja,aa,da,oa,ua,ra,ba,fa,za,pa,va,ya,sa,ca,Ha,ha,wa,Da,Aa,qa,Fa;return Object(ma.d)(this,function(eb){switch(eb.label){case 0:ja=h.customHeaders||{};aa=Object(la.isUndefined)(h.useDownloader)?!0:h.useDownloader;da=h.xodOptions||{};oa=null;if(f!==Ca.BLACKBOX&&f!==Ca.PDF&&f!==Ca.OFFICE&&f!==Ca.XOD)return[2,Object(ma.a)({src:e},h.customDocParams)];if(f!==Ca.BLACKBOX)return[3,4];ua={serverRoot:h.pdftronServer,disableWebsockets:h.disableWebsockets,
singleServerMode:h.singleServerMode,cacheKey:h.cacheKey,customQueryParameters:h.webViewerServerCustomQueryParameters};return n(e)?[4,e.saveMemoryBuffer(window.PDFNet.SDFDoc.SaveOptions.e_remove_unused)]:[3,2];case 1:ra=eb.la(),e=new Blob([ra]),eb.label=2;case 2:if(ka(e)||ia(e))ua.filename=r,ua.uploadData={fileHandle:e,loadCallback:function(){},onProgress:function(e){x({type:Ea.UPLOAD,LG:e.loaded/e.total},h.onLoadingProgress)},extension:y},e=null;return[4,Object(na.c)(na.b.BlackBoxPartRetriever,e,
{serverOptions:ua})];case 3:return oa=eb.la(),[3,31];case 4:if(f!==Ca.XOD)return[3,24];ba=na.a.NO_HINT;fa=ea(e);if(!(ka(e)||ia(e)||fa))return[3,6];za=fa?new Blob([e],{type:"application/octet-stream"}):e;return[4,Object(na.c)(na.b.LocalPartRetriever,za,da)];case 5:return oa=eb.la(),[3,23];case 6:return da.startOffline?[4,Object(na.c)(na.b.WebDBPartRetriever,null,da)]:[3,8];case 7:return oa=eb.la(),[3,23];case 8:return Object(ta.f)()?[4,Object(na.c)(na.b.WinRTPartRetriever,e,Object(ma.a)({cacheHint:ba},
da))]:[3,10];case 9:return oa=eb.la(),[3,23];case 10:return Object(la.isString)(e)&&e.startsWith("iosrange://")?[4,Object(na.c)(na.b.IOSPartRetriever,e,Object(ma.a)({cacheHint:ba},da))]:[3,12];case 11:return oa=eb.la(),[3,23];case 12:return Object(la.isString)(e)&&e.startsWith("content://")?[4,Object(na.c)(na.b.AndroidContentPartRetriever,e,Object(ma.a)({cacheHint:ba},da))]:[3,14];case 13:return oa=eb.la(),[3,23];case 14:return(pa=da.streaming)?[3,17]:(va=Object(la.isUndefined)(da.streaming))?[4,
w()]:[3,16];case 15:va=!eb.la(),eb.label=16;case 16:pa=va,eb.label=17;case 17:return pa?[4,Object(na.c)(na.b.StreamingPartRetriever,e,Object(ma.a)({cacheHint:ba},da))]:[3,19];case 18:return oa=eb.la(),[3,23];case 19:return da.azureWorkaround?[4,Object(na.c)(na.b.AzurePartRetriever,e,Object(ma.a)({cacheHint:ba},da))]:[3,21];case 20:return oa=eb.la(),[3,23];case 21:return[4,Object(na.c)(na.b.HttpPartRetriever,e,Object(ma.a)({cacheHint:ba},da))];case 22:oa=eb.la(),eb.label=23;case 23:return[3,31];case 24:if(f!==
Ca.PDF&&f!==Ca.OFFICE)return[3,31];if(!n(e))return[3,25];oa=e;return[3,31];case 25:return ka(e)||ia(e)?[4,Object(na.c)(na.b.LocalPdfPartRetriever,e)]:[3,27];case 26:return oa=eb.la(),[3,31];case 27:return ea(e)?[4,Object(na.c)(na.b.ArrayBufferPdfPartRetriever,e)]:[3,29];case 28:return oa=eb.la(),[3,31];case 29:return[4,Object(na.c)(na.b.ExternalPdfPartRetriever,e,{useDownloader:aa,withCredentials:h.withCredentials,filename:r+"."+y})];case 30:oa=eb.la(),eb.label=31;case 31:return Object(la.isUndefined)(h.withCredentials)||
(null===(sa=(ya=oa).vr)||void 0===sa?void 0:sa.call(ya,h.withCredentials)),null===(Ha=(ca=oa).PA)||void 0===Ha?void 0:Ha.call(ca,ja),null===(wa=(ha=oa).BS)||void 0===wa?void 0:wa.call(ha,z),null===(Aa=(Da=oa).on)||void 0===Aa?void 0:Aa.call(Da,Ba.a.Events.DOCUMENT_LOADING_PROGRESS,function(e,f){x({type:Ea.DOCUMENT,LG:e/f},h.onLoadingProgress)}),null===(Fa=(qa=oa).on)||void 0===Fa?void 0:Fa.call(qa,Ba.a.Events.ERROR,function(e,f,n){z({message:f,serverResponse:n})}),[2,oa]}})})}function z(e,f){if(f.type)return f.type;
var n;f.pdftronServer?n=Ca.BLACKBOX:ya.f.RI.includes(e)?n=Ca.PDF:ya.f.QI.includes(e)?n=Ca.OFFICE:"xod"===e&&(n=Ca.XOD);return n}function y(e,f){var r=f.filename;r||(ka(e)?r=e.name:Object(la.isString)(e)&&(r=e.split("/").slice(-1)[0],r=r.split("\\").slice(-1)[0],r=r.split("#")[0],r=r.split("?")[0]));f=f.extension;!f&&r&&(f=r.slice((Math.max(0,r.lastIndexOf("."))||Infinity)+1));f||(ea(e)?Object(ja.h)('\n          No extension option provided for ArrayBuffer source. WebViewer will assume the extension is "pdf".\n          Use "extension" option to specify extension. E.g.\n\n          const arrayBuffer = base64ToArrayBuffer(base64);\n          const doc = await CoreControls.createDocument(arrayBuffer, { extension: \'pdf\', l: licenseKey })\n          ...\n        '):
ia(e)?Object(ja.h)("\n          No extension option provided for Blob source. WebViewer will assume the extension is \"pdf\".\n          Use \"extension\" option to specify extension. E.g.\n\n          const blob = new Blob([buffer], { type:'application/pdf' });\n          const doc = await CoreControls.createDocument(blob, { extension: 'pdf', l: licenseKey })\n          ...\n        "):n(e)||Object(ja.h)("\n          Extension of the document cannot be determined from URL/Path. WebViewer will assume the extension is \"pdf\".\n          Use \"extension\" option to specify extension. E.g.\n\n          const doc = await CoreControls.createDocument('http://domain/file11243', { extension: 'docx', l: licenseKey })\n          ...\n        "),
f="pdf");f=f.toLowerCase();return{X0:f,filename:r}}function f(e){return Da.get(e)}function e(e,f){Da.set(e,f)}function x(e,f){var n=e.type;e=e.LG;void 0===f&&(f=function(){});Aa[n]=e;n===Ea.UPLOAD?f(Aa[Ea.UPLOAD]):f((Aa[Ea.DOCUMENT]+Aa[Ea.WORKER])/2)}function r(){var e;Aa=(e={},e[Ea.DOCUMENT]=0,e[Ea.WORKER]=0,e[Ea.UPLOAD]=0,e)}function w(){return new Promise(function(e){var f=window.location.href.split("#")[0]+"?_="+Date.now(),n=!1;fetch(f,{headers:{Range:"bytes=0-0"}}).then(function(f){f.ok&&206===
f.status?n=!0:Object(ja.h)("HTTP range requests not supported. Switching to streaming mode.");e(n)}).catch(function(){return e(n)})})}function n(e){return Object(za.j)()&&e instanceof window.PDFNet.PDFDoc}function ea(e){return Object(la.isObject)(e)&&void 0!==e.byteLength}function ia(e){return e instanceof Blob||"[object Blob]"===Object.prototype.toString.call(e)}function ka(e){return"string"!==typeof e&&!n(e)&&!ea(e)}function oa(f,n){var w=this;void 0===n&&(n={});n.licenseKey=n.licenseKey||n.l;n.onError=
n.onError||function(){};r();var x=y(f,n),ea=x.X0,h=x.filename;if(!n.type&&!ya.f.hJ.includes(ea))return x="File extension "+ea+" is not supported. Please see http://r.pdftron.com/fileformats for a full list of file formats supported by WebViewer",n.onError(x),Promise.reject(x);if(!n.type&&!n.pdftronServer&&!ya.f.OI.includes(ea))return x="File extension "+ea+" is only supported by using WebViewer with WebViewer Server. See http://r.pdftron.com/fileformats for a full list of file formats supported by WebViewer. Visit https://www.pdftron.com/documentation/web/guides/wv-server-deployment for more information about WebViewer Server",
n.onError(x),Promise.reject(x);if(Object(la.isString)(f)&&f.startsWith("file:///"))return x="WebViewer doesn't have access to file URLs because of browser security restrictions. Please see http://r.pdftron.com/loadlocalfile",n.onError(x),Promise.reject(x);var ia=z(ea,n),ja=new ra.a(n.docId,ia),ka=new Promise(function(e,r){return Object(ma.b)(w,void 0,void 0,function(){var w,x,y;return Object(ma.d)(this,function(z){switch(z.label){case 0:return[4,da(f,ia,h,ea,n,r)];case 1:return w=z.la(),x=fa(ia,n,
r),y=aa(n,r),ja.JH(h),ja.Qq(w,function(w){w?w===pa.a&&n.fallbackToClientSide?oa(f,Object(ma.a)(Object(ma.a)({},n),{pdftronServer:""})).then(function(f){e(f)}).catch(function(){r(w)}):r(w):e(ja)},{annotationManager:n.annotationManager,getPassword:y,workerTransportPromise:x,extension:ea,defaultPageSize:n.defaultPageSize,pageSizes:n.pageSizes,forceClientSideInit:n.forceClientSideInit,l:n.licenseKey,backendType:n.backendType}),[2]}})})});x=new Promise(function(e,f){ka.then(function(f){return n.loadAsPDF?
e(ba(f,n)):e(f)}).catch(function(e){Object(Ha.a)(e,ea).then(function(e){f(e);n.onError(e)})})});e(x,function(){return ja.Fd()});return x}h.d(ca,"c",function(){return e});h.d(ca,"b",function(){return f});h.d(ca,"a",function(){return oa});var ma=h(3),la=h(0);h.n(la);var ja=h(1),ua=h(53),ra=h(7),na=h(28),Ba=h(75),za=h(29),sa=h(38),va=h(62),ta=h(30),ya=h(4),pa=h(123),Ha=h(266),Ca;(function(e){e.BLACKBOX="blackbox";e.PDF="pdf";e.OFFICE="office";e.XOD="xod"})(Ca||(Ca={}));var Aa,Ea;(function(e){e.DOCUMENT=
"document";e.WORKER="worker";e.UPLOAD="upload"})(Ea||(Ea={}));var Da=new WeakMap},function(ha,ca,h){var ba=h(3);ha=function(h){function aa(aa,z){var y=h.call(this,null)||this;y.text=null;y.eea=!1;y.lv=[];y.links=[];y.Xa=null;y.rotation=0;y.width=aa;y.height=z;return y}Object(ba.c)(aa,h);aa.prototype.ES=function(h){this.height=h.height;this.width=h.width;this.Xa=h.matrix;this.rotation=h.rotation;this.id=h.id;this.Sa=h.pageNum};aa.prototype.oO=function(){return"string"===typeof this.Sa?parseInt(this.Sa,
10):this.Sa};return aa}(h(76).a);ca.a=ha},function(ha,ca,h){function ba(f,e){z.a.call(this,f,y.Annotations.pg);this.annotation=null;this.Hk=!1;delete this.defaults.FillColor;this.name=e||da.g.POLYLINE;this.Fp=!1}var aa=h(16),fa=h(21),da=h(4),z=h(19),y=window;ba.prototype=Object.assign(new z.a,{mouseLeftDown:function(f){var e=0<this.N.ta().fe().length;z.a.prototype.mouseLeftDown.call(this,f);var x=this.annotation&&0===this.annotation.gb().length;this.isSelecting()||this.Vb&&x&&!this.Fp&&!this.overrideSelection?
this.annotation=null:e?this.annotation=null:this.annotation&&((e=f.data.pageCoordinate,e&&e.pageNumber===this.annotation.Ba())?null!==e.x&&null!==e.y&&(x=this.annotation.pa,0===x.length?this.annotation.sc(e.x,e.y):this.Hk||(this.annotation.Go(),f.shiftKey&&(e=fa.a.Math.Qt(x[x.length-1],e)),this.annotation.sc(e.x,e.y)),this.Hk=!0):"CalloutCreateTool"===this.Fh?(this.Tx(),this.N.na.Rc(this.annotation),this.annotation=null):this.mouseDoubleClick(f))},mouseLeftUp:function(f){aa.a.prototype.mouseLeftUp.call(this,
f)},mouseMove:function(f){aa.a.prototype.mouseMove.call(this,f);if(this.annotation&&!this.isSelecting()&&f.data){var e=f.data.pageCoordinate;if(null!==e&&null!==e.x&&null!==e.y&&e.pageNumber===this.annotation.Ba()){this.Hk||this.annotation.Go();var x=this.annotation.gb();x.length&&x[x.length-1].x===e.x&&x[x.length-1].y===e.y||(f.shiftKey&&x.length&&(e=fa.a.Math.Qt(x[x.length-1],e)),this.annotation.sc(e.x,e.y),this.Hk=!1);Object.getOwnPropertyDescriptor(Annotations.Annotation.prototype,"X").set.call(this.annotation,
this.annotation.Eb.x);Object.getOwnPropertyDescriptor(Annotations.Annotation.prototype,"Y").set.call(this.annotation,this.annotation.Eb.y);this.N.na.sb(this.annotation);this.Mp(f)}}},mouseDoubleClick:function(){this.annotation&&(this.annotation.finish(),this.finish())},mouseRightDown:function(f){this.annotation&&this.mouseDoubleClick(f)},contextMenu:function(f){f.preventDefault()},tap:function(f){this.annotation&&0<this.annotation.gb().length||aa.a.prototype.tap.call(this,f)},Tx:function(){for(;0<
this.annotation.gb().length;)this.annotation.Go()},BH:function(f){this.Fp=f}});ca.a=ba},function(ha,ca,h){var ba=h(3);ha=h(33);var aa=h(92),fa=h(37),da=h(2),z=h(100);h=function(y){function f(e,f,r,w){e=y.call(this,e,f,r,w)||this;e.Vh();return e}Object(ba.c)(f,y);f.prototype.Vh=function(){var e;this.dc=[];this.Pc()&&!this.xa.NoResize&&(this.dc=z.a.EN(this.nq()),this.xa.MaintainAspectRatio||(e=this.dc).push.apply(e,z.a.IO(this.nq())),this.N.ta().lu()&&this.xa.cu()&&this.xa instanceof Annotations.FreeHandAnnotation&&
this.dc.push(z.a.vO(this.xa,this.N)))};f.prototype.nq=function(){return aa.a};f.prototype.testSelection=function(e,f,r,w){return this.isSelected()?fa.a.qn(e,f,r,this.N.bd()):fa.a.tn(e,f,r,w)};f.prototype.getDimensions=function(e){return new da.d(e.X,e.Y,e.X+e.Width,e.Y+e.Height)};return f}(ha.a);ca.a=h},function(ha,ca){ca.a=function(){this.HJ="solid";this.uJ="3";Object.defineProperties(this,{Style:{get:function(){return this.HJ},set:function(h){this.HJ=h;this.Va()}},Dashes:{get:function(){return this.uJ},
set:function(h){this.uJ=h;this.Va()}}})}},function(ha,ca,h){function ba(e,x){fa.a.call(this,e,y.Annotations.Uf);this.annotation=null;this.Hk=!1;this.name=x||z.g.POLYGON_CLOUD;this.aD=f.EQUAL_ARCS}h.d(ca,"b",function(){return f});h.d(ca,"a",function(){return"trn-random-arc"});var aa=h(1),fa=h(19),da=h(112),z=h(4),y=window,f={RANDOM_ARCS:"randomArcs",EQUAL_ARCS:"equalArcs"};ba.AU=f;ba.prototype={mouseLeftDown:function(){da.a.prototype.mouseLeftDown.apply(this,arguments);this.annotation&&(this.annotation.Style=
"cloudy",this.annotation.Intent="PolygonCloud",this.annotation.ArcDrawMode=this.aD)},DH:function(e){Object.values(f).includes(e)?this.aD=e:Object(aa.e)("Invalid arc draw mode for cloud annotation")},K1:function(){return this.aD}};ba.prototype=Object.assign(new da.a,ba.prototype);ca.c=ba},function(ha,ca,h){function ba(e){return Object(aa.b)(this,void 0,void 0,function(){var n,r,w;return Object(aa.d)(this,function(x){switch(x.label){case 0:return n=new Blob([e]),[4,Object(f.c)(f.b.LocalPartRetriever,
n)];case 1:return r=x.la(),w=new sa,[2,new Promise(function(e,f){w.loadAsync(r,function(n){n?f(n):e(w)})})]}})})}h.d(ca,"a",function(){return ba});var aa=h(3),fa=h(0);h.n(fa);var da=h(1),z=h(176);ha=h(91);var y=h(41),f=h(28),e=h(55),x=h(108),r=h(202),w=h(69),n=h(64),ea=h(102),ia=h(77),ka=h(54),oa=h(44),ma=h(26),la=h(23),ja=h(57),ua=h(6),ra=h(7),na=h(75),Ba=0,za=window,sa=function(va){function ta(e){var f=va.call(this,e)||this;f.ji="Document/FixedDocument.fdoc";f.tj="Document/DocProps/core.xml";f.ii=
"Document/Structure/DocStruct.struct";f.LU="Struct/font.xml";f.QV="Struct/";f.PV="Text/";f.Fb=null;f.hp=null;f.xp=new ia.a.mw;f.id=e;f.Xz=!1;f.ig=null;f.Le={};f.pG=Object(fa.bind)(f.pG,f);f.Fy=null;f.bh=1;f.qf={};f.Ha=null;f.Yc=Promise.resolve();f.vF={};f.jn=new z.a(10,400);f.ya=(++Ba).toString(16);return f}Object(aa.c)(ta,va);ta.prototype.loadAsync=function(e,n){return Object(aa.b)(this,void 0,void 0,function(){var w,x,ea=this;return Object(aa.d)(this,function(h){switch(h.label){case 0:return this.Fb=
e,this.yg=[],this.Hc={},this.aa=[],this.ze={},this.ze[this.ji]=y.b.SB,this.ze[this.tj]=y.b.SB,this.ze[this.ii]=y.b.SB,this.Fb.om()&&(this.jm={}),w=this,[4,Object(r.b)()];case 1:return w.hu=h.la(),e.on(na.a.Events.PART_READY,this.pG),this.on(ra.a.Events.DOCUMENT_READY,function(e){1.5>ea.bh&&ea.cX();n(e)}),(x=Object(f.d)(f.b.WebDBPartRetriever))&&e instanceof x?(this.Xz=!0,this.Jq(function(){e.db=ea.ig;e.hv(n)})):e.hv(n),[2]}})})};ta.prototype.extractXFDF=function(e){var f=this;if(1!==e.length)throw Error("XOD Document does not support extracting XFDF for multiple input pages");
var n=e[0]-1;return new Promise(function(e){function r(e){var f="",n=0,r=-1;for(2<=e.length&&"{"===e.charAt(0)&&"}"===e.charAt(1)&&(e=e.substr(2));n<e.length;){var w=e.charCodeAt(n);if(128>w)0>r&&(r=n),n++;else if(0<=r&&(f+=e.substring(r,n),r=-1),191<w&&224>w){var x=e.charCodeAt(n+1);f+=String.fromCharCode((w&31)<<6|x&63);n+=2}else{x=e.charCodeAt(n+1);var y=e.charCodeAt(n+2);f+=String.fromCharCode((w&15)<<12|(x&63)<<6|y&63);n+=3}}0===r?f=e:0<=r&&(f+=e.substring(r,n));return f}if(1.5<=f.bh){var w=
f.aa[n].uU;f.lb.Fg("Annot/Annots"+(w.index?w.index:"")+".xfdf",function(n){n=r(n.data);f.aa[0].zl=n;e({xfdfString:n,pages:Object(fa.range)(w.start,w.end)})})}else f.lb.Fg("Annots.xfdf",function(n){n=r(n.data);f.aa[0].zl=n;var w=za.Annotations.ma.lz(n);f.FK(w);e({xfdfString:n,parsedData:w,pages:Object(fa.range)(1,f.aa.length+1)})})})};ta.prototype.zu=function(e,f,n){var r=this,w=e-1;if(!this.lb)throw Error("Document is not initialized!");1.2===this.bh&&(this.lb.Zz=!0);this.lb.TE(w,f,function(e,f){var x=
r.aa[w],y=null;f&&(y=new ia.a.zV(x,f,r.xp));n(e,y)})};ta.prototype.Sq=function(e,f){if(!this.lb)throw Error("Document is not initialized!");return this.lb.Fg(e,f)};ta.prototype.z5=function(e){var f=this;null===this.Fy?this.Sq(this.LU,function(n){if(n.error)throw Error("SELECT: Error getting part "+n.$a+": "+n.error);var r=new XODText.VI(f.ya);r.YG(n.data);f.Fy=r.rE;e(f.Fy)}):e(this.Fy)};ta.prototype.loadTextData=function(e,f){var n=this,r=e-1;null!==this.aa[r].text?f(this.aa[r].text):r in this.qf?
this.qf[r].push(f):(this.qf[r]=[f],1.4>this.bh?this.Sq(this.PV+e+".xml",function(e){if(e.error)throw Error("SELECT: Error getting part "+e.$a+": "+e.error);var f=e.data;h.e(13).then(h.bind(null,365)).then(function(e){var w=new e.default;w.initData(f);e=new ua.d;e.Tu(w.getData());n.correctQuadsForPageRotation(r,e);n.aa[r].text=e;n.qf[r].forEach(function(e){return e(w)});delete n.qf[r]})}):this.z5(function(f){n.Sq(n.QV+e+".xml",function(e){var w=new ua.d,x=new la.a;x.cb(1,0,0,1,0,0);var y=new ua.c(f);
n.lb.mO(r,function(f){function ea(){return f.$q().then(function(){if(!f.mg(y,x))return ea()})}ea().then(function(){w.YG(e.data,y);n.correctQuadsForPageRotation(r,w);n.aa[r].text=w;n.qf[r].forEach(function(e){return e(w)});delete n.qf[r]}).catch(function(e){Object(da.h)("Custom Canvas has encountered an error: "+e.message)})})})}))};ta.prototype.io=function(){return 1.2>=this.bh};ta.prototype.qk=function(){return this.Dq||0<this.Iu};ta.prototype.loadCanvasAsync=function(e){var f=this,n=Date.now(),
r=Object(fa.uniqueId)();this.Le[r]={Mg:null,paused:!1,Dd:e.pageNumber-1};this.zu(e.pageNumber,r,function(w,x){if(w)throw Error("Error loading page "+e.pageNumber+": "+w);Object(fa.isUndefined)(f.Le[r])||(f.Le[r].Mg=x,f.Le[r].paused&&x.pause(),e.finishedLoading()&&x.fG(function(){e.resourcesLoaded()&&x.xZ(e.getZoom(),e.getPageRotation(),function(f){Object(da.b)("render","Render Time "+(Date.now()-n));e.drawComplete(f,e.pageNumber)},function(n){f.drawWatermark(n,e.pageNumber);e.drawProgressive(n,f.aa[e.pageNumber-
1].id)},e.canvasNum,e.getPageTransform(),e.renderRect,e.useProgress,e.pageCanvas,e.multiplier)},void 0,e.acquireResources()))});return r};ta.prototype.qA=function(e){if(e=this.Le[e])e.paused=!0,e.Mg&&e.Mg.pause()};ta.prototype.EA=function(e){if(e=this.Le[e])e.paused=!1,e.Mg&&e.Mg.resume&&e.Mg.resume()};ta.prototype.Jr=function(e){this.Nj(e)};ta.prototype.Nj=function(e){var f=this.Le[e];f&&(this.Ss(f.Dd,e),f=f.Mg)&&(f.Fd(),f.abort&&f.abort());this.Gl(e)};ta.prototype.Gl=function(e){delete this.Le[e]};
ta.prototype.GM=function(){return"t"+Object(fa.uniqueId)()};ta.prototype.f5=function(e){return Object(fa.isString)(e)&&0<e.length&&"t"===e[0]};ta.prototype.loadThumbnailAsync=function(f,n){var r=this;if(!this.lb)throw Error("Document is not initialized!");var w=f-1;if(this.Dq||this.Iu>w){var x=this.GM();this.lb.Tn(w,x,function(e){var f=new Image,r=e.data;e=e.$a.match(/\.([a-zA-Z]+)$/)[1].toLowerCase();r=Object(ea.c)(e,r);f.onload=function(){f.src.startsWith("data")||URL.revokeObjectURL(f.src);n(f);
f=f.onload=null};f.src=r})}else w=this.aa[w],f=Object(e.b)({pageNumber:f,zoom:w.width>w.height?150/w.width:150/w.height,drawComplete:function(e){e.style.backgroundColor="white";r.Jr(x);n(e)},pageCanvas:!0}),x=this.loadCanvasAsync(f);return x};ta.prototype.getLayersArray=function(){return Promise.resolve([])};ta.prototype.Jq=function(e){var f=this;if(null===this.ig){if(Object(fa.isUndefined)(this.id)||Object(fa.isNull)(this.id)){this.id=za.top.location.href;for(var n=za.top.location.hash.substring(1).split("&"),
r=0;r<n.length;r++){var w=n[r].split("=");if("d"===w[0]){this.id=w[1];break}}}this.ig=new ea.a(this.id);this.ig.open(e,function(e){f.ig=null;Object(da.e)(e)})}else Object(da.h)("Offline DB is already initialized!"),e()};ta.prototype.Dv=function(e,n){function r(e){w.Fb.lD(e)}var w=this;if(!this.lb)throw e(),Error("Document is not initialized!");if(!this.ig)throw e(),Error("Offline DB is not initialized!");var x=Object(f.d)(f.b.WebDBPartRetriever);if(x&&this.Fb instanceof x)throw e(),Error("Can't download file while in offline mode!");
this.Fb.pO(function(f){w.ig.Oaa(w.lb,f,!!w.Fb.decrypt,e,n,r)})};ta.prototype.Zl=function(){if(!this.ig)throw Error("Offline DB is not initialized!");return this.ig.Zl()};ta.prototype.Rs=function(){if(!this.ig)throw Error("Offline DB is not initialized!");this.ig.VY()};ta.prototype.uq=function(){return this.Xz};ta.prototype.qv=function(e){if(!this.ig)throw Error("Offline DB is not initialized!");this.Xz!==e&&(!(this.Xz=e)||this.hp instanceof za.kb.uV.WV||(this.hp=new za.kb.uV.WV(this.ig,this.Fb.decrypt,
this.Fb.ht),this.hp.on(na.a.Events.PART_READY,this.lb.bA)),this.yT())};ta.prototype.yT=function(){if(null!==this.hp){var e=this.hp;this.hp=this.Fb;this.Fb=e;this.lb.If=this.Fb}};ta.prototype.Ss=function(e,f){if(!this.lb)throw Error("Document is not initialized!");this.lb.kD(e-1,f)};ta.prototype.zg=function(e){this.f5(e)?this.lb.mD(e):this.Nj(e)};ta.prototype.pG=function(e){if(e.error)return this.ze[e.$a]=y.b.Yr,this.TJ();var f=this.Fb.decrypt?this.Fb.NM?this.Fb.decrypt(e.data,this.Fb.ht,e.$a):Object(x.b)(e.data,
this.Fb.ht,e.$a):e.data;f=Object(ka.a)(f);this.Fb.om()&&(this.jm[e.$a]={data:f,Qc:e.Qc},this.Fb.decrypt&&(this.jm[e.$a].O0=e.data));e.Qc&&(f=this.hu(f));switch(e.$a){case this.ji:f=new ja.a(f);f.Ia();f.advance();e=f.ba("JPGThumbs");this.ZF="true"===e;e=f.ba("IncludesThumbs");this.Dq=null===e||"false"!==e;!this.Dq&&(e=f.ba("NumLeadingThumbs"))&&(e=parseInt(e,10),e=isNaN(e)?0:e,this.Iu=Math.max(e,0));e=f.ba("Version");this.bh=parseFloat(e);if(1.2>this.bh)throw this.ze[this.ji]=null,Error("The XOD version is out of date. Please re-convert the file with the most recent version of PDFNet or the command line converter.");
if(1.5<this.bh)throw Error("The XOD file version is too new for this client. Please update the WebViewer client version.");e=1.5<=this.bh;var r=void 0,ea=void 0;e&&(ea=f.ba("DefaultMatrix").split(","),r=new la.a,r.cb(parseFloat(ea[0]),parseFloat(ea[1]),parseFloat(ea[2]),parseFloat(ea[3]),parseFloat(ea[4]),parseFloat(ea[5])),ea=this.El(r));this.ze[this.ji]=y.b.MB;for(var h={index:0,start:1},z=1;f.advance();){var ia=f.Oa();if("PageContent"===ia){ia=new w.a(parseFloat(f.ba("Width")),parseFloat(f.ba("Height")));
ia.lv=["Pages/"+z+".xaml","Annot/"+z+".xml","Pages/_rels/"+z+".xaml.rels"];ia.uU=h;var aa=f.ba("trn:Id");aa&&(ia.offsetX=parseFloat(f.ba("trn:X")),ia.offsetY=parseFloat(f.ba("trn:Y")),this.vF[aa]=this.aa.length);this.aa.push(ia);if(e){(ia=f.ba("trn:Matrix"))?(aa=ia.split(","),ia=new la.a,ia.cb(parseFloat(aa[0]),parseFloat(aa[1]),parseFloat(aa[2]),parseFloat(aa[3]),parseFloat(aa[4]),parseFloat(aa[5])),aa=this.El(ia)):(ia=new la.a,ia.Dh(r),aa=ea);var da=z-1,oa=this.Kp(ia,{w:this.aa[da].width,h:this.aa[da].height});
ia.cb(4/3,0,0,-4/3,-oa.x1,oa.y2);this.aa[da].Xa=ia;this.aa[da].rotation=aa}++z}else if("trn:AnnotRef"===ia)h.end=z,h={index:h.index+1,start:z};else throw Error("Unsupported XOD document element type: "+ia);}h.end=z;this.Dq&&(this.Iu=this.aa.length);this.maxViewportZoom=this.Lp();break;case this.tj:this.ze[this.tj]=y.b.MB;f=new ja.a(f);f.Ia();for(this.Hc={};f.advance();)e=f.Oa().split(":"),this.Hc[1===e.length?e[0]:e[1]]=f.current.textContent;break;case this.ii:this.ze[this.ii]=y.b.MB;this.yg=[];f=
new ja.a(f);f.Ia();f.advance();f.Ia();f.advance();f.Ia();h=0;for(z=null;f.advance();){r=parseInt(f.ba("OutlineLevel"),10);ea=new n.a;ea.children=[];try{ea.name=e.Qc?Object(ma.q)(f.ba("Description")):f.ba("Description")}catch(Fa){throw Error("XOD failed to decompress. If you are trying to open an encrypted xod, please make sure you are providing a password. See https://cutt.ly/xod-decompress for more details\n");}if(h<r)ea.parent=z;else for(ea.parent=z.parent;h>r;)ea.parent=ea.parent.parent,--h;ea.Lr=
f.ba("trn:Vpos");ea.Lr=null===ea.Lr?0:parseFloat(ea.Lr);ea.Hq=f.ba("trn:Hpos");ea.Hq=null===ea.Hq?0:parseFloat(ea.Hq);h=f.ba("OutlineTarget").split("#");1===h.length||0===h[1].length?ea.url=h[0]:ea.Ac=parseInt(h[1],10);null!==ea.parent?ea.parent.children[ea.parent.children.length]=ea:this.yg[this.yg.length]=ea;h=r;z=ea}break;default:if(this.ze[this.ji])return this.ze[this.tj]=this.ze[this.tj]||y.b.YI,this.ze[this.ii]=this.ze[this.ii]||y.b.YI,this.cK(e)}this.TJ()};ta.prototype.getBookmarks=function(){return Promise.resolve(this.yg)};
ta.prototype.tq=function(e){return 1.2===this.bh?this.aa[e-1].zl:this.aa[e-1].links};ta.prototype.getPageCount=function(){return this.aa.length};ta.prototype.Ul=function(e,f,n){f={x:f,y:n};return this.aa[e-1].Xa.inverse().ka(f)};ta.prototype.kz=function(e,f,n){return this.aa[e-1].Xa.ka({x:f,y:n})};ta.prototype.unloadResources=function(){var e="i"+this.ya+"-",n="f"+this.ya+"-";document.fonts&&Object.keys(oa.a.Vy()).forEach(function(e){e.startsWith(n)&&(oa.a.Vy()[e].remove(),delete oa.a.Vy()[e])});
Object.keys(za.ci).forEach(function(f){f.startsWith(e)&&delete za.ci[f]});if(Object(fa.isEmpty)(oa.a.Vy())){var r=oa.a.p3();null!==r&&(document.head.removeChild(r),oa.a.daa(null),oa.a.eaa(null))}this.xp=new ia.a.mw;(r=Object(f.d)(f.b.StreamingPartRetriever))&&this.Fb instanceof r&&this.Fb.abort();this.Hw()};ta.prototype.Hw=function(){this.lb&&this.lb.Fd();this.Fb&&(this.Fb.off(na.a.Events.PART_READY),this.lb=new ea.b(this.Fb,this.aa,this.xp,this.ya,this.hu),this.lb.ZF=this.ZF)};ta.prototype.TJ=function(){this.ze[this.ji]&&
this.ze[this.tj]&&this.ze[this.ii]&&this.cK()};ta.prototype.cK=function(e){var f=this;this.Hw();this.Fb.om()&&(Object.keys(this.jm).forEach(function(e){f.lb.cache.setItem(e,f.jm[e].data,f.jm[e].Qc);f.Fb.decrypt&&f.lb.Fn.setItem(e,f.jm[e].O0,f.jm[e].Qc)}),delete this.jm);this.trigger(ra.a.Events.DOCUMENT_READY,this.ze[this.ji]===y.b.Yr);e&&this.Fb.trigger(na.a.Events.PART_READY,e)};ta.prototype.cX=function(){var e=new la.a;e.cb(4/3,0,0,-4/3,0,this.aa[0].height);for(var f=this.aa.length,n=0;n<f;++n)this.aa[n].Xa=
e,this.aa[n].rotation=0};ta.prototype.FK=function(e,f){for(var n=this,r=this.aa.length,w=this.aa.map(function(e,f){return{before:{Xa:e.Xa,Sa:f+1},after:{pageNum:f+1,matrix:""}}}),x=0;x<r;++x)this.aa[x].Xa=null;if(e&&e.querySelector("xfdf > pages")){var y=e.querySelector("xfdf > pages"),ea=e=void 0,h=void 0;for(x=0;x<y.childNodes.length;++x){var z=y.childNodes[x].localName;if(z&&(h=y.childNodes[x],"defmtx"===z&&(ea=h.getAttribute("matrix").split(","),e=new la.a,e.cb(parseFloat(ea[0]),parseFloat(ea[1]),
parseFloat(ea[2]),parseFloat(ea[3]),parseFloat(ea[4]),parseFloat(ea[5])),ea=this.El(e)),"pgmtx"===z)){z=parseInt(h.getAttribute("page"),10);h=h.getAttribute("matrix").split(",");var ia=new la.a;ia.cb(parseFloat(h[0]),parseFloat(h[1]),parseFloat(h[2]),parseFloat(h[3]),parseFloat(h[4]),parseFloat(h[5]));var ja=this.El(ia);h=this.Kp(ia,{w:this.aa[z].width,h:this.aa[z].height});this.aa[z].rotation=ja;ia.cb(4/3,0,0,-4/3,-h.x1,h.y2);this.aa[z].Xa=ia}}for(x=0;x<r;++x)null===this.aa[x].Xa&&(y=new la.a,h=
this.Kp(e,{w:this.aa[x].width,h:this.aa[x].height}),y.cb(4/3,0,0,-4/3,-h.x1,h.y2),this.aa[x].Xa=y,this.aa[x].rotation=ea)}f||(w.forEach(function(e,f){e.after.matrix=n.aa[f].Xa}),this.vh({type:ra.a.Events.PAGES_DIFF,data:w}))};ta.prototype.Ly=function(e){return this.aa[e-1].uU.index};ta.prototype.getNewAppearanceDocument=function(e,f){var n=this;if(1.5>this.bh)return Promise.reject("getAppearanceReferences: XOD with version less than 1.5 has no appearances");e=this.Ly(f);new ta;var r="Annot/Appearances"+
(e||"")+".xod";f=new Promise(function(e,f){za.FileReader||f("This browser does not support FileReader");n.lb.Fg(r,function(n){n.error?f(n.error):e(ba(Object(ka.b)(n.data)))})});this.jn.eM(e,f);return f};ta.prototype.um=function(){return!this.io()};return ta}(ha.a);ca.b=sa},function(ha,ca,h){ha=h(0);h.n(ha);var ba=h(1);ha=h(36);var aa=h(108),fa=h(135),da=function(){function h(y){this.Do=y;this.sT=!1;this.Kk=1}h.prototype.cancel=function(){};return h}();h=function(){function h(y,f,e){this.source=y;
this.Nx=this.oD=!1;this.Vg={};this.vt=function(){};this.decrypt=f;this.ht=e;this.NM=f!==aa.a;this.ji="Document/FixedDocument.fdoc";this.tj="Document/DocProps/core.xml";this.ii="Document/Structure/DocStruct.struct"}h.prototype.Rq=function(){};h.prototype.VG=function(){};h.prototype.BS=function(y){this.vt=y};h.prototype.hv=function(y){var f=this;this.Rq(function(e,x,r){if(e){Object(ba.h)("Error loading document: "+e);x=Object(fa.b)(r.request);f.vt({message:e,serverResponse:x});if(y){y(e);return}throw e;
}return f.request([f.ji,f.tj,f.ii])})};h.prototype.om=function(){return!1};h.prototype.request=function(y,f){var e=this;if(!this.oD)throw Error("Document must be loaded before requesting parts");y.forEach(function(x){e.e1(x,function(r,w,n,x){return r?(w!==e.ii&&0!==w.indexOf("Annot/Appearances")&&e.vt(r),e.trigger(h.Events.PART_READY,[{$a:w,qh:!1,yf:!!r.aborted,error:r}])):e.trigger(h.Events.PART_READY,[{$a:w,data:n,qh:!1,yf:!1,error:null,Qc:x,pQ:f}])})})};h.prototype.PA=function(y){this.zf=y};h.prototype.vr=
function(y){this.withCredentials=y};h.prototype.lD=function(y){var f=this;y.forEach(function(e){var x=f.Vg[e];x&&(x.Kk--,0===x.Kk&&(delete f.Vg[e],x.cancel()))})};h.prototype.e1=function(y,f){this.Vg[y]?this.Vg[y].Kk++:(this.Vg[y]=new da(y),this.VG(y,f))};h.withCredentials=!0;h.Events={PART_READY:"partReady",DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress",ERROR:"error"};return h}();Object(ha.b)(h);ca.a=h},function(ha,ca,h){var ba=h(0);h.n(ba);ha=h(153);var aa=h(48);h=window;h.Annotations=h.Annotations||
{};var fa=h.Annotations,da=new ha.a;h=function(){function h(y){this.al={};this.nC=null;Object(ba.isObject)(y)&&Object(ba.isObject)(y.actions)&&this.xx(y.actions)}h.prototype.xx=function(y,f){var e=this;f&&(this.al={});Object(ba.isObject)(y)&&Object.keys(y).forEach(function(f){if(y.hasOwnProperty(f))for(var r=y[f].length,w=0;w<r;++w)e.xi(f,y[f][w])})};h.prototype.xi=function(y,f,e){e=e?[]:this.al[y]||[];f instanceof aa.a?e.includes(f)||e.push(f):(f=da.u4(f))&&e.push(f);this.al[y]=e};h.prototype.ak=
function(){return this.al};h.prototype.Of=function(y,f){if(y=this.al[y])for(var e=y.length,x=0;x<e;++x)y[x].onTriggered(this,f,this.nC)};h.prototype.Wh=function(y){this.nC=y};h.prototype.bg=function(){return this.nC};h.prototype.x9=function(y,f){function e(e,x){x.forEach(function(n){var x=document.createElementNS("","Action");x.setAttribute("Trigger",e);if(n=n.serialize(f))x.appendChild(n),w=!0;r.appendChild(x)})}var x=this;var r=document.createElementNS("","OnActivation");var w=!1;Object.keys(this.al).forEach(function(f){x.al.hasOwnProperty(f)&&
e(f,x.al[f])});w&&y.appendChild(r)};h.prototype.tL=function(y,f,e){var x=fa.ma;y=x.A1(y);for(var r=y.length,w=0;w<r;++w){var n=y[w],ea=x.getAttribute(n,"Trigger")||"U";(n=da.v4(n,f,e))&&this.xi(ea,n)}};return h}();ca.a=h},function(ha,ca,h){function ba(e,f,r){this.page=e;this.hc=f;this.Hf=r;this.kN=f.lb.If?f.lb.If.path:void 0;this.po=this.paused=!1}function aa(e){var f=.707106781*e.m_a+.707106781*e.m_b;e=.707106781*e.m_c+.707106781*e.m_d;return Math.sqrt(f*f+e*e)}h.d(ca,"a",function(){return r});h.d(ca,
"b",function(){return aa});var fa=h(0);h.n(fa);var da=h(1),z=h(4),y=h(110),f=h(25),e=h(44),x=window;ba.prototype={pause:function(){this.paused=!0;this.sD()},sD:function(){this.Qz=!1;y.a.clearImmediate(this.ZP)},aN:function(e,f,r,x,h){function n(){sa=!0;ia&&ia.$q().then(function(){if(w.abort){if(va)return ea&&(ea=!1,x(ba)),ia=w.resume=null,w.sD(),w.abort&&w.abort(),r(ba);w.abort&&((z=5<++aa)&&ka&&ea&&h&&(ea=!1,x(ba)),va=ia.mg(e,f,50),!va&&ia.j4&&x(ba),sa=!1,w.Qz=!1,w.paused||w.SA())}})}var w=this,
ea=void 0!==x;r=r||function(){};var ia=this.hc.ec,z=!1,ka=!1,aa=0,ba=e.canvas,za=setTimeout(function(){ka=!0;z&&ea&&h&&(ea=!1,x(ba))},3E3),sa=!1;w.abort=function(){sa=!1;w.sD();w.ZP=null;w.resume=null;ia&&(ia.cancel(),ia=null);w.hc.ec=null;clearTimeout(za);w.SA=null;Object(fa.each)(w.hc.vb,function(e){switch(e.type){case "png":case "jpg":e&&e.data&&!e.data.startsWith("url(data")&&(URL.revokeObjectURL(e.data),e.data=null);break;case "font":if(e&&e.data&&e.data.url&&!e.data.url.startsWith("url(data")){var f=
e.data.url;if(f.startsWith("url('")){if(8>f.length){Object(da.h)("Invalid font ObjectURL.");break}f=f.substring(5,f.length-2)}URL.revokeObjectURL(f);e.data.url=null}}});w.abort=null};var va=!1;w.resume=function(){!1!==sa||w.Qz||w.SA();w.paused=!1};w.SA=function(){w.Qz=!0;w.ZP=y.a.setImmediate(n)};w.Qz=!1;w.paused||w.SA()},xZ:function(e,n,r,x,y,h,aa,da,ja,ua){e=e||1;n=n||z.c.E_0;y&&0<y&&(y=Math.round(y));e=Object(f.a)().setUpCanvas(this.page,e,n,h,y,aa,ja,ua);this.aN(e.ctx,e.t,r,x,da)},tO:function(e){var f=
[];if(e){for(var r=0;r<e.length;++r)f[r]=this.hc.lb.Uj(e[r]);return f}Object(fa.each)(this.hc.vb,function(e){f.push(e)});return f},fG:function(f,n,r){function w(e){var f=h.Hf.Dz(e.name);y(e);switch(e.type){case "png":case "jpg":if(x.ci[e.name]){e.data.startsWith("data")||URL.revokeObjectURL(e.data);if(f)return ea(e.name);x.ci[e.name].Ts.push(function(){ea(e.name)});break}var n=new Image;n.setAttribute("crossOrigin","use-credentials");n.onload=function(){n.src.startsWith("data")||URL.revokeObjectURL(n.src);
for(var e=0;e<this.Ts.length;++e)this.Ts[e]();n.Ts=[];n=n.onload=n.onerror=null};n.onerror=function(){Object(da.h)("img error "+e.name);"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAMSURBVBhXY6ivrwcAAv4BfhD/txkAAAAASUVORK5CYII="!==n.src&&(n.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAMSURBVBhXY6ivrwcAAv4BfhD/txkAAAAASUVORK5CYII=")};
n.hres=e.hres;n.vres=e.vres;x.ci[e.name]=n;n.Ts=[];n.Ts[0]=function(){ea(e.name)};n.Dd=h.hc.Ac;n.src=e.data;break;case "font":Object(fa.isUndefined)(h.kN)?ja.OX(e.data):ja.y5(e.name,h.kN+e.$a,function(){ea(e.name)});break;default:Object(da.h)("unknown resource type: "+e.type),ea(e.name)}}function y(e){r&&h.Hf.GX(e.name)}function ea(e){h.Hf.loaded(e);if(h.po&&1>--z)return h.po=!1,f(n[0])}if(this.po)throw Error("Multiple calls to loadResource");var h=this;n=this.tO(n);var z=n.length;this.po=!0;var ja=
new e.a.MU,aa=!0;Object(fa.each)(n,function(e){aa=!1;h.Hf.Dz(e.name)?(y(e),ea(e.name)):e.data?w(e):h.hc.lb.Fg(e.$a,function(f){h.Hf.Dz(e.name)?(y(e),ea(e.name)):w(h.hc.lb.Uj(f.$a,f.data))})});ja.T3()&&ja.XP(Object(fa.bind)(ea,this));aa&&(f(),this.po=!1)},kM:function(){this.po&&(this.po=!1)},Fd:function(e){var f=this;f.kM();e=this.tO(e);Object(fa.each)(e,function(e){if("font"!==e.type&&f.Hf.release(e.name))switch(e.type){case "png":case "jpg":delete x.ci[e.name];break;case "font":e.data&&e.data.remove()}})}};
var r={zV:ba,mw:function(){var e={};return{GX:function(f){f in e?e[f].c++:e[f]={c:1,l:!1}},loaded:function(f){f in e&&(e[f].l=!0)},PF:function(f){return f in e},Dz:function(f){return f in e?e[f].l:!1},release:function(f){if(!(f in e))return!1;--e[f].c;return e[f].c?!1:(delete e[f],!0)}}}}},function(ha,ca,h){var ba=h(51),aa=h(80);ha=function(){function h(h,z){void 0===h&&(h=0);void 0===z&&(z=0);h="string"===typeof h?parseFloat(h):h;z="string"===typeof z?parseFloat(z):z;this.Xa=new aa.a(3,1);this.Xa.set(0,
0,h);this.Xa.set(1,0,z);this.Xa.set(2,0,1)}Object.defineProperty(h,"Origin",{get:function(){return new h},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"X",{get:function(){return this.Xa.get(0,0)},set:function(h){this.Xa.set(0,0,h);delete this.Jx},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"x",{get:function(){return this.X},set:function(h){this.X=h},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"Y",{get:function(){return this.Xa.get(1,
0)},set:function(h){this.Xa.set(1,0,h);delete this.Jx},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"y",{get:function(){return this.Y},set:function(h){this.Y=h},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"Length",{get:function(){this.Jx||(this.Jx=Object(ba.a)(Math.sqrt(this.X*this.X+this.Y*this.Y)));return this.Jx},enumerable:!1,configurable:!0});h.prototype.Fc=function(){return this.X};h.prototype.Gc=function(){return this.Y};h.prototype.add=function(aa){return new h(Object(ba.a)(this.X+
aa.X),Object(ba.a)(this.Y+aa.Y))};h.prototype.subtract=function(aa){return new h(Object(ba.a)(this.X-aa.X),Object(ba.a)(this.Y-aa.Y))};h.prototype.Ab=function(h){return Object(ba.a)(this.X*h.X+this.Y*h.Y)};h.prototype.SZ=function(h){var z=this.Xa,y=h.Xa;h=Object(ba.a)(z.get(1,0)*y.get(2,0)-z.get(2,0)*y.get(1,0));var f=Object(ba.a)(z.get(2,0)*y.get(0,0)-z.get(0,0)*y.get(2,0));z=Object(ba.a)(z.get(0,0)*y.get(1,0)-z.get(1,0)*y.get(0,0));return{X:h,Y:f,Z:z}};h.prototype.th=function(h){return h.subtract(this).Length};
h.prototype.angle=function(h,z){void 0===z&&(z=!1);var y=this.Length,f=h.Length;h=this.Ab(h);y=Math.acos(h/(y*f));return z?y:180/Math.PI*y};h.prototype.normalize=function(){var aa=this.Length;return 0===aa?new h:new h(Object(ba.a)(this.X/aa),Object(ba.a)(this.Y/aa))};h.prototype.reverse=function(){return new h(-this.X,-this.Y)};h.prototype.r7=function(){return new h(this.Y,-this.X)};h.prototype.translate=function(h,z){this.X=Object(ba.a)(this.X+h);this.Y=Object(ba.a)(this.Y+z)};h.prototype.rotate=
function(aa,z,y){void 0===z&&(z=!1);void 0===y&&(y=h.Origin);aa=z?aa:Math.PI/180*aa;y=h.Origin.subtract(y);this.translate(y.X,y.Y);z=this.X*Math.sin(aa)+this.Y*Math.cos(aa);this.X=this.X*Math.cos(aa)-this.Y*Math.sin(aa);this.Y=z;this.translate(-y.X,-y.Y)};h.prototype.scale=function(h){this.X=Object(ba.a)(this.X*h);this.Y=Object(ba.a)(this.Y*h)};h.prototype.MT=function(){for(var h=this,z=[],y=0;y<arguments.length;y++)z[y]=arguments[y];var f=new aa.a(3,z.length+1);f.set(0,0,this.X);f.set(1,0,this.Y);
f.set(2,0,this.Xa.get(2,0));var e=1;z.forEach(function(x){for(var r=0;r<h.Xa.Rows;r++)f.set(e,r,x.Xa.get(r,0));e++});return f};h.prototype.transform=function(h){var z=this.MT();z=h.multiply(z);h=Object(ba.a)(z.get(0,0));z=Object(ba.a)(z.get(1,0));this.X=h;this.Y=z};h.prototype.fq=function(h){return 1E-5>Math.abs(this.X-h.X)&&1E-5>Math.abs(this.Y-h.Y)};h.prototype.X4=function(h){var z=1===this.Length?this:this.normalize();h=1===h.Length?h:h.normalize();return z.fq(h)};h.prototype.clone=function(){return new h(this.X,
this.Y)};h.prototype.cE=function(h){return this.fq(h)};h.prototype.toString=function(){return"[Point: x="+this.x+" y="+this.y+"]"};h.prototype.toJSON=function(){return{x:this.x,y:this.y}};return h}();ca.a=ha},function(ha,ca){ca.a=function(){return function(h,ba){void 0===h&&(h=0);void 0===ba&&(ba=0);this.x=h;this.y=ba;this.x=h;this.y=ba}}()},function(ha,ca,h){var ba=h(51),aa=h(78);ha=function(){function h(h,z){void 0===h&&(h=3);void 0===z&&(z=3);this.rows=h;this.Pp=z;this.xs=[];var y=h*z,f=0,e=h===
z;--z;for(var x=0;x<y;x++){var r=x%h;this.xs.push(e&&r===f?1:0);r===z&&f++}}Object.defineProperty(h,"Identity",{get:function(){return new h},enumerable:!1,configurable:!0});h.multiply=function(aa,z){if(aa.Columns!==z.Rows)throw"The columns of the left matrix ("+aa.Columns+") must match the number of rows of the right matrix "+z.Rows+". Please check your matrix structures as there is a mismatch.";for(var y=new h(aa.Rows,z.Columns),f=0;f<aa.Rows;f++)for(var e=0;e<z.Columns;e++){for(var x=0,r=0;r<aa.Columns;r++){var w=
aa.get(f,r),n=z.get(r,e);x+=w*n;x=Object(ba.a)(x)}y.set(f,e,x)}return y};h.PZ=function(da,z){void 0===z&&(z=aa.a.Origin);var y=new h;y.ur(-z.x,-z.y);var f=new h;f.ur(z.x,z.y);return da.reduce(function(e,f){return e.multiply(f)},f).multiply(y)};h.t1=function(aa){var z=new h;z.ur(aa.m_h,aa.m_v);z.SH(aa.m_a,aa.m_d);z.TH(aa.m_b,aa.m_c);return z};Object.defineProperty(h.prototype,"Rows",{get:function(){return this.rows},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"Columns",{get:function(){return this.Pp},
enumerable:!1,configurable:!0});h.prototype.get=function(h,z){return this.xs[this.Columns*h+z]};h.prototype.set=function(h,z,y){this.xs[this.Columns*h+z]=y};h.prototype.SH=function(h,z){this.PS(h);this.QS(z)};h.prototype.PS=function(h){this.set(0,0,h)};h.prototype.QS=function(h){this.set(1,1,h)};h.prototype.ur=function(h,z){this.WS(h);this.XS(z)};h.prototype.WS=function(h){this.set(0,2,h)};h.prototype.XS=function(h){this.set(1,2,h)};h.prototype.TH=function(h,z){this.TS(h);this.US(z)};h.prototype.TS=
function(h){this.set(0,1,h)};h.prototype.US=function(h){this.set(1,0,h)};h.prototype.tv=function(h,z){void 0===z&&(z=!1);z=z?h:Math.PI/180*h;h=Math.cos(z);z=Math.sin(z);this.set(0,0,h);this.set(1,0,z);this.set(0,1,-z);this.set(1,1,h)};h.prototype.multiply=function(aa){return h.multiply(this,aa)};h.prototype.hba=function(){for(var h=0;h<this.Columns;h++)for(var z=h;z<this.Rows;z++)if(h!==z){var y=this.get(h,z),f=this.get(z,h);this.set(h,z,f);this.set(z,h,y)}};h.prototype.Rk=function(){return[this.get(0,
0),this.get(1,0),this.get(0,1),this.get(1,1),this.get(0,2),this.get(1,2)]};h.prototype.clone=function(){var aa=new h(this.Rows,this.Columns);aa.xs=[].concat(this.xs);return aa};h.prototype.s_=function(){if(3!==this.Rows||3!==this.Columns)throw"Only 3x3 matrices are currently supported";var h=this.get(0,0),z=this.get(0,1),y=this.get(0,2),f=this.get(1,0),e=this.get(1,1),x=this.get(1,2),r=this.get(2,0),w=this.get(2,1),n=this.get(2,2);return h*e*n+z*x*r+y*f*w-r*e*y-w*x*h-n*f*z};h.prototype.inverse=function(){if(this.Rows!==
this.Columns)throw"Matrix should be symmetrical to find an inverse.";for(var aa=this.clone(),z=h.Identity,y=0;y<aa.Pp;y++){var f=aa.get(y,y);if(0===f){var e=-1;for(f=0;f<aa.rows;f++)if(y!==f&&0!==aa.get(f,y)){e=f;break}if(-1===e)return null;for(f=0;f<aa.Pp;f++){var x=aa.get(y,f),r=aa.get(e,f),w=1;e===y&&1!==r&&(w=1/r);var n=z.get(y,f),ea=z.get(e,f);aa.set(y,f,(x+r)*w);z.set(y,f,(n+ea)*w)}f=aa.get(y,y)}if(1!==f)for(w=1/f,f=0;f<aa.Pp;f++)e=aa.get(y,f)*w,x=z.get(y,f)*w,aa.set(y,f,e),z.set(y,f,x);for(f=
0;f<aa.rows;f++)if(y!==f&&(w=aa.get(f,y),0!==w))for(w=1/w,r=0;r<aa.Pp;r++)n=aa.get(y,r),ea=z.get(y,r),e=aa.get(f,r)*w,x=z.get(f,r)*w,aa.set(f,r,e-n),z.set(f,r,x-ea)}for(y=0;y<aa.rows;y++)for(w=aa.get(y,y),f=0;f<aa.Pp;f++)e=z.get(y,f)/w,z.set(y,f,e);return z};return h}();ca.a=ha},function(ha,ca,h){function ba(e){if(e.F&&e.F.length&&"JavaScript"===e.F[0].name){if(-1<e.F[0].javascript.indexOf("AFDate_Format"))return!0}else if(e.K&&e.K.length&&"JavaScript"===e.K[0].name&&-1<e.K[0].javascript.indexOf("AFDate_KeystrokeEx"))return!0;
return!1}function aa(e,f,n){var r=fa(f,"appearances"),w=e.ba("appearance-state")||"_DEFAULT",x=e.ba("annotation-state")||"Normal";f=Number(e.ba("objnum"));var y=Number(e.ba("gennum")),h=Number(e.ba("x")),ea=Number(e.ba("y"));e=e.ba("blend-mode");r=fa(r,w);x=fa(r,x);x.objnum=f;x.gennum=y;x.offset=n.ka({x:h,y:ea});x.blendMode=e}function fa(e,f){if(f in e)var n=e[f];else n={},e[f]=n;return n}function da(e){return Object(ia.isArray)(e)?e.map(da).join(" "):Object(ia.isNumber)(e)?e.toString():Object(ia.escape)(String(e))}
function z(e,f,n,r){n!==r&&e.writeAttributeString(f,da(n))}function y(e,f,n){n||(n="fields");e.writeStartElement(n);n=f.length;for(var r=0;r<n;++r){var w=e,x=f[r];w.writeStartElement("ffield");w.writeAttributeString("name",Object(ia.escape)(x));w.writeEndElement()}e.writeEndElement()}function f(e,f,n){var r=n.iv||[],w=n.br||{};for(n=0;n<r.length;++n){var x=r[n],y=f[x];Object(ia.isUndefined)(f)?Object(ka.h)("Required attribute: "+x+" is undefined"):e.writeAttributeString(x,da(y))}Object.keys(w).forEach(function(n){w.hasOwnProperty(n)&&
z(e,n,f[n],w[n])})}function e(e,n,r,w){w=w||"actions";var x=Object.keys(n);if(0<x.length){e.writeStartElement(w);for(w=0;w<x.length;++w)e.writeStartElement("action"),e.writeAttributeString("trigger",Object(ia.escape)(x[w])),n[x[w]].forEach(function(n){var w=n.name;switch(w){case "JavaScript":e.writeStartElement("javascript");e.writeString(da(n.javascript));e.writeEndElement();break;case "ResetForm":e.writeStartElement("reset-form");f(e,n,{iv:["exclude"]});n.fields&&y(e,n.fields);e.writeEndElement();
break;case "SubmitForm":e.writeStartElement("submit-form");f(e,n,{iv:["url","format"],br:{method:"POST",exclude:!1}});w=n.flags.toArray();0<w.length&&e.writeAttributeString("flags",da(w));n=n.fields;0<n.length&&y(e,n);e.writeEndElement();break;case "GoTo":e.writeStartElement("goto");e.writeStartElement("dest");n=n.dest;f(e,n,{iv:["fit","page"],br:{zoom:void 0}});var x=r(n.page).inverse();w=n.top||0;var h=n.left||0,ea=n.bottom||0,ja=n.right||0;h=x.ka({x:h,y:w});x=x.ka({x:ja,y:ea});w=Object(ia.isUndefined)(n.top)?
null:h.y;h=Object(ia.isUndefined)(n.left)?null:h.x;ja=Object(ia.isUndefined)(n.right)?null:x.x;ea=Object(ia.isUndefined)(n.bottom)?null:x.y;z(e,"top",w,null);z(e,"left",h,null);z(e,"right",ja,null);z(e,"bottom",ea,null);e.writeEndElement();e.writeEndElement();break;case "URI":e.writeStartElement("uri");f(e,n,{iv:["uri"]});e.writeEndElement();break;case "Hide":e.writeStartElement("hide");f(e,n,{br:{hide:!0}});y(e,n.fields);e.writeEndElement();break;case "Named":e.writeStartElement("named");e.writeAttributeString("name",
Object(ia.escape)(n.action));e.writeEndElement();break;default:Object(ka.h)("Unrecognised action name"+w)}}),e.writeEndElement();e.writeEndElement()}}function x(e,f,n,r){if(r||!f.LP())e.writeStartElement(n),z(e,"r",f.R,0),z(e,"g",f.G,0),z(e,"b",f.B,0),z(e,"a",f.A,1),e.writeEndElement()}function r(e,n,r){if(n&&(0!==n.size||""!==n.name||"Type1"!==n.type||!n.bo())){e.writeStartElement("font");f(e,n,{br:{type:"Type1",name:"","horizontal-scaling":null}});var w=n.size,y=r.inverse();r=y.ka({x:0,y:0});y=
y.ka({x:w,y:0});w=r.x-y.x;r=r.y-y.y;z(e,"size",Math.sqrt(w*w+r*r),0);r=n.fillColor;r.bo()||x(e,r,"fill-color",!0);n=n.strokeColor;n.bo()||x(e,n,"stroke-color",!0);e.writeEndElement()}}function w(e,f,n){e.writeStartElement("aappearance");e.writeAttributeString("name",f);Object.keys(n).forEach(function(f){e.writeStartElement(f);e.writeString(da(n[f].data||""));e.writeEndElement()});e.writeEndElement()}function n(e,f,n){f&&Object.keys(f).forEach(function(r){var w=f[r];Object.keys(w).forEach(function(f){var x=
w[f];"objnum"in x&&(e.writeStartElement("apref"),z(e,"appearance-state",r,"_DEFAULT"),z(e,"annotation-state",f,"Normal"),e.writeAttributeString("gennum",da(x.gennum)),e.writeAttributeString("objnum",da(x.objnum)),f=x.offset,f=n.ka({x:f.x,y:f.y}),e.writeAttributeString("x",da(f.x)),e.writeAttributeString("y",da(f.y)),e.writeEndElement())})})}function ea(h,ea,ja){h.writeStartElement("pdf-info");h.writeAttributeString("xmlns","http://www.pdftron.com/pdfinfo");h.writeAttributeString("version","2");h.writeAttributeString("import-version",
"3");var aa=ea.calculationOrder;Object(ia.isArray)(aa)&&0<aa.length&&y(h,aa,"calculation-order");e(h,ea.documentActions,ja,"document-actions");aa=ea.pages;if(0<aa.length){h.writeStartElement("pages");for(var ka=0;ka<aa.length;++ka){var na=h,ma=aa[ka],la=ja;na.writeStartElement("page");na.writeAttributeString("number",da(ma.number));e(na,ma.actions,la);na.writeEndElement()}h.writeEndElement()}ka=ea.fields;na=Object.keys(ka);for(aa=0;aa<na.length;++aa){ma=h;la=ka[na[aa]];var ba=ja;ma.writeStartElement("ffield");
f(ma,la,{br:{},iv:["type","name"]});var fa=la.flags.toArray();0<fa.length&&ma.writeAttributeString("flags",da(fa));fa=la.maxLen;-1!==fa&&ma.writeAttributeString("max-len",da(fa));(fa=la.tooltipName)&&ma.writeAttributeString("tooltip-name",da(fa));e(ma,la.ak(),ba);(fa=la.defaultValue)&&ma.writeElementString("default-value",da(fa));r(ma,la.font,ba(1));ba=ma;if((la=la.options)&&0<la.length){ba.writeStartElement("options");fa=la.length;for(var ta=0;ta<fa;++ta){ba.writeStartElement("option");var ca=la[ta].displayValue,
pa=la[ta].value;ca===pa||Object(ia.isUndefined)(ca)||ba.writeAttributeString("display-value",da(ca));ba.writeAttributeString("value",da(pa));ba.writeEndElement()}ba.writeEndElement()}ma.writeEndElement()}ea=ea.widgets;for(aa=0;aa<ea.length;++aa){ka=h;na=ea[aa];ma=ja;ka.writeStartElement("widget");f(ka,na,{br:{appearance:"",rotation:0,quadding:"Left-justified"}});la=na;la=la.Qb().widgets.indexOf(la);la=da(la);"0"!==la&&ka.writeAttributeString("index",la);ka.writeAttributeString("field",da(na.Qb().name));
la=na.flags.toArray();0<la.length&&ka.writeAttributeString("flags",da(la));na.DateModified&&(la=void 0,na.yo&&(na.DateModified.getTime()===na.Nu?la=na.yo:(delete na.yo,delete na.Nu)),la||(la=oa.Annotations.ma.eB(na.DateModified)),ka.writeAttributeString("modified-date",la));la=na.PageNumber;ka.writeAttributeString("page",da(la));la=ma(la).inverse();ba=ka;ta=na.rect;ca=la;ba.writeStartElement("rect");fa=ca.ka({x:ta.x1,y:ta.y1});ta=ca.ka({x:ta.x2,y:ta.y2});ca={};ca.x1=Object(ia.min)([fa.x,ta.x]);ca.x2=
Object(ia.max)([fa.x,ta.x]);ca.y1=Object(ia.min)([fa.y,ta.y]);ca.y2=Object(ia.max)([fa.y,ta.y]);ba.writeAttributeString("x1",da(Number(Number(ca.x1).toFixed(4))));ba.writeAttributeString("x2",da(Number(Number(ca.x2).toFixed(4))));ba.writeAttributeString("y1",da(Number(Number(ca.y1).toFixed(4))));ba.writeAttributeString("y2",da(Number(Number(ca.y2).toFixed(4))));ba.writeEndElement();ba=ka;!(fa=na.border)||fa.color.LP()&&1===fa.width&&"Solid"===fa.style||(ba.writeStartElement("border"),z(ba,"width",
fa.width,1),z(ba,"style",fa.style,"Solid"),fa=fa.color,fa.bo()||x(ba,fa,"color",!0),ba.writeEndElement());x(ka,na.backgroundColor,"background-color");e(ka,na.ak(),ma);n(ka,na.appearances,la);la=ka;ba=na.appearances;fa=Object.keys(ba);if(ta=0<fa.length)ta=ba[fa[0]],ta=0===Object.keys(ta).length||"Normal"in ta&&!!ta.Normal.data;if(ta){la.writeStartElement("appearances");ta=fa.length;for(ca=0;ca<ta;++ca)pa=fa[ca],w(la,pa,ba[pa]);la.writeEndElement()}la=ka;(ba=na.Vf)&&Object.keys(ba).length&&(la.writeStartElement("trn-custom-data"),
la.writeAttributeString("bytes",Object(ia.escape)(JSON.stringify(ba))),la.writeEndElement());la=ka;ba=na;ba.S3()&&(la.writeStartElement("extra"),r(la,ba.font,ma(1)),la.writeEndElement());ma=ka;na=na.captions;la=na.Rollover;ba=na.Down;if(na.Normal||la||ba)ma.writeStartElement("captions"),z(ma,"Normal",na.Normal,""),z(ma,"Rollover",na.Rollover,""),z(ma,"Down",na.Down,""),ma.writeEndElement();ka.writeEndElement()}h.writeEndElement()}h.d(ca,"b",function(){return fa});h.d(ca,"a",function(){return aa});
h.d(ca,"e",function(){return n});h.d(ca,"d",function(){return ea});h.d(ca,"c",function(){return ba});var ia=h(0);h.n(ia);var ka=h(1),oa=window},function(ha,ca,h){function ba(e,x){aa.a.call(this,e,f.Annotations.fd);this.name=x||y.g.LINE;this.vm=null;this.Af=z.a.HOLD_TO_DRAW}var aa=h(19),fa=h(16),da=h(21);ha=h(127);var z=h(40),y=h(4),f=window;ba.DB=z.a;ba.prototype=Object.assign(new aa.a,z.b,ha.a,{mouseLeftDown:function(e){var f=0<this.N.ta().fe().length,r=this.annotation;if(this.Af===z.a.TWO_CLICKS){if(r)return this.finish();
if(this.Vb&&!this.overrideSelection||f){this.annotation=null;fa.a.prototype.mouseLeftDown.call(this,e);return}}aa.a.prototype.mouseLeftDown.call(this,e);!this.isSelecting()&&r&&(r.Start={x:this.pageCoordinates[0].x,y:this.pageCoordinates[0].y},this.vm&&this.Hs(r.Start))},mouseLeftUp:function(e){this.Af===z.a.HOLD_TO_DRAW?aa.a.prototype.mouseLeftUp.call(this,e):fa.a.prototype.mouseLeftUp.call(this,e)},mouseMove:function(e){var f=this;fa.a.prototype.mouseMove.call(this,e);var r=this.annotation;if(!this.isSelecting()&&
r&&"undefined"!==typeof this.pageCoordinates){var w=this.pageCoordinates[0],n=this.pageCoordinates[1];if(null!==n&&null!==w&&w.pageNumber===n.pageNumber){var y=function(e,n){e.adjustRect();f.N.na.sb(e);f.Mp(n)};r.End={x:n.x,y:n.y};e.shiftKey&&(r.End=da.a.Math.Qt(r.Start,r.End));this.vm?this.Hs(r.End).then(function(){y(r,e)}):y(r,e)}}},Yl:function(){return this.Jt()===z.a.TWO_CLICKS}});ca.a=ba},function(ha,ca,h){function ba(e){Object(y.isString)(e)&&(e=e.replace(/\s+/g," "),e=e.replace(/[/.]/g,"-"));
return e}function aa(e,f){return!e||null!==fa(e,f)}function fa(x,r){if(!x)return null;var w=f.b.slice(0);r&&(r=da(r),r=ba(r));x=ba(x);r&&"d"===r.charAt(0).toLowerCase()?(-1===f.a.indexOf(r)&&f.a.unshift(r),x=e(x,f.a,!0)):(r&&w.unshift(r),x=e(x,w,!0));return x.isValid()?x:null}function da(e){return e.replace(/(mmmm)|(mmm)|(:mm)|(mm)|(:m)|(m)|(dddd)|(ddd)|(dd)|(d)|(yyyy)|(yy)|(HH)|(H)|(hh)|(h)|(MM)|(M)|(ss)|(s)|(tt)|(t)/g,function(e){return{mmmm:"MMMM",mmm:"MMM",":mm":":mm",mm:"MM",":m":":m",m:"M",
dddd:"dddd",ddd:"ddd",dd:"DD",d:"D",yyyy:"YYYY",yy:"YY",HH:"HH",H:"H",hh:"hh",h:"h",MM:"mm",M:"m",ss:"ss",s:"s",tt:"A",t:"a"}[e]||""})}function z(x,r){var w=!1;if(f.d[r])x=ba(x);else if(r)w=!0,r=r.toLocaleUpperCase(),x=ba(x);else return null;var n=r.split(/[\/:-]./).length;r&&"d"===r.charAt(0).toLowerCase()?x=e(x,f.a,!0):r&&"m"===r.charAt(0).toLowerCase()?2===n&&r&&r.toLowerCase().endsWith("y")?(n=f.c.filter(function(e){return e.toLowerCase().includes("y")}),x=e(x,n,!0)):x=e(x,f.c,!0):x=e(x,f.b,!0);
return x.isValid()?(w&&(f.d[r]=r),x.format(f.d[r])):null}h.d(ca,"b",function(){return aa});h.d(ca,"c",function(){return fa});h.d(ca,"d",function(){return da});h.d(ca,"a",function(){return z});var y=h(0);h.n(y);var f=h(47),e=h(63);h.n(e)},function(ha,ca,h){var ba=h(25),aa=h(8),fa=h(10);ha=h(36);h=function(){function h(h){this.AK=!1;this.rz=[];this.Da=h;this.Da.on(fa.a.ANNOTATION_CHANGED,this.jF.bind(this));this.wy={FillColor:new aa.a("#00a5e4"),StrokeColor:new aa.a(0,0,0),StrokeThickness:1,Opacity:1}}
h.prototype.Naa=function(){if(!this.Ri()){this.GS(!0);this.trigger(h.Events.EDITING_STARTED);this.e4();this.cP();var z=this.IM(this.NO());this.Da.wg(z);this.Da.Ne(z);this.Qba=this.Da.gO();this.Da.MH(!0)}};h.prototype.hN=function(){this.Ri()&&(this.GS(!1),this.trigger(h.Events.EDITING_ENDED),this.Faa(),this.Daa(),this.mY(),this.k_(),this.Da.MH(this.Qba))};h.prototype.Ri=function(){return this.AK};h.prototype.e2=function(z){return z instanceof Annotations.WidgetAnnotation?(z=z.xd(h.Wk.Pr))?this.Da.Pd(z):
null:null};h.prototype.L3=function(z){return this.Mq(z)?(z=z.xd(h.Wk.UB))?this.Da.Pd(z):null:null};h.prototype.Mq=function(z){return z instanceof Annotations.ni&&!!z.xd(h.Wk.UB)};h.prototype.Y9=function(h){this.wy=h};h.prototype.f2=function(){return this.wy};h.prototype.GS=function(h){this.AK=h};h.prototype.jF=function(h,y){"add"===y&&this.Ri()&&(this.cP(),h=h.filter(function(f){return f instanceof Annotations.WidgetAnnotation}),h=this.IM(h),this.Da.wg(h),this.Da.Ne(h))};h.prototype.e4=function(){this.LO().forEach(function(h){return h.style.display=
"none"})};h.prototype.Faa=function(){this.LO().forEach(function(h){return h.style.display=""})};h.prototype.LO=function(){for(var h=this.Da.N.gc(),y=[],f=1;f<=h;f++){var e=Object(ba.a)().Cq(f);y.push(e)}return y.filter(Boolean)};h.prototype.NO=function(){return this.Da.Yb().filter(function(h){return h instanceof Annotations.WidgetAnnotation})};h.prototype.cP=function(){var h=this,y=this.Da.Yb().filter(function(f){return!f.Hidden&&!h.Mq(f)});this.Da.rF(y);this.rz=this.rz.concat(y)};h.prototype.Daa=
function(){this.Da.bI(this.rz);this.rz=[]};h.prototype.IM=function(z){var y=this;return z.map(function(f){var e=new Annotations.ni;e.me(h.Wk.UB,f.Id);e.Wd(f.pb());e.PageNumber=f.Ba();e.Author=f.fieldName;var x=f.Li();x&&e.setContents(x);Object.keys(y.wy).forEach(function(f){e[f]=y.wy[f]});f.me(h.Wk.Pr,e.Id);return e})};h.prototype.mY=function(){var z=this,y=new Map;this.Da.Yb().filter(this.Mq).forEach(function(e){y.set(e.Id,e)});var f=this.NO(),e={},x=[];f.forEach(function(f){var n=f.xd(h.Wk.Pr);
y.has(n)||(x.push(f),e[f.PageNumber]=!0)});this.Da.zn(x);var r=[];f.forEach(function(f){var n=f.xd(h.Wk.Pr);y.has(n)&&(n=y.get(n),f.Wd(n.pb()),r.push(f),e[n.PageNumber]=!0)});this.Da.trigger(fa.a.ANNOTATION_CHANGED,[r,"modify",{}]);f.forEach(function(e){e.jt(h.Wk.Pr)});Object.keys(e).forEach(function(e){setTimeout(function(){z.Da.ld(parseInt(e,10),null,!0)},0)})};h.prototype.k_=function(){var h=this.Da.Yb().filter(this.Mq);this.Da.zn(h)};h.Events={EDITING_STARTED:"editingStarted",EDITING_ENDED:"editingEnded"};
h.Wk={Pr:"trn-editing-rectangle-id",UB:"trn-editing-widget-id"};return h}();Object(ha.b)(h);ca.a=h},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(2),fa=h(189);mb();var da=Symbol("CanvasHelper.Draw");ha=function(){function h(h){h instanceof CanvasRenderingContext2D?(this.mI=h.canvas,this.La=h):(this.mI=h,this.La=h.getContext("2d"))}h.prototype.clear=function(){this.La.clearRect(0,0,this.mI.width,this.mI.height);return this};h.prototype.hq=function(h){this.La.save();h();this.La.restore()};h.prototype.iq=
function(h){h()};h.prototype[da]=function(h,f,e,x,r,w){void 0===x&&(x=[3]);isNaN(w)||(this.La.globalAlpha=w);h&&0<h.A&&(this.La.fillStyle=h.toString(),this.La.fill());0<f&&r&&0<r.A&&(this.La.lineWidth=f,this.La.strokeStyle=r.toString(),"dash"===e&&this.La.setLineDash(x),this.La.stroke())};h.prototype.aq=function(h,f,e,x){function r(){var r;la&&(r=w.La).transform.apply(r,la.Rk());w.La.font=ja+" "+ua+" "+ra+na+" "+fa;isNaN(n)||(w.La.globalAlpha=n);ia&&aa&&(w.La.strokeStyle=ia.toString(),"dash"===z&&
w.La.setLineDash(da),w.La.strokeText(h,f,e+ra),w.La.clip());y&&(w.La.fillStyle=y.toString(),w.La.fillText(h,f,e+ra))}var w=this,n=Object(ba.isUndefined)(x.opacity)?1:x.opacity,y=x.fillColor,ia=x.borderColor,z=x.borderStyle,aa=x.borderWidth,da=Object(ba.isUndefined)(x.dashes)?[3]:x.dashes,la=x.transform,ja=Object(ba.isUndefined)(x.fontStyle)?"normal":x.fontStyle,ua=Object(ba.isUndefined)(x.fontWeight)?"normal":x.fontWeight,ra=Object(ba.isUndefined)(x.fontSize)?10:x.fontSize,na=Object(ba.isUndefined)(x.fontSizeUnits)?
"pt":x.fontSizeUnits,fa=Object(ba.isUndefined)(x.fontFamily)?"sans-serif":x.fontFamily;x=Object(ba.isUndefined)(x.isStateful)?!0:x.isStateful;this.La.lineWidth=2*(aa||1E-6);x?this.hq(r):this.iq(r);return this};h.prototype.Ai=function(h,f,e){function x(){var e;aa&&(e=r.La).transform.apply(e,aa.Rk());r.La.beginPath();r.La.moveTo(h.X,h.Y);r.La.lineTo(f.X,f.Y);r.La.closePath();r[da](null,ia||1,y,z,n,w)}var r=this,w=Object(ba.isUndefined)(e.opacity)?1:e.opacity,n=e.color,y=e.borderStyle,ia=e.borderWidth,
z=e.dashes,aa=e.transform;Object(ba.isUndefined)(e.isStateful)||e.isStateful?this.hq(x):this.iq(x);return this};h.prototype.g0=function(h,f,e,x,r){return this.Ai(new aa.b(h,f),new aa.b(e,x),r)};h.prototype.o0=function(h,f){function e(){var e;aa&&(e=x.La).transform.apply(e,aa.Rk());var f=e=0;ia&&"dash"===y&&(e=f=ia/2,e=f=Math.min(h.Fa(),h.Ca(),e,f));x.La.beginPath();x.La.moveTo(h.Eg()+e,h.Gg()+f);x.La.lineTo(h.Ki()-e,h.Gg()+f);x.La.lineTo(h.Ki()-e,h.Ei()-f);x.La.lineTo(h.Eg()+e,h.Ei()-f);x.La.closePath();
ma&&x.La.clip();e=Math.min(ia,h.Fa(),h.Ca())||1E-6;x[da](w,ma?2*e:e,y,z,n,r)}var x=this,r=Object(ba.isUndefined)(f.opacity)?1:f.opacity,w=f.fillColor,n=f.borderColor,y=f.borderStyle,ia=f.borderWidth,z=f.dashes,aa=f.transform,ma=void 0===f.clipPath?!0:f.clipPath;void 0===f.isStateful||f.isStateful?this.hq(e):this.iq(e);return this};h.prototype.$p=function(h,f){function e(){var e;aa&&(e=x.La).transform.apply(e,aa.Rk());e=0;ia&&"dash"===y&&(e=ia/2,e=Math.min(h.Fa(),h.Ca(),e));var f=h.PN();x.La.beginPath();
x.La.ellipse(f.Fc(),f.Gc(),h.Fa()/2-e,h.Ca()/2-e,0,0,2*Math.PI);x.La.closePath();ma&&x.La.clip();e=Math.min(ia,h.Fa(),h.Ca())||1E-6;x[da](w,ma?2*e:e,y,z,n,r)}var x=this,r=Object(ba.isUndefined)(f.opacity)?1:f.opacity,w=f.fillColor,n=f.borderColor,y=f.borderStyle,ia=f.borderWidth,z=f.dashes,aa=f.transform,ma=void 0===f.clipPath?!0:f.clipPath;void 0===f.isStateful||f.isStateful?this.hq(e):this.iq(e);return this};h.prototype.Q_=function(h,f,e,x){return this.$p(new aa.d(h-e,f-e,h+e,f+e),x)};h.prototype.m0=
function(h,f){var e=this,x=Object(ba.isUndefined)(f.opacity)?1:f.opacity,r=f.fillColor,w=f.borderColor,n=f.borderStyle,y=f.borderWidth,ia=f.dashes,z=f.transform,aa=void 0===f.closePath?!0:f.closePath,ma=void 0===f.clipPath?!1:f.clipPath;if(!(2>h.length)){var la=function(){var f;z&&(f=e.La).transform.apply(f,z.Rk());e.La.beginPath();e.La.moveTo(h[0].X,h[0].Y);for(f=1;f<h.length;f++){var ea=h[f];ea&&e.La.lineTo(ea.X,ea.Y)}aa&&e.La.closePath();ma&&e.La.clip();f=y||1E-6;e[da](r,ma?2*f:f,n,ia,w,x)};void 0===
f.isStateful||f.isStateful?this.hq(la):this.iq(la);return this}};h.prototype.R_=function(h,f,e){var x=this,r=Object(ba.isUndefined)(e.opacity)?1:e.opacity,w=e.fillColor,n=e.borderColor,y=e.borderStyle,ia=e.borderWidth,z=e.dashes,aa=e.transform,ma=void 0===e.closePath?!0:e.closePath,la=void 0===e.clipPath?!1:e.clipPath;if(!(2>f.length)){var ja=function(){var e;aa&&(e=x.La).transform.apply(e,aa.Rk());x.La.beginPath();fa.a.SD(h,x.La,f);ma&&x.La.closePath();la&&x.La.clip();e=ia||1E-6;x[da](w,la?2*e:e,
y,z,n,r)};void 0===e.isStateful||e.isStateful?this.hq(ja):this.iq(ja);return this}};h.prototype.measureText=function(h,f){void 0===f&&(f={});var e=f.fontFamily||"sans-serif",x=f.fontSize||10,r=f.fontSizeUnits||"pt",w=f.fontStyle||"normal";f=f.fontWeight||"normal";this.La.save();this.La.font=w+" "+f+" "+x+r+" "+e;h=this.La.measureText(h);this.La.restore();return h};return h}();ca.a=ha},function(ha,ca){ca.a=function(){function h(){}h.xB=1;h.TB=2;h.nw=4;h.KB=8;h.IB=16;h.uB=32;h.LB=64;h.VB=128;return h}()},
function(ha,ca){ca.a=function(){function h(){}h.DONE=0;h.$r=1;h.Xo=2;h.Rda=0;h.Tda=1;h.Sda=2;return h}()},function(ha,ca){ca.a=function(){return function(h,ba,aa,fa,da,z){this.Lo=h;this.yG=ba;this.oH=aa;this.KL=fa;this.dS=da;this.cS=z;this.Lo=h||0;this.yG=ba||0;this.oH=aa;this.KL=fa;this.dS=da||0;this.cS=z||0}}()},function(ha,ca,h){function ba(e,f,r){e.save();e.beginPath();f.forEach(function(f){var n=f.iI,r=f.bE,w=f.line;f=f.stroke;e.save();fa(e,w[0],w[1]);w={start:w[0],end:w[1],stroke:f};n=aa(n,
w);r=aa(r,w);n&&n.start(e);r&&r.end(e);e.restore()});r();e.stroke();e.closePath();f.forEach(function(f){var n=f.iI,r=f.bE,w=f.line;f=f.stroke;e.save();fa(e,w[0],w[1]);w={start:w[0],end:w[1],stroke:f};n=aa(n,w);r=aa(r,w);n&&n.Kg&&(e.beginPath(),n.start(e),e.fill(),e.closePath());r&&r.Kg&&(e.beginPath(),r.end(e),e.fill(),e.closePath());e.restore()});e.restore()}function aa(w,n){var h=n.start,ia=n.end,aa=n.stroke;switch(w){case r.NONE:return null;case r.R_OPEN_ARROW:return{start:function(e){e.save();
e.scale(-1,1);z(e);e.restore()},end:function(e){e.save();e.translate(da(h,ia),0);z(e);e.restore()},Kg:!1};case r.CLOSED_ARROW:return{start:function(e){z(e,!0)},end:function(e){e.save();e.translate(da(h,ia),0);e.scale(-1,1);z(e,!0);e.restore()},Kg:!0};case r.R_CLOSED_ARROW:return{start:function(e){e.save();e.scale(-1,1);z(e,!0);e.restore()},end:function(e){e.save();e.translate(da(h,ia),0);z(e,!0);e.restore()},Kg:!0};case r.BUTT:return{start:function(e){y(e,aa)},end:function(e){e.save();e.translate(da(h,
ia),0);y(e,aa);e.restore()},Kg:!1};case r.SQUARE:return{start:function(e){f(e,aa)},end:function(e){e.save();e.translate(da(h,ia),0);f(e,aa);e.restore()},Kg:!0};case r.DIAMOND:return{start:function(e){e.save();e.rotate(Math.PI/4);f(e,aa);e.restore()},end:function(e){e.save();e.translate(da(h,ia),0);e.rotate(Math.PI/4);f(e,aa);e.restore()},Kg:!0};case r.CIRCLE:return{start:function(f){e(f,aa)},end:function(f){f.save();f.translate(da(h,ia),0);e(f,aa);f.restore()},Kg:!0};case r.SLASH:return{start:function(e){x(e,
aa)},end:function(e){e.save();e.translate(da(h,ia),0);x(e,aa);e.restore()},Kg:!1};default:return{start:function(e){z(e)},end:function(e){e.save();e.translate(da(h,ia),0);e.scale(-1,1);z(e);e.restore()},Kg:!1}}}function fa(e,f,r){e.translate(f.x,f.y);e.rotate(Math.atan2(r.y-f.y,r.x-f.x));e.translate(0,0)}function da(e,f){return f?Math.sqrt(Math.pow(f.x-e.x,2)+Math.pow(f.y-e.y,2)):0}function z(e,f){var n=5*e.lineWidth+3,r=.2*Math.PI;e.moveTo(Math.cos(r)*n,-Math.sin(r)*n);e.lineTo(0,0);e.lineTo(Math.cos(r)*
n,Math.sin(r)*n);f&&e.closePath()}function y(e,f){f*=6;e.save();e.translate(0,f/-2);e.rotate(Math.PI/2);e.moveTo(0,0);e.lineTo(f,0);e.restore()}function f(e,f){f=6*f/2;e.moveTo(-f,-f);e.lineTo(f,-f);e.lineTo(f,f);e.lineTo(-f,f);e.closePath()}function e(e,f){f*=3;e.moveTo(f,0);e.ellipse(0,0,f,f,0,0,2*Math.PI)}function x(e,f){f*=9;e.save();e.rotate(-60*Math.PI/180);e.moveTo(0,0);e.lineTo(f,0);e.restore();e.save();e.rotate(120*Math.PI/180);e.moveTo(0,0);e.lineTo(f,0);e.restore()}h.d(ca,"a",function(){return r});
h.d(ca,"b",function(){return ba});h.d(ca,"c",function(){return aa});var r;(function(e){e.NONE="None";e.OPEN_ARROW="OpenArrow";e.R_OPEN_ARROW="ROpenArrow";e.CLOSED_ARROW="ClosedArrow";e.R_CLOSED_ARROW="RClosedArrow";e.BUTT="Butt";e.SQUARE="Square";e.DIAMOND="Diamond";e.CIRCLE="Circle";e.SLASH="Slash"})(r||(r={}))},function(ha,ca,h){function ba(e){var f=this;if(!e)throw Error("AnnotationHistoryManager requires DocumentViewer to initialize");this.ph=[];this.Ag=-1;this.ZG={};this.zm={};this.Da=e.ta();
this.throttle=null;this.Da.on(x.a.ANNOTATION_CHANGED,function(e,n,r){e=e.filter(function(e){return f.g5(e)});f.XC=Promise.all(e.map(function(e){return e.hj()}));f.XC.then(function(){f.zb=e;f.action=n;r.imported||r.isUndoRedo?aa(f.zb,f.ZG,f.action,f.Da):(f.zb.forEach(function(e){f.zm[e.Id]&&"add"===f.zm[e.Id].action?"modify"===n?f.zm[e.Id]={annotation:e,action:"add"}:"delete"===n&&delete f.zm[e.Id]:f.zm[e.Id]={annotation:e,action:n}}),f.throttle||(f.throttle=setTimeout(function(){return $h(function(e){if(1==
e.ra)return f.throttle=null,vf(e,f.hS(),2);f.trigger(ba.wb.HISTORY_CHANGED);e.ra=0})},200)))})})}function aa(e,f,r,x){if(x.N.getDocument()){var n="";e.forEach(function(e){var h,y;return $h(function(ea){if(1==ea.ra){if("delete"===r){delete f[e.Id];ea.ra=0;return}return vf(ea,x.In({annotList:[e]}),3)}h=ea.Vc;(y=h.match(w))&&1<=y.length&&(n=y[1]);f[e.Id]=n;ea.ra=0})})}}function fa(e,f,r){var n,w;return $h(function(x){if(1==x.ra)return vf(x,y(e,r),2);n=x.Vc;w={h8:n,nba:da(e,f)};return x.return(w)})}function da(n,
r){var w="",x=[],h=[],y=[];Object.keys(n).map(function(e){return n[e]}).forEach(function(e){"add"===e.action?x.push(e.annotation):"modify"===e.action?h.push(r[e.annotation.Id]):y.push(r[e.annotation.Id])});w=y.length?w+e("add",y.reduce(function(e,f){return e+f})):w+"<add />";w=h.length?w+e("modify",h.reduce(function(e,f){return e+f})):w+"<modify />";x.length?(w+="<delete>",x.forEach(function(e){w+='<id page="'+(e.PageNumber-1)+'">'+e.Id+"</id>"}),w+="</delete>"):w+="<delete />";return f(w)}function z(e){if(e.includes("<add>"))return"add";
if(e.includes("<modify>"))return"modify";if(e.includes("<delete>"))return"delete"}function y(n,r){var x,h,y,ea,z,ja,aa;return $h(function(ia){switch(ia.ra){case 1:x="";h=[];y=[];ea=[];z="";Object.keys(n).map(function(e){return n[e]}).forEach(function(e){"add"===e.action?h.push(e.annotation):"modify"===e.action?y.push(e.annotation):ea.push(e.annotation)});if(!h.length){x+="<add />";ia.ra=2;break}return vf(ia,r.In({annotList:h}),3);case 3:z=ia.Vc,x=(ja=z.match(w))&&1<=ja.length?x+e("add",ja[1]):x+"<add />";
case 2:if(!y.length){x+="<modify />";ia.ra=4;break}return vf(ia,r.In({annotList:y}),5);case 5:z=ia.Vc,x=(aa=z.match(w))&&1<=aa.length?x+e("modify",aa[1]):x+"<modify />";case 4:return ea.length?(x+="<delete>",ea.forEach(function(e){x+='<id page="'+(e.PageNumber-1)+'">'+e.Id+"</id>"}),x+="</delete>"):x+="<delete />",ia.return(f(x))}})}function f(e){return'<?xml version="1.0" encoding="UTF-8" ?><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><fields />'+e+"</xfdf>"}function e(e,f){var n=
"";"add"===e?n+="<add>"+f+"</add>":"modify"===e?n+="<modify>"+f+"</modify>":"delete"===e&&(n+="<delete>"+f+"</delete>");return n}var x=h(10);ha=h(36);var r=h(4),w=/<annots>([\s\S]*)<\/annots>/;ba.prototype={hS:function(){var e=this,f;return $h(function(n){if(1==n.ra)return Object.keys(e.zm).length?n=vf(n,fa(e.zm,e.ZG,e.Da),3):(n.ra=0,n=void 0),n;f=n.Vc;e.ph=e.ph.slice(0,e.Ag+1);e.ph.push(f);e.Ag++;50<e.ph.length&&(e.ph=e.ph.slice(1),e.Ag--);e.zm={};aa(e.zb,e.ZG,e.action,e.Da);n.ra=0})},rZ:function(){var e=
this,f;return $h(function(n){f=e.Da.N.zq(r.g.FREEHAND);return vf(n,f.complete(!0),0)})},undo:function(){var e=this,f,r;return $h(function(n){switch(n.ra){case 1:return vf(n,e.rZ(),2);case 2:if(!e.XC){n.ra=3;break}return vf(n,e.XC,3);case 3:if(!e.throttle){n.ra=5;break}clearTimeout(e.throttle);e.throttle=null;return vf(n,e.hS(),5);case 5:if(-1===e.Ag)return n.return();f=e.ph[e.Ag].nba;return vf(n,e.Da.Wl(f,{rr:!1,action:z(f),su:!0}),7);case 7:r=n.Vc,e.Da.Ne(r),e.Ag--,e.trigger(ba.wb.HISTORY_CHANGED),
n.ra=0}})},redo:function(){var e=this,f,r;return $h(function(n){if(1==n.ra){if(e.Ag===e.ph.length-1)return n.return();e.Ag++;f=e.ph[e.Ag].h8;return vf(n,e.Da.Wl(f,{rr:!1,action:z(f),su:!0}),2)}r=n.Vc;e.Da.Ne(r);e.trigger(ba.wb.HISTORY_CHANGED);n.ra=0})},clear:function(){this.ph=[];this.Ag=-1;this.trigger(ba.wb.HISTORY_CHANGED)},TY:function(){return-1!==this.Ag},RY:function(){return 1<this.ph.length-this.Ag},g5:function(e){var f=this.Da.MO();return e.ToolName!==r.g.CROP&&!f.Mq(e)&&!(e instanceof Annotations.WidgetAnnotation)}};
ba.wb={HISTORY_CHANGED:"historyChanged"};Object(ha.b)(ba);ca.a=ba},function(ha,ca,h){var ba=h(3),aa=h(0);h.n(aa);var fa=h(1),da=h(55),z=h(29);ha=h(36);var y=h(77),f=h(30),e=h(58),x=h(23),r=h(17);h=function(){function w(e){this.aa=[];this.Hc={};this.xI=e}w.prototype.oq=function(){return this.xI};w.prototype.cq=function(){Object(r.e)()};w.prototype.Py=function(){Object(r.e)()};w.prototype.zy=function(){Object(r.e)()};w.prototype.zg=function(){Object(r.e)()};w.prototype.Nj=function(){Object(r.e)()};
w.prototype.Jr=function(){Object(r.e)()};w.prototype.Rs=function(){Object(r.e)()};w.prototype.FN=function(){Object(r.e)()};w.prototype.tq=function(){Object(r.e)()};w.prototype.uq=function(){Object(r.e)()};w.prototype.gc=function(){Object(r.e)()};w.prototype.Gb=function(e){--e;if(!this.aa[e])return null;var f={};f.width=this.aa[e].width;f.height=this.aa[e].height;return f};w.prototype.getMetadata=function(){return Promise.resolve({title:this.Hc.title,creator:this.Hc.creator,subject:this.Hc.subject,
keywords:this.Hc.keywords,created:this.Hc.created,modified:this.Hc.modified,description:this.Hc.description,producer:this.Hc.producer})};w.prototype.um=function(){return!0};w.prototype.ym=function(){return!1};w.prototype.f$=function(e){this.By=e};w.prototype.vh=function(e){this.By&&this.By(e)};w.prototype.Ul=function(e,f,r){f={x:f,y:r};return this.aa[e-1].Xa.inverse().ka(f)};w.prototype.kz=function(){Object(r.e)()};w.prototype.iz=function(e,f,r){return this.aa[e-1].Xa.ka({x:f,y:r})};w.prototype.qk=
function(){Object(r.e)()};w.prototype.Jq=function(){Object(r.e)()};w.prototype.Zl=function(){Object(r.e)()};w.prototype.Qq=function(){Object(r.e)()};w.prototype.vI=function(){Object(r.e)()};w.prototype.yu=function(){Object(r.e)()};w.prototype.iE=function(){Object(r.e)()};w.prototype.Tz=function(){Object(r.e)()};w.prototype.gG=function(){Object(r.e)()};w.prototype.qA=function(){Object(r.e)()};w.prototype.EA=function(){Object(r.e)()};w.prototype.qv=function(){Object(r.e)()};w.prototype.Dv=function(){Object(r.e)()};
w.prototype.Fd=function(){Object(r.e)()};w.prototype.Sq=function(){Object(r.e)()};w.prototype.zu=function(){Object(r.e)()};w.prototype.Gl=function(){Object(r.e)()};w.prototype.io=function(){return!1};w.prototype.correctQuadsForPageRotation=function(f,r){f=this.aa[f];var n=(4-f.rotation/90)%4;0!==n&&(f=Object(e.a)(1,n,f,{x:0,y:0},!1),r.oY(f))};w.prototype.Jh=function(){Object(r.e)()};w.prototype.yq=function(){return null};w.prototype.getFileData=function(){Object(r.e)()};w.prototype.Jg=function(){Object(r.e)()};
w.prototype.Qh=function(){Object(r.e)()};w.prototype.Sh=function(){Object(r.e)()};w.prototype.Zj=function(){Object(r.e)()};w.prototype.sv=function(){Object(r.e)()};w.prototype.Bi=function(){Object(r.e)()};w.prototype.Bg=function(){Object(r.e)()};w.prototype.Ok=function(){};w.prototype.print=function(){};w.prototype.hk=function(e){return String(e)};w.prototype.wq=function(){return Object(aa.range)(0,this.aa.length).map(String)};w.prototype.dg=function(){Object(r.e)()};w.prototype.On=function(){Object(r.e)()};
w.prototype.qm=function(){Object(r.e)()};w.prototype.TA=function(){Object(r.e)()};w.prototype.Lp=function(){var e=1,r=this.aa.length,w=Object(f.e)();w*=w;for(var x=0;x<r;++x){var h=this.aa[x];e=Math.max(e,h.width*h.height*w)}return Math.sqrt(43E5/e)};w.prototype.El=function(e){return 0===e.m_b&&0===e.m_c?0<e.m_a?0:180:0>e.m_b?270:90};w.prototype.Kp=function(e,f){var n=this.El(e),r=f.w;f=f.h;if(90===n||270===n){var w=r;r=f;f=w}switch(n){case 0:return n=-e.m_h,w=e.m_v,{x1:n,y1:w-f,x2:w-f,y2:w};case 90:return w=
-e.m_h,n=-e.m_v,{x1:n,y1:w,x2:n+r,y2:w+f};case 180:return n=e.m_h,w=-e.m_v,{x1:n-r,y1:w,x2:n,y2:w+f};case 270:return w=e.m_h,n=e.m_v,{x1:n-r,y1:w-f,x2:n,y2:w}}return null};w.prototype.sm=function(e){this.Ha=e};w.prototype.drawWatermark=function(e,f,w,x,h,y,z){var n=this;void 0===h&&(h=1);void 0===y&&(y=void 0);void 0===z&&(z=!1);if(this.Ha&&this.Ha.shouldDrawOverAnnotations===w){var ea,ia=this.aa[f-1].width,aa=this.aa[f-1].height;ia*=h;aa*=h;var ka=e.getContext("2d");ka.save();y&&ka.transform.apply(ka,
y);ka.textAlign="center";ka.textBaseline="top";e=(4-x)%4;if(w&&0!==e||z){switch(e){case 1:ka.translate(0,ia);break;case 2:ka.translate(ia,aa);break;case 3:ka.translate(aa,0)}ka.rotate(90*x*Math.PI/180)}var da=function(e){var f=e.fontSize||20;f*=h;var n=e.fontFamily||"sans-serif",w=Object(r.c)(e.fontStyles);ea=1.5*f;ka.font=w+" "+f+"pt "+n;ka.fillStyle=e.color||"black";ka.globalAlpha=(null===e.opacity||void 0===e.opacity?100:e.opacity)/100};if(this.Ha.diagonal){ka.save();da(this.Ha.diagonal);ka.translate(ia/
2,aa/2);ka.rotate(-Math.atan(aa/ia));if(this.Ha.diagonal.text){var oa=Object(r.f)(this.Ha.diagonal.fontStyles);var ma=this.Ha.diagonal.text.split("\n");ma.forEach(function(e,f){Object(r.a)(ka,e,0,(f-ma.length/2)*ea,ka.fillStyle,oa)})}ka.restore()}w=function(e,f){e.forEach(function(e,n){Object(r.a)(ka,e,0,n*ea,ka.fillStyle,f)})};x=function(e,f){e.forEach(function(n,w){Object(r.a)(ka,n,0,(w-e.length)*ea,ka.fillStyle,f)})};z=function(e,f,w,x,h){ka.save();ka.translate(w,x);da(n.Ha[e]);n.Ha[e].text&&(w=
Object(r.g)(ka,n.Ha[e].text,h),e=Object(r.f)(n.Ha[e].fontStyles),f(w,e));ka.restore()};e=ia/3;if(this.Ha.header)y=Object(r.f)(this.Ha.header.fontStyles),ka.save(),da(this.Ha.header),ka.translate(ia/6,0),this.Ha.header.left&&w(Object(r.g)(ka,this.Ha.header.left,e),y),ka.translate(ia/3,0),this.Ha.header.center&&w(Object(r.g)(ka,this.Ha.header.center,e),y),ka.translate(ia/3,0),this.Ha.header.right&&w(Object(r.g)(ka,this.Ha.header.right,e),y),ka.restore();else if(this.Ha.headerLeft||this.Ha.headerCenter||
this.Ha.headerRight)this.Ha.headerLeft&&z("headerLeft",w,ia/6,0,e),this.Ha.headerCenter&&z("headerCenter",w,ia/6+ia/3,0,e),this.Ha.headerRight&&z("headerRight",w,ia/6+ia/3+ia/3,0,e);if(this.Ha.footer)y=Object(r.f)(this.Ha.footer.fontStyles),ka.save(),da(this.Ha.footer),ka.translate(ia/6,aa),this.Ha.footer.left&&x(Object(r.g)(ka,this.Ha.footer.left,e),y),ka.translate(ia/3,0),this.Ha.footer.center&&x(Object(r.g)(ka,this.Ha.footer.center,e),y),ka.translate(ia/3,0),this.Ha.footer.right&&x(Object(r.g)(ka,
this.Ha.footer.right,e),y),ka.restore();else if(this.Ha.footerLeft||this.Ha.footerCenter||this.Ha.footerRight)this.Ha.footerLeft&&z("footerLeft",x,ia/6,aa,e),this.Ha.footerCenter&&z("footerCenter",x,ia/6+ia/3,aa,e),this.Ha.footerRight&&z("footerRight",x,ia/6+ia/3+ia/3,aa,e);this.Ha.custom&&(ka.save(),this.Ha.custom(ka,f,ia,aa),ka.restore());ka.restore()}};w.prototype.JO=function(e){e=e||1;var f=this.Gb(e),n=document.createElement("canvas");n.width=f.width;n.height=f.height;var r=n.getContext("2d");
r.rect(0,0,f.width,f.height);r.fillStyle="rgba(255, 255, 255, 0.0)";r.fill();this.drawWatermark(n,e);return n};w.prototype.Nk=function(){return Promise.resolve()};w.prototype.F2=function(e){return e.objnum+"-"+e.gennum};w.prototype.My=function(e,f){var n,r=null===(n=this.jn)||void 0===n?void 0:n.Q1(this.Ly(f));return!r||r.Cd<e.length?this.getNewAppearanceDocument(e,f):Promise.resolve(r)};w.prototype.Pl=function(e,f){for(var n=this,r=e.length,w=[],h=this.My(e,f),ea=0;ea<r;++ea){var z=e[ea],ua=n.F2(z);
z.fY&&(ua+="_"+z.fY);z.iY&&(ua+="-"+z.iY);w.push(Promise.all([ua,z.blendMode,h]).then(function(e){var r=e[0],w=e[1],h=e[2];if(r in h.vF){var ea=h.vF[r];return new Promise(function(e,r){var z=n.aa[f-1],ia=Object(da.b)(ea+1,1,0,function(){}),ja=Object(aa.uniqueId)(),ka={};ka[ja]={Mg:null,paused:!1,Dd:ia.pageNumber-1};h.zu(ia.pageNumber,ja,function(f,n){f&&r(Error("Error loading page "+ia.pageNumber+": "+f));Object(aa.isUndefined)(ka[ja])||(ka[ja].Mg=n,ka[ja].paused&&n.pause(),ia.finishedLoading()&&
n.fG(function(){e({draw:function(e,f){var n=this;return new Promise(function(r){var h=e.getTransform(),ea=new x.a,ia=Object(y.b)(z.Xa)/1.33333;ea.cb(ia,0,0,ia,f.x,f.y);h.concat(ea);e.translate(f.x,f.y);e.scale(ia,ia);"multiply"===w&&(e.globalAlpha=.5);n.Mg.aN(e,h,r)})},Mg:n})},void 0,!0))})})}throw Error("No matching annotation in appearance document.");}))}return w};w.prototype.aO=function(e){var f=this;return Object(z.j)()?window.PDFNet.runWithCleanup(function(){return Object(ba.b)(f,void 0,void 0,
function(){var f,n;return Object(ba.d)(this,function(r){switch(r.label){case 0:return[4,window.PDFNet.PDFDoc.createFromBuffer(new Uint8Array(e))];case 1:return f=r.la(),[4,f.flattenAnnotations()];case 2:return r.la(),[4,f.saveMemoryBuffer(window.PDFNet.SDFDoc.SaveOptions.e_linearized)];case 3:return n=r.la(),[2,n.buffer]}})})}):(Object(fa.h)("getFileData with flatten: true requires the full API to be enabled. Please set the fullAPI option to true in your WebViewer constructor."),Promise.resolve(e))};
w.prototype.SX=function(e){this.aa||(this.aa=[]);this.aa.push(e)};w.prototype.D$=function(e,f){this.aa||(this.aa=[]);this.aa[f-1]=e};w.prototype.vq=function(e){return this.aa[e-1]};return w}();Object(ha.b)(h);ca.a=h},function(ha,ca,h){var ba=h(3),aa=h(1);ha=h(27);var fa=h(2),da=h(258),z=h(34);h=function(h){function f(e,f,r,w){var n=h.call(this,void 0,void 0,e,f)||this;n.width=e;n.height=f;n.Oi=r;n.sj=w;n.v9={"ew-resize":"ns-resize","ns-resize":"ew-resize","nwse-resize":"nesw-resize","nesw-resize":"nwse-resize"};
n.Oi=r;n.sj=w;n.lo=n.sj===z.b.Nm;n.co=n.sj===z.b.Km;n.QF=n.sj===z.b.JB;n.ho=n.Oi===z.a.LEFT;n.ko=n.Oi===z.a.RIGHT;n.LF=n.Oi===z.a.yB;return n}Object(ba.c)(f,h);f.prototype.Qy=function(e){var f="";this.lo&&this.ho?f="nwse-resize":this.lo&&this.LF?f="ns-resize":this.lo&&this.ko?f="nesw-resize":this.QF&&this.ho?f="ew-resize":this.QF&&this.ko?f="ew-resize":this.co&&this.ho?f="nesw-resize":this.co&&this.LF?f="ns-resize":this.co&&this.ko&&(f="nwse-resize");return Object(da.a)(e)?f:this.v9[f]};f.prototype.getDimensions=
function(e,f,r){var w=this.width/r,n=this.height/r,x=this.A3(f,w,e.NoZoom?r:1);e=this.B3(f,n,e.NoZoom?r:1);return new fa.d(x,e,x+w,e+n)};f.prototype.A3=function(e,f,r){var w=e.x1;if(this.ho)return w-f/2;if(this.LF)return w+(e.Fa()/r-f)/2;if(this.ko)return w+e.Fa()/r-f/2;Object(aa.h)("Invalid Horizontal Alignment")};f.prototype.B3=function(e,f,r){var w=e.y1;if(this.lo)return w-f/2;if(this.QF)return w+(e.Ca()/r-f)/2;if(this.co)return w+e.Ca()/r-f/2;Object(aa.h)("Invalid Vertical Alignment")};f.prototype.move=
function(e,f,r){var w=!(!f&&!r);if(!w)return!1;var n=e.pb();e.MaintainAspectRatio&&(r=this.KY(e,r,f),f=r.deltaX,r=r.deltaY);this.ho?n.x1+=f:this.ko&&(n.x2+=f);this.lo?n.y1+=r:this.co&&(n.y2+=r);e instanceof Annotations.Xk&&"EllipseDimension"===e.IT&&e.Measure&&e.Hj();e.resize(n);return w};f.prototype.KY=function(e,f,r){var w=e.Fa();e=e.Ca();if(w>e){if(f=e/w*(w+r)-e,this.ho&&this.co||this.ko&&this.lo)f*=-1}else if(r=w/e*(e+f)-w,this.ho&&this.co||this.ko&&this.lo)r*=-1;return{deltaY:f,deltaX:r}};return f}(ha.a);
ca.a=h},function(ha,ca,h){function ba(h){return new aa(h)}h.d(ca,"a",function(){return ba});var aa=function(){function h(h){this.MJ=h;this.Vw=-1;this.current=null}h.prototype.zk=function(){this.Vw++;this.current=this.MJ[this.Vw];return this.Vw<this.MJ.length};h.prototype.reset=function(){this.Vw=-1;this.current=null};return h}()},function(ha,ca,h){h(313);h(49);h(189);h(314);h(315);h(316);h(317);h(318);h(319);h(320);h(321);h(322);h(323);h(324);h(325);h(190);h(326);h(327);h(328);h(329);h(330);h(331);
h(332);h(333);h(334);h(335);h(336);h(337);h(338);h(339);h(340);var ba=h(22);h.d(ca,"a",function(){return ba})},function(ha,ca,h){function ba(){return fa}function aa(h){fa=h}h.d(ca,"b",function(){return aa});h.d(ca,"a",function(){return ba});var fa=null},function(ha,ca,h){var ba=h(3);ha=h(36);var aa=h(13),fa=h(25),da=h(18),z=h(59);da.l&&Promise.all([h.e(1),h.e(2)]).then(h.t.bind(null,304,7));var y=function(){function f(e,f){this.LA=e;this.xa=f;this.LA=e;this.xa=f}f.prototype.initialize=function(){return Object(ba.b)(this,
void 0,void 0,function(){var e,f,r;return Object(ba.d)(this,function(w){switch(w.label){case 0:return e=this.xa.ck(),[4,Promise.all([h.e(1),h.e(2)]).then(h.t.bind(null,304,7))];case 1:return f=w.la().default,r={},e===z.a.ew&&(r={keyboard:{bindings:{Wda:{key:13,handler:function(){},identifier:"disable-enter"}}}}),this.editor=new f(this.LA,{formats:["bold","italic","strike","underline","color"],modules:r}),this.PX(),this.U8(),[2]}})})};f.prototype.PX=function(){var e=this;this.editor.keyboard.addBinding({key:"K",
shortKey:!0},function(f,r){var w=!r.format.strike;r.collapsed||r.empty?e.editor.format("strike",w):e.editor.formatText(f.index,f.length,"strike",w)})};f.prototype.U8=function(){function e(e){var f;e instanceof FocusEvent&&"ql-clipboard"===(null===(f=e.relatedTarget)||void 0===f?void 0:f.className)||x.trigger(w.vB)}var x=this,r=this.editor.root,w=f.wb;r.addEventListener("focus",function(){if(x.xa.Kq()){var e=x.xa.ck(),f=x.Fi();f.style.height="auto";e!==z.a.fw&&(f.style.width="auto");e===z.a.ew&&(r.style.whiteSpace=
"nowrap",r.style.overflow="hidden");x.resize()}x.trigger(w.TI)});da.h?Object(aa.a)(r,["focusout"],e):Object(aa.a)(r,["blur"],e);(new MutationObserver(function(e){e.forEach(function(e){e.removedNodes.forEach(function(e){e&&e.contains&&e.contains(r)&&x.trigger(w.vB)})})})).observe(r.closest(".pageContainer"),{subtree:!0,childList:!0});this.editor.on(w.PB,function(e,f,r){"user"===r&&x.xa.Kq()&&x.resize();x.trigger(w.PB)});this.editor.on(w.NB,function(e,f){x.trigger(w.NB,[e,f])})};f.prototype.resize=
function(){var e=this.Fi(),f=e.getBoundingClientRect(),r=Object(fa.a)().Cq(this.xa.Ba()).getBoundingClientRect();if(f.right>r.right){var w=r.right-f.left;e.style.width=w+"px"}f.bottom>r.bottom&&(f=r.bottom-f.top,e.style.height=f+"px")};f.prototype.caa=function(e){var f=this.Fi(),r=this.editor.root,w=this.xa.ck();Object(aa.b)(f,Object(ba.a)({position:e.position,top:e.top,left:e.left,transformOrigin:e.transformOrigin,transform:e.transform},w===z.a.Rr?{}:{width:e.width,height:e.height}));Object(aa.b)(r,
{background:e.background,lineHeight:e.lineHeight,font:e.font,color:e.color,paddingTop:e.paddingTop})};f.prototype.CH=function(){var e={},f=0;this.editor.getContents().ops.forEach(function(r){var w=r.attributes;r=r.insert;var n={};if(null===w||void 0===w?0:w.bold)n["font-weight"]="bold";if(null===w||void 0===w?0:w.italic)n["font-style"]="italic";if(null===w||void 0===w?0:w.color)n.color=w.color;if(null===w||void 0===w?0:w.underline)n["text-decoration"]="word";if(null===w||void 0===w?0:w.strike)n["text-decoration"]=
n["text-decoration"]?n["text-decoration"]+" line-through":"line-through";e[f]=n;f+=r.length});this.xa.le=e};f.prototype.setContents=function(){var e=this,f=this.xa.getContents()||"",r=this.xa.le||{};this.editor.setText(f);this.editor.formatText(0,f.length,{color:this.xa.TextColor.toString()});var w=Object.keys(r).map(function(e){return parseInt(e,10)});w.forEach(function(n,x){var h={},y=r[n],ea=y["text-decoration"];x=x===w.length-1?f.length:w[x+1];h.color=y.color;h.bold="bold"===y["font-weight"];
h.italic="italic"===y["font-style"];h.strike=null===ea||void 0===ea?void 0:ea.includes("through");h.underline=(null===ea||void 0===ea?void 0:ea.includes("word"))||(null===ea||void 0===ea?void 0:ea.includes("underline"));e.editor.formatText(n,x-n,h)})};f.prototype.D9=function(){this.editor.setSelection(0,this.editor.getLength())};f.prototype.getText=function(){var e=this.editor.getText(),f=e.lastIndexOf("\n");return e.slice(0,f)};f.prototype.focus=function(){this.Fi().style.display="";this.editor.focus();
this.editor.setSelection(this.editor.getLength(),1)};f.prototype.Fi=function(){return document.querySelector(this.LA)};f.prototype.getContents=function(){return this.getText()};f.prototype.format=function(e,f){this.editor.format(e,f)};f.prototype.getFormat=function(e,f){return this.editor.getFormat(e,f)};f.prototype.setText=function(e){this.editor.setText(e)};f.prototype.insertText=function(e,f){this.editor.insertText(e,f)};f.prototype.deleteText=function(e,f){this.editor.deleteText(e,f)};f.prototype.setSelection=
function(e,f){this.editor.setSelection(e,f)};f.prototype.getSelection=function(){return this.editor.getSelection()};f.prototype.hasFocus=function(){return this.editor&&this.editor.hasFocus()};f.wb={TI:"focus",vB:"blur",PB:"text-change",NB:"selection-change"};return f}();Object(ha.b)(y);ca.a=y},function(ha,ca,h){function ba(f){this.O=f;this.aa=[];this.cj={};this.gF=fa.c.E_0;this.jk=1;if(f){this.aH();this.bH();var e=this;f.on(z.a.Events.PAGES_DIFF,function(f){e.trigger(ba.Events.PAGE_DIFF,[f]);var r=
f.filter(function(e){return e.after.contentChanged}).map(function(e){return e.after.pageNum});f=f.filter(function(e){return e.after.contentChanged&&!e.after.annotationsUnchanged}).map(function(e){return e.after.pageNum});e.trigger(ba.Events.PAGE_CONTENT_CHANGED,[r,f])});f.on(z.a.Events.PAGES_UPDATED,function(f){function r(e){var f={};Object.keys(e).forEach(function(n){f[n]=e[n].Sa});return f}var w=r(e.cj);e.aH();e.bH();w=e.OY(w,r(e.cj));w.contentChanged=f.filter(function(e){return e.contentChanged}).map(function(e){return e.pageNum});
w.annotationsChanged=f.filter(function(e){return e.contentChanged&&!e.annotationsUnchanged}).map(function(e){return e.pageNum});e.trigger(ba.Events.LAYOUT_CHANGED,[w])});f.on(z.a.Events.CHANGE_PAGE_IDS,function(f){e.XY(f);e.trigger(ba.Events.PAGE_IDS_CHANGED,f)})}}var aa=h(0);h.n(aa);ha=h(36);var fa=h(4),da=h(25),z=h(7),y=h(1);ba.prototype={OY:function(f,e){var x={added:[],removed:[],moved:{}},r={};Object.keys(f).forEach(function(e){r[e]=r[e]||{};r[e].before=f[e]});Object.keys(e).forEach(function(f){r[f]=
r[f]||{};r[f].after=e[f]});Object.keys(r).forEach(function(e){e=r[e];e.before&&!e.after?x.removed.push(e.before):!e.before&&e.after?x.added.push(e.after):e.before&&e.after&&e.before!==e.after&&(x.moved[e.before]=e.after)});return x},aH:function(){var f=this.O.wq(),e={};f.forEach(function(f){e[f]=!0});var x=this.cj;Object.keys(x).forEach(function(f){f in e||delete x[f]});f.forEach(function(e){x[e]||(x[e]={rotation:null,zoom:null,di:null,ei:null,Zh:null,Xg:null,nr:null,Vd:null,Sa:null,id:e})})},bH:function(){try{for(var f=
this.O.Cd,e=this.O,x=[],r=0;r<f;++r){var w=this.cj[e.hk(r)];w.Sa=r+1;x.push(w)}this.aa=x}catch(n){Object(y.h)(n)}},XY:function(f){for(var e=Object.keys(f),x=0,r=this.aa.length;x<r;x++){var w=this.aa[x];if(-1<e.indexOf(w.id)){var n=f[w.id];delete this.cj[w.id];w.id=n;this.cj[w.id]=w}}},LH:function(f){this.gF=f},Pk:function(f){this.jk=f;this.trigger(ba.Events.ZOOM_CHANGED,[f])},KS:function(f,e){var x=this.aa[f];if(x)x.nr=e;else throw Error("Invalid page text selected "+f);},Q2:function(f){var e=this.aa[f];
if(e)return e.nr;throw Error("Selected text requested for invalid page index: "+f);},R2:function(f){var e=this.aa[f];if(e)return e.Zh;throw Error("Selected text quads requested for invalid page index: "+f);},uD:function(){this.aa.forEach(function(f){f.nr=null})},Xt:function(){return this.aa.map(function(f){return f.nr}).filter(function(f){return null!==f}).join("\n")},bF:function(){var f={};this.aa.filter(function(e){return null!==e.Zh}).forEach(function(e){f[e.Sa]=e.Zh});return f},Se:function(f){var e=
this.aa[f];if(e){var x=this.O.Ad(f+1);f=this.O.zd(f+1);var r=Object(aa.isNull)(e.rotation)?this.gF:e.rotation;if(r===fa.c.E_90||r===fa.c.E_270){var w=x;x=f;f=w}return{width:x,height:f,rotation:r,zoom:Object(aa.isNull)(e.zoom)?this.jk:e.zoom,di:e.di,ei:e.ei,Zh:e.Zh,Xg:e.Xg,nr:e.nr,Vd:e.Vd,Sa:e.Sa,id:e.id}}return{width:0,height:0}},Te:function(){for(var f=[],e=this.aa.length,x=0;x<e;++x)f.push(this.Se(x));return f},UA:function(f,e){var x=this.aa[f];if(x)x.zoom=e;else throw Error("Invalid page number zoomed "+
(f+1));},L2:function(f){var e=this.aa[f];if(e)return!Object(aa.isNull)(e.zoom);throw Error("Invalid page index get has individual zoom "+f);},sv:function(f,e){var x=this.aa[f];if(x)x.rotation=e;else throw Error("Invalid page index rotated "+f);},I$:function(f,e){var x=this.aa[f];if(x)x.Zh=e;else throw Error("Invalid page index set text quads "+f);},G$:function(f,e){var x=this.aa[f];if(x)x.Xg=[e];else throw Error("Invalid page index set search quads "+f);},cU:function(f,e){var x=this.aa[f];if(x)f=
x.Xg||[],f.push(e),x.Xg=f;else throw Error("Invalid page index update search quads "+f);},tD:function(){this.aa.forEach(function(f){f.Xg=null})},Pn:function(f){return void 0!==f&&null!==f?(f=this.aa[f-1])?f.Xg||[]:[]:this.aa.reduce(function(e,f){return f.Xg?e.concat(f.Xg):e},[])},sM:function(){this.aa.forEach(function(f){f.Zh=null})},M2:function(f){var e=this.aa[f];if(e)return!!e.Zh||!!e.Xg;throw Error("Invalid page index get has text quads "+f);},E$:function(f,e){var x=this.aa[f];if(x)x.di=e.di,
x.ei=e.ei;else throw Error("Tried to set offsets of invalid page"+f);},s2:function(){var f={};this.aa.forEach(function(e,x){Object(aa.isNull)(e.rotation)||(f[x+1]=e.rotation)});return f},fZ:function(){this.aa.forEach(function(f){f.rotation=null})},xN:function(f){this.aa.forEach(function(e){Object(aa.isNull)(e.rotation)||f(e)})},PH:function(f,e){var x=this.aa[f];if(x)x.Vd?e&&x.Vd===e||(Object(da.a)().Kn(x.Vd),x.Vd=e):x.Vd=e;else throw Error("Invalid page index set preview canvas "+f);},QE:function(){var f=
[];this.aa.forEach(function(e,x){Object(aa.isNull)(e.Zh)&&Object(aa.isNull)(e.Xg)||f.push(x)});return f},RE:function(){var f=[];this.aa.forEach(function(e,x){Object(aa.isNull)(e.Zh)||f.push(x)});return f},hZ:function(f){f=this.aa[f];f.Vd&&(Object(da.a)().Kn(f.Vd),f.Vd=null)},iZ:function(){this.aa.forEach(function(f){f.width=0;f.height=0;f.Vd&&(Object(da.a)().Kn(f.Vd),f.Vd=null)})},TF:function(f){return!!this.cj[f]},ve:function(f){var e=this.cj[f];if(e)return this.Se(e.Sa-1);throw Error("Unknown page ID "+
f);},eg:function(f){var e=this.aa[f];if(e)return e.id;throw Error("Page index is not loaded "+f);},ce:function(){this.off()}};Object(ha.b)(ba);ba.Events={LAYOUT_CHANGED:"layoutChanged",ZOOM_CHANGED:"zoomChanged",PAGE_CONTENT_CHANGED:"pageContentChanged",PAGE_DIFF:"pageDiff",PAGE_IDS_CHANGED:"pageIdsChanged"};ca.a=ba},function(ha,ca,h){var ba=h(92);h.d(ca,"a",function(){return ba.a});var aa=h(162);h.d(ca,"b",function(){return aa.a});var fa=h(27);h.d(ca,"c",function(){return fa.a});var da=h(113);h.d(ca,
"d",function(){return da.a});var z=h(141);h.d(ca,"e",function(){return z.a});var y=h(104);h.d(ca,"f",function(){return y.a});var f=h(164);h.d(ca,"g",function(){return f.a});var e=h(142);h.d(ca,"h",function(){return e.a});h(167)},function(ha,ca,h){var ba=h(52),aa=h(23),fa=h(6);ha=function(){function h(){this.sB=this.qB=this.rB=this.pB=this.fa=this.ia=this.ea=this.ha=0}h.gx=function(z,y,f,e){var x=new fa.e;x.init(0,0);var r=new fa.e;r.init(0,0);var w=new fa.e;w.init(0,0);var n=new fa.e;n.init(0,0);
for(var ea=0;4>ea;++ea){h.AO(x,z,ea);if(!x.normalize()&&f)return!1;ea?2===ea?w=fa.e.Kh(w,x):1===ea?n=fa.e.gr(n,x):3===ea&&(n=fa.e.Kh(n,x)):w=fa.e.gr(w,x);for(var ia=Array(8),aa=0;1>aa;++aa){for(var da=0;8>da;++da)ia[da]=y[8*aa+da];h.AO(r,ia,ea);if(!r.normalize()&&f)return!1;ea?2===ea?w=fa.e.Kh(w,r):1===ea?n=fa.e.gr(n,r):3===ea&&(n=fa.e.Kh(n,r)):w=fa.e.gr(w,r)}if(f&&Math.abs(x.Ab(r))<h.DZ)return!1}w=fa.e.divide(w,2);n=fa.e.divide(n,2);if(!w.normalize()&&f||!n.normalize()&&f||f&&!h.T5(z,y,w,n,e,e/10))return!1;
h.rk(z,y,1,w,n);return!0};h.AO=function(h,y,f){var e=(f+1)%4;h.x=y[2*e]-y[2*f];h.y=y[2*e+1]-y[2*f+1]};h.T5=function(h,y,f,e,x,r){var w=new fa.e;w.init(h[0],h[1]);var n=new fa.e;n.init(h[2],h[3]);var ea=new fa.e;ea.init(y[0],y[1]);var z=new fa.e;z.init(y[2],y[3]);var aa=w.Ab(f),da=n.Ab(f),ma=ea.Ab(f);f=z.Ab(f);if(aa>da){var ba=aa;aa=da;da=ba}ma>f&&(ba=ma,ma=f,f=ba);if(ma-da>x||aa-f>x)return!1;w.x=h[2];w.y=h[3];n.x=h[4];n.y=h[5];ea.x=y[2];ea.y=y[3];z.x=y[4];z.y=y[5];aa=w.Ab(e);da=n.Ab(e);ma=ea.Ab(e);
f=z.Ab(e);aa>da&&(ba=aa,aa=da,da=ba);ma>f&&(ba=ma,ma=f,f=ba);return!(Math.abs(aa-ma)>r||Math.abs(da-f)>r)};h.rk=function(h,y,f,e,x){var r=!1,w=new fa.e;w.init(1,0);var n=new fa.e;n.init(0,1);if(1E-4<=Math.abs(e.x-1)||1E-4<=Math.abs(e.y-0)&&1E-4<=Math.abs(x.x-0)||1E-4<=Math.abs(x.y-1)){r=!0;var ea=new aa.a;ea.cb(e.x,x.x,e.y,x.y,0,0);ea=ea.inverse();w.x=ea.m_a;w.y=ea.m_b;n.x=ea.m_c;n.y=ea.m_d}ea=ba.a.MAX;for(var z=ba.a.MIN,ka=ba.a.MAX,da=ba.a.MIN,ma,la,ja=0,ua=0,ra=0;4>ra;++ra){var na=new fa.e;na.init(h[2*
ra],h[2*ra+1]);r?(ma=na.Ab(w),la=na.Ab(n)):(ma=na.x,la=na.y);ra?(ea>ma&&(ea=ma,ja=na.x),z<ma&&(z=ma),ka>la&&(ka=la,ua=na.y),da<la&&(da=la)):(ea=z=ma,ka=da=la,ja=na.x,ua=na.y);for(na=0;na<f;++na){var Ba=new fa.e;Ba.init(y[8*na+2*ra],y[8*na+2*ra+1]);r?(ma=Ba.Ab(w),la=Ba.Ab(n)):(ma=Ba.x,la=Ba.y);ea>ma&&(ea=ma,ja=Ba.x);z<ma&&(z=ma);ka>la&&(ka=la,ua=Ba.y);da<la&&(da=la)}}y=new fa.e;y.init(ja,ua);w=y.Ab(e);f=y.Ab(x);w=fa.e.multiply(e,ea-w);f=fa.e.multiply(x,ka-f);y.x+=w.x+f.x;y.y+=w.y+f.y;r?(r=e.x,y=x.x,
e=e.y,x=x.y,h[0]=r*ea+y*ka,h[1]=e*ea+x*ka,h[2]=r*z+y*ka,h[3]=e*z+x*ka,h[4]=r*z+y*da,h[5]=e*z+x*da,h[6]=r*ea+y*da,h[7]=e*ea+x*da):(h[0]=ea,h[1]=ka,h[2]=z,h[3]=ka,h[4]=z,h[5]=da,h[6]=ea,h[7]=da)};h.prototype.xC=function(){this.sB=this.qB=this.rB=this.pB=this.fa=this.ia=this.ea=this.ha=void 0};h.prototype.eL=function(h,y,f,e,x,r,w,n){this.ha=h;this.ea=y;this.ia=f;this.fa=e;this.pB=x;this.rB=r;this.qB=w;this.sB=n};h.prototype.ik=function(){return{x1:this.ha,y1:this.ea,x2:this.ia,y2:this.fa,x3:this.pB,
y3:this.rB,x4:this.qB,y4:this.sB}};h.prototype.D2=function(){var h=this.ik(),y=Math.min(h.x1,h.x2,h.x3,h.x4),f=Math.max(h.x1,h.x2,h.x3,h.x4),e=Math.min(h.y1,h.y2,h.y3,h.y4),x=Math.max(h.y1,h.y2,h.y3,h.y4);h.x1=y;h.x2=f;h.x3=f;h.x4=y;h.y1=e;h.y2=e;h.y3=x;h.y4=x;return h};h.DZ=Math.cos(3.14159265/180*2);return h}();ca.a=ha},function(ha,ca,h){var ba=h(107),aa=h(34),fa=h(27),da=h(33);ca.a=function(){function h(){}h.EN=function(h){var f,e;void 0===f&&(f=fa.a.handleWidth);void 0===e&&(e=fa.a.handleHeight);
return[new h(f,e,aa.a.LEFT,aa.b.Nm),new h(f,e,aa.a.LEFT,aa.b.Km),new h(f,e,aa.a.RIGHT,aa.b.Nm),new h(f,e,aa.a.RIGHT,aa.b.Km)]};h.IO=function(h){var f,e;void 0===f&&(f=fa.a.handleWidth);void 0===e&&(e=fa.a.handleHeight);return[new h(f,e,aa.a.LEFT,aa.b.JB),new h(f,e,aa.a.yB,aa.b.Nm),new h(f,e,aa.a.yB,aa.b.Km),new h(f,e,aa.a.RIGHT,aa.b.JB)]};h.vO=function(h,f){var e,x;void 0===e&&(e=fa.a.rotationHandleWidth);void 0===x&&(x=fa.a.rotationHandleHeight);if(void 0===r)var r=da.a.Mo;return new ba.a(e,x,r,
h,f)};return h}()},function(ha,ca,h){function ba(h,y){aa.a.call(this,h,da.Annotations.ni);this.name=y||fa.g.RECTANGLE}var aa=h(19),fa=h(4),da=window;ba.prototype={mouseLeftDown:function(){aa.a.prototype.mouseLeftDown.apply(this,arguments);this.annotation&&this.defaults.Style&&(this.annotation.Style=this.defaults.Style)}};ba.prototype=Object.assign(new aa.a,ba.prototype);ca.a=ba},function(ha,ca,h){function ba(e,f){return aa("image/"+("jpg"===e?"jpeg":e),f)}function aa(e,n){if(Object(ea.e)()){"string"===
typeof n&&(n=Object(f.b)(n));var r=void 0;try{r=new Blob([n],{type:e})}catch(Ba){window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.nca||window.mca,window.BlobBuilder&&(r=new window.BlobBuilder,r.append(n),r=r.getBlob(e))}if(r)return URL.createObjectURL(r)}else return"data:"+e+";base64,"+btoa(n)}h.d(ca,"d",function(){return aa});h.d(ca,"c",function(){return ba});h.d(ca,"a",function(){return ja});var fa=h(0);h.n(fa);var da=h(1),z=h(177),y=h(279),f=h(54),e=h(13),x=h(44),r=h(281),
w=h(75),n=h(35),ea=h(26),ia=h(57),ka=h(146),oa=window,ma=function(){return function(e,f){this.Ac=e;this.vb={};this.ec=null;this.lb=f}}(),la=function(){function e(e,f){this.Ac=e;this.XQ=f;this.$f={};this.Yi={};this.yf=!1;for(e=0;e<f.length;e++)this.Yi[f[e]]=!0}e.prototype.F4=function(){return 0===Object.keys(this.Yi).length};return e}(),ja=function(){function e(e){Object(r.a)();this.name=e;this.db=null;this.QM="1";this.py=this.yf=!1}e.prototype.open=function(e,f){var n=this,r=window._indexedDB.open(n.name);
if(Object(fa.isUndefined)(r))f("User declined to increase space");else{r.onsuccess=function(){n.db=r.result;if(n.db.maa&&n.db.version!==n.QM){var e=n.db.maa(n.QM);e.onsuccess=function(){n.db.objectStoreNames.contains(n.name)&&n.db.deleteObjectStore(n.name);n.db.createObjectStore(n.name,{keyPath:"partName"});e.result.oncomplete=w}}else w()};r.onupgradeneeded=function(e){n.db=e.target.result;n.db.objectStoreNames.contains(n.name)&&n.db.deleteObjectStore(n.name);n.db.createObjectStore(n.name,{keyPath:"partName"})};
r.onerror=function(){f("Error opening database for offline mode")};var w=function(){n.get("NumParts",function(r,w){if(r)n.py=!1,e();else{var x=n.db.transaction([n.name]).objectStore(n.name).count();x.onsuccess=function(){n.py=x.result===w;e()};x.onerror=function(){f("Error opening database for offline mode")}}})}}};e.prototype.store=function(e,f,n,r){var w=this.db.transaction([this.name],window._IDBTransaction.dJ);w.oncomplete=function(){r&&r()};w.onerror=function(){r&&r();throw Error("Error adding "+
e+" to the offline database");};w.objectStore(this.name).put({partName:e,partData:f,compressed:n})};e.prototype.Oaa=function(e,f,n,r,w,x){function h(x){e.Fg(x,function(e){var n=f.indexOf(e.$a);-1<n&&delete f[n];y()||ea.store(e.$a,e.data,e.Qc,function(){y()||(z++,w(z/ia),z===ia&&(ea.py=!0,r()))})},!0,n)}function y(){ea.yf&&!aa&&(aa=!0,x(f),r());return aa}var ea=this;ea.yf=!1;r=r||function(){};w=w||function(){};x=x||function(){};var z=0,ia=f.length,aa=!1;ea.store("NumParts",ia+1,!1,function(){for(var e=
0;e<ia;e++)h(f[e])})};e.prototype.VY=function(){this.yf=!0};e.prototype.get=function(e,f){var n=this.db.transaction([this.name]).objectStore(this.name).get(e);n.onsuccess=function(){n.result?f(!1,n.result.partData,n.result.compressed):f("Part "+e+" not found in the offline database")};n.onerror=function(){f("Error getting "+e+" from offline database")}};e.prototype.Zl=function(){return this.py};return e}();ha=function(){function r(e,f,n,r,x){this.If=e;this.Zz=!1;this.cache=new ka.a(oa.aw,e.om());
e.decrypt&&e.om()&&(this.Fn=new ka.a(oa.aw,e.om()));this.aa=f;this.ya=r;this.Dk={};this.Kv={};this.Hx={};this.cy={};this.Jy=[];this.Nl={};this.Hf=n;this.im={};this.Eo={};this.hu=x;this.bA=Object(fa.bind)(this.bA,this);this.If.on(w.a.Events.PART_READY,this.bA)}r.prototype.Fg=function(e,f,n,r){function w(e){e=Object.assign({},e);ea.Fn&&r&&(e.data=ea.Fn.getItem(e.$a).data);f(e)}var x=this.cache.getItem(e);if(!r&&null!==x){var h=x.Qc,y=void 0;x.Qc&&!n?(y=this.hu(x.data),h=!1):y=x.data;f({$a:e,data:y,
qh:!0,yf:!1,error:null,Qc:h});return f}if(this.Fn&&r&&(x=this.Fn.getItem(e)))return f({$a:e,data:x.data,qh:!0,yf:!1,error:null,Qc:x.Qc}),f;var ea=this;this.Eo[e]||(this.Eo[e]=[]);this.Eo[e].push(w);this.Hx[e]=!0;this.cy[e]=!n;this.If.request([e],r);return w};r.prototype.bA=function(e){if(e.error){Object(da.g)("Error reading part "+e.$a+": "+e.error);var n=this.Eo[e.$a];n&&n.forEach(function(f){f({$a:e.$a,error:e.error})});this.Eo[e.$a]=[]}else{var r=this;n=function(n){var w=e.$a.match(/\.([a-zA-Z]+)$/)[1].toLowerCase();
"jpg"!==w&&"png"!==w&&(n=Object(f.a)(n));e.pQ||(w={key:e.$a,data:n,Qc:e.Qc},r.cache.setItem(w),r.Fn&&(w.data=e.data,r.Fn.setItem(w)));if(r.Hx[e.$a]){var x=e.Qc;e.Qc&&r.cy[e.$a]&&(n=r.hu(n),x=!1);delete r.Hx[e.$a];delete r.cy[e.$a];if(w=r.Eo[e.$a])w.forEach(function(f){f({$a:e.$a,data:n,qh:!1,yf:!1,error:null,Qc:x})}),r.Eo[e.$a]=[]}};this.If.decrypt&&!e.pQ?this.If.NM?n(this.If.decrypt(e.data,this.If.ht,e.$a)):this.If.decrypt(e.data,this.If.ht,e.$a,n):n(e.data)}};r.prototype.EO=function(e){return this.ZF?
"Thumbs/"+(e+1)+".jpg":"Thumbs/"+(e+1)+".png"};r.prototype.Tn=function(e,f,n){var r=this,w=!1,x=this.Fg(this.EO(e),function(e){w=e.qh;r.WR(f);n(e)});w||(this.Kv[f]={lda:x,Dd:e})};r.prototype.mO=function(e,f){var n=this,r=this.aa[e].lv[0];if(e in n.Nl)f(n.Nl[e].clone());else return n.Fg(r,function(r){if(r.error)return Object(da.e)("Failed to load part for page "+e+": "+r.error);n.w1(r.data,function(r){if(oa.Yo){if(n.Jy.length>=oa.Yo){var w=n.Jy.shift();delete n.Nl[w]}n.Jy.push(e);n.Nl[e]=r}f(r.clone())})},
!0)};r.prototype.TE=function(f,r,w){var x=this;this.Dk[f]=this.Dk[f]||{jr:{}};var h=0<Object.keys(this.Dk[f].jr).length;this.Dk[f].jr[r]=null;if(h)Object(da.h)("Duplicate request for page "+f),h=function(e,f){var n=Object.assign({},f);n.ec=f.ec.clone();n.vb=Object(fa.cloneDeep)(n.vb);w(e,n)},this.Dk[f].jr[r]=h,this.im[f]||(this.im[f]=[]),this.im[f].push(h);else{var y=x.aa[f],ea=y.lv[2],z=y.lv[1],ia=y.lv[0];var aa=this.Zz?new la(f,[ia,z,ea]):new la(f,[ia,ea]);this.Dk[f].request=aa;var ja=aa.$f,ka=
!1,na=new ma(f,x),oa=function(){if(aa.F4()){if(null===na.ec)throw Error("Functions have not been generated yet");if(!aa.yf&&!ka){delete x.Dk[f];var e=x.im[f];e&&e.forEach(function(e){e(!1,na)});w(!1,na);ka=!0;x.im[f]=[]}}};r=function(e){if(e.error)return Object(da.e)("Failed to load part for page "+f+": "+e.error);delete aa.Yi[z];y.annot&&0!==y.zl.length||(y.zl=x.s6(e.data).map(function(e){e.PageNumber=f+1;return e}));oa()};ja[ea]=x.Fg(ea,function(r){if(r.error)return Object(da.e)("Failed to load part for page "+
f+": "+r.error);r=x.Z6(r.$a,r.data);delete aa.Yi[ea];Object(fa.each)(r,function(e){aa.Yi[e.slice(1)]=!0});Object(fa.each)(r,function(r){r=r.slice(1);var w=-1!==r.indexOf(".odttf")||-1!==r.indexOf(".otf"),h=-1!==r.indexOf(".png")||-1!==r.indexOf(".jpg");Object(n.a)("flattenedResources")&&w?(delete aa.Yi[r],na.vb[r]=x.Uj(r)):w&&!x.Hf.Dz(x.Uj(r).name)?(aa.XQ.push(r),ja[r]=x.Fg(r,function(e){if(e.error)return Object(da.e)("Failed to load part for page "+f+": "+e.error);delete aa.Yi[r];na.vb[r]=x.Uj(e.$a,
e.data);oa()})):h&&Object(n.a)("flattenedResources")?(delete aa.Yi[r],setTimeout(function(){x.Fg(r,function(n){var r=x.Uj(n.$a,n.data);n=new Image;n.src=r.data;Object(e.b)(n,{position:"absolute",zIndex:"8",height:"100%",width:"100%"});r=document.getElementById("pageContainer"+(f+1));r.insertBefore(n,r.firstChild)})},0)):(delete aa.Yi[r],na.vb[r]=x.Uj(r),oa())});oa()});this.Zz&&(ja[z]=x.Fg(z,r));ja[ia]=this.mO(f,function(e){na.ec=e;delete aa.Yi[ia];oa()})}};r.prototype.Fd=function(){var e=this;this.If.off(w.a.Events.PART_READY);
Object.keys(this.Nl).forEach(function(f){e.Nl[f].cancel&&e.Nl[f].cancel()})};r.prototype.w1=function(e,f){if(oa.Yo){var n=new y.a(this.ya);n.generate(e,function(){});f(n)}else f(new z.a(this.ya,e))};r.prototype.kD=function(e,f){var n=this.Dk[e];if(n){this.If.lD(n.request.XQ);var r=n.jr[f];r&&(r=this.im[e].indexOf(r),-1<r&&this.im[e].splice(r,1));delete n.jr[f];0===Object.keys(n.jr).length&&(n.yf=!0,this.im[e]=[],delete this.Dk[e])}};r.prototype.mD=function(e){var f=this.Kv[e];f&&(this.If.lD([this.EO(f.Dd)]),
this.WR(e))};r.prototype.WR=function(e){this.Kv[e]&&delete this.Kv[e]};r.prototype.Uj=function(e,f){var n=e,r=e.match(/\.([a-zA-Z]+)$/)[1].toLowerCase();switch(r){case "png":case "jpg":e="i"+this.ya+"-"+e.match(/Images\/(\d+)/)[1];if(f)return f=ba(r,f),{name:e,type:r,data:f,$a:n};break;case "odttf":r=void 0;f&&(r=this.n_(e,f));e=x.a.LE(this.ya,parseInt(e.substr(34,8),16));if(f){var w=new x.a.FontFace(e,r,"opentype");this.Hf.PF(e)||w.insert()}r="font";break;case "otf":e=e.substr(0,e.length-4);e=x.a.LE(this.ya,
parseInt(e.substr(6),10));f&&(w=new x.a.FontFace(e,null,"opentype",f),this.Hf.PF(e)||w.insert());r="font";break;default:w=f}return{name:e,type:r,data:w,$a:n}};r.prototype.Z6=function(e,f){var n=[];f=new ia.a(f);for(f.Ia();f.advance();){var r=f.ba("Target");null!==r?n.push(r):Object(da.h)("Corrupt rels part: %s",e)}0<n.length&&Object(fa.last)(n).match(/Thumbs/)&&n.pop();return n};r.prototype.s6=function(e){var f=[];e=new ia.a(e);for(e.Ia();e.advance();){for(var n=e.Oa(),r=e.ba("BBox").split(","),w=
0;4>w;++w)r[w]=parseFloat(r[w]);"Hyperlink"===n?f.push(new oa.Annotations.Ub({actions:{U:[{name:"URI",uri:e.ba("Target")}]},rect:r})):"Link"===n&&f.push(new oa.Annotations.Ub({actions:{U:[{name:"GoTo",dest:{page:e.ba("ID"),fit:"XYZ",top:e.ba("Vpos"),left:e.ba("Hpos")}}]},rect:r}))}return f};r.prototype.n_=function(e,f){e=e.split("/")[1].split(".")[0];var n=e.split("-");e=[];for(var r=16,w=0;w<n.length;++w)for(var x=n[w],h=0;h<x.length;h+=2)e[--r]=parseInt(x.slice(h,h+2),16);for(n=0;16>n;++n)r=e[n],
e[n]=String.fromCharCode(f.charCodeAt(n)^r),e[n+16]=String.fromCharCode(f.charCodeAt(n+16)^r);return f=e.join("")+f.slice(32)};return r}();ca.b=ha},function(ha,ca,h){function ba(e,n,r,w){return fa(e,[y,f,z],{compressedMaximum:n,isAsync:r,shouldOutputArray:w})}function aa(e,n,r,w){return fa(e,[f,y,z],{compressedMaximum:n,isAsync:r,shouldOutputArray:w})}function fa(e,f,n){var r;if(n.isAsync){var w=f[0](e,n);for(r=1;r<f.length;++r)w=da(w,e,n,f[r]);return w}for(r=0;r<f.length;++r)try{return f[r](e,n)}catch(ta){Object(ka.h)(ta.message)}throw Error("");
}function da(e,f,n,r){return e.catch(function(e){Object(ka.h)(e);return r(f,n)})}function z(e,f){e.endsWith(".js.mem")?e=e.slice(0,-4):e.endsWith(".mem")&&(e=e.slice(0,-4)+".js.mem");f.url=e;f.decompressFunction=r;return x(f)}function y(f,r){r.url=e(f);r.decompressFunction=ja?ea:n;return x(r)}function f(e,f){var n=e.lastIndexOf("/");-1===n&&(n=0);var r=e.slice(n).replace(".",".gz.");f.url=e.slice(0,n)+r;f.decompressFunction=w;return x(f)}function e(e){var f=e.lastIndexOf("/");-1===f&&(f=0);var n=
e.slice(f).replace(".",".br.");ja||(n.endsWith(".js.mem")?n=n.replace(".js.mem",".mem"):n.endsWith(".js")&&(n=n.concat(".mem")));return e.slice(0,f)+n}function x(e){function f(){var f=Date.now();var x=w?r.responseText:new Uint8Array(r.response);Object(ka.b)("worker","Result length is "+x.length);x.length<e.compressedMaximum?(x=e.decompressFunction(x,e.shouldOutputArray),Object(ka.h)("There may be some degradation of performance. Your server has not been configured to serve .gz. and .br. files with the expected Content-Encoding. See http://www.pdftron.com/kb_content_encoding for instructions on how to resolve this."),
ja&&Object(ka.b)("worker","Decompressed length is "+x.length)):n&&(x=Object(ma.a)(x));ja&&Object(ka.b)("worker",e.url+" Decompression took "+(Date.now()-f));return x}var n=!e.shouldOutputArray,r=new XMLHttpRequest;r.open("GET",e.url,e.isAsync);var w=n&&r.overrideMimeType;r.responseType=w?"text":"arraybuffer";w&&r.overrideMimeType("text/plain; charset=x-user-defined");r.send();if(e.isAsync)var x=new Promise(function(n,w){r.onload=function(){200===this.status||0===this.status?n(f()):w("Download Failed "+
e.url)};r.onerror=function(){w("Network error occurred "+e.url)}});else{if(200===r.status||0===r.status)return f();throw Error("Failed to load "+e.url);}return x}function r(e,f){return f?e:Object(ma.a)(e)}function w(e){ra||(ja(la.wY+"pako_inflate.min.js"),ra=!0);var f=10;if("string"===typeof e){if(e.charCodeAt(3)&8){for(;0!==e.charCodeAt(f);++f);++f}}else if(e[3]&8){for(;0!==e[f];++f);++f}e=Object(ma.b)(e);e=e.subarray(f,e.length-8);return la.Rea.rk(e,{bc:-15})}function n(e,f){return Object(ia.b)(void 0,
void 0,Promise,function(){var n;return Object(ia.d)(this,function(r){switch(r.label){case 0:return ua?[3,2]:[4,Object(oa.b)(self.CoreControls.getWorkerPath()+"external/decode.min.js","Failed to download decode.min.js",window)];case 1:r.la(),ua=!0,r.label=2;case 2:return n=self.BrotliDecode(Object(ma.b)(e)),[2,f?n:Object(ma.a)(n)]}})})}function ea(e,f){ua||(ja(la.wY+"decode.min.js"),ua=!0);e=self.bca(Object(ma.b)(e));return f?e:Object(ma.a)(e)}h.d(ca,"a",function(){return e});h.d(ca,"b",function(){return ba});
h.d(ca,"c",function(){return aa});var ia=h(3),ka=h(1),oa=h(131),ma=h(54),la="undefined"===typeof window?self:window,ja=la.importScripts,ua=!1;(function(){function e(){this.X8=[]}e.prototype.FB=function(){if(this.X8.length){for(var e=this.gda,f=0,n=0;n<e.length;++n)f+=e[n].length;f=new Uint8Array(f);var r=0;for(n=0;n<e.length;++n){var w=e[n];f.set(w,r);r+=w.length}return ea(f,!0)}return null};return e})();var ra=!1},function(ha,ca,h){var ba=h(3);ha=h(27);var aa=h(2),fa=h(21);h=function(h){function z(y,
f,e,x,r){var w=h.call(this,y,f,e,x)||this;w.x=y;w.y=f;w.width=e;w.height=x;w.Jc=r;w.Jc=r;return w}Object(ba.c)(z,h);z.prototype.getDimensions=function(h,f,e){h=this.width/e;e=this.height/e;f=this.x-.5*h;var x=this.y-.5*e;return new aa.d(f,x,f+h,x+e)};z.prototype.move=function(h,f,e,x,r,w,n){x=h.Ji(this.Jc);x=n.shiftKey?fa.a.Math.Qt(h.Ji(0>this.Jc-1?1:this.Jc-1),r):{x:x.x+f,y:x.y+e};h.Yg(this.Jc,x.x,x.y);return!0};return z}(ha.a);ca.a=h},function(ha,ca,h){var ba=h(3);ha=h(33);var aa=h(2),fa=h(37),
da=h(130);h=function(h){function y(f,e,x,r,w,n){void 0===w&&(w=!0);void 0===n&&(n=!0);e=h.call(this,f,e,x,r)||this;e.Eaa=w;e.Caa=n;e.Ug=f.Qe();if(!e.Ug)return e;e.Vh();return e}Object(ba.c)(y,h);y.prototype.Vh=function(){this.dc=[];this.Pc()&&!this.xa.NoResize&&this.Ug[0]&&(this.Eaa&&this.dc.push(da.a.FO(this.Ug[0])),this.Caa&&this.dc.push(da.a.HN(this.Ug[this.Ug.length-1])))};y.prototype.testSelection=function(f,e,x){return fa.a.nI(f,e,x)};y.prototype.getDimensions=function(f){var e=f.X-2,x=f.Y-
2;return new aa.d(e,x,e+(f.Width+4),x+(f.Height+4))};return y}(ha.a);ca.a=h},function(ha,ca,h){function ba(){return Object(da.isUndefined)(z)?Math.min(window.devicePixelRatio,2)||1:z}function aa(f){z=f}function fa(){z=void 0}h.d(ca,"b",function(){return ba});h.d(ca,"c",function(){return aa});h.d(ca,"d",function(){return fa});h.d(ca,"a",function(){return y});var da=h(0);h.n(da);var z,y=function(){try{var f=document.createElement("canvas").getContext("2d");f.font="20px f0";return parseFloat(f.font)/
20}catch(e){return 1}}();(function(){function f(){var e=document.createElement("canvas");e.style.width="5px";e.style.height="5px";e=e.getContext("2d");e.rect(0,0,4.5,4.5);e.clip();e.fillStyle="#FFFFFF";e.fillRect(0,0,5,5);e.clearRect(0,0,5,5);return 0!==e.getImageData(1,1,1,1).data[3]}return function(){var e=document.createElement("canvas");e.style.width="1px";e.style.height="1px";e=e.getContext("2d");e.fillStyle="#FFFFFF";e.fillRect(0,0,1,1);e.beginPath();e.rect(0,0,1,1);e.clip();e.fillStyle="#000000";
e.fillRect(0,0,1,1);return 255===e.getImageData(0,0,1,1).data[0]}()||f()})()},function(ha,ca,h){var ba=h(3),aa=h(27),fa=h(2),da=h(21);ha=function(h){function y(f,e,x,r,w){var n=h.call(this,void 0,void 0,f,e)||this;n.width=f;n.height=e;n.offset=x;n.xa=r;n.N=w;n.xa.fp||(n.xa.kv(),n.xa.jv());n.jj=n.xa.fp;return n}Object(ba.c)(y,h);y.prototype.Qy=function(){return"grab"};y.prototype.getDimensions=function(f,e,x){e=this.width/x;var r=this.height/x,w=new fa.b(this.jj.x+(this.xa.xJ+this.offset/x),this.jj.y);
f=da.a.Math.HA(w,-f.ep,this.jj);this.j5(f,x)||this.xa.WA(this.xa.ep-Math.PI/2);x=new fa.b(f.x-e/2,f.y-r/2);return new fa.d(x.x,x.y,x.x+e,x.y+r)};y.prototype.j5=function(f,e){var x=this.xa.Ba(),r=this.width/e;e=this.height/e;f=new fa.b(f.x-r/2,f.y-e/2);r=0<f.x&&f.x<this.N.Ad(x)-r;x=0<f.y&&f.y<this.N.zd(x)-e;return r&&x};y.prototype.move=function(f,e,x,r,w){e=new fa.b(w.x-e,w.y-x);e=(e.y-this.jj.y)/(e.x-this.jj.x);w=(w.y-this.jj.y)/(w.x-this.jj.x);f.rotate(Math.atan((w-e)/(1+w*e)),this.jj);return!0};
y.prototype.draw=function(f,e,x,r){void 0===r&&(r=1);this.jj||(this.jj=this.xa.fp);this.Kc(f,r);x=this.getDimensions(this.xa,x,r);e=x.Fa();x=new fa.b(x.x1+e/2,x.y1+x.Ca()/2);y.i0(f,x,e);y.ry(f,x,r)};y.i0=function(f,e,x){x/=2;f.fillStyle="rgb(255, 255, 252)";f.strokeStyle=aa.a.outlineColor;f.shadowColor=aa.a.shadowColor;f.shadowBlur=aa.a.shadowBlur;f.shadowOffsetY=aa.a.shadowOffsetY;f.save();f.beginPath();f.arc(e.x,e.y,x,0,2*Math.PI);f.stroke();f.fill();f.restore()};y.ry=function(f,e,x){var r=5/x,
w=6/x,n=2/x;f.save();f.lineWidth=2/x;f.beginPath();f.arc(e.x,e.y,w,0,.5*Math.PI);f.stroke();f.beginPath();f.arc(e.x,e.y,w,14/24*Math.PI,.75*Math.PI);f.stroke();f.beginPath();f.arc(e.x,e.y,w,.875*Math.PI,25/24*Math.PI);f.stroke();f.beginPath();f.arc(e.x,e.y,w,28/24*Math.PI,32/24*Math.PI);f.stroke();f.beginPath();f.arc(e.x,e.y,w,1.5*Math.PI,2*Math.PI);f.stroke();f.beginPath();f.moveTo(e.x,e.y-w);f.lineTo(e.x+r,e.y-w-n);f.stroke();f.beginPath();f.moveTo(e.x,e.y-w-1/x);f.lineTo(e.x+n,e.y-w+r);f.stroke();
f.restore()};return y}(aa.a);ca.a=ha},function(ha,ca,h){function ba(e,f,w,n){e=Object(z.a)(e);aa(e,f,w,n)}function aa(x,r,w,n){for(var h=r.password||r.p,z=r.type.toUpperCase(),aa=y.length,da,ma=0;ma<aa;ma++)y[ma].done&&(da=y[ma]);!da&&4>aa&&(da={done:!1,worker:new Worker(e.kb.Ef()+"DecryptWorker.js"),Ke:n},y[aa]=da,da.worker.addEventListener("message",function(e){if(e.data.error)throw r.error&&r.error(e.data.error),Error(e.data.error);da.Ke(e.data);0<f.length?(e=f[0],f.shift(),da.done=!1,da.Ke=e.Ke,
da.worker.postMessage({data:e.data,password:e.password,partName:e.Do,type:z})):(da.Ke=null,da.done=!0)}));da?(da.done=!1,da.Ke=n,da.worker.postMessage({data:x,password:h,partName:w,type:z})):f.push({data:x,password:h,Do:w,type:z,Ke:n})}function fa(e,f,w){e=Object(z.a)(e);var n=f.password||f.p;switch(f.type.toUpperCase()){case "AES":e=Object(da.a)(e,n,w);break;default:e=Object(da.a)(e,n,w)}if(e.error)throw f.error&&f.error(e.error),Error(e.error);return e}h.d(ca,"b",function(){return fa});h.d(ca,"a",
function(){return ba});var da=h(194),z=h(54),y=[],f=[],e=window},function(ha,ca,h){function ba(){return fa}function aa(h){return fa=h}h.d(ca,"a",function(){return da});h.d(ca,"c",function(){return aa});h.d(ca,"b",function(){return ba});var fa,da="rtl"},function(ha,ca,h){(function(h){function aa(e){"function"!==typeof e&&(e=new Function(""+e));for(var f=Array(arguments.length-1),r=0;r<f.length;r++)f[r]=arguments[r+1];n[w]={Ke:e,args:f};ka(w);return w++}function ba(e){delete n[e]}function da(e){if(ea)setTimeout(da,
0,e);else{var f=n[e];if(f){ea=!0;try{var r=f.Ke,w=f.args;switch(w.length){case 0:r();break;case 1:r(w[0]);break;case 2:r(w[0],w[1]);break;case 3:r(w[0],w[1],w[2]);break;default:r.apply(void 0,w)}}finally{ba(e),ea=!1}}}}function z(){ka=function(e){h.nQ(function(){da(e)})}}function y(){if(r.postMessage&&!r.importScripts){var e=!0,f=r.onmessage;r.onmessage=function(){e=!1};r.postMessage("","*");r.onmessage=f;return e}}function f(){function e(e){e.source!==r&&e.source!==r.parent||"string"!==typeof e.data||
0!==e.data.indexOf(f)||da(+e.data.slice(f.length))}var f="setImmediate$"+Math.random()+"$";r.addEventListener?r.addEventListener("message",e,!1):r.attachEvent("onmessage",e);ka=function(e){r.postMessage(f+e,"*")}}function e(){var e=ia.documentElement;ka=function(f){var n=ia.createElement("script");n.onreadystatechange=function(){da(f);n.onreadystatechange=null;e.removeChild(n);n=null};e.appendChild(n)}}function x(){ka=function(e){setTimeout(da,0,e)}}var r="undefined"===typeof window?self:window,w=
1,n={},ea=!1,ia=r.document,ka,oa=Object.getPrototypeOf&&Object.getPrototypeOf(r);oa=oa&&oa.setTimeout?oa:r;"[object process]"==={}.toString.call(r.process)?z():y()?f():ia&&"onreadystatechange"in ia.createElement("script")?e():x();oa.setImmediate=aa;oa.clearImmediate=ba;ca.a={setImmediate:aa,clearImmediate:ba}}).call(this,h(215))},function(ha,ca,h){var ba=h(52);ha=function(){function h(){this.fa=this.ia=this.ea=this.ha=0}h.prototype.cb=function(h,aa,z,y){this.ha=h;this.ea=aa;this.ia=z;this.fa=y};h.prototype.sk=
function(h){this.ha=h.ha;this.ea=h.ea;this.ia=h.ia;this.fa=h.fa};h.prototype.normalize=function(){if(this.ha>this.ia){var h=this.ha;this.ha=this.ia;this.ia=h}this.ea>this.fa&&(h=this.ea,this.ea=this.fa,this.fa=h)};h.prototype.set=function(h,aa,z,y){this.ha=h;this.ea=aa;this.ia=z;this.fa=y};h.prototype.Gu=function(h){return this.ia<h.ha||this.ha>h.ia||this.fa<h.ea||this.ea>h.fa};h.prototype.width=function(){var h=this.ia-this.ha;return 0>h?-h:h};h.prototype.height=function(){var h=this.fa-this.ea;
return 0>h?-h:h};h.prototype.Ro=function(h){for(var aa=1.79769E308,z=ba.a.MIN,y=1.79769E308,f=ba.a.MIN,e=0;4>e;++e){var x=h[2*e],r=h[2*e+1];aa=Math.min(aa,x);z=Math.max(z,x);y=Math.min(y,r);f=Math.max(f,r)}this.ha=aa;this.ea=y;this.ia=z;this.fa=f};h.prototype.xz=function(h,aa){if(h.ha<h.ia){var z=h.ha;var y=h.ia}else z=h.ia,y=h.ha;if(h.ea<h.fa){var f=h.ea;h=h.fa}else f=h.fa,h=h.ea;if(aa.ha<aa.ia){var e=aa.ha;var x=aa.ia}else e=aa.ia,x=aa.ha;if(aa.ea<aa.fa){var r=aa.ea;aa=aa.fa}else r=aa.fa,aa=aa.ea;
if(y<e||x<z||h<r||aa<f)return this.ha=this.ia=this.ea=this.fa=0,!1;this.ha=z<e?e:z;this.ia=y<x?y:x;this.ea=f<r?r:f;this.fa=h<aa?h:aa;return this.ha===this.ia||this.ea===this.fa?(this.ha=this.ia=this.ea=this.fa=0,!1):!0};h.prototype.q4=function(){this.XW()};h.prototype.XW=function(){this.normalize();this.ha-=.1;this.ia+=.1;this.ea-=.1;this.fa+=.1};h.prototype.union=function(h){h.ha<this.ha&&(this.ha=h.ha);h.ea<this.ea&&(this.ea=h.ea);h.ia>this.ia&&(this.ia=h.ia);h.fa>this.fa&&(this.fa=h.fa)};h.prototype.contains=
function(h,aa){if(this.ha<this.ia){if(h<this.ha||h>this.ia)return!1}else if(h<this.ia||h>this.ha)return!1;if(this.ea<this.fa){if(aa<this.ea||aa>this.fa)return!1}else if(aa<this.fa||aa>this.ea)return!1;return!0};return h}();ca.a=ha},function(ha,ca,h){function ba(h,f){fa.a.call(this,h,z.Annotations.Uf);this.annotation=null;this.Hk=!1;this.name=f||da.g.POLYGON}var aa=h(70),fa=h(19),da=h(4),z=window;ba.SNAP_DROP_AREA_SIZE=20;ba.prototype=Object.assign(new aa.a,ba.prototype,{mouseLeftDown:function(h){aa.a.prototype.mouseLeftDown.call(this,
h);this.annotation&&(this.annotation.RA(ba.SNAP_DROP_AREA_SIZE),this.annotation.zP()&&(this.annotation.SR(),this.annotation.finish(),this.finish()))},finish:function(){this.annotation&&this.N.na.sb(this.annotation);fa.a.prototype.finish.call(this)},Yl:function(){return!0}});ca.a=ba},function(ha,ca,h){var ba=h(3);ha=h(27);var aa=h(2),fa=h(21);h=function(h){function z(y,f,e,x,r){var w=h.call(this,y,f,e,x)||this;w.x=y;w.y=f;w.width=e;w.height=x;w.Si=r;w.Si=r;return w}Object(ba.c)(z,h);z.prototype.getDimensions=
function(h,f,e){h=this.width/e;e=this.height/e;f=this.x-.5*h;var x=this.y-.5*e;return new aa.d(f,x,f+h,x+e)};z.prototype.move=function(h,f,e,x,r,w,n){x=this.Si?h.pq():h.Sn();w=this.Si?h.Sn():h.pq();n.shiftKey?(f=fa.a.Math.Qt(w,r),x.x=f.x,x.y=f.y):(x.x+=f,x.y+=e);h.adjustRect();return!0};return z}(ha.a);ca.a=h},function(ha,ca){ca.a=function(){return function(h,ba,aa,fa,da,z){this.rC=h;this.Pw=ba;this.Ow=aa;this.bC=fa;this.px=da;this.ox=z;this.rC=h;this.Pw=ba||0;this.Ow=aa||0;this.bC=fa;this.px=da||
0;this.ox=z||0}}()},function(ha,ca,h){h.d(ca,"a",function(){return ba});var ba=/[-[\]{}()*+?.,\\^$|#\s]/g;ca.b=function(){return function(h,fa){this.FP=fa&&("r"===fa||"w"===fa);this.text=(fa&&"w"===fa?h.replace(/(\*+|.|\n)/g,function(h){if("*"===h.charAt(0)){if(1==h.length)return".*?";var z=h.length/2|0;return(h.length|0)&1?"*".repeat(z).replace(ba,"\\$&")+".*?":"*".repeat(z).replace(ba,"\\$&")}return h.replace(ba,"\\$&")}):h).gv("\n"," ")}}()},function(ha,ca,h){(function(ba){var aa=h(3),fa=h(68),
da=h(0);h.n(da);var z=h(1),y=h(176),f=h(91),e=h(7),x=h(69),r=h(64),w=h(25),n=h(110),ea=h(26),ia=h(55),ka=h(41),oa=h(74),ma=h(29),la=h(53),ja=h(30),ua=h(4),ra=h(23),na=h(6),Ba=h(75),za=window,sa={},va=new RegExp(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-/]))?/);f=function(f){function h(e){e=f.call(this,e)||this;e.yg=[];e.Hc={};e.aa=[];e.er={};e.Dq=!1;e.Iu=0;e.Pi={};e.qf=[];e.ya=null;e.Po=!1;e.lf=[];e.Ha=null;e.jn=new y.a(10,400);e.uA={pageTransparent:!1,overprintMode:2};
return e}Object(aa.c)(h,f);h.prototype.mv=function(e,f){var n=new ra.a;n.cb.apply(n,e);e=this.Kp(n,f);n.cb(1,0,0,-1,-e.x1,e.y2);return n};h.prototype.Ey=function(f,n){var r=this;r.zG||r.ZC({pageDimensions:f});r.Yc=new Promise(function(f){r.Ng(e.a.Events.DOCUMENT_COMPLETE,function(){f()})});r.maxViewportZoom=r.Lp();r.Yn||r.trigger(e.a.Events.DOCUMENT_COMPLETE);this.uY();n()};h.prototype.uY=function(){var e=this;e.Wa.addEventListener(e.ya,function(f){e.Zu(f)})};h.prototype.hO=function(e,f){if(this.uF)return this.uF.promise;
var n=this.uF=window.createPromiseCapability(),r=new XMLHttpRequest;r.open("GET",e.url);r.withCredentials=f;var w=e.customHeaders;w&&Object.keys(w).forEach(function(e){r.setRequestHeader(e,w[e])});var x=this;r.setRequestHeader("Range","bytes=1-200");r.responseType="arraybuffer";r.onreadystatechange=function(){if(this.readyState===this.DONE)if(r.response){var e=r.response.byteLength;206!==r.status&&200!==r.status?n.reject({message:"Received http error code "+r.status}):200!==e&&n.reject({message:"Byte ranges are not supported by the server.",
data:new Uint8Array(r.response)});e=new Uint8Array(r.response);var f=[76,105,110,101,97,114,105,122,101,100],w=r.getResponseHeader("Content-Range")||r.getResponseHeader("content-range");if(w){w=w.split("/")[1];var h=0;do{a:{for(var y=e.length;h<y;++h)if(e[h]===f[0])break a;h=-1}h+=1;if(!h)break;y=1;for(y;10>y;++y)if(e[h]===f[y])++h;else break;if(10===y){w=parseInt(w,10);f={size:w};x.fileSize=w;h=String.fromCharCode.apply(null,e);e=h.match(/__trnPrStart (\d+)/);w=h.match(/__trnPrSize (\d+)/);h=h.match(/__trnPrTotalBytes (\d+)/);
e&&w&&h&&(f.Yu=parseInt(e[1],10),f.OG=parseInt(w[1],10),f.A7=parseInt(h[1],10));n.resolve(f);return}}while(0!==h);n.reject({message:"The file is not linearized."})}else n.reject({message:"Could not retrieve Content-Range header."})}else n.reject({message:"No response data"})};r.onerror=function(){n.reject({message:"Network or Cross Domain Access Error."})};r.send();return n.promise};h.prototype.loadAsync=function(f,n,r){return Object(aa.b)(this,void 0,void 0,function(){function w(e,f){Object(z.h)("Could not use incremental download for url "+
e+". Reason: "+f)}function x(e){ma.Yn?ma.Wa.S4(ma.ya).then(function(r){r?(ma.Ey(e,n),f.trigger(Ba.a.Events.DOCUMENT_LOADING_PROGRESS,[1,1])):(w(ba.url,"Linearization data is invalid."),ma.unloadResources(),f.getFileData(fa))}):ma.Ey(e,n)}function h(e){na=e;ma.Wa.Bba(ma.ya,e).then(function(e){e.success?x(e.pageDimensions):ia(h)})}function y(e){ma.Wa.d1(e).then(function(e){ma.ya=e.docId;x(e.pageDimensions)},function(e){"NeedsPassword"===e.type&&ia?(ma.ya=e.docId,na?h(na):ia(h)):(ma.Yc=Promise.reject(e),
n(e))})}var ia,ja,ka,da,oa,ma,ba,na,ua,ra,fa,pa,ta;return Object(aa.d)(this,function(x){switch(x.label){case 0:return this.Fb=f,ia=r.getPassword,ja=r.extension,ka=r.defaultPageSize,da=r.pageSizes,oa=r.workerTransportPromise,ma=this,[4,f.getFile()];case 1:return ba=x.la(),na=null,ua=function(e){return-1===e.indexOf(window.location.hostname)},ra=function(e){return"asm"===e||"ems"===e||"wasm-threads"===e},fa=function(f){ma.yg=[];ma.Hc={};ma.Dq=!1;ma.Iu=0;ma.Yn=!1;ma.on(e.a.Events.DOCUMENT_READY,n);var r,
w;oa.then(function(e){ma.Wa=e;e="object"===typeof f&&"url"in f;ba&&Object(ea.g)(ba)&&ma.Wa&&ra(ma.Wa.getWorkerType())?(r="file",w=ba):e?(r="url",w=f,ma.Yn=!0):"string"===typeof f?(r="filepath",w=f):"object"===typeof f&&null!==f&&void 0!==f.byteLength?(r="array",w=f.buffer):"object"===typeof f&&"type"in f&&"id"===f.type?(r="id",w=f.id):Object(z.h)("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");y({type:r,value:w,extension:ja,defaultPageSize:ka,pageSizes:da})})},
za.utils.isJSWorker&&za.jsworker?"string"===typeof ba&&va.test(ba)?f.getFileData(fa):(ba=za.jsworker.worker.getPlatformFormatFilePath(ba),fa(ba)):ba&&ba.url?this.hO(ba,f.withCredentials).then(function(e){ba.size=e.size;ba.withCredentials=ua(ba.url)?f.withCredentials:!0;fa(ba)},function(e){w(ba.url,e.message);try{var n=window.parent.cordova}catch(Db){n=!1}e.data&&!n?fa(e.data):f.getFileData(fa)}):ba?(pa=oa.then(function(e){return e.Gx}),ta=Object(la.e)(),Promise.race([pa,ta]).then(function(e){ra(e)?
fa(ba):f.getFileData(fa)})):f.getFileData(fa),[2]}})})};h.prototype.ZC=function(e){var f=this;f.zG=!0;var n=e.pageDimensions;e=Object.keys(n);for(var r=this.aa,w={},h=0;h<r.length;++h){var y=r[h];y.text&&(w[y.id]=y.text)}this.aa.length=0;var ea=this.er,z=[],ia={};e.forEach(function(e){var h=n[e],y=!!h.contentChanged,aa=h.annotationsUnchanged;h={width:Math.round(h.width),height:Math.round(h.height),matrix:f.mv(h.matrix,{w:h.width,h:h.height}),rotation:90*h.rotation,id:h.id,pageNum:Number(e),contentChanged:y};
aa&&(h.annotationsUnchanged=!0);ea[h.id]&&z.push({before:ea[h.id],after:h});ea[h.id]=new x.a(h.width,h.height);aa=ea[h.id];aa.ES(h);!y&&(y=w[aa.id])&&(aa.text=y);r[Number(e)-1]=aa;ia[h.id]=!0});this.maxViewportZoom=this.Lp();Object.keys(ea).forEach(function(e){e in ia||delete ea[e]});return z};h.prototype.Zu=function(f){switch(f.type){case "pagesUpdated":Object(z.b)("downloader","Pages Updated");(f=this.ZC(f.data))&&0<f.length&&(this.vh({type:e.a.Events.PAGES_DIFF,data:f}),this.vh({type:e.a.Events.PAGES_UPDATED,
data:f.map(function(e){return e.after})}));break;case "bookmarksUpdated":this.vh({type:e.a.Events.BOOKMARKS_UPDATED,data:f.data});break;case "documentComplete":Object(z.b)("downloader","Document Download Complete");this.trigger(e.a.Events.DOCUMENT_COMPLETE);this.vh({type:e.a.Events.DOCUMENT_COMPLETE,data:f.data});break;default:Object(z.h)("Unknown event type: ",f.type)}};h.prototype.getBookmarks=function(){function e(f,n,w){var x=new r.a([],f.name,f.pageNumber,n,f.verticalOffset,f.horizontalOffset,
f.url,w);f.children.forEach(function(f,n){x.children.push(e(f,x,n))});return x}return this.Wa.w5(this.ya).then(function(f){var n=[];f.bookmarks.forEach(function(f,r){n.push(e(f,null,r))});return n})};h.prototype.loadTextData=function(e,f){var n=this,r=e-1;null!==n.aa[r].text?f(n.aa[r].text):r in n.qf?n.qf[r].push(f):(this.Nk(e).then(function(){Object(z.b)("text","Load text "+e);n.Wa.Jh(n.ya,r).then(function(e){Object(z.b)("text","Text Received "+r);var f=new na.d;f.Tu({m_Struct:e.struct,m_Str:e.str,
m_Offsets:e.offsets,m_Quads:e.quads,m_Ready:!0});n.correctQuadsForPageRotation(r,f);n.aa[r].text=f;n.qf[r].forEach(function(e){Object(z.b)("text","Callback "+r);e(f)});delete n.qf[r]},function(e){Object(z.h)("Text generation failed: "+(e&&e.message?e.message:e))})}),n.qf[r]=[f])};h.prototype.extractXFDF=function(e){return this.Wa.u5(this.ya,e).then(function(f){f.pages=e;return f})};h.prototype.BI=function(e){var f=this;return new Promise(function(n){var r=f.JO(e),w=new FileReader;w.onload=function(e){n(e.target.result)};
r.toBlob(function(e){w.readAsArrayBuffer(e)})})};h.prototype.R0=function(e,f){if(e.byteLength!==f.byteLength)return!1;var n=new Int8Array(e);f=new Int8Array(f);for(var r=0;r!==e.byteLength;r++)if(n[r]!==f[r])return!1;return!0};h.prototype.KO=function(e){var f=this;return new Promise(function(n){if(f.Ha){var r=e.length,w=[],x;if(f.Ha.hasOwnProperty("custom")){for(x=0;x<r;x++)w.push(f.BI(e[x]));Promise.all(w).then(function(e){var w={},x=e[0];w["default"]=x;for(var h=1;h<r;h++){var y=e[h];f.R0(y,x)||
(w[h.toString()]=y)}n(w)})}else{var h=e[0];x=f.Gb(h);var y=x.width,ea=x.height;w.push(f.BI(h));var z=["default"];for(x=1;x<r;x++){h=e[x];var ia=f.Gb(h);if(y!==ia.width||ea!==ia.height)z.push(x.toString()),w.push(f.BI(h))}Promise.all(w).then(function(e){for(var f={},r=0;r<z.length;r++)f[z[r]]=e[r];n(f)})}}else n()})};h.prototype.getFileData=function(e,f){var n=this;"finishedWithDocument"in e||(e.finishedWithDocument=!1);"printDocument"in e||(e.printDocument=!1);"flatten"in e||(e.flatten=!1);"apdocs"in
e||(e.apdocs={});var r=e.apdocs;Object.keys(r).forEach(function(e){r[e]=r[e].O.ya});e.docId=this.ya;if("filePath"in e)return this.Yc.then(function(){return n.Wa.z9(e)});var w=Object(da.range)(1,this.getPageCount()+1),x=this.KO(w);return this.Yc.then(function(){return x}).then(function(r){return Object(aa.b)(n,void 0,void 0,function(){return Object(aa.d)(this,function(n){switch(n.label){case 0:return r&&(e.watermarks=r),e.xfdfString&&f?[4,this.wL(e,f)]:[3,2];case 1:n.la(),n.label=2;case 2:return[2,
this.Wa.iS(e)]}})})},function(){return Object(aa.b)(n,void 0,void 0,function(){return Object(aa.d)(this,function(n){switch(n.label){case 0:return e.xfdfString&&f?[4,this.wL(e,f)]:[3,2];case 1:n.la(),n.label=2;case 2:return[2,this.Wa.iS(e)]}})})}).then(function(f){return e.flatten?n.aO(f.fileData):f.fileData})};h.prototype.wL=function(e,f){var n;void 0===e&&(e={});return Object(aa.b)(this,void 0,void 0,function(){var r,w,x,h,y,ea,z,ia,ja,ka,da,oa,ma=this;return Object(aa.d)(this,function(ba){switch(ba.label){case 0:r=
f.ta();w=r.Yb();x=new DOMParser;h=new XMLSerializer;y=x.parseFromString(e.xfdfString,"text/xml");ea=null===(n=y.querySelector("annots"))||void 0===n?void 0:n.children;if(!ea)return[2];z=[];ia=0;for(ja=w.length;ia<ja;ia++)ka=w[ia],da=f.wc(ka.PageNumber),(oa=ka.Nn(da))&&z.push(oa);return[4,Promise.all(z).then(function(f){function n(n){var r=n.getAttribute("name");if(f[r]){var x=f[r],h=x.RL;x=x.filename;var y=w.find(function(e){return e.Id===r}),ea=ma.Ul(y.PageNumber,y.X,y.Y);if(ea=(y.IsModified||!y.Mb)&&
y.AM(ea)){if(y instanceof Annotations.Ja&&!Object.keys(y.getRichTextStyle()||{}).some(function(e){return Object.keys(e).some(function(e){return"color"!==e})}))return"continue";var z=n.getElementsByTagName("apref");for(y=0;y<z.length;++y){var ia=z[y];n.removeChild(ia)}z=n.getElementsByTagName("apref-replace");for(y=0;y<z.length;++y)ia=z[y],n.removeChild(ia);n.appendChild(ea)}e.apdocs[x]=h.O.ya}}f=f.reduce(function(e,f){var n;return f?Object(aa.a)(Object(aa.a)({},e),(n={},n[f.id]=f,n)):e},{});for(var r=
0,x=ea;r<x.length;r++)n(x[r])})];case 1:return ba.la(),e.xfdfString=h.serializeToString(y),[2]}})})};h.prototype.getPageCount=function(){return this.aa.length};h.prototype.fP=function(e,f,n,r,x,h,y){var ea=Object(w.a)().setUpCanvas(f.page,f.hA,f.dr,x,r,f.ac,h,y).canvas,ia=x?Math.round(x.x):0,aa=x?Math.round(x.y):0;Object(z.f)("Drawing: "+e);var ja=new Image;ja.style.width=f.FQ+"px";ja.style.height=f.DQ+"px";var ka=e;0!==ka.indexOf("file://")&&(ka="file://"+ka);ja.onload=function(){var e=ea.getContext("2d");
e.setTransform(1,0,0,1,0,0);e.drawImage(ja,ia,aa);n||ea.classList.add("progressive");f.ty(ea);n&&f.sy(ea);ja=null;za.utils.isJSWorker&&(Object(z.f)("[WebViewer|JSWorker]: Deleting file: "+ka),za.jsworker.worker.deleteGeneratedImageRenderFile(ka))};ja.src=ka};h.prototype.d5=function(e){if("Alpha"===e.name)return!0;for(var f=0;f<this.lf.length;++f)if(this.lf[f].name===e.name)return this.lf[f].enabled;f=Array(3);this.HT(e.color,f);e={color:e.color,name:e.name,rgb:f,enabled:!0};this.lf.push(e);this.vh({type:"colorSeparationAdded",
data:e});return!0};h.prototype.Ra=function(e,f){e=e*f+128;return(e>>8)+e>>8};h.prototype.$b=function(e,f,n){e=e*f+128;e=((e>>8)+e>>8)+n;return 255>e?e:255};h.prototype.JT=function(e,f,n){var r=f[0],w=f[1],x=f[2];f=f[3];var h=255-r,y=255-w,ea=255-x,z=255-f,ia=this.Ra(this.Ra(this.Ra(h,y),ea),z),aa=ia,ja=ia,ka=ia;ia=this.Ra(this.Ra(this.Ra(h,y),ea),f);aa=this.$b(e[0],ia,aa);ja=this.$b(e[1],ia,ja);ka=this.$b(e[2],ia,ka);ia=this.Ra(this.Ra(this.Ra(h,y),x),z);aa=this.$b(e[3],ia,aa);ja=this.$b(e[4],ia,
ja);ia=this.Ra(this.Ra(this.Ra(h,y),x),f);aa=this.$b(e[5],ia,aa);ja=this.$b(e[6],ia,ja);ia=this.Ra(this.Ra(this.Ra(h,w),ea),z);aa=this.$b(e[7],ia,aa);ka=this.$b(e[8],ia,ka);ia=this.Ra(this.Ra(this.Ra(h,w),ea),f);aa=this.$b(e[9],ia,aa);ia=this.Ra(this.Ra(this.Ra(h,w),x),z);aa=this.$b(e[10],ia,aa);ja=this.$b(e[11],ia,ja);ka=this.$b(e[12],ia,ka);ia=this.Ra(this.Ra(this.Ra(h,w),x),f);aa=this.$b(e[13],ia,aa);ia=this.Ra(this.Ra(this.Ra(r,y),ea),z);ja=this.$b(e[14],ia,ja);ka=this.$b(e[15],ia,ka);ia=this.Ra(this.Ra(this.Ra(r,
y),ea),f);ja=this.$b(e[16],ia,ja);ka=this.$b(e[17],ia,ka);ia=this.Ra(this.Ra(this.Ra(r,y),x),z);ja=this.$b(e[18],ia,ja);ka=this.$b(e[19],ia,ka);ia=this.Ra(this.Ra(this.Ra(r,y),x),f);ja=this.$b(e[20],ia,ja);ia=this.Ra(this.Ra(this.Ra(r,w),ea),z);aa=this.$b(e[21],ia,aa);ja=this.$b(e[22],ia,ja);ka=this.$b(e[23],ia,ka);ia=this.Ra(this.Ra(this.Ra(r,w),ea),f);ka=this.$b(e[24],ia,ka);ia=this.Ra(this.Ra(this.Ra(r,w),x),z);n[0]=this.$b(e[25],ia,aa);n[1]=this.$b(e[26],ia,ja);n[2]=this.$b(e[27],ia,ka)};h.prototype.aba=
function(e,f,n,r,w){this.JT(e,f,n);3*f[0]>r&&(n[0]=Math.min(255,Math.max(0,n[0]-e[28]+parseInt(w*r))))};h.prototype.HT=function(e,f){var n=e[0],r=e[1],w=e[2],x=e[3],y=n<<24|r<<16|w<<8|x,ea=sa[y];ea?(f[0]=ea[0],f[1]=ea[1],f[2]=ea[2]):(160<=n?(r=w+x+2*r,220<=n?(n=h.uZ,w=.07):200>=n&&170<=n?n>2*r?(n=h.vZ,w=.1767):(n=h.wZ,w=.0767):(n=h.tZ,w=.0534),this.aba(n,e,f,r,w)):(n=h.sZ,this.JT(n,e,f)),sa[y]=[f[0],f[1],f[2]])};h.prototype.LV=function(e,f,n){e[0]=Math.min(this.Ra(f[0],n)+e[0],255);e[1]=Math.min(this.Ra(f[1],
n)+e[1],255);e[2]=Math.min(this.Ra(f[2],n)+e[2],255);e[3]=Math.min(this.Ra(f[3],n)+e[3],255)};h.prototype.gJ=function(e,f,n,r){var w=this;return new Promise(function(x){for(var h,y=[],ea=[],z=new Uint8ClampedArray(f*n*4),ia=0,aa=0;aa<e.length;++aa)"Alpha"!==e[aa].name?(ea.push(e[aa].color),y.push(new Uint8Array(e[aa].data)),++ia):h=new Uint8Array(e[aa].data);w.Vz(0,f,n,Math.ceil(1E5/f),[0,0,0,0],ia,Array(3),ea,y,z,h,r,x)})};h.prototype.Vz=function(e,f,n,r,w,x,h,y,ea,z,ia,aa,ja){for(var ka=Math.min(e+
r,n);e<ka;++e)for(var da=e*f,oa=4*da,ma=0;ma<f;++ma){w[0]=0;w[1]=0;w[2]=0;for(var na=w[3]=0;na<x;++na)this.LV(w,y[na],ea[na][da+ma]);this.HT(w,h);na=oa+4*ma;z[na]=h[0];z[na+1]=h[1];z[na+2]=h[2];z[na+3]=ia[da+ma]}e<n?(e=ba(this.Vz.bind(this,e,f,n,r,w,x,h,y,ea,z,ia,aa,ja)),aa&&(this.Pi[aa.id]=e)):ja(z)};h.prototype.FY=function(e,f,n,r,w){function x(){if(aa.length){var f=[aa.pop(),ja];return z.gJ(f,n,r,w).then(function(e){return h(e)}).then(function(){return x()})}return e}function h(e){var f=document.createElement("canvas"),
w=f.getContext("2d");f.width=n;f.height=r;return Object(ia.a)(w,e,n,r,0,0).then(function(){Object(ea.n)()?(oa.globalCompositeOperation="multiply",oa.drawImage(f,0,0)):w.bO(oa,"multiply",{x:0,y:0})})}function y(e){e=e.name;return"Cyan"===e||"Magenta"===e||"Yellow"===e||"Black"===e}var z=this;f=f.slice();for(var aa=[],ja,ka=f.length-1;0<=ka;--ka){var da=f[ka];"Alpha"===da.name?ja=da:this.d5(da)?y(da)||(f.splice(ka,1),aa.push(da)):f.splice(ka,1)}e.width=n;e.height=r;var oa=e.getContext("2d");return z.gJ(f,
n,r,w).then(function(e){return Object(ia.a)(oa,e,n,r,0,0)}).then(function(){return x()})};h.prototype.Mx=function(e,f,n,r,x,h,y,ea,z){function aa(){x||ka.classList.add("progressive");r.page&&ja.drawWatermark(ka,r.page.Sa);r.ty(ka,r.page.id);x&&r.sy(ka,{data:e,width:f,height:n});x&&delete ja.Pi[r.id]}var ja=this,ka=r.XD?r.XD:Object(w.a)().setUpCanvas(r.page,r.hA,r.dr,y,h,r.ac,ea,z).canvas;h=y&&0<y.x?Math.round(y.x):0;y=y&&0<y.y?Math.round(y.y):0;ea=ka.getContext("2d");e.length?this.FY(ka,e,f,n,x?r:
null).then(aa):Object(ia.a)(ea,new Uint8ClampedArray(e),f,n,h,y,ja.Pi,r.id).then(aa)};h.prototype.updateRasterizerOptions=function(e){this.uA=Object(aa.a)(Object(aa.a)({},this.uA),e)};h.prototype.loadCanvasAsync=function(f){var r=this,w=f.pageNumber-1,x=f.getZoom(),h=f.getPageRotation(),y=f.renderRect,ea=f.canvasNum,ia=h===ua.c.E_90||h===ua.c.E_270,da=f.multiplier||Object(ja.e)(),oa=f.getPageTransform();if("undefined"===typeof y){var ma=(ia?r.aa[w].height:r.aa[w].width)*x;ia=(ia?r.aa[w].width:r.aa[w].height)*
x}else ma=(ia?y.y2-y.y1:y.x2-y.x1)*x,ia=(ia?y.x2-y.x1:y.y2-y.y1)*x;ma=Math.round(ma);ia=Math.round(ia);var ba=Math.floor(ma*da),na=Math.floor(ia*da);if(!ba||!na)return x=r.Wa.St(),this.Pi[x]=n.a.setImmediate(function(){var e=document.createElement("canvas");e.width=ba||1;e.height=na||1;f.drawComplete(e)}),x;da=Object(aa.a)({},this.uA);r.Po&&(da.overprintMode=ka.a.AV);if(za.utils.isJSWorker&&za.jsworker.worker.useFilePathForImageRenders()){var la=za.jsworker.worker.generateImageRenderFilePath(w);la=
za.jsworker.worker.getPlatformFormatFilePath(la);Object(z.f)("imageRenderFilePath for page "+w+' is: "'+la+'".');da=r.Wa.R1(r.ya,w,ba,na,h,r.vu,da,y,la)}else da=r.Wa.LN(r.ya,w,ba,na,h,r.vu,da,y);var ra=da.iM,fa={ty:f.drawProgressive,sy:function(e,n){f.drawComplete(e,w+1,n)},FQ:ma,DQ:ia,hA:x,dr:h,page:r.aa[w],ac:y,id:ra},va=1,ta;f.useProgress&&(ta=setInterval(function(){Object(z.b)("render","Progressive request for Page "+w);if(za.utils.isJSWorker&&za.jsworker.worker.useFilePathForImageRenders){var e=
za.jsworker.worker.generateNextImageRenderFilePath(la,va++);e=za.jsworker.worker.getPlatformFormatFilePath(e);e=r.Wa.MN(ra,e)}else e=r.Wa.MN(ra);e.then(function(e){Object(z.b)("render","Progressive response for Page "+w);fa.page=r.aa[w];"undefined"!==typeof e.filePath?r.fP(e.filePath,fa,!1,ea,oa,f.pageCanvas,f.multiplier):r.Mx(e.pageBuf,e.pageWidth,e.pageHeight,fa,!1,ea,oa,f.pageCanvas,f.multiplier)},function(e){"type"in e&&"Queued"===e.type||(Object(z.b)("render","Get canvas progressivegeneration failed: "+
e.message+" CID "+ra),clearInterval(ta))})},Object(e.b)()));da.promise.then(function(e){clearInterval(ta);fa.page=r.aa[w];"undefined"!==typeof e.filePath?r.fP(e.filePath,fa,!0,ea,oa,f.pageCanvas,f.multiplier):r.Mx(e.pageBuf,e.pageWidth,e.pageHeight,fa,!0,ea,oa,f.pageCanvas,f.multiplier)},function(e){"Cancelled"!==e.type&&Object(z.b)("render","Canvas generation failed: "+e.message);clearInterval(ta);f.onError(e)});return ra};h.prototype.Gl=function(){};h.prototype.unloadResources=function(){this.ya&&
(this.Wa.rM(this.ya),this.Wa.ey(this.ya),this.ya=null);var e=this.Fb;e&&e.abort&&e.abort()};h.prototype.Qi=function(e,f,n){var r=this;return this.Yc.then(function(){return r.Wa.Qi(r.ya,e,f||612,n||792)})};h.prototype.Jg=function(f,n,r){var w=this,x=f.gc();f instanceof e.a&&(f=f.O.ya);n||(n=Array.from(Array(x),function(e,f){return f+1}));r||(r=w.gc()+1);if(r)for(x=r;x<=this.aa.length;x++)this.jn.A4(x);return this.Yc.then(function(){return w.Wa.Jg(w.ya,f,n,r,!0)})};h.prototype.Zi=function(e,f){var n=
this;return this.Yc.then(function(){return n.Wa.Zi(n.ya,e,f)})};h.prototype.Qh=function(e){var f=this;e.sort(ia.d);return this.Yc.then(function(){return f.Wa.Qh(f.ya,e)})};h.prototype.Zj=function(){return this.Wa.Zj(this.ya,this.vu)};h.prototype.Sh=function(e,f){var n=this;e.sort(ia.d);return this.Yc.then(function(){return n.Wa.Sh(n.ya,e,f)})};h.prototype.Bi=function(e,f){var n=this,r=n.KO(e);return this.Yc.then(function(){return r}).then(function(r){return n.Wa.Bi(n.ya,e,f,r)},function(){return n.Wa.Bi(n.ya,
e,f)}).then(function(e){return e.fileData})};h.prototype.Tz=function(e,f){var n=this;return new Promise(function(r,w){return Object(aa.b)(n,void 0,void 0,function(){var n,x,h;return Object(aa.d)(this,function(y){switch(y.label){case 0:return y.Cm.push([0,2,,3]),[4,Object(fa.a)(e,{useDownloader:!1,loadAsPDF:!0})];case 1:n=y.la();x=Array.from({length:n.gc()},function(e,f){return f+1});if(null===f||void 0===f)f=this.getPageCount()+1;this.Jg(n,x,f).then(function(){n.Fd();r({filename:n.filename,pages:x})}).catch(function(e){n.Fd();
w(e)});return[3,3];case 2:return h=y.la(),w(h),[3,3];case 3:return[2]}})})})};h.prototype.Bg=function(e,f,n,r,w){var x=this;e.sort(ia.d);return this.Yc.then(function(){return x.Wa.Bg(x.ya,e,f,n,r,w)})};h.prototype.hk=function(e){return this.aa[e].id};h.prototype.wq=function(){var e=Object.keys(this.er);0===e.length&&e.length!==this.aa.length&&(e=this.aa.map(function(e,f){e.id||Object(z.h)("Page id at index "+f+" is undefined.");return e.id}));return e};h.prototype.dg=function(){var e=this;if(!Object(ma.j)())throw Error("getPDFDoc called without PDFNet being loaded. Are you running a lean version of PDFNetJS?");
return e.Wa.dg(e.ya).then(function(f){f=new za.PDFNet.PDFDoc(f);f.documentCompletePromise=e.Yc;return f})};h.prototype.getLayersArray=function(){if(this.vu)return Promise.resolve(this.vu);var e=this;return this.Yc.then(function(){return e.Wa.On(e.ya)})};h.prototype.qm=function(e){this.vu=e};h.prototype.TA=function(e){this.uA.overprintMode=e};h.prototype.Nk=function(e){if(0>=e)throw Error("1st input argument '"+e+"' in function 'requirePage' is invalid. Expected number between 1 and number of pages in the document.");
return this.Yn?this.Wa.Nk(this.ya,e):Promise.resolve()};h.prototype.loadThumbnailAsync=function(e,f,n){var r="page"===n;n=this.aa[e-1];var w=Object(ja.e)();r=r?2E3:150*w;var x=n.width>n.height?r/n.width:r/n.height;x/=w;e=Object(ia.b)({pageNumber:e,getZoom:function(){return x},getPageRotation:function(){return ua.c.E_0},drawComplete:function(e){f(e)},drawProgressive:function(){},useProgress:!1,pageCanvas:!0});var h=Object(ia.c)(this.Gb(e.pageNumber),e);e.getZoom=function(){return h};return this.loadCanvasAsync(e)};
h.prototype.zg=function(e){e in this.Pi?(n.a.clearImmediate(this.Pi[e]),delete this.Pi[e]):this.Wa.Ss(e)};h.prototype.Nj=function(e){this.zg(e)};h.prototype.qk=function(){return!1};h.prototype.Ok=function(e){this.Yn&&this.ya&&this.Wa.Ok(this.ya,e)};h.prototype.cq=function(e){this.Po=e};h.prototype.Py=function(){return this.lf};h.prototype.zy=function(e,f){for(var n=0;n<this.lf.length;++n)if(this.lf[n].name===e){this.lf[n].enabled=f;break}};h.prototype.um=function(){return!this.Yn};h.prototype.Ly=
function(e){return e};h.prototype.getMetadata=function(){return this.Wa.getMetadata(this.ya)};h.prototype.getNewAppearanceDocument=function(e,f){f=this.Ly(f);e=this.Wa.My(this.ya,e).then(function(e){return Object(oa.a)(e.data)});this.jn.eM(f,e);return e};h.prototype.lP=function(e){this.zG=!0;this.aa=e;return!0};h.uZ=new Uint8Array([30,33,39,238,233,24,29,231,141,33,233,33,41,31,198,246,20,45,181,81,22,35,46,140,15,46,51,56,48]);h.vZ=new Uint8Array([29,33,38,245,240,24,28,237,29,33,238,34,41,31,193,
244,0,0,0,89,26,47,0,149,13,62,59,62,67]);h.wZ=new Uint8Array([29,33,38,245,240,24,28,237,142,33,238,34,41,31,193,244,24,49,175,89,26,47,54,149,13,62,59,62,38]);h.tZ=new Uint8Array([31,34,39,249,242,25,29,237,142,34,238,34,41,32,189,243,26,51,172,89,28,46,56,150,13,59,60,63,31]);h.sZ=new Uint8Array([35,31,32,255,242,28,26,236,140,36,237,28,36,34,173,239,15,36,166,80,19,46,49,146,2,54,54,57]);return h}(f.a);ca.a=f}).call(this,h(185).setImmediate)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(278),
fa=h(123);ha=function(){function h(){this.wN=[];this.yN=[];this.Gk={};this.Tv=!1;Promise.resolve();Promise.resolve();this.Bn=!1;this.Cx=null}h.prototype.ce=function(){this.Tv=!1;window.cancelAnimationFrame(this.Cx);this.Cx=null;this.Bn=!0};h.prototype.PR=function(h,y,f,e){Object(ba.isUndefined)(e)&&(e=!0);if(this.Gk[h])throw Error("Tried to register pipeline "+h+" twice");this.Gk[h]=new aa.a(y,f);e&&this.kH()};h.prototype.W3=function(h){return!!this.Gk[h]};h.prototype.V2=function(h){if(!this.Gk[h])throw Error("Tried to get non-existent pipeline "+
h);return this.Gk[h]};h.prototype.kH=function(){var h=this;this.Tv||this.Bn||(this.Tv=!0,this.Cx=window.requestAnimationFrame(function(){try{h.Cx=null;var y=Object.keys(h.Gk).map(function(e){return h.Gk[e]});y.forEach(function(e){e.eT()&&e.read()});y.forEach(function(e){e.hT()&&e.write()});var f=y.some(function(e){return e.eT()||e.hT()});h.Tv=!1;f?h.kH():(h.yN.forEach(function(e){e()}),h.yN=[]);h.wN.forEach(function(e){e()});h.wN=[]}catch(x){if(x===fa.b){var e=Object.keys(h.Gk);0<e.length&&h.Gk[e[0]].handlers.clearCache()}throw x;
}finally{h.Tv=!1}}))};h.prototype.Jk=function(h,y){this.V2(h).Jk(y);this.kH()};return h}();ca.a=ha},function(ha,ca,h){function ba(e){e.prototype.Ou&&(e.prototype.draw=e.prototype.Ou,delete e.prototype.Ou);e.prototype.Pu&&(e.prototype.Nn=e.prototype.Pu,delete e.prototype.Pu);e.prototype.Mu&&(e.prototype.en=e.prototype.Mu,delete e.prototype.Mu)}function aa(n,h,y){n.prototype.Ou||(n.prototype.Ou=n.prototype.draw);var ea=n.prototype.Ou;n.prototype.draw=function(e,f,n){h?h.call(this,e,f,n,{annotation:this,
originalDraw:ea.bind(this)}):ea.apply(this,arguments)};y=y||{};y=Object(f.a)({generateAppearance:h?!0:!1,canvasMultiplier:Object(r.b)()},y);var z=w.utils.isPdfjs;!z&&y.generateAppearance&&(n.prototype.Mu||(n.prototype.Mu=n.prototype.en,n.prototype.en=function(){var e=n.prototype.Mu.apply(this,arguments);delete this.op;return e}),n.prototype.zQ||(n.prototype.zQ=n.prototype.hH,n.prototype.hH=function(){var e=n.prototype.zQ.apply(this,arguments);delete this.op;return e}),n.prototype.Pu||(n.prototype.Pu=
n.prototype.Nn),n.prototype.Nn=function(r){var w=this;if(this.ds&&!this.op)return n.prototype.Pu.apply(this,arguments);var ia=new x.e,aa=2>y.canvasMultiplier?2:y.canvasMultiplier,ka=this.X+this.Width/2,da=this.Y+this.Height/2,oa="cloudy"===this.Style?Math.max(this.StrokeThickness,12):0,ma=document.createElement("canvas");ma.width=(this.Width+oa)*aa;ma.height=(this.Height+oa)*aa;oa=ma.getContext("2d");oa.wF=!1;ia=ia.Mv(ka,da,0,0).scale(aa,aa).Mv(0,0,ma.width/2,ma.height/2).Uy().Rk();oa.setTransform(ia[0],
ia[1],ia[2],ia[3],ia[4],ia[5]);h.call(this,oa,r,0,{annotation:this,originalDraw:ea.bind(this)});return new Promise(function(n,r){ma.toBlob(function(x){return Object(f.b)(w,void 0,void 0,function(){var w,h,y;return Object(f.d)(this,function(f){switch(f.label){case 0:if(!x)return[2,n(void 0)];f.label=1;case 1:return f.Cm.push([1,3,,4]),[4,Object(e.a)(x,{useDownloader:!1,extension:"png"})];case 2:return w=f.la(),h=this.en(w,{pageNumber:this.PageNumber}),this.op=!0,[2,n(h)];case 3:return y=f.la(),z&&
(this.op=!0),[2,r(y)];case 4:return[2]}})})})})})}function fa(e){e.prototype.eA&&(e.prototype.deserialize=e.prototype.eA)}function da(e){e.prototype.gA&&(e.prototype.serialize=e.prototype.gA)}function z(e,f){e.prototype.eA||(e.prototype.eA=e.prototype.deserialize);var n=e.prototype.eA;e.prototype.deserialize=function(e,r){f?f.call(this,e,r,{annotation:this,originalDeserialize:n.bind(this)}):n.apply(this,arguments)}}function y(e,f){e.prototype.gA||(e.prototype.gA=e.prototype.serialize);var n=e.prototype.gA;
e.prototype.serialize=function(e,r){return f?f.call(this,e,r,{annotation:this,originalSerialize:n.bind(this)}):n.apply(this,arguments)}}h.d(ca,"f",function(){return y});h.d(ca,"d",function(){return z});h.d(ca,"c",function(){return da});h.d(ca,"a",function(){return fa});h.d(ca,"e",function(){return aa});h.d(ca,"b",function(){return ba});var f=h(3),e=h(68),x=h(2),r=h(106),w=window},function(ha,ca,h){h.d(ca,"d",function(){return ba});h.d(ca,"e",function(){return aa});h.d(ca,"a",function(){return fa});
h.d(ca,"b",function(){return da});h.d(ca,"c",function(){return z});h.d(ca,"f",function(){return y});h.d(ca,"i",function(){return f});h.d(ca,"g",function(){return e});h.d(ca,"h",function(){return x});var ba=56,aa=20,fa=22,da=36,z=30,y=101010256,f=101075792,e=67324752,x="PK\u0003\u0004"},function(ha,ca,h){var ba=h(18),aa=h(109);ca.a=function(h){var da=h.scrollLeft||0;if(Object(aa.b)()===aa.a)if(ba.i)da=da+h.clientWidth-h.scrollWidth;else if(ba.h||ba.j)da=-da;return da}},function(ha,ca,h){var ba=h(0);
h.n(ba);ha=window;ha.Annotations=ha.Annotations||{};var aa=ha.Annotations,fa;(function(h){h.XYZ="XYZ";h.FitBH="FitBH";h.FitH="FitH";h.FitBV="FitBV";h.FitV="FitV";h.FitR="FitR";h.Fit="Fit";h.FitB="FitB"})(fa||(fa={}));ha=function(){function h(h){this.wp=1;this.ls=fa.Fit;this.hd=this.vg=this.eh=this.lh=this.wf=this.tf=null;this.set(h)}h.prototype.set=function(h){if(Object(ba.isObject)(h)){Object(ba.isUndefined)(h.page)||(this.wp=Number(h.page));var y=h.fit;Object(ba.isString)(y)&&(this.ls=y);switch(y){case "XYZ":Object(ba.isUndefined)(h.left)||
(this.tf=Number(h.left));Object(ba.isUndefined)(h.top)||(this.wf=Number(h.top));Object(ba.isUndefined)(h.zoom)||(this.vg=Number(h.zoom));break;case "FitBH":case "FitH":Object(ba.isUndefined)(h.top)||(this.wf=Number(h.top));break;case "FitBV":case "FitV":Object(ba.isUndefined)(h.left)||(this.tf=Number(h.left));break;case "FitR":Object(ba.isUndefined)(h.left)||(this.tf=Number(h.left));Object(ba.isUndefined)(h.top)||(this.wf=Number(h.top));Object(ba.isUndefined)(h.right)||(this.lh=Number(h.right));Object(ba.isUndefined)(h.bottom)||
(this.eh=Number(h.bottom));y=Object(ba.min)([this.tf,this.lh]);var f=Object(ba.min)([this.wf,this.eh]),e=Object(ba.max)([this.tf,this.lh]),x=Object(ba.max)([this.wf,this.eh]);this.wf=f;this.tf=y;this.eh=x;this.lh=e}h=h.name;Object(ba.isString)(h)&&(this.hd=h,this.wp=null)}};h.prototype.serialize=function(h){var y=document.createElementNS("","Dest"),f=document.createElementNS("",this.ls||"Named"),e=this.wf||0,x=this.tf||0,r=this.eh||0,w=this.lh||0;h=h.inverse();x=h.ka({x:x,y:e});r=h.ka({x:w,y:r});
e=Object(ba.isNull)(this.wf)?null:x.y;x=Object(ba.isNull)(this.tf)?null:x.x;w=Object(ba.isNull)(this.lh)?null:r.x;r=Object(ba.isNull)(this.eh)?null:r.y;Object(ba.isNull)(this.wp)||f.setAttribute("Page",Object(ba.toString)(this.wp));Object(ba.isNull)(this.vg)||f.setAttribute("Zoom",Object(ba.toString)(this.vg));e&&f.setAttribute("Top",Object(ba.toString)(e));x&&f.setAttribute("Left",Object(ba.toString)(x));w&&f.setAttribute("Right",Object(ba.toString)(w));r&&f.setAttribute("Bottom",Object(ba.toString)(r));
switch(this.ls){case "XYZ":Object(ba.isNull)(x)&&f.setAttribute("Left","");Object(ba.isNull)(e)&&f.setAttribute("Top","");Object(ba.isNull)(this.vg)&&f.setAttribute("Zoom","");break;case "FitBH":case "FitH":Object(ba.isNull)(e)&&f.setAttribute("Top","");break;case "FitBV":case "FitV":Object(ba.isNull)(x)&&f.setAttribute("Left","");break;case "FitR":Object(ba.isNull)(x)&&f.setAttribute("Left",""),Object(ba.isNull)(e)&&f.setAttribute("Top",""),Object(ba.isNull)(w)&&f.setAttribute("Right",""),Object(ba.isNull)(r)&&
f.setAttribute("Bottom","")}this.hd&&f.setAttribute("Name",this.hd);y.appendChild(f);return y};h.prototype.deserialize=function(h,y,f,e){var x=aa.ma;y=x.getAttribute(h,"PageNum");var r;var w=x.getAttribute(h,"Hpos");var n=x.getAttribute(h,"Vpos");h=h.getElementsByTagName("Dest");if(!y||0<h.length)if(h=h[0],h=x.KE(h)){y=x.getAttribute(h,"Page");var ea=x.Xy(h);n=x.getAttribute(h,"Top");w=x.getAttribute(h,"Left");var ia=x.getAttribute(h,"Right");var z=x.getAttribute(h,"Bottom");var da=x.getAttribute(h,
"Zoom");"Named"===x.Xy(h)&&(r=x.getAttribute(h,"Name"))}r||e?e&&(n=Object(ba.isNull)(n)?void 0:n,w=Object(ba.isNull)(w)?void 0:w,ia=Object(ba.isNull)(ia)?void 0:ia,z=Object(ba.isNull)(z)?void 0:z):(e=f.N.wc(y),f=e.ka({x:w||0,y:n||0}),e=e.ka({x:ia||0,y:z||0}),n=Object(ba.isNull)(n)?void 0:f.y,w=Object(ba.isNull)(w)?void 0:f.x,ia=Object(ba.isNull)(ia)?void 0:e.x,z=Object(ba.isNull)(z)?void 0:e.y);this.set({page:Object(ba.isNull)(y)?void 0:y,fit:Object(ba.isNull)(ea)?void 0:ea,top:n,left:w,right:ia,
bottom:z,zoom:Object(ba.isNull)(da)?void 0:da,name:r})};h.prototype.VL=function(h){var y=this.wf||0,f=this.tf||0,e=this.wp||1;switch(this.ls){case "XYZ":this.vg&&h.Xv(this.vg);h.Wp(e,f,y);break;case "Fit":case "FitB":case "FitV":case "FitBV":h.Lf(e);h.KH(h.li.HB);break;case "FitH":case "FitBH":h.Lf(e);h.KH(h.li.UI);h.Wp(e,0,y);break;case "FitR":var x=!Object(ba.isUndefined)(this.lh)&&!Object(ba.isNull)(this.lh)&&!Object(ba.isUndefined)(this.tf)&&!Object(ba.isNull)(this.tf),r=!Object(ba.isUndefined)(this.eh)&&
!Object(ba.isNull)(this.eh)&&!Object(ba.isUndefined)(this.wf)&&!Object(ba.isNull)(this.wf);x=x?Math.abs(this.lh-this.tf):null;r=r?Math.abs(this.eh-this.wf):null;x=x?h.Zb().clientWidth/x:Infinity;r=r?h.Zb().clientHeight/r:Infinity;r=Math.min(x,r);Infinity!==r&&h.Xv(r);h.Wp(e,f,y);break;default:h.Lf(e)}};Object.defineProperty(h.prototype,"page",{get:function(){return this.wp},set:function(h){this.set({page:h})},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"fit",{get:function(){return this.ls},
enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"top",{get:function(){return Object(ba.isNull)(this.wf)?void 0:this.wf},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"left",{get:function(){return Object(ba.isNull)(this.tf)?void 0:this.tf},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"bottom",{get:function(){return Object(ba.isNull)(this.eh)?void 0:this.eh},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"right",{get:function(){return Object(ba.isNull)(this.lh)?
void 0:this.lh},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"zoom",{get:function(){return Object(ba.isNull)(this.vg)?void 0:this.vg},enumerable:!1,configurable:!0});Object.defineProperty(h.prototype,"name",{get:function(){return this.hd},enumerable:!1,configurable:!0});return h}();ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(33),fa=h(104),da=h(27),z=h(37),y=h(107);ha=function(f){function e(e,r,w,n){e=f.call(this,e,r,w,n)||this;e.Xn=da.a.handleWidth;e.Bh=da.a.handleHeight;e.qH=
da.a.rotationHandleWidth;e.pH=da.a.rotationHandleHeight;e.Mo=aa.a.Mo;e.Vh();return e}Object(ba.c)(e,f);e.prototype.Vh=function(){if(this.Pc()&&!this.xa.NoResize){for(var e=this.xa.gb(),f=0;f<e.length;f++)this.dc.push(new fa.a(e[f].x,e[f].y,this.Xn,this.Bh,f));this.N.ta().lu()&&this.xa.cu()&&this.dc.push(new y.a(this.qH,this.pH,this.Mo,this.xa,this.N))}};e.prototype.testSelection=function(e,f,w,n){return this.isSelected()?z.a.qn(e,f,w,this.N.bd()):z.a.tn(e,f,w,n)};return e}(aa.a);ca.a=ha},function(ha,
ca,h){h.d(ca,"b",function(){return ba});h.d(ca,"a",function(){return aa});var ba=Error("Out Of Memory"),aa=Error("Cannot connect to server")},function(ha,ca,h){function ba(h,aa,z){return z?aa?h.substr(0,aa)+z+h.substr(aa):z+h:h}function aa(h){return!h||!h.length}h.d(ca,"b",function(){return aa});h.d(ca,"a",function(){return ba})},function(ha,ca){ha=function(){function h(){this._length=this.vi=this.$d=0}h.prototype.ps=function(h,aa,fa){this.$d=h;this.vi=aa;this._length=fa};return h}();ca.a=ha},function(ha,
ca,h){function ba(h){return{cursor:h.fieldFlags.get(aa.WidgetFlags.READ_ONLY)?"inherit":"pointer"}}h.d(ca,"a",function(){return ba});var aa=h(22)},function(ha,ca,h){var ba=h(29),aa=h(1);ca.a={UH:function(h){Object(ba.j)()?this.vm=h:Object(aa.h)("setSnapMode requires the full API to be enabled. Please set the fullAPI option to true in your WebViewer constructor.")},Hs:function(h){var aa=h.x,z=h.y;return this.N.lT(this.annotation.PageNumber,aa,z,this.vm).then(function(y){var f=y.x;y=y.y;10>Math.abs(aa-
f)&&10>Math.abs(z-y)&&(h.x=f,h.y=y)})}}},function(ha,ca,h){function ba(f,e){aa.a.call(this,f,y.Annotations.Xk);this.name=e||da.g.ELLIPSE;this.Af=z.a.HOLD_TO_DRAW}var aa=h(19),fa=h(16),da=h(4),z=h(40),y=window;ba.DB=z.a;ba.prototype=Object.assign(new aa.a,z.b,{mouseLeftDown:function(f){var e=0<this.N.ta().fe().length,x=this.annotation;this.Af===z.a.TWO_CLICKS?this.Vb&&!this.overrideSelection||e?(this.annotation=null,fa.a.prototype.mouseLeftDown.call(this,f)):x?this.finish():aa.a.prototype.mouseLeftDown.call(this,
f):aa.a.prototype.mouseLeftDown.call(this,f)},mouseLeftUp:function(f){this.Af===z.a.HOLD_TO_DRAW?aa.a.prototype.mouseLeftUp.call(this,f):fa.a.prototype.mouseLeftUp.call(this,f)},mouseMove:function(f){aa.a.prototype.mouseMove.call(this,f);var e=this.annotation;if(f.shiftKey&&e){f=e.Width;var x=e.Height;f=Math.abs(f<x?f:x);e.Width=f;e.Height=f;f=this.pageCoordinates[0];var r=this.pageCoordinates[1];x=r.x-f.x;r=r.y-f.y;var w=Math.abs(x),n=Math.abs(r);w=w<n?w:n;0>x&&(e.X=f.x-w);0>r&&(e.Y=f.y-w);this.N.na.sb(this.annotation);
e.MaintainAspectRatio=!0}else e&&(e.MaintainAspectRatio=!1)},Yl:function(){return this.Jt()===z.a.TWO_CLICKS}});ca.a=ba},function(ha,ca,h){function ba(h){this.ya=h;this.Wi=0;this.vb=[];this.Ak=[0,0]}var aa=h(77),fa=h(30),da=h(26),z=window;ba.prototype={kr:function(h,f,e){this.m_c=f;this.Bd=e;f=h.operators;h=h.data;var x=f.length;this.dB=Object(aa.b)(e);this.Saa=1/this.dB;for(var r=0;r<x;++r)e=f[r],this[e].apply(this,h[r]);this.Nz=null},save:function(){this.m_c.save()},restore:function(){this.m_c.restore()},
transform:function(h,f,e,x,r,w){this.m_c.transform(h,f,e,x,r,w)},translate:function(h,f){this.m_c.translate(h,f)},s$:function(h,f){this.m_c.lineWidth=Math.max(h,f?this.Saa/f:h)},p$:function(h){this.m_c.lineCap=h},IN:function(h){var f=h.type;if(f)switch(f){case 1:h=this.createPattern(h);break;case 2:h=this.createLinearGradient(h);break;case 3:h=this.createRadialGradient(h);break;case 4:h=this.GZ(h)}return h},baa:function(h){this.m_c.strokeStyle=this.IN(h)},h$:function(h){this.m_c.fillStyle=this.IN(h)},
r9:function(h){var f=this.f3(h);h=f.E5;f=f.D5;for(var e,x=h.length,r=0;r<x;++r)e=h[r],this[e].apply(this,f[r])},j$:function(h){this.m_c.globalAlpha=h},FM:function(h,f){for(var e=f.length,x=0;x<e;++x){var r=f[x],w=f[++x];h.addColorStop(r,w)}},KZ:function(h){var f=this.m_c,e=this.Bd,x=h.operators,r=this.dB*h.scale,w=h.w*r,n=h.h*r;2>r*h.minwh&&(r=2/h.minwh,w=h.w*r,n=h.h*r);var y=this.m_c.createCanvas();y.width=w;y.height=n;w=y.getContext("2d");n=h.x||h.y;var ia={};n&&(ia.x=h.x,ia.y=h.y);ia.s=1/r;w.scale(r,
r);n&&w.translate(-h.x,-h.y);h.strokeAdjust&&(this.m_c.lineWidth=r*h.strokeAdjust);this.kr(x,w,this.Bd);this.m_c=f;this.Bd=e;return{canvas:y,transform:ia}},createPattern:function(h){if(this.Nz&&h===this.Nz.style)var f=this.Nz;else f=this.KZ(h),f.style=h,f.pattern=this.m_c.createPattern(f.canvas,h.tm),this.Nz=f;h=f.transform;h.x&&this.m_c.translate(h.x,h.y);this.m_c.scale(h.s,h.s);return f.pattern},createLinearGradient:function(h){var f=this.m_c.createLinearGradient(h.x0,h.y0,h.x1,h.y1);this.FM(f,
h.stops);return f},createRadialGradient:function(h){var f=this.m_c.createRadialGradient(h.x0,h.y0,0,h.x1,h.y1,h.r);this.FM(f,h.stops);return f},GZ:function(h){return this.m_c.createPattern(z.ci[h.name],h.tm)},WX:function(h){this.Wi+=h},iaa:function(h){this.Wi=h},addColorStop:function(h,f){this.Gea.addColorStop(h,f)},beginPath:function(){this.m_c.beginPath()},closePath:function(){this.m_c.closePath()},fill:function(h){h?this.m_c.fill(h):this.m_c.fill()},stroke:function(){this.m_c.stroke()},clip:function(h){h?
this.m_c.clip(h):this.m_c.clip()},moveTo:function(h,f){this.m_c.moveTo(h,f)},lineTo:function(h,f){this.m_c.lineTo(h,f)},quadraticCurveTo:function(h,f,e,x){this.m_c.quadraticCurveTo(h,f,e,x)},bezierCurveTo:function(h,f,e,x,r,w){this.m_c.bezierCurveTo(h,f,e,x,r,w)},font:function(h){var f=h;1!==fa.b&&(f=parseFloat(h),f/=fa.b,f=h.replace(/\d+/,f));this.m_c.font=f},fillText:function(h,f,e){this.m_c.fillText(h,this.Wi+f,e)},strokeText:function(h,f,e){this.m_c.strokeText(h,this.Wi+f,e)},measureText:function(h){this.Wi+=
this.m_c.measureText(h).width},drawImage:function(h,f,e){var x=window.ci[h];f*=this.dB;this.m_c.imageSmoothingEnabled=e?!0:2>=f;x&&this.m_c.drawImage(window.ci[h],0,0)},$_:function(h,f,e){h=window.ci[h];f*=this.dB;this.m_c.imageSmoothingEnabled=e?!0:2>=f;e=Math.log(1/f)*z.kb.UC;for(var x=f=1;x<e;++x){var r=this.m_c.createCanvas();if(2>h.height||2>h.width)break;r.width=.5*h.width;r.height=.5*h.height;r.getContext("2d").drawImage(h,0,0,r.width,r.height);h=r;f*=2}this.m_c.scale(f,f);this.m_c.drawImage(h,
0,0)},q$:function(h){this.m_c.lineJoin=h},k$:function(h){this.m_c.globalCompositeOperation=h},UX:function(h,f,e){this.vb.push({E5:f,D5:e,name:h})},f3:function(h){var f=this.vb.length-1;do{var e=this.vb[f];if(e.name===h)return e}while(0<=--f)},a9:function(){this.vb.pop()},d9:function(h,f,e,x){var r=this.Bd.ka({x:f.x1,y:f.y1}),w=r.x;r=r.y;f=this.Bd.ka({x:f.x2,y:f.y2});var n=f.x,y=f.y;f=[];var ia=this.Ak[0],z=this.Ak[1],aa=ia+this.m_c.canvas.width,ma=z+this.m_c.canvas.height;w<n?(w<ia&&(w=ia),n>aa&&
(n=aa),f[0]=Math.floor(w),f[2]=Math.ceil(n-w)):(n<ia&&(n=ia),w>aa&&(w=aa),f[2]=Math.ceil(w-n),f[0]=Math.floor(n));r<y?(r<z&&(r=z),y>ma&&(y=ma),f[1]=Math.floor(r),f[3]=Math.ceil(y-r)):(y<z&&(y=z),r>ma&&(r=ma),f[3]=Math.ceil(r-y),f[1]=Math.floor(y));0<f[2]&&0<f[3]&&(w=this.m_c,r=this.m_c.createCanvas(),r.width=f[2],r.height=f[3],n=this.Ak,this.Ak=f,y=r.getContext("2d"),y.globalAlpha=w.globalAlpha,y.translate(-f[0],-f[1]),y.transform(this.Bd.m_a,this.Bd.m_b,this.Bd.m_c,this.Bd.m_d,this.Bd.m_h,this.Bd.m_v),
y.transform.apply(y,Cd(h.mtx)),this.kr(h,y,this.Bd),x&&(h=this.m_c.createCanvas(),h.width=f[2],h.height=f[3],y=h.getContext("2d"),y.beginPath(),y.moveTo(0,0),y.lineTo(f[2],0),y.lineTo(f[2],f[3]),y.lineTo(0,f[3]),y.closePath(),y.translate(-f[0],-f[1]),y.transform(this.Bd.m_a,this.Bd.m_b,this.Bd.m_c,this.Bd.m_d,this.Bd.m_h,this.Bd.m_v),y.transform.apply(y,Cd(x.mtx)),this.kr(x,y,this.Bd),y.globalCompositeOperation="source-in",y.setTransform(1,0,0,1,0,0),y.drawImage(r,0,0),r=h),this.Ak=n,"source-over"===
e||Object(da.n)()?(w.save(),w.globalCompositeOperation=e,w.setTransform(1,0,0,1,f[0]-this.Ak[0],f[1]-this.Ak[1]),w.drawImage(r,0,0),w.restore()):y.bO(w,e,{x:f[0]-this.Ak[0],y:f[1]-this.Ak[1]}),this.m_c=w)},Waa:function(h){this.m_c.tm(h)},miterLimit:function(h){this.m_c.miterLimit=h},WZ:function(){this.m_c.cgb()},XZ:function(){this.m_c.cge()},setTransform:function(h,f,e,x,r,w){this.m_c.setTransform(h,f,e,x,r,w)},scale:function(h,f){this.m_c.scale(h,f)},f1:function(h,f,e){this.m_c.xw(h+" ",this.Wi+
f,e)},fillRect:function(h,f,e,x){this.m_c.fillRect(h,f,e,x)},g1:function(h,f,e){this.m_c.xcw(h+" ",this.Wi+f,e)},pN:function(h,f,e){this.m_c.xc(h,this.Wi+f,e)},YZ:function(h){this.m_c.setLineDash(h)},RZ:function(h){var f=h.trans,e=h.shift,x=h.size,r=h.clipping,w=h.id;this.m_c.save();this.m_c.translate(f[0],f[1]);this.m_c.rotate(h.rot);r&&(this.m_c.beginPath(),this.m_c.rect(r[0],r[1],r[2],r[3]),this.m_c.clip());void 0!==h.opacity&&(this.m_c.globalAlpha=h.opacity);w&&0<w.length?this.m_c.drawImage(window.ci[w],
e[0],e[1],x[0],x[1]):(this.m_c.fillStyle="#CCCCCC",this.m_c.fillRect(e[0],e[1],x[0],x[1]));this.m_c.restore()},i6:function(h,f,e,x,r,w,n){var y=0;h||(h=String.fromCodePoint.apply(null,f));var ia=this.m_c.measureText(h).width;r/=ia;this.m_c.save();this.m_c.transform(r*x[0],r*x[1],r*x[2],r*x[3],x[4],x[5]);if(e)for(var z=0;z<e.length;z+=2){ia=e[z];var aa=e[z+1];n&&(w=n[z/2]);for(var da=0;da<aa;da++){x=f?String.fromCodePoint.apply(null,f.slice(y,y+ia)):h.slice(y,y+ia);y+=ia;var ba=this.m_c.measureText(x).width+
w/r;this.m_c.fillText(x,0,0);this.m_c.transform(1,0,0,1,ba,0)}}else this.m_c.fillText(h,0,0);this.m_c.restore()}};ba.prototype[0]=ba.prototype.save;ba.prototype[1]=ba.prototype.restore;ba.prototype[2]=ba.prototype.transform;ba.prototype[3]=ba.prototype.translate;ba.prototype[4]=ba.prototype.s$;ba.prototype[5]=ba.prototype.p$;ba.prototype[6]=ba.prototype.baa;ba.prototype[7]=ba.prototype.h$;ba.prototype[8]=ba.prototype.j$;ba.prototype[9]=ba.prototype.UX;ba.prototype[10]=ba.prototype.a9;ba.prototype[11]=
ba.prototype.WX;ba.prototype[12]=ba.prototype.r9;ba.prototype[13]=ba.prototype.beginPath;ba.prototype[14]=ba.prototype.closePath;ba.prototype[15]=ba.prototype.fill;ba.prototype[16]=ba.prototype.stroke;ba.prototype[17]=ba.prototype.clip;ba.prototype[18]=ba.prototype.moveTo;ba.prototype[19]=ba.prototype.lineTo;ba.prototype[20]=ba.prototype.quadraticCurveTo;ba.prototype[21]=ba.prototype.bezierCurveTo;ba.prototype[22]=ba.prototype.font;ba.prototype[23]=ba.prototype.fillText;ba.prototype[24]=ba.prototype.measureText;
ba.prototype[25]=ba.prototype.iaa;ba.prototype[26]=ba.prototype.miterLimit;ba.prototype[27]=ba.prototype.q$;ba.prototype[28]=ba.prototype.drawImage;ba.prototype[29]=ba.prototype.setTransform;ba.prototype[30]=ba.prototype.scale;ba.prototype[31]=ba.prototype.f1;ba.prototype[32]=ba.prototype.WZ;ba.prototype[33]=ba.prototype.XZ;ba.prototype[34]=ba.prototype.k$;ba.prototype[35]=ba.prototype.Waa;ba.prototype[36]=ba.prototype.d9;ba.prototype[37]=ba.prototype.fillRect;ba.prototype[39]=ba.prototype.g1;ba.prototype[38]=
ba.prototype.pN;ba.prototype[40]=ba.prototype.strokeText;ba.prototype[41]=ba.prototype.YZ;ba.prototype[42]=ba.prototype.RZ;ba.prototype[43]=ba.prototype.i6;z.kb.tS=function(h){!0===h&&(h=1.4);z.kb.UC=h;ba.prototype[28]=h?ba.prototype.$_:ba.prototype.drawImage};ca.a=ba},function(ha,ca,h){var ba=h(27),aa=h(142);ca.a=function(){function h(){}h.HN=function(h){var z,y;void 0===z&&(z=ba.a.handleWidth);void 0===y&&(y=ba.a.handleHeight);return new aa.a(h.x3,h.y1,z,y,!0)};h.FO=function(h){var z,y;void 0===
z&&(z=ba.a.handleWidth);void 0===y&&(y=ba.a.handleHeight);return new aa.a(h.x1,h.y3,z,y,!1)};return h}()},function(ha,ca,h){function ba(h,y,f){function e(w){r=r||Date.now();return w?(Object(fa.b)("load","Try instantiateStreaming"),fetch(Object(da.a)(h)).then(function(e){return WebAssembly.instantiateStreaming(e,y)}).catch(function(f){Object(fa.b)("load","instantiateStreaming Failed "+h+" message "+f.message);return e(!1)})):Object(da.b)(h,f,!0,!0).then(function(e){x=Date.now();Object(fa.b)("load",
"Request took "+(x-r)+" ms");return WebAssembly.instantiate(e,y)})}var x,r;return e(!!WebAssembly.instantiateStreaming).then(function(e){Object(fa.b)("load","WASM compilation took "+(Date.now()-(x||r))+" ms");return e})}function aa(h,y,f){return new Promise(function(e){if(!h)return e();var x=f.document.createElement("script");x.type="text/javascript";x.onload=function(){e()};x.onerror=function(){y&&Object(fa.h)(y);e()};x.src=h;f.document.getElementsByTagName("head")[0].appendChild(x)})}h.d(ca,"a",
function(){return ba});h.d(ca,"b",function(){return aa});var fa=h(1),da=h(103)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(32),fa=h(10),da=h(56);ha=function(){function h(h){if(!h)throw Error("DisplayModeManager requires DocumentViewer to initialize");this.N=h;this.wa=new da.a(this.N,aa.a.Vr)}h.prototype.vc=function(){return this.wa};h.prototype.zS=function(h){this.wa.ev();null===this.N.O?(this.wa=h,this.N.trigger(fa.c.DISPLAY_MODE_UPDATED)):(this.fL(h),this.N.ca.Pk(this.N.Cg()),this.N.trigger(fa.c.ZOOM_UPDATED,
this.N.bd()),this.N.fj(),this.wa.MF()&&(this.ai(),this.wa.Zg()),this.N.Lf(this.N.wd))};h.prototype.fL=function(h){this.wa=h;this.kJ();this.N.ca.sM();this.N.trigger(fa.c.DISPLAY_MODE_UPDATED)};h.prototype.kJ=function(){var h=this.wa.mode;if(!Object(ba.isNull)(h)){var f=this.N.wd-1;h===aa.a.mJ?(this.wa.Ic=1,this.wa.$i=Math.ceil(this.N.O.Cd/this.wa.Ic),this.wa.Me=Math.ceil(f/this.wa.Ic),this.wa.oe=this.wa.Me,this.wa.uh=this.wa.Me+1):h===aa.a.Vr?(this.wa.Ic=1,this.wa.$i=Math.ceil(this.N.O.Cd/this.wa.Ic),
this.wa.Me=-1,this.wa.oe=0,this.wa.uh=this.wa.$i):h===aa.a.GB?(this.wa.Ic=2,this.wa.Me=Math.floor(f/this.wa.Ic),this.wa.$i=Math.ceil(this.N.O.Cd/this.wa.Ic),this.wa.oe=this.wa.Me,this.wa.uh=this.wa.Me+1):h===aa.a.gw?(this.wa.Ic=2,this.wa.Me=-1,this.wa.$i=Math.ceil(this.N.O.Cd/this.wa.Ic),this.wa.oe=0,this.wa.uh=this.wa.$i):h===aa.a.Wr?(this.wa.Ic=2,this.wa.Me=-1,this.wa.$i=Math.ceil((this.N.O.Cd+1)/this.wa.Ic),this.wa.oe=0,this.wa.uh=this.wa.$i):h===aa.a.Xr&&(this.wa.Ic=2,this.wa.Me=Math.floor(f/
this.wa.Ic),this.wa.$i=Math.ceil(this.N.O.Cd/this.wa.Ic),this.wa.oe=this.wa.Me,this.wa.uh=this.wa.Me+1)}};h.prototype.Wt=function(h,f){return this.wa.getSelectedPages(h,f)};h.prototype.Te=function(h,f){return this.wa.getVisiblePages(h,f)};h.prototype.Vn=function(h,f,e){return this.wa.Vn(h,f,e)};h.prototype.jz=function(h,f){return this.wa.getVisibleRegionRect(h,f)};h.prototype.Mh=function(h,f){return this.wa.pageToWindow(h,f)};h.prototype.Uk=function(h,f){return this.wa.windowToPage(h,f)};h.prototype.xq=
function(h){return this.wa.getPageTransform(h)};h.prototype.SE=function(h){return this.wa.getPageOffset(h)};h.prototype.Rp=function(){return this.wa.Rp()};h.prototype.ai=function(){return this.wa.ai()};h.prototype.Us=function(h){return this.wa.Us(h)};h.prototype.ev=function(h){return this.wa.ev(h)};h.prototype.Hy=function(h){return this.wa.Hy(h)};h.prototype.Zg=function(){return this.wa.Zg()};return h}();ca.a=ha},function(ha,ca,h){function ba(h,z){return z.map(function(y){y=y.style;h.save();aa(h,
y);y=h.measureText("gM");y.actualBoundingBoxAscent?y=y.actualBoundingBoxAscent+y.actualBoundingBoxDescent:(y=h.measureText("M"),y=y.width);h.restore();return y})}function aa(h,z){h.setLineDash([]);z.color&&(h.fillStyle=z.color,h.strokeStyle=z.color);"bold"===z["font-weight"]&&(h.font="bold "+h.font);"italic"===z["font-style"]&&(h.font="italic "+h.font)}function fa(h,z,y){var f=y+h.length-1,e=Object.keys(z).map(function(e){return parseInt(e,10)});if(1===e.length)return[{text:h,style:z[0]}];var x=e[e.length-
1];if(y>x)return[{text:h,style:z[x]}];var r={};for(x=1;x<e.length;x++){var w=e[x],n=e[x-1];if(y>=n&&f<w)return[{text:h,style:z[n]}];w>=y&&w<=f&&(r[0]||(r[0]=z[e[x-1]]),r[w-y]=z[w])}return Object.keys(r).map(function(e){return parseInt(e,10)}).map(function(e,f,n){return{text:f===n.length-1?h.slice(e):h.slice(e,n[f+1]),style:r[e]}})}h.d(ca,"b",function(){return fa});h.d(ca,"c",function(){return aa});h.d(ca,"a",function(){return ba})},function(ha,ca,h){h.d(ca,"a",function(){return fa});var ba=h(3);ha=
h(192);var aa=h(301),fa=Object(aa.a)(ha["default"],"Instantiating BlackBoxAnnotationManager directly is deprecated and will be removed in a future release. Please use the CoreControls.getBlackBoxAnnotationManager() function instead");ca.b=function(){return Object(ba.b)(void 0,void 0,void 0,function(){var aa;return Object(ba.d)(this,function(z){switch(z.label){case 0:return[4,Promise.resolve().then(h.bind(null,192))];case 1:return aa=z.la().default,[2,new aa]}})})}},function(ha,ca,h){function ba(e){var f=
Object(w.a)("wvsQueryParameters"),n="",r;for(r in f){var h=f[r];n=""===n?"?"+r+"="+h:n+("&"+r+"="+h)}return""+e+n}function aa(e){return e.getAllResponseHeaders().split(/[\r\n]+/g).reduce(function(e,f){if(f&&f.length){f=f.split(":");var n=f.shift().toLowerCase().trim();n&&(e[n]=f[1]?f.join(":").trim():f[0]&&f[0].trim())}return e},{})}function fa(e){return{url:e.responseURL,status:e.status,statusText:e.statusText,headers:aa(e),contentLength:e.response?e.response.byteLength:0,rawResponse:e.response}}
function da(e,n,r){for(var w=-1,h=0;h<r.length;h++)Object(y.isEqual)(r[h].range,n)&&Object(y.isEqual)(r[h].url,e)&&(w=h);-1===w&&Object(f.h)(n+" not found in queue");return w}function z(n){var r=n.request,w=n.range;return function(h,x){if(h){if(h.code===e.a.ABORTED){Object(f.b)("Request for range "+w.start+"-"+w.stop+" was aborted");return}return n.$f.forEach(function(e){e("Error retrieving file: "+r.url+". Received return status "+h.status+".",x,r)})}return n.$f.forEach(function(e){e(!1,x,r)})}}
h.d(ca,"d",function(){return z});h.d(ca,"c",function(){return da});h.d(ca,"b",function(){return fa});h.d(ca,"e",function(){return aa});h.d(ca,"a",function(){return ba});var y=h(0);h.n(y);var f=h(1),e=h(201),x=h(18),r=h(26),w=h(35),n=window,ea=Array(1024);n.sO=function(e,f,w,h){f=f||0;w=w||!1;var ia="";var z=!(Object(y.isNull)(e.responseBody)||Object(y.isUndefined)(e.responseBody));if(10===x.h&&z||!n.Uint8Array&&z){z=e.responseBody;h=Object(y.isArray)(z)?z:(new n.VBArray(z)).toArray();f=h.length;e=
Array(f);for(w=0;w<f;w++)e[w]=h[w]&255;w=f/1024+1;for(f=0;f<w;f++)ia+=String.fromCharCode.apply(null,e.slice(1024*f,1024*f+1024))}else if(!n.Uint8Array||w||Object(y.isUndefined)(e.response))for(z=e.responseText,e=ea,w=f;w<h;){for(f=0;1024>f&&w<h;++f)e[f]=z.charCodeAt(w)&255,++w;ia+=String.fromCharCode.apply(null,e.slice(0,f))}else{z=e.response;h=new n.Uint8Array(z);z=h.length;w=f;if(Object(r.p)())return h.subarray(f);for(e=ea;w<z;){f=0;for(var aa=Math.min(w+1024,z);w<aa;f++,w++)e[f]=h[w];ia+=String.fromCharCode.apply(null,
1024>f?e.slice(0,f):e)}}return ia}},function(ha,ca,h){var ba=h(1),aa=h(15),fa=h(6),da=h(52),z=h(31),y=h(93),f=h(57);ha=function(){function e(){this.$e=[];this.he=[];this.mb=[];this.xe=!1;this.tp=null;this.Db=""}e.prototype.clear=function(){this.Db="";Object(z.b)(this.he);Object(z.b)(this.mb);this.xe=!1};e.prototype.zc=function(){this.he=[];this.mb=[];this.xe=!1};e.prototype.oY=function(e){function f(f){for(var n=f.length,r=0;r<n;r+=8){var w=e.ka({x:f[r],y:f[r+1]}),h=e.ka({x:f[r+2],y:f[r+3]}),x=e.ka({x:f[r+
4],y:f[r+5]}),y=e.ka({x:f[r+6],y:f[r+7]}),z=new aa.c;z.eL(w.x,w.y,h.x,h.y,x.x,x.y,y.x,y.y);w=z.ik();f[r]=w.x1;f[r+1]=w.y1;f[r+2]=w.x2;f[r+3]=w.y2;f[r+4]=w.x3;f[r+5]=w.y3;f[r+6]=w.x4;f[r+7]=w.y4}}f(this.mb);this.$e.forEach(function(e){f(e.Dc);e.Cc.forEach(function(e){f(e.Dc);e.Ge.forEach(function(e){f(e)})})})};e.prototype.Tu=function(e){this.mb=e.m_Quads;this.he=e.m_Offsets;this.Db=e.m_Str;this.xe=e.m_Ready;this.$e=function(e,f,n){function r(e,f){return e.slice(f,f+8)}function w(){var w=new fa.g;
w.od=e[z+1];w.qc=ba;ba++;var h=e[z+1];w.Aa=n.slice(h,h+e[z+2]);w.vs=h;h=e[z];for(var x=0;x<h;++x)w.Ge.push(r(f,8*(w.od+x)));da&&(da.ex=w);return da=w}function h(f){var n=w(),r=e[z],h=e[z+3],x=e[z+4];if(h===x){h=Math.min(f.ha,f.ia);x=Math.max(f.ha,f.ia);var y=n.Ge[0];f=n.Ge[r-1];f=[y[1],y[3],y[5],y[7],f[1],f[3],f[5],f[7]];y=Math.min.apply(null,f);f=Math.max.apply(null,f);for(var ea=0;ea<r;++ea)for(var ia=n.Ge[ea],aa=Math.min(ia[0],ia[2],ia[4]),ja=0;8>ja;ja+=2)ia[ja]=ia[ja]===aa?h:x}else for(y=Math.min(f.ea,
f.fa),f=Math.max(f.ea,f.fa),ea=0;ea<r;++ea)for(ia=n.Ge[ea],aa=Math.min(ia[1],ia[3],ia[5]),ja=1;8>ja;ja+=2)ia[ja]=ia[ja]===aa?f:y;r=n.Dc;ja=n.Ge[0];ea=ja[2]-ja[0];ja=ja[3]-ja[1];0<ea?(r[0]=h,r[1]=f,r[2]=x,r[3]=f,r[4]=x,r[5]=y,r[6]=h,r[7]=y):0>ea?(r[0]=h,r[1]=y,r[2]=x,r[3]=y,r[4]=x,r[5]=f,r[6]=h,r[7]=f):0<ja?(r[0]=h,r[1]=y,r[2]=h,r[3]=f,r[4]=x,r[5]=f,r[6]=x,r[7]=y):0>ja?(r[0]=x,r[1]=f,r[2]=x,r[3]=y,r[4]=h,r[5]=y,r[6]=h,r[7]=f):(r[0]=h,r[1]=f,r[2]=x,r[3]=f,r[4]=x,r[5]=y,r[6]=h,r[7]=y);z+=5;return n}
function x(){var f=w();f.Dc=r(e,z+3);z+=11;return f}function y(f){var n=new fa.b;n.qc=f;var w=0<e[z];if(w){var y=6;f=e[z];var ea=n.Dc,ia=e.slice(z+2,z+4),ja=e.slice(z+4,z+6);ea[0]=ia[0];ea[1]=ia[1];ea[2]=ja[0];ea[3]=ia[1];ea[4]=ja[0];ea[5]=ja[1];ea[6]=ia[0];ea[7]=ja[1]}else y=10,f=-e[z],n.Dc=r(e,z+2);w=w?h:x;ea=new fa.f;n.fc(ea);z+=y;da=null;for(y=0;y<f;++y)n.Cc.push(w(ea));n.Aa=n.Cc.map(function(e){return e.Aa}).join(" ");n.vs=n.Cc[0]?n.Cc[0].vs:0;aa&&(aa.dx=n);return aa=n}var z=0,aa=null,da=null,
ba=0;return function(){var f=[],n=e[z];z++;for(var r=0;r<n;++r)f.push(y(r));return f}()}(e.m_Struct,this.mb,this.Db)};e.prototype.Qw=function(e){for(var f="",w=0,n,h,x;w<e.length;)n=e.charCodeAt(w),9==n?(f+=String.fromCharCode(10),w++):128>n?(f+=String.fromCharCode(n),w++):191<n&&224>n?(h=e.charCodeAt(w+1),f+=String.fromCharCode((n&31)<<6|h&63),w+=2):(h=e.charCodeAt(w+1),x=e.charCodeAt(w+2),f+=String.fromCharCode((n&15)<<12|(h&63)<<6|x&63),w+=3);return f};e.prototype.VK=function(e,f){var r=new fa.g;
e=e.split(",");e=Object(y.a)(e);for(var n=-1;e.zk();){var h=e.current.split(":"),x=parseInt(h[0]),aa=0;1<h.length&&(aa=parseInt(h[1]));n===x&&(++x,--aa);for(n=x+aa;x<=n;x++)h=f.w2(x),aa=h.fX,1<aa.length&&(aa=aa in da.b?da.b[aa]:aa.charAt(0)),r.yx(aa,h.Rd()),this.he.push(x),Object(z.a)(this.mb,h.Rd())}return r};e.prototype.parse=function(e,f){var r=0,n=0,h=0;do{for(var x;e.advance();)if(x=e.Oa(),"F"===x)e.Ia();else if("P"===x)e.Ia();else if("L"===x){e.Ia();x=new fa.b;x.zs(r++);0<this.$e.length&&this.$e[this.$e.length-
1].HS(x);this.$e.push(x);var aa=e.current.textContent.split(" ");for(aa=Object(y.a)(aa);aa.zk();){var da=aa.current;if(0<x.Hi()){this.Db+=" ";this.he.push(-1);h++;var ma=Array(8);x.ee().Rd(ma);Object(z.a)(this.mb,ma)}da=this.VK(da,f);da.zs(n++);da.hL(h);x.DL(da);this.Db+=da.Aa;h+=da.ad()}this.Db+="\n";this.he.push(-2);h++;Object(ba.a)(0<x.Hi(),"No words in line");0<x.Hi()&&(ma=Array(8),x.ee().Rd(ma),Object(z.a)(this.mb,ma))}else Object(ba.f)("XML parser has encountered a symbol it can't process.");
e.Za()}while(e.depth)};e.prototype.yZ=function(e,f){var r=0,n=0,h=0;this.tp=[];for(var x=0;x<e.length;++x)for(var aa=e[x],da=0;da<aa.length;++da)for(var ma=aa[da],la=0;la<ma.length;++la){var ja=new fa.b;ja.zs(r++);0<this.$e.length&&this.$e[this.$e.length-1].HS(ja);this.$e.push(ja);var ua=ma[la].split(" ");for(ua=Object(y.a)(ua);ua.zk();){var ra=ua.current;if(0<ja.Hi()){this.tp.push(this.Db.length);this.Db+=" ";this.he.push(-1);h++;var na=Array(8);ja.ee().Rd(na);Object(z.a)(this.mb,na)}ra=this.VK(ra,
f);ra.zs(n++);ra.hL(h);ja.DL(ra);this.Db+=ra.Aa;h+=ra.ad()}this.tp.push(this.Db.length);this.Db+="\n";this.he.push(-2);h++;Object(ba.a)(0<ja.Hi(),"No words in line");0<ja.Hi()&&(na=Array(8),ja.ee().Rd(na),Object(z.a)(this.mb,na))}this.xe=!0};e.prototype.YG=function(e,r){try{var w=new f.a(e);Object(ba.a)("TextData"===w.Oa(),"XML parser has encountered a symbol it can't process.");"TextData"===w.Oa()&&(w.Ia(),this.parse(w,r))}catch(n){Object(ba.h)("TextSelection has encountered an error: "+n.message);
return}this.xe=!0};e.prototype.ready=function(){return this.xe};e.prototype.Lt=function(){return this.$e.length?this.$e[0]:new fa.b};e.prototype.getLine=function(e){return this.$e.length?this.$e[e]:new fa.b};e.prototype.getLines=function(){return this.$e};e.prototype.Qe=function(){return this.mb};return e}();ca.a=ha},function(ha,ca,h){var ba=h(99),aa=h(148),fa=h(93),da=h(31),z=h(124);ha=function(){function h(){this.Zw=null}h.yW=function(f,e){return f.$d<e.$d||f.$d===e.$d&&f.vi<e.vi||f.$d===e.$d&&
f.vi===e.vi&&f._length<e._length?-1:f.$d===e.$d&&f.vi===e.vi&&f._length===e._length?0:1};h.prototype.xC=function(){this.Zw=[]};h.prototype.$B=function(f){this.Zw.push(f)};h.prototype.uW=function(){Object(da.b)(this.Zw)};h.prototype.zW=function(f,e){Object(da.b)(e);for(var x=[],r=Object(fa.a)(this.Zw);r.zk();){var w=r.current;x.push(w)}x.sort(h.yW);r="";for(var n,y=[],ia=[],ka=-2147483648,oa=0;oa<x.length;++oa)if(w=x[oa],!(0>w.$d||w.$d>=f.length||0>w.vi||0>=w._length)){if(-1!==w.$d){y=f[w.$d].text;
if(null===y||!y.ready())break;r=y.Db;n=y.he;y=y.Qe();if(!r.length||r.length!==n.length||8*r.length!==y.length)continue;ka=-2147483648;for(var ma=Object(fa.a)(n);ma.zk();){var la=ma.current;la>ka&&(ka=la)}Object(da.b)(ia);for(var ja=0;ja<ka+1;++ja)ia.push(-1);for(ja=0;ja<n.length;++ja)ma=n[ja],0<=ma&&(ia[ma]=ja)}n=Array(8);for(ma=w.vi;ma<w.vi+w._length&&!(ma>ka);++ma)if(la=ia[ma],!(0>la)){for(ja=0;8>ja;++ja)n[ja]=y[8*la+ja];var ua=!1;if(1<=e.length&&(ja=e[e.length-1],ja.$d===w.$d)){var ra=n[0]-n[2],
na=n[1]-n[3];ba.a.gx(ja.kh,n,!0,Math.sqrt(ra*ra+na*na))&&(ua=r.charAt(la),Object(z.a)(ja.OC,ja.OC.length,ua),ua=!0)}ua||(ua=r.charAt(la),la=new aa.a,la.ps(w.$d,ua,n),e.push(la))}}};return h}();ca.a=ha},function(ha,ca,h){var ba=h(111);ca.a=function(){return function(){this.sg=new ba.a;this.cx=new ba.a;this.Bj=this.ui=null}}()},function(ha,ca){ca.a=function(){return function(h,ba){this.lK=h;this.EK=ba;this.lK=h;this.EK=ba}}()},function(ha,ca,h){var ba=h(1);ha=function(){function h(h,aa){this.name=h;
this.Tj=aa;this.QY=1;this.Ho=!0;this.Mj={};this.ul={};this.HX={};this.Uz=null;this.ul.console_log=[function(h){Object(ba.f)(h)}];this.ul.console_error=[function(h){Object(ba.e)(h)}];this.ul.workerLoaded=[function(){}];this.gQ=this.VO.bind(this);aa.addEventListener("message",this.gQ)}h.prototype.on=function(h,aa,z){var y=this.ul;y[h]&&Object(ba.e)('There is already an actionName called "'+h+'"');y[h]=[aa,z]};h.prototype.dZ=function(){this.ul={};this.Tj.removeEventListener("message",this.gQ)};h.prototype.reset=
function(){this.dZ();this.Tj.reset&&this.Tj.reset()};h.prototype.replace=function(h,aa,z){this.ul[h]=[aa,z]};h.prototype.send=function(h,aa){this.postMessage({action:h,data:aa})};h.prototype.St=function(){return this.QY++};h.prototype.Bb=function(h,aa,z){var y=this.St();h={action:h,data:aa,callbackId:y,priority:z};aa=window.createPromiseCapability();this.Mj[y]=aa;try{this.postMessage(h)}catch(f){aa.reject(f)}return aa.promise};h.prototype.MA=function(h,aa,z){var y=this.St();h={action:h,data:aa,callbackId:y,
priority:z};aa=window.createPromiseCapability();this.Mj[y]=aa;try{this.postMessage(h)}catch(f){aa.reject(f)}return{promise:aa.promise,iM:y}};h.prototype.uH=function(h,aa){if(h.message||h.T0){h.message&&h.message.message&&(h.message=h.message.message);var z=h.T0;h={type:h.type?h.type:"JavascriptError",message:h.message};z&&Object.keys(z).forEach(function(y){z.hasOwnProperty(y)&&(h[y]=z[y])})}this.postMessage({isReply:!0,callbackId:aa,error:h})};h.prototype.WE=function(){if(void 0 in this.Mj)return this.Mj[void 0];
Object(ba.e)("Cannot get promise for callback undefined")};h.prototype.lM=function(h){if(h in this.Mj){var aa=this.Mj[h];delete this.Mj[h];aa.reject({type:"Cancelled",message:"Request has been cancelled."});this.postMessage({action:"actionCancel",data:{callbackId:h}})}else Object(ba.h)("Cannot cancel callback "+h)};h.prototype.postMessage=function(h){if(this.Ho){var aa=this.C3(h);this.Tj.postMessage(h,aa)}else this.Tj.postMessage(h)};h.prototype.lO=function(h,aa){var z=this;null!==h&&"object"===typeof h&&
(h instanceof Uint8Array?aa.push(h.buffer):h instanceof ArrayBuffer?aa.push(h):Object.keys(h).forEach(function(y){h.hasOwnProperty(y)&&z.lO(h[y],aa)}))};h.prototype.C3=function(h){var aa=[];this.lO(h,aa);return 0===aa.length?void 0:aa};h.prototype.VO=function(h){var aa=this,z=h.data,y=this.ul,f=this.HX;h=this.Mj;if(z.isReply)y=z.callbackId,y in h?(f=h[y],delete h[y],"error"in z?f.reject(z.error):f.resolve(z.data)):Object(ba.b)("Cannot resolve callback "+y);else if(z.action in y){var e=y[z.action];
z.callbackId?Promise.resolve().then(function(){return e[0].call(e[1],z.data)}).then(function(e){aa.postMessage({isReply:!0,callbackId:z.callbackId,data:e})},function(e){aa.uH(e,z.callbackId)}):e[0].call(e[1],z.data)}else z.action in f?(e=f[z.action],z.callbackId?e[0].call(e[1],z).then(function(e){aa.postMessage({isReply:!0,callbackId:z.callbackId,data:e});aa.Uz()},function(e){aa.uH(e,z.callbackId);aa.Uz()}):e[0].call(e[1],z).then(function(){aa.Uz()},function(){aa.Uz()})):Object(ba.e)("Unknown action from worker: "+
z.action)};return h}();ca.a=ha},function(ha,ca,h){var ba=h(3);ha=function(h){function aa(aa,z,y,f){var e=h.call(this,aa,z,y,f)||this;e.x=aa;e.y=z;e.width=y;e.height=f;return e}Object(ba.c)(aa,h);aa.prototype.move=function(h,z,y){h.leaderLength+=Math.sqrt(z*z+y*y)*Math.sin(h.bk()-Math.atan2(y,z));h.adjustRect();return!0};return aa}(h(113).a);ca.a=ha},function(ha,ca,h){var ba=h(3);ha=h(27);var aa=h(2),fa=h(42),da=h(4);h=function(h){function y(f,e,x,r,w){var n=h.call(this,f,e,x,r)||this;n.x=f;n.y=e;
n.width=x;n.height=r;n.Si=w;n.Si=w;return n}Object(ba.c)(y,h);y.prototype.Qy=function(f){return f%2===da.c.E_0?"ew-resize":"ns-resize"};y.prototype.getDimensions=function(f,e,h){f=this.width/h;h=this.height/h;return this.Si?new aa.d(this.x-.5*f,this.y,this.x+.5*f,this.y+h):new aa.d(this.x-.5*f,this.y-h,this.x+.5*f,this.y)};y.prototype.move=function(f,e,h,r,w,n){h=f.Qe();e=h[0];if("undefined"===typeof e)return!1;h=h[h.length-1];n=new fa.a(n,null);n.annotation=f;n.pageCoordinates[0]=w;r=Math.min(e.x1,
e.x2,e.x3,e.x4);f=Math.max(h.x1,h.x2,h.x3,h.x4);e=Math.min(e.y1,e.y2,e.y3,e.y4);h=Math.max(h.y1,h.y2,h.y3,h.y4);this.Si?e={x:r+1,y:e,pageNumber:w.pageNumber}:(e=w,w={x:f-1,y:h,pageNumber:w.pageNumber});if(w.y<e.y)return!1;(e.x<w.x||e.y<w.y)&&n.select(e,w);return!0};y.prototype.draw=function(f,e,x,r){var w=new aa.b(0,0),n=new aa.b(0,0);this.Kc(f,r);var y=e.Qe();this.Si?(y=y[y.length-1],w.x=y.x2,w.y=y.y2,n.x=y.x3,n.y=y.y3):(y=y[0],w.x=y.x1,w.y=y.y1,n.x=y.x4,n.y=y.y4);f.beginPath();f.moveTo(w.x,w.y);
f.lineTo(n.x,n.y);f.stroke();h.prototype.draw.call(this,f,e,x,r)};return y}(ha.a);ca.a=h},function(ha,ca,h){function ba(e,h){aa.a.call(this,e);Object(z.a)(this.defaults,new y.a(this));this.name=h||f.g.PERIMETER_MEASUREMENT;this.IT="PolyLineDimension";this.Measure=Object(da.a)(da.b);this.vm=null}var aa=h(70),fa=h(16),da=h(14),z=h(43);ha=h(127);var y=h(66),f=h(4);ba.prototype=Object.assign(new aa.a,ha.a,{mouseLeftDown:function(e){aa.a.prototype.mouseLeftDown.call(this,e);this.annotation&&(!this.Vb||
this.overrideSelection||this.Fp)&&(this.annotation.Measure=Object(da.a)(this.Measure),this.annotation.IT=this.IT,this.vm&&this.Hk&&(e=this.annotation.gb(),this.Hs(e[e.length-1])))},mouseMove:function(e){var f=this;if(this.vm){if(fa.a.prototype.mouseMove.call(this,e),!this.isSelecting()&&this.annotation&&this.pageCoordinates&&this.pageCoordinates[1].pageNumber===this.annotation.Ba()){e=this.pageCoordinates[1];var r=this.annotation.gb();r.length&&r[r.length-1].x===e.x&&r[r.length-1].y===e.y||(this.Hk||
this.annotation.Go(),this.annotation.sc(e.x,e.y),this.Hk=!1,this.Hs(r[r.length-1]).then(function(){f.N.na.sb(f.annotation)}))}}else aa.a.prototype.mouseMove.call(this,e)}});ca.a=ba},function(ha,ca,h){function ba(f,e){aa.a.call(this,f);this.annotation=null;this.defaults={StrokeColor:new da.a(255,255,0),Opacity:1,Icon:"Comment"};this.cursor="crosshair";this.name=e||z.g.STICKY;this.kS=this.Fp=!1}var aa=h(16),fa=h(14),da=h(8),z=h(4),y=window;ba.prototype=Object.assign(new aa.a,{switchIn:function(){Object(fa.d)(this.N,
this.cursor)},mouseLeftUp:function(f){aa.a.prototype.mouseLeftUp.call(this,f);var e=this.pageCoordinates[1];if(e&&(!this.Vb||this.Fp||this.overrideSelection)){var h=this.N.na;h.be();this.annotation=new y.Annotations.Yd;this.annotation.Icon=this.defaults.Icon;this.annotation.X=e.x;this.annotation.Y=e.y;this.annotation.PageNumber=e.pageNumber;this.annotation.Author=h.wh();e=this.defaults.StrokeColor;this.annotation.StrokeColor=new da.a(e.R,e.G,e.B,e.A);this.annotation.Opacity=this.defaults.Opacity;
this.annotation.ToolName=this.name;this.trigger(ba.Events.ANNOTATION_CREATED,[this.annotation]);if(this.kS){var r=this.annotation;this.N.getState().then(function(e){r.ViewState=e;r=null})}this.trigger(ba.Events.ANNOTATION_CREATED,[this.annotation]);h.Ld(this.annotation);this.trigger(ba.Events.ANNOTATION_ADDED,[this.annotation]);h.sb(this.annotation);this.annotation=null;f.preventDefault()}},Yl:function(){return!0},BH:function(f){this.Fp=f},U$:function(f){this.kS=f}});ba.Events={ANNOTATION_ADDED:"annotationAdded",
ANNOTATION_CREATED:"annotationCreated"};ca.a=ba},function(ha,ca,h){function ba(e,f){return new Promise(function(r,h){var n,w,x;return $h(function(ea){switch(ea.ra){case 1:return ea.Np=2,f=f||{},vf(ea,Object(y.a)(e,f),4);case 4:return n=ea.Vc,vf(ea,n.getFileData({downloadType:"pdf"}),5);case 5:w=ea.Vc;r(w);wf(ea,0);break;case 2:x=xf(ea),h(x),ea.ra=0}})})}function aa(e,h){if(!f){var r={Uda:function(e,f){Object(fa.f)("EmsWorkerError: "+e+", "+f)}};f=createPromiseCapability();var w=function(n){Object(z.f)(n,
r);Object(z.e)(n,r,e).then(function(e){("undefined"===typeof window?this:window).PDFNet.messageHandler=e;f.resolve()})};h&&"auto"!==h?w(h):Object(da.c)().then(w)}return f.promise}h.d(ca,"a",function(){return aa});h.d(ca,"b",function(){return ba});var fa=h(1),da=h(53),z=h(38),y=h(68),f},function(ha,ca){ha=function(){function h(h,aa){this.cache={};this.L5=this.Ko=h;this.nc=[];this.u1=aa}h.prototype.getItem=function(h){return this.cache[h]||null};h.prototype.setItem=function(h){var aa=h.key,ba=h.data,
da=h.Qc,z=h.Ke;h=h.size;!h&&ba&&(h=ba.length);if(aa in this.cache)this.nc.splice(this.nc.indexOf(aa),1),this.nc.push(aa);else if(this.u1)this.cache[aa]={data:ba,Qc:da,size:h},this.nc.push(aa);else if(h<this.L5/2){for(;this.Ko<h;){var y=this.nc[0];this.Ko+=this.cache[y].size;z&&z(this.cache[y]);delete this.cache[y];this.nc.shift()}this.Ko-=h;this.cache[aa]={data:ba,Qc:da,size:h};this.nc.push(aa)}};h.prototype.removeItem=function(h){h in this.cache&&(this.Ko-=this.cache[h].size,URL.revokeObjectURL(this.cache[h].data),
delete this.cache[h],h=this.nc.indexOf(h),this.nc.splice(h,1))};h.prototype.clear=function(){try{for(var h=0,aa=this.nc.length;h<aa;h++)URL.revokeObjectURL(this.cache[this.nc[h]].data),delete this.cache[this.nc[h]];this.nc=[]}catch(fa){}};return h}();ca.a=ha},function(ha){var ca=function(){return this}();try{ca=ca||(new Function("return this"))()}catch(h){"object"===typeof window&&(ca=window)}ha.exports=ca},function(ha,ca){ha=function(){function h(){this.$d=0;this.kh=this.OC=null}h.prototype.ps=function(h,
aa,fa){this.$d=h;this.OC=aa;this.kh=Array(8);for(h=0;8>h;++h)this.kh[h]=fa[h]};return h}();ca.a=ha},function(ha,ca){ca.a=function(){return function(h,ba){this.cL=h;this.dK=ba;this.cL=h||0;this.dK=ba||0}}()},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(78),fa=h(151);ha=function(){function h(z,y,f,e){void 0===z&&(z=0);void 0===y&&(y=0);void 0===f&&(f=0);void 0===e&&(e=0);z instanceof h?(this.x1=z.x1,this.y1=z.y1,this.x2=z.x2,this.y2=z.y2):Object(ba.isArray)(z)?(this.x1=z[0],this.y1=z[1],this.x2=z[2],
this.y2=z[3]):Object(ba.isObject)(z)?(this.x1=z.x1,this.y1=z.y1,this.x2=z.x2,this.y2=z.y2):(this.x1=z,this.y1=y,this.x2=f,this.y2=e)}h.yz=function(h,y){var f=h.Ei()<y.Gg(),e=h.Gg()>y.Ei(),x=h.Ki()<y.Eg();return!(h.Eg()>y.Ki()||x||f||e)};h.contains=function(h,y){var f=h.Gg()<=y.Gg(),e=h.Ei()>=y.Ei(),x=h.Ki()>=y.Ki();return h.Eg()<=y.Eg()&&x&&f&&e};h.FZ=function(z,y,f,e){return new h(z,y,z+f,y+e)};h.prototype.Fc=function(){return this.x1};h.prototype.Gc=function(){return this.y1};h.prototype.Eg=function(){return this.x1};
h.prototype.Ki=function(){return this.x2};h.prototype.Gg=function(){return this.y1};h.prototype.Ei=function(){return this.y2};h.prototype.Fa=function(){return this.x2-this.x1};h.prototype.Ca=function(){return this.y2-this.y1};h.prototype.PN=function(){var h=this.Fa()/2,y=this.Ca()/2,f=this.dz();f.translate(h,y);return f};h.prototype.dz=function(){return new aa.a(this.x1,this.y1)};h.prototype.GO=function(){return new aa.a(this.x2,this.y1)};h.prototype.GN=function(){return new aa.a(this.x1,this.y2)};
h.prototype.DE=function(){return new aa.a(this.x2,this.y2)};h.prototype.translate=function(h,y){this.x1+=h;this.y1+=y;this.x2+=h;this.y2+=y};h.prototype.Di=function(h){var y=0,f=0;if(this.Fa()<=h.Fa()){var e=h.x2-this.x2;0>e&&(y=e);e=h.x1-this.x1;0<e&&(y=e)}this.Ca()<=h.Ca()&&(e=h.y2-this.y2,0>e&&(f=e),h=h.y1-this.y1,0<h&&(f=h));this.translate(y,f)};h.prototype.normalize=function(){if(0>this.Fa()){var h=this.x1;this.x1=this.x2;this.x2=h}0>this.Ca()&&(h=this.y1,this.y1=this.y2,this.y2=h)};h.prototype.uN=
function(h,y){this.x2=Math.min(this.x2,h-1);this.y2=Math.min(this.y2,y-1)};h.prototype.fE=function(){if(this.x1>this.x2){var h=this.x1;this.x1=this.x2;this.x2=h}this.y2>this.y1&&(h=this.y1,this.y1=this.y2,this.y2=h)};h.prototype.isEqual=function(h){return this.x1===h.x1&&this.y1===h.y1&&this.x2===h.x2&&this.y2===h.y2};h.prototype.cE=function(h){return this.isEqual(h)};h.prototype.MP=function(){return 0===this.x1&&0===this.y1&&0===this.x2&&0===this.y2};h.prototype.K4=function(h){return this.x1<h.x1||
this.x2>h.x2||this.y1<h.y1||this.y2>h.y2};h.prototype.yz=function(z){return h.yz(this,z)};h.prototype.contains=function(z){return h.contains(this,z)};h.prototype.transform=function(h){var y=this.dz(),f=this.DE();y.transform(h);f.transform(h);this.x1=Math.min(y.Fc(),f.Fc());this.y1=Math.min(y.Gc(),f.Gc());this.x2=Math.max(y.Fc(),f.Fc());this.y2=Math.max(y.Gc(),f.Gc())};h.prototype.dba=function(){var h=this.GN(),y=this.DE(),f=this.GO(),e=this.dz();return new fa.a(h.X,h.Y,y.X,y.Y,f.X,f.Y,e.X,e.Y)};return h}();
ca.a=ha},function(ha,ca,h){var ba=h(150);ha=function(){function h(h,aa,z,y,f,e,x,r){this.x1=h;this.y1=aa;this.x2=z;this.y2=y;this.x3=f;this.y3=e;this.x4=x;this.y4=r}h.prototype.normalize=function(){};h.prototype.BE=function(){var h=[];h.push(this.x1);h.push(this.y1);h.push(this.x2);h.push(this.y2);h.push(this.x3);h.push(this.y3);h.push(this.x4);h.push(this.y4);return h};h.prototype.eba=function(){return new ba.a(this.x4,this.x4,this.x2,this.x2)};return h}();ca.a=ha},function(ha,ca,h){var ba=h(3);
ha=h(33);var aa=h(2);h=function(h){function da(z){var y=h.call(this,z,!1,!1,null)||this;y.annot=z;return y}Object(ba.c)(da,h);da.prototype.testSelection=function(){return!1};da.prototype.getDimensions=function(){return new aa.d(0,0,0,0)};da.prototype.draw=function(){};da.prototype.drawSelectionOutline=function(){};return da}(ha.a);ca.a=h},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(154),fa=h(155),da=h(156),z=h(157),y=h(158),f=h(159),e=h(160),x=h(161);ha=window;ha.Annotations=ha.Annotations||{};
var r=ha.Annotations;ha=function(){function h(){this.ZK={GoTo:fa.a,GoToR:da.a,URI:z.a,Named:y.a,JavaScript:f.a,ResetForm:e.a,SubmitForm:x.a,Hide:aa.a}}h.prototype.u4=function(e){if(Object(ba.isObject)(e)){var f=this.ZK[e.name];return f?new f(e):null}};h.prototype.v4=function(e,f,h){var n=r.ma.B1(e);return(n=this.ZK[n])?(n=new n,n.deserialize(e,f,h),n):null};return h}();ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(0);h.n(aa);ha=h(48);h=window;h.Annotations=h.Annotations||{};var fa=h.Annotations;ha=
function(h){function z(y){var f=h.call(this,y)||this;f.Kb=[];f.uC=!0;f.elementName="Hide";f.set(y);return f}Object(ba.c)(z,h);z.prototype.set=function(h){Object(aa.isObject)(h)&&(Object(aa.isArray)(h.fields)&&(this.Kb=h.fields.slice()),Object(aa.isUndefined)(h.hide)||(this.uC=!!h.hide))};z.prototype.onTriggered=function(y,f,e){h.prototype.onTriggered.call(this,y,f,e);var x=e.ta().te(),r=this;this.Kb.forEach(function(e){x.Qb(e).nf(!r.hide)})};z.prototype.deserialize=function(y,f){h.prototype.deserialize.call(this,
y,f);f=fa.ma;var e=!0;if(Object(aa.isNull)(f.getAttribute(y,"HideField")))if(0<y.getElementsByTagName("Hide").length){y=y.getElementsByTagName("Hide")[0];var x=f.getAttribute(y,"Fields").split(",");e="false"!==f.getAttribute(y,"Hide")}else x=[f.getAttribute(y,"ShowField")],e=!1;else x=[f.getAttribute(y,"HideField")];this.uC=e;this.Kb=x};z.prototype.serialize=function(y){y=h.prototype.serialize.call(this,y);y.setAttribute("Fields",this.At.join(","));y.setAttribute("Hide",this.hide?"true":"false");
return y};Object.defineProperty(z.prototype,"fields",{get:function(){return this.Kb},enumerable:!1,configurable:!0});Object.defineProperty(z.prototype,"hide",{get:function(){return this.uC},enumerable:!1,configurable:!0});return z}(ha.a);ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(0);h.n(aa);var fa=h(48),da=h(121);ha=function(h){function y(f){var e=h.call(this,f)||this;e.fh=new da.a({});Object(aa.isObject)(f)&&e.fh.set(f.dest);e.elementName="GoTo";return e}Object(ba.c)(y,h);y.prototype.onTriggered=
function(f,e,x){h.prototype.onTriggered.call(this,f,e,x);this.fh.VL(x)};y.prototype.serialize=function(f){var e=fa.a.prototype.serialize.call(this,f);e.appendChild(this.fh.serialize(f));return e};y.prototype.deserialize=function(f,e,x){h.prototype.deserialize.call(this,f,e,x);this.fh.deserialize(f,e,x)};Object.defineProperty(y.prototype,"dest",{get:function(){return this.fh},enumerable:!1,configurable:!0});return y}(fa.a);ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(0);h.n(aa);var fa=h(121);ha=function(h){function z(y){var f=
h.call(this,y)||this;f.fh=new fa.a(y);f.elementName="GoToR";Object(aa.isObject)(y)&&(f.fh.set(y.dest),f.Lw=y.filename,f.IC=y.newWindow);return f}Object(ba.c)(z,h);z.prototype.onTriggered=function(y,f,e){h.prototype.onTriggered.call(this,y,f,e);this.fh.VL(e)};z.prototype.serialize=function(y){var f=h.prototype.serialize.call(this,y);this.IC||f.setAttribute("NewWindow","false");var e=document.createElementNS("","File");this.Lw&&e.setAttribute("OriginalName",this.Lw);f.appendChild(e);f.appendChild(this.fh.serialize(y));
return f};z.prototype.deserialize=function(y,f,e){h.prototype.deserialize.call(this,y,f,e);this.fh.deserialize(y,f,e,!0);y=y.getElementsByTagName("GoToR")[0];this.IC="false"!==y.getAttribute("NewWindow");y=y.getElementsByTagName("File");1===y.length&&(this.Lw=y[0].getAttribute("OriginalName"))};Object.defineProperty(z.prototype,"dest",{get:function(){return this.fh},enumerable:!1,configurable:!0});Object.defineProperty(z.prototype,"filename",{get:function(){return this.Lw},enumerable:!1,configurable:!0});
Object.defineProperty(z.prototype,"newWindow",{get:function(){return this.IC},enumerable:!1,configurable:!0});return z}(h(48).a);ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(0);h.n(aa);ha=h(48);h=window;h.Annotations=h.Annotations||{};var fa=h.Annotations;ha=function(h){function z(y){var f=h.call(this,y)||this;f.Ds="";f.elementName="URI";Object(aa.isObject)(y)&&Object(aa.isString)(y.uri)&&(f.Ds=y.uri);return f}Object(ba.c)(z,h);z.prototype.onTriggered=function(y,f,e){h.prototype.onTriggered.call(this,
y,f,e);y=this.Ds;0!==y.indexOf("http://")&&0!==y.indexOf("https://")&&0!==y.indexOf("ftp://")&&0!==y.indexOf("mailto:")&&0!==y.indexOf("tel:")&&-1===y.indexOf("://")&&(y=-1!==y.indexOf("@")?"mailto:"+y:"http://"+y);window.open(y).opener=null};z.prototype.deserialize=function(y,f){h.prototype.deserialize.call(this,y,f);f=fa.ma;var e=f.getAttribute(y,"Target");Object(aa.isNull)(e)&&(y=f.KE(y),e=f.getAttribute(y,"Name"));this.Ds=e};z.prototype.serialize=function(y){y=h.prototype.serialize.call(this,
y);y.setAttribute("Name",this.Ds);return y};Object.defineProperty(z.prototype,"uri",{get:function(){return this.Ds},enumerable:!1,configurable:!0});return z}(ha.a);ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(1),fa=h(0);h.n(fa);ha=h(48);h=window;h.Annotations=h.Annotations||{};var da=h.Annotations;ha=function(h){function y(f){var e=h.call(this,f)||this;e.gp="";e.elementName="Named";Object(fa.isObject)(f)&&Object(fa.isString)(f.action)&&(e.gp=f.action);return e}Object(ba.c)(y,h);y.prototype.onTriggered=
function(f,e,x){h.prototype.onTriggered.call(this,f,e,x);switch(this.gp){case "NextPage":x.Lf(f.Ba()+1);break;case "PrevPage":x.Lf(f.Ba()-1);break;case "FirstPage":x.Lf(1);break;case "LastPage":x.Lf(x.gc());break;default:Object(aa.h)("Invalid named action name: "+this.gp)}};y.prototype.deserialize=function(f,e){h.prototype.deserialize.call(this,f,e);e=da.ma;var x=e.getAttribute(f,"N");Object(fa.isNull)(x)&&0<f.getElementsByTagName("Named").length&&(x=e.getAttribute(f.getElementsByTagName("Named")[0],
"Name"));this.gp=x};y.prototype.serialize=function(f){f=h.prototype.serialize.call(this,f);f.setAttribute("Name",this.gp);return f};Object.defineProperty(y.prototype,"action",{get:function(){return this.gp},enumerable:!1,configurable:!0});return y}(ha.a);ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(0);h.n(aa);ha=h(48);h=window;h.Annotations=h.Annotations||{};var fa=h.Annotations;ha=function(h){function z(y){var f=h.call(this,y)||this;f.rs=null;f.fC=null;f.set(y);f.elementName="JavaScript";return f}
Object(ba.c)(z,h);z.prototype.set=function(h){Object(aa.isObject)(h)&&Object(aa.isString)(h.javascript)&&(this.rs=h.javascript)};z.prototype.onTriggered=function(y,f,e){h.prototype.onTriggered.call(this,y,f,e);y=e.getDocument().qp;this.fC||(this.fC=y.Qp(this.rs,e));y.lr(this.fC,f,e)};z.prototype.deserialize=function(y,f){h.prototype.deserialize.call(this,y,f);f=fa.ma.getAttribute(y,"JavaScript");f||(f=y.getElementsByTagName("JavaScript")[0].textContent);this.set({javascript:f})};z.prototype.serialize=
function(y){y=h.prototype.serialize.call(this,y);this.rs&&y.appendChild(document.createTextNode(this.rs));return y};Object.defineProperty(z.prototype,"javascript",{get:function(){return this.rs||""},enumerable:!1,configurable:!0});return z}(ha.a);ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(1),fa=h(0);h.n(fa);ha=h(48);h=window;h.Annotations=h.Annotations||{};var da=h.Annotations;ha=function(h){function y(f){var e=h.call(this,f)||this;e.hl=!1;e.Kb=null;e.elementName="ResetForm";if(Object(fa.isObject)(f)){var x=
f.fields;if(Object(fa.isArray)(x))e.Kb=x.slice();else if("string"===typeof x||x instanceof String)e.Kb=[x];Object(fa.isUndefined)(f.exclude)||(e.hl=!!f.exclude)}return e}Object(ba.c)(y,h);y.prototype.onTriggered=function(f,e,x){h.prototype.onTriggered.call(this,f,e,x);var r=this,w=x.ta().te();f=w.wr;w.wr=!1;this.hl||Object(fa.isNull)(this.Kb)?w.Sv({Ku:function(e,f,h){r.Kb&&-1!==r.Kb.indexOf(e)||h.$R()}}):this.Kb.forEach(function(e){var f=w.Qb(e);f?f.$R():Object(aa.h)("Missing field during reset:",
e)});w.wr=f;w.Qs(null,0)};y.prototype.deserialize=function(f,e){h.prototype.deserialize.call(this,f,e);e=da.ma;var x=[],r=!0;Object(fa.isNull)(e.getAttribute(f,"ResetFields"))?Object(fa.isNull)(e.getAttribute(f,"ResetExcludedFields"))?0<f.getElementsByTagName("ResetForm").length&&(f=f.getElementsByTagName("ResetForm")[0],(x=e.getAttribute(f,"Fields"))&&(x=x.split(",")),f=parseInt(e.getAttribute(f,"Flags"),10),Object(fa.isNull)(x)||Object(fa.isUndefined)(x)?(x=[],r=!0):r=1===f?!0:!1):(x=e.getAttribute(f,
"ResetExcludedFields").split(","),r=!0):(x=e.getAttribute(f,"ResetFields").split(","),r=!1);this.Kb=x;this.hl=!!r};y.prototype.serialize=function(f){f=h.prototype.serialize.call(this,f);this.Kb&&f.setAttribute("Fields",this.Kb.join(","));f.setAttribute("Flags",this.hl?"1":"0");return f};Object.defineProperty(y.prototype,"fields",{get:function(){return this.Kb},enumerable:!1,configurable:!0});Object.defineProperty(y.prototype,"exclude",{get:function(){return this.hl},enumerable:!1,configurable:!0});
return y}(ha.a);ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(1),fa=h(0);h.n(fa);ha=h(48);var da=h(12);h=window;h.Annotations=h.Annotations||{};var z=h.Annotations;h=function(h){function f(e){var f=h.call(this,e)||this;f.vx="";f.Kb=[];f.nK="xfdf";f.Uw=!1;f.NK="POST";f.hl=!1;f.elementName="SubmitForm";f.Wc=new da.a({mask:"IncludeNoValueFields IncludeAppendSaves IncludeAnnotations CanonicalFormat WxclNonUserAnnots ExclFKey EmbedForm".split(" ")});f.set(e);return f}Object(ba.c)(f,h);f.prototype.set=function(e){Object(fa.isObject)(e)&&
(e.url&&(this.vx=String(e.url)),Object(fa.isArray)(e.fields)&&(this.Kb=e.fields.slice()),e.format&&(this.nK=e.format),e.includeEmpty&&(this.Uw=!!e.includeEmpty),e.flags&&this.Wc.set(e.flags),e.method&&(this.NK=e.method),e.exclude&&(this.hl=!!e.exclude))};f.prototype.onTriggered=function(e,f,r){h.prototype.onTriggered.call(this,e,f,r);var w=this,n=[],x=r.ta(),y=x.te();0<this.Kb.length?this.Kb.forEach(function(e){n.push(y.Qb(e))}):y.lq(function(e){Object(fa.isNull)(e.value)&&!w.Uw||n.push(e)});e="";
this.nz("xfdf")?e=x.Dp.IV(n):(this.nz("fdf")&&Object(aa.h)("FDF Export is not supported. Defaulting to export as HTML Forms"),e=x.Dp.JV(n));fetch(this.vx,{method:"POST",body:e}).then(function(e){return e.ok?e.text():Promise.reject()}).then(function(e){if(x.xT)x.xT(e);else{var f=window.open();Object(fa.isNull)(f)||Object(fa.isUndefined)(f)?Object(aa.h)("Form popup blocked"):f.document.write(e)}}).catch(function(){Object(aa.h)("Failed to submit form data to server.")})};f.prototype.deserialize=function(e,
f){h.prototype.deserialize.call(this,e,f);f=z.ma;var r=e.getElementsByTagName("SubmitForm"),w="SubmitURL",n="SubmitFields",x="SubmitFlag";0<r.length&&(e=r[0],w="URL",n="Fields",x="Flags");r=f.getAttribute(e,w);w=null;Object(fa.isNull)(f.getAttribute(e,n))||(w=f.getAttribute(e,n).split(","));n=0;Object(fa.isNull)(f.getAttribute(e,x))||(n=parseInt(f.getAttribute(e,x),10));e="fdf";n&4&&(e="html");n&32&&(e="xfdf");this.set({url:r,fields:w||void 0,format:e,flags:0!==(n&2)?["IncludeNoValueFields"]:[]})};
f.prototype.serialize=function(e){e=h.prototype.serialize.call(this,e);e.setAttribute("Fields",this.Kb.join(","));e.setAttribute("Flags",Object(fa.toString)((this.nz("xfdf")?32:0)|(this.nz("html")?4:0)|(this.Uw?2:0)));e.setAttribute("URL",this.vx);return e};f.prototype.nz=function(e){return e.toLowerCase()===this.format.toLowerCase()};Object.defineProperty(f.prototype,"format",{get:function(){return this.nK},enumerable:!1,configurable:!0});Object.defineProperty(f.prototype,"url",{get:function(){return this.vx},
enumerable:!1,configurable:!0});Object.defineProperty(f.prototype,"fields",{get:function(){return this.Kb},enumerable:!1,configurable:!0});Object.defineProperty(f.prototype,"includeEmpty",{get:function(){return this.Uw},enumerable:!1,configurable:!0});Object.defineProperty(f.prototype,"flags",{get:function(){return this.Wc},set:function(e){this.Wc.set(e)},enumerable:!1,configurable:!0});Object.defineProperty(f.prototype,"method",{get:function(){return this.NK},enumerable:!1,configurable:!0});Object.defineProperty(f.prototype,
"exclude",{get:function(){return this.hl},enumerable:!1,configurable:!0});return f}(ha.a);ca.a=h},function(ha,ca,h){var ba=h(3);ha=h(104);var aa=h(2),fa=h(21);h=function(h){function z(y,f,e,x,r){var w=h.call(this,y,f,e,x,r)||this;w.x=y;w.y=f;w.width=e;w.height=x;w.Jc=r;return w}Object(ba.c)(z,h);z.prototype.move=function(y,f,e,x,r,w,n){var ea=y.gb().length-4,ia=ea+1,z=ia+1,da=z+1;ea=y.Ji(ea);var ma=y.Ji(ia),ba=y.Ji(z),ja=y.Ji(da);if(this.Jc===z){if(ja.y<ba.y+e||ja.x<ba.x+f)return}else if(this.Jc===
da&&(ja.y+e<ba.y||ja.x+f<ba.x))return;f=h.prototype.move.call(this,y,f,e,x,r,w,n);this.Jc===z&&(ja.y<ba.y&&y.Yg(z,ba.x,ja.y),ja.x<ba.x&&y.Yg(z,ja.x,ba.y),y.Yg(ia,ba.x,ba.y+.5*(ja.y-ba.y)),f=!0);this.Jc===da&&(ja.y<ba.y&&y.Yg(z,ja.x,ba.y),ja.x<ba.x&&y.Yg(z,ba.x,ja.y),y.Yg(ia,ma.x,ba.y+.5*(ja.y-ba.y)),f=!0);w=w.wc(y.Ba());w=y.Ol(w)/2;z=fa.a.Math.eQ(ba,ja);ba=[new aa.b(z.x,ba.y+w),new aa.b(z.x,ja.y-w),new aa.b(ba.x+w,z.y),new aa.b(ja.x-w,z.y)];ja=[fa.a.Math.th(ea,ba[0]),fa.a.Math.th(ea,ba[1]),fa.a.Math.th(ea,
ba[2]),fa.a.Math.th(ea,ba[3])];ja=ja.indexOf(Math.min.apply(Math,ja));if(ea.x!==ba[ja].x||ea.y!==ba[ja].y)y.Yg(ia,ba[ja].x,ba[ja].y),f=!0;return f};return z}(ha.a);ca.a=h},function(ha,ca,h){var ba=h(3),aa=h(33),fa=h(141),da=h(27),z=h(113),y=h(37),f=h(2),e=h(100);ha=function(h){function r(e,f,r,x){f=h.call(this,e,f,r,x)||this;f.Xn=da.a.handleWidth;f.Bh=da.a.handleHeight;f.wm=e.Sn();f.Ll=e.pq();f.Vh();return f}Object(ba.c)(r,h);r.prototype.Vh=function(){var f;this.dc=[];this.Pc()&&(this.dc=this.A2(),
this.xa.leaderLength&&(f=this.dc).push.apply(f,this.u2()),this.N.ta().lu()&&this.xa.cu()&&this.dc.push(e.a.vO(this.xa,this.N)))};r.prototype.A2=function(){return[new z.a(this.wm.x,this.wm.y,this.Bh,this.Bh,!1),new z.a(this.Ll.x,this.Ll.y,this.Bh,this.Bh,!0)]};r.prototype.u2=function(){var e=this.xa.v2();return[new fa.a(e.nJ.x,e.nJ.y,this.Xn,this.Bh),new fa.a(e.FB.x,e.FB.y,this.Xn,this.Bh)]};r.prototype.testSelection=function(e,f,r,h){return y.a.tn(e,f,r,h)};r.prototype.drawSelectionOutline=function(e,
f,r,h){void 0===r&&(r=1);if(f.leaderLength||f.leaderExtend||f["leader-offset"])return aa.a.prototype.drawSelectionOutline.apply(this,arguments);e.lineWidth=aa.a.selectionOutlineThickness/r;var n=this.MY(h),w=n.offsetX;n=n.offsetY;this.T_(e);this.W_(r,e,w,n)};r.prototype.MY=function(e){var f=Math.atan((this.Ll.y-this.wm.y)/(this.Ll.x-this.wm.x));e=this.xa.Ol(e);return{offsetX:Math.max(.5*e,1)*Math.sin(f),offsetY:Math.max(.5*e,1)*Math.cos(f)}};r.prototype.T_=function(e){var f=this.Pc()?aa.a.defaultSelectionOutlineColor:
aa.a.defaultNoPermissionSelectionOutlineColor;e.strokeStyle=f.toString()};r.prototype.W_=function(e,f,r,h){e=aa.a.selectionOutlineDashSize/e;f.setLineDash([e,e]);f.strokeStyle="rgb(255, 255, 255)";this.u0(f,r,h)};r.prototype.u0=function(e,n,h){r.Ai(e,new f.b(this.wm.x+n,this.wm.y-h),new f.b(this.Ll.x+n,this.Ll.y-h));r.Ai(e,new f.b(this.wm.x-n,this.wm.y+h),new f.b(this.Ll.x-n,this.Ll.y+h))};r.Ai=function(e,f,r){e.beginPath();e.moveTo(f.x,f.y);e.lineTo(r.x,r.y);e.stroke()};return r}(aa.a);ca.a=ha},
function(ha,ca,h){var ba=h(3);ha=function(h){function aa(aa,z,y,f,e){var x=h.call(this,aa,z,y,f,e)||this;x.x=aa;x.y=z;x.width=y;x.height=f;x.Jc=e;return x}Object(ba.c)(aa,h);aa.prototype.move=function(aa,z,y,f,e,x,r){h.prototype.move.call(this,aa,z,y,f,e,x,r);0===this.Jc&&(z=aa.Ji(0),aa.Yg(aa.gb().length-1,z.x,z.y));return!0};return aa}(h(104).a);ca.a=ha},function(ha,ca,h){var ba=h(3);ha=h(33);var aa=h(4),fa=h(95),da=h(2);h=function(h){function y(f,e,x,r){return h.call(this,f,e,x,r)||this}Object(ba.c)(y,
h);y.prototype.testSelection=function(f,e,h,r,w,n){r=f.Fc();var x=f.Gc();w=Annotations.Yd.SIZE/(f.NoZoom?w:1);if(!Object(fa.a)()||f.DateCreated>=Object(fa.a)())n===aa.c.E_90?x-=w:n===aa.c.E_180?(x-=w,r-=w):n===aa.c.E_270&&(r-=w);f=new da.d(r,x,r+w,x+w);return e>=f.x1&&e<=f.x2&&h>=f.y1&&h<=f.y2};y.prototype.getDimensions=function(f){var e=Annotations.Yd.SIZE;return new da.d(f.X,f.Y,f.X+e,f.Y+e)};return y}(ha.a);ca.a=h},function(ha,ca,h){var ba=h(3),aa=h(2);ha=function(h){function da(z,y,f,e){return h.call(this,
z,y,f,e)||this}Object(ba.c)(da,h);da.prototype.testSelection=function(h,y,f,e,x){e=h.NoZoom?x:1;x=h.Fc();var r=h.Gc();h=new aa.d(x,r,x+h.Width/e,r+h.Height/e);return y>=h.x1&&y<=h.x2&&f>=h.y1&&f<=h.y2};da.prototype.getDimensions=function(h){return new aa.d(h.X,h.Y,h.X+h.Width,h.Y+h.Height)};return da}(h(33).a);ca.a=ha},function(ha,ca,h){var ba=h(3);ha=h(92);var aa=h(34);h=function(h){function da(z,y,f,e){return h.call(this,z,y,f,e)||this}Object(ba.c)(da,h);da.prototype.move=function(h,y,f){var e=
!(!y&&!f);if(!e)return!1;if(h.MaintainAspectRatio){var x=h.Width,r=h.Height;if(x>r){if(f=r/x*(x+y)-r,this.Oi===aa.a.LEFT&&this.sj===aa.b.Km||this.Oi===aa.a.RIGHT&&this.sj===aa.b.Nm)f*=-1}else if(y=x/r*(r+f)-x,this.Oi===aa.a.LEFT&&this.sj===aa.b.Km||this.Oi===aa.a.RIGHT&&this.sj===aa.b.Nm)y*=-1}x=h.gb();r=x[0];var w=x[1],n=x[2],ea=x[3];this.Oi===aa.a.LEFT?(r.x=Math.min(r.x+y,w.x),ea.x=Math.min(ea.x+y,w.x)):this.Oi===aa.a.RIGHT&&(w.x=Math.max(w.x+y,r.x),n.x=Math.max(n.x+y,r.x));this.sj===aa.b.Nm?(r.y=
Math.min(r.y+f,ea.y),w.y=Math.min(w.y+f,ea.y)):this.sj===aa.b.Km&&(ea.y=Math.max(ea.y+f,r.y),n.y=Math.max(n.y+f,r.y));x[x.length-1]=Object(ba.a)({},x[0]);h.adjustRect();return e};return da}(ha.a);ca.a=h},function(ha,ca,h){function ba(h,y){aa.a.call(this,h,y);this.fieldFlags.xt([fa.a.MULTILINE,fa.a.DO_NOT_SCROLL,fa.a.PASSWORD]);this.Iw=!1;this.tg=this.Ua.maxLen}var aa=h(24),fa=h(12),da=window;ba.prototype={Gm:"Tx",Vj:"text",Kj:function(){aa.a.prototype.Kj.apply(this,arguments);this.IL()},refresh:function(h){aa.a.prototype.refresh.call(this);
var y=this.innerElement;if(y){if(h){var f=y.selectionStart;var e=y.selectionEnd}y.value=this.value||"";h&&y.setSelectionRange(f,e);y.readOnly=!!this.fieldFlags.get(fa.a.READ_ONLY)}},Td:function(){return aa.a.prototype.Td.apply(this,arguments)},md:function(){var h=aa.a.prototype.md.apply(this,arguments),y={"word-wrap":"break-word",resize:"none","background-color":"transparent","overflow-y":this.fieldFlags.get(fa.a.MULTILINE)?"auto":"hidden","overflow-x":"hidden"};if(this.fieldFlags.get(fa.a.COMB)){var f=
aa.a.prototype.Td.apply(this,arguments);f=da.Annotations.za.u3("1",f["font-size"]+" "+f["font-family"]);var e=h.width/this.tg;y["margin-left"]=.2*e+"px";y["letter-spacing"]=e-f+"px"}return Object.assign(h,y,this.dk())},Jj:function(h,y){aa.a.prototype.Jj.apply(this,arguments);if(this.JF()&&y["font-size"]&&h.value){var f=h.style.overflowY;h.style.overflowY="hidden";h.offsetHeight;h.style.overflowY=f}},JF:function(){return 0===this.font.size},U4:function(){return this.JF()&&this.font.cl===this.font.OK},
Li:function(){var h=this.innerElement;if(h)return h.value},t2:function(h,y){if(h!==y){for(var f=0;h.charAt(f)===y.charAt(f);)f++;for(var e=0;h.charAt(h.length-1-e)===y.charAt(y.length-1-e)&&e+f<h.length&&e+f<y.length;)e++;var x=0;if(h.length!==f+e){x=h.length-e-f;var r=""}y.length!==f+e&&(r=y.slice(f,y.length-e));return{result:r,start:f,end:f+x}}},createInnerElement:function(){function h(){setTimeout(function(){e.refresh(!0)},0)}function y(f){return e.JF()&&(!e.U4()||f)}function f(f,n){f.preventDefault();
n.value=e.ub();n.style.overflowY="hidden";n.offsetHeight;n.style.overflowY="auto"}var e=this,x=this.fieldFlags,r=x.get(fa.a.MULTILINE),w=x.get(fa.a.READ_ONLY),n=x.get(fa.a.DO_NOT_SCROLL);if(r)var ea=document.createElement("textarea");else ea=document.createElement("input"),ea.type="text";0<this.tg&&ea.setAttribute("maxlength",this.tg);w&&(ea.readOnly=!0);da.Annotations.za.I0(ea,function(w){var x=0,ia=0,z=w.change,ba=e.ub()||"";if(!w.wP){ia=e.t2(ba,z);if(!ia)return;w.change=ia.result;x=ia.start;ia=
ia.end}z=da.Annotations.da.kc.wb;x=z.qa.create("Keystroke",e.Qb(),{value:w.wP?"":ba,change:w.change,selStart:x,selEnd:ia,willCommit:!1});e.Ua.Of("K",x);if(x.rc){x=z.ek(x);ba=null!==e.Oc&&void 0!==e.Oc&&x.length<e.Oc.length;ia=!0;if(n)if(r)if(y(ba))h();else{if(ea.scrollHeight-1>=ea.clientHeight){x=ea;ba=x.clientHeight;for(ia=x.scrollHeight;ia>ba;)x.value=x.value.substring(0,x.value.length-1),ia=x.scrollHeight;x=x.value;ia=!0}}else ba?(ia=!0,y(ba)&&h()):y(ba)?h():ia=da.Annotations.za.measureText(x||
" ",ea.parentNode.style.fontSize,ea.parentNode.style.fontFamily,ea.parentNode.style.fontWeight).width<parseInt(ea.style.width,10);else y(ba)&&h();0<e.tg&&(ia=ia&&x.length<=e.tg);ia?(e.Oc=x,document.activeElement===ea?e.yS():e.trigger(aa.a.Events.COMMIT)):f(w,ea)}else f(w,ea)},!r);return ea}};ba.prototype=Object.assign(Object.create(aa.a.prototype),ba.prototype);ca.a=ba},function(ha,ca,h){function ba(h,f){var e=this;fa.a.call(this,h,f);this.fieldFlags.set(da.a.RADIO);this.iT(!1);this.dU=!0;this.on(ba.Events.CLICK,
function(){"Off"===e.ub()?e.trigger(ba.Events.CHANGE,e.gk()):e.trigger(ba.Events.CHANGE,"Off")})}var aa=h(24),fa=h(45),da=h(12),z=window;ba.prototype={Ps:"R",Vj:"radioButton",Li:function(){return this.gk()},refresh:function(){aa.a.prototype.refresh.call(this);var h=this.innerElement;h&&(h.checked=this.Ua.ub()===this.Li(),this.Jj(h,this.md(z.Annotations.za.Zk)),this.Dm(h))},md:function(){var h=fa.a.prototype.md.apply(this,arguments);h.left=Math.round(h.left);h.top=Math.round(h.top);this.lS(h);return Object.assign(h,
{border:"none",margin:0},this.dk())},Yh:function(h){"Off"!==h&&-1!==Object.keys(this.appearances).indexOf(h)?(this.appearance=h,fa.a.prototype.Yh.call(this,h)):(this.appearance="Off",fa.a.prototype.Yh.call(this,"Off"))},createInnerElement:function(){var h=this,f=document.createElement("input");f.type="radio";f.setAttribute("tabindex",0);this.Dm(f);f.addEventListener("click",function(){h.trigger(ba.Events.CLICK)});return f},deserialize:function(h,f,e){var x=z.Annotations.ma.getAttribute(h,"N");x&&
(this.appearances.Off={},this.appearances[x]={});fa.a.prototype.deserialize.call(this,h,f,e)}};ba.prototype=Object.assign(Object.create(fa.a.prototype),ba.prototype);ba.Events={CLICK:"click",CHANGE:"change"};ca.a=ba},function(ha,ca,h){function ba(r,h){fa.a.call(this,r,x.Annotations.Uf);Object(y.a)(this.defaults,new f.a(this));this.name=h||e.g.AREA_MEASUREMENT;this.IT="PolygonDimension";this.Measure=Object(z.a)(z.b)}var aa=h(143),fa=h(19),da=h(112),z=h(14),y=h(43),f=h(66),e=h(4),x=window;ba.prototype=
Object.assign(Object.create(aa.a.prototype),{mouseLeftDown:function(e){aa.a.prototype.mouseLeftDown.call(this,e);this.annotation&&(this.annotation.RA(da.a.SNAP_DROP_AREA_SIZE),this.annotation.zP()&&(this.annotation.SR(),this.annotation.finish(),this.finish()))},finish:function(){this.annotation&&this.N.na.sb(this.annotation);fa.a.prototype.finish.call(this)},Yl:function(){return!0}});ca.a=ba},function(ha,ca,h){function ba(f,h){h=void 0===h?da.g.RECTANGULAR_AREA_MEASUREMENT:h;f=x.call(this,f,h)||this;
f.Af=e.a.HOLD_TO_DRAW;return f}ha=h(0);h.n(ha);var aa=h(170),fa=h(16),da=h(4),z=h(2),y=h(190),f=h(19),e=h(40);h=h(127);var x=aa.a;rf(ba,x);ba.prototype.mouseLeftDown=function(f){this.Af===e.a.TWO_CLICKS&&this.annotation&&this.annotation.UF()?this.mouseDoubleClick(f):(x.prototype.mouseLeftDown.call(this,f),this.annotation&&(this.annotation.RA(null),this.annotation.EH(y.a.kw)))};ba.prototype.mouseMove=function(e){var f=this,n,r,h,x,y,aa,ba,ja,da,ra,na;return $h(function(w){if(1==w.ra){fa.a.prototype.mouseMove.call(f,
e);if(!f.annotation||!f.annotation.gb().length||f.isSelecting())return w.return();n=f.pageCoordinates[0];r=f.pageCoordinates[1];null===r||null===r.x||null===r.y||r.pageNumber!==f.annotation.Ba()?w=w.return():f.vm?w=vf(w,f.Hs(r),2):(w.ra=2,w=void 0);return w}h=0>r.x-n.x;x=0>r.y-n.y;y=f.annotation.gb();aa=y[0];1<y.length&&(ba=y[0],ja=y[1],da=y[2],ra=y[3],aa=h?x?da:ja:x?ra:ba);na=new z.d(aa.x,aa.y,r.x,r.y);na.normalize();f.annotation.So([{x:na.x1,y:na.y1},{x:na.x2,y:na.y1},{x:na.x2,y:na.y2},{x:na.x1,
y:na.y2},{x:na.x1,y:na.y1}]);f.N.na.sb(f.annotation);f.Mp(e);w.ra=0})};ba.prototype.mouseLeftUp=function(r){this.Af===e.a.HOLD_TO_DRAW?f.a.prototype.mouseLeftUp.call(this,r):x.prototype.mouseLeftUp.call(this,r)};ba.prototype.Yl=function(){return this.Af===e.a.TWO_CLICKS};hb.Object.defineProperties(ba,{DrawModes:{configurable:!0,enumerable:!0,get:function(){return e.a}}});Object(ha.extend)(ba.prototype,e.b,h.a);ca.a=ba},function(ha,ca,h){function ba(h){return h instanceof fa}h.d(ca,"b",function(){return ba});
var aa=window,fa,da=[];ca.a=function(){aa&&aa.Worker&&(fa=aa.Worker,da=da||[],da.BT||(da.BT=function(){for(var h=da.length-1;0<=h;h--)da[h].terminate(),delete da[h]}),aa.Worker.M4||(aa.Worker=function(h){h=new fa(h);da.push(h);return h},aa.Worker.M4=!0));window.addEventListener("unload",function(){da&&da.BT()})}},function(ha,ca,h){var ba=h(21);ca.a={uO:function(h,fa,da){return h.map(function(h){return ba.a.Math.HA(h,fa,da)})}}},function(ha,ca,h){var ba=h(3),aa=h(25),fa=h(2),da=h(8),z=h(13),y=h(18),
f=h(4),e=h(10),x=h(96);ha=h(36);var r=h(59),w=h(0);h.n(w);var n=h(11),ea=window;h=function(){function h(f){var n=this;this.Da=f;this.kq=null;this.Da=f;this.onEditBoxAnnotationChanged=function(e,f,r){e.forEach(function(e){return Object(ba.b)(n,void 0,void 0,function(){var n,h,w,x,y,ea,ia,z;return Object(ba.d)(this,function(aa){switch(aa.label){case 0:return this.sP(e)?"add"===f&&this.Da.iD(e)&&this.hU(e)&&!r.imported&&!r.isUndoRedo&&r.autoFocus?(null===(ia=e.editor)||void 0===ia?0:ia.Fi())?[3,2]:[4,
this.CF(e)]:[3,3]:[2];case 1:aa.la(),aa.label=2;case 2:return this.vN(e),e.editor.D9(),[3,4];case 3:if("modify"===f&&e.Kq())switch(n=e.Zt(),h=n.x,w=n.y,x=n.width,y=n.height,e.Rotation){case 90:e.ln=w+y;break;case 180:e.kn=h+x;e.ln=w+y;break;case 270:e.kn=h+x}else"delete"===f&&(ea=null===(z=e.editor)||void 0===z?void 0:z.Fi(),null===ea||void 0===ea?void 0:ea.parentNode.removeChild(ea),e.editor=null);aa.label=4;case 4:return[2]}})})})};this.onEditBoxAnnotationDoubleClicked=function(e){return Object(ba.b)(n,
void 0,void 0,function(){var n;return Object(ba.d)(this,function(r){switch(r.label){case 0:return this.Da.iD(e)&&this.sP(e)&&this.hU(e)?(null===(n=e.editor)||void 0===n?0:n.Fi())?[3,2]:[4,this.CF(e)]:[2];case 1:r.la(),r.label=2;case 2:return this.kq&&e.editor.getContents()!==e.getContents()&&(e.editor.CH(),f.OH(e,e.editor.getContents())),this.vN(e),[2]}})})};this.Da.on(e.b.JI,this.onEditBoxAnnotationChanged);this.Da.on(e.b.KI,this.onEditBoxAnnotationDoubleClicked)}h.prototype.disable=function(){this.Da.off(e.b.JI);
this.Da.off(e.b.KI)};h.prototype.sP=function(e){return e instanceof ea.Annotations.Ja};h.prototype.CF=function(e){return Object(ba.b)(this,void 0,void 0,function(){var f,r,y,ea,ia,ka,da=this;return Object(ba.d)(this,function(ja){switch(ja.label){case 0:return f=document.createElement("div"),r="freetext-editor-"+e.Id,f.id=r,Object(z.a)(f,"touchstart touchmove touchend mousedown mousemove mouseup dblclick".split(" "),function(e){return e.stopPropagation()}),y=e.Ba(),ea=Object(aa.a)().Cq(y),ea.appendChild(f),
Object(z.f)(window.kb.Ef()+"external/quill.css"),ia="#pageWidgetContainer"+y+' [id="'+r+'"]',ka=new x.a(ia,e),e.editor=ka,[4,ka.initialize()];case 1:return ja.la(),ka.on(x.a.wb.vB,function(){if(da.kq===ka){da.kq=null;e.Kq()&&da.mH(e,da.p1);f.style.display="none";var r=e.getContents(),x=ka.getContents();(r=r!==x)&&da.Da.OH(e,x);x=e.ZE();ka.CH();r||Object(w.isEqual)(x,e.ZE())||da.Da.trigger(n.a.Events.ANNOTATION_CHANGED,[[e],"modify",{}]);da.Da.Ne([e]);setTimeout(function(){da.Da.lj(e)},0)}da.trigger(h.Events.BLUR,
[ka,e])}),ka.on(x.a.wb.TI,function(){ka.CH();da.trigger(h.Events.FOCUS,[ka,e])}),ka.on(x.a.wb.PB,function(){da.trigger(h.Events.TEXT_CHANGED)}),ka.on(x.a.wb.NB,function(){for(var e=[],f=0;f<arguments.length;f++)e[f]=arguments[f];da.trigger(h.Events.SELECTION_CHANGED,e)}),[2]}})})};h.prototype.mH=function(e,f){var n=e.editor.Fi().getBoundingClientRect(),r=e.Ba();var h=this.Da.N.mc(r);f||(f=h);var w=f/h;f=n.width/w;w=n.height/w;r=this.Da.N.wc(r);var x=e.Ol(r),y=e.Zt();n=y.x;y=y.y;f=f/h+Math.max(4.1*
x,.07)+10;h=w/h+3.6*x;if(!e.autoSizeProperties.shrinkWidth&&f<e.Width||!e.autoSizeProperties.expandWidth&&f>e.Width)f=e.Width;if(!e.autoSizeProperties.shrinkHeight&&h<e.Height||!e.autoSizeProperties.expandHeight&&h>e.Height)h=e.Height;switch(e.Rotation){case 90:h=[h,f];f=h[0];h=h[1];y=e.ln-h;break;case 180:n=e.kn-f;y=e.ln-h;break;case 270:h=[h,f],f=h[0],h=h[1],n=e.kn-f}h=new fa.d(n,y,n+f,y+h);e.EL(h,r);this.Da.Ne([e])};h.prototype.vN=function(e){var f=this,n=e.Ba(),h=Object(aa.a)().Cq(n);n=this.Da.N.mc(n);
h&&(this.kq=e.editor,this.p1=n,e.editor.setContents());h=this.LY(e);e.editor.caa(h);e.editor.focus();this.Da.Ne([e]);e.ck()===r.a.Rr&&this.mH(e,n);setTimeout(function(){f.Da.Jl(e)},0)};h.prototype.LY=function(e){var n=e.Ba(),r=this.Da.N.mc(n),h=this.Da.N.wc(n);n=ea.Annotations.za.Ns(h,parseFloat(e.FontSize)||12)*r*.75;y.m&&(n=Math.max(12,n));var w=e.Mt();n+=w;h=2*e.Ol(h)*r;w=Math.ceil(1.598*parseFloat(n));var x=e.gb().slice(-2),ia=x[0].x*r,z=Math.min(x[0].y,x[1].y)*r,aa=Math.abs(x[1].x-x[0].x)*r;
x=Math.abs(x[1].y-x[0].y)*r;var ka=360-e.Rotation;if(90===ka||270===ka){var ba=aa;aa=x;x=ba}ba=0;var fa=-w/2+.66*parseFloat(n);switch((360-ka)%360){case 90:ba=-1.5*r;fa+=aa+1.7*r;break;case 180:ba+=aa+.1*r;fa+=x+2.7*r;break;case 270:ba+=x+1.5*r,fa=0}ba="translate("+ba+"px,"+fa+"px) rotate("+ka+"deg)";ka=Math.abs(ka%360/90);ka===f.c.E_0?(ia+=h,z+=h):ka===f.c.E_90?(ia-=h,z+=h):ka===f.c.E_180?(ia-=h,z-=h):ka===f.c.E_270&&(ia+=h,z-=h);ka=1>e.FillColor.A?new da.a(255,255,255,0):e.FillColor;return{position:"absolute",
top:z+"px",left:ia+"px",transformOrigin:"top left",transform:ba,width:aa-2*h+"px",height:x-2*h+"px",background:ka.toString(),lineHeight:w+"px",font:n+" "+e.Font,color:""+e.TextColor.toString(),paddingTop:y.h?Math.max(1,1+1.5*(r-1))+"px":"0px"}};h.prototype.hU=function(e){e=e.Ba();return null!==Object(aa.a)().Cq(e)};h.Events={FOCUS:"editorFocus",BLUR:"editorBlur",TEXT_CHANGED:"editorTextChanged",SELECTION_CHANGED:"editorSelectionChanged"};return h}();Object(ha.b)(h);ca.a=h},function(ha,ca,h){function ba(e){this.yg=
[];this.Le=[];this.Hc={};this.aa=[];this.er={};this.a4=!1;this.Pi={};this.qf={};this.Bt={};this.ya=null;this.xp=new r.a.mw;this.id=e;this.oG=[];this.xI=e}var aa=h(0);h.n(aa);var fa=h(1),da=h(74);ha=h(116);var z=h(69),y=h(62),f=h(38),e=h(46),x=h(2),r=h(77),w=h(282),n=h(23),ea=h(6),ia=h(7),ka=0,oa=window.Annotations;ba.prototype=Object.create(da.b.prototype);ba.prototype.constructor=ha.a;Object.assign(ba.prototype,{oq:function(){return this.xI},QX:function(e){var f=this;f.lb.TX(e);var r=new z.a(e.meta.width,
e.meta.height);r.Xa=new n.a;r.Xa.cb(1,0,0,-1,0,e.meta.height);r.rotation=0;f.aa.push(r);f.maxViewportZoom=f.Lp();var h=e.fonts;Object.keys(h).forEach(function(e){var n=h[e];if(e in f.Bt)var r=f.Bt[e];else r=new XODText.uj,r.qr(-n.ascent,n.descent),r.ZS(500),f.Bt[e]=r;e=n.charX;n=e.length;for(var w=0;w<n;w+=3)r.yx(e[w],e[w+1],e[w+2])})},loadAsync:function(f,n,r){var h=this;this.Fb=f;this.aa=[];h.Hc={};var y=ka+=1,ea=r.annotsLoadedCallback;h.Yc=new Promise(function(e){h.on(ia.a.Events.DOCUMENT_COMPLETE,
function(){h.off(ia.a.Events.DOCUMENT_COMPLETE);e()})});var z=r.workerTransportPromise;f.getFileData(function(r){h.on(ia.a.Events.DOCUMENT_READY,n);var aa={},ja="officeDoc"+y;aa.outputFormat="commandArray";f.file?(aa.type="file",aa.value={bytes:r.buffer,name:f.file.name}):f.url?(aa.type="file",aa.value={bytes:r.buffer,name:f.filename||f.url}):(aa.type="array",aa.value={bytes:r.buffer,name:ja});h.mE=aa.value.name||ja;aa.value.name=h.mE.toLowerCase();h.lb=new w.a(h.xp);var ka=!1;z.then(function(f){h.Wa=
f;Object(fa.b)("load","Worker Initialized");h.Wa.zx(function(f){switch(f.type){case "page":var r=150,w=function(){if(13<h.hm.length)var e=h.hm.splice(0,13);else e=h.hm,h.hm=[];return e},y=function(){for(var f=w(),z=0;z<f.length;++z)Object(fa.b)("load","page "+f[z].meta.page+": "+f[z].meta.elapsedTime+"ms"),h.QX(f[z]);for(z=0;z<f.length;++z)if(f[z].annotations)for(var aa=0;aa<f[z].annotations.length;++aa){var ja=f[z].annotations[aa],ba=new x.d(parseInt(ja.x1,10),parseInt(ja.y1,10),parseInt(ja.x2,10),
parseInt(ja.y2,10));ba=new oa.Ub({rect:ba});ba.xi("U",new e.k({uri:ja.URI}));ba.PageNumber=f[z].meta.page;ba.IsAdded=!1;h.oG.push(ba)}h.Yc.then(function(e){h.vh({type:"officeAnnotationsUpdated",data:e})}.bind(null,h.oG));h.oG=[];ka||(ka=!0,n(),ea&&ea('<?xml version="1.0" encoding="UTF-8"?><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">  <pdf-info version="2" xmlns="http://www.pdftron.com/pdfinfo" /></xfdf>'));h.vh({type:ia.a.Events.PAGES_UPDATED,data:h.aa.slice()});Object(fa.b)("load",
"processed "+f.length+" pages, "+h.hm.length+" remaining");0<h.hm.length?(h.Fq=setTimeout(y,r),r=30):(h.Fq=null,h.F_&&h.trigger(ia.a.Events.DOCUMENT_COMPLETE))};h.hm?(h.hm.push(f),h.Fq||(h.Fq=setTimeout(y,r),r=30)):(Object(fa.b)("load","Received first page data"),h.hm=[f],y());break;case "error":ka?Object(fa.e)(f.message):n(f);break;case "documentComplete":h.Fq?h.F_=!0:h.trigger(ia.a.Events.DOCUMENT_COMPLETE)}});h.Wa.Pz(aa).then(function(e){h.ya=e.docId;Object(fa.b)("load","Document initialized")}).catch(function(e){n(e)})})})},
loadTextData:function(e,f){var r=this,h=e-1;this.aa[h].text?f(this.aa[h].text):this.lb.dF(h,function(e,w){if(!e&&"undefined"!==typeof w.text){e=new ea.d;var x=new n.a;x.cb(1,0,0,1,0,0);var y=new ea.c(r.Bt),ia=w.ec.clone(),z=!1;try{do z=ia.mg(y,x,!0);while(!z)}catch(ta){Object(fa.h)("Custom Canvas has encountered an error: "+ta.message);return}e.yZ(w.text,y);r.aa[h].text=e;f(e)}})},io:function(){return!1},Jq:function(){},Dv:function(){},Zl:function(){return!1},extractXFDF:function(){return{xfdfString:'<?xml version="1.0" encoding="UTF-8"?><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">  <pdf-info version="2" xmlns="http://www.pdftron.com/pdfinfo" /></xfdf>',
pages:Object(aa.range)(1,this.aa.length+1)}},Rs:function(){},uq:function(){return!1},qv:function(){},yT:function(){},tq:function(){return[]},getPageCount:function(){return this.aa.length},Gb:function(e){var f={};f.width=this.aa[e-1].width;f.height=this.aa[e-1].height;return f},unloadResources:function(){da.b.prototype.unloadResources.call(this);clearTimeout(this.Fq);this.lb=this.Fq=null;this.Wa&&this.ya&&this.Wa.ey(this.ya)},Hw:function(){},$v:function(e){var f=new z.a(e.width,e.height);f.Xa=new n.a;
e=e.matrix;f.Xa.cb(e[0],e[1],e[2],e[3],e[4],e[5]);e=this.El(f.Xa);f.Xa=this.mv({w:f.width,h:f.height});f.rotation=e;return f},getBookmarks:function(){return Promise.resolve([])},EX:function(){var e=this,f={outputFormat:"binaryStream"};e.mE?(f.type="file",f.value={Dl:null,name:e.mE.toLowerCase()}):(f.type="array",f.value=null);var n=0,r=[];return new Promise(function(h,w){e.Yc.then(function(){e.Wa.dv(e.ya);e.Wa.zx(function(e){switch(e.type){case "page":"binaryStream"===e.format&&e.bytes||w("Expected binaryStream data");
r.push(new Uint8Array(e.bytes));n+=e.bytes.byteLength;break;case "error":Object(fa.e)(e.message);w(e.message);break;case "documentComplete":e=new Uint8Array(n);for(var f=0,x=0;x<r.length;++x)e.set(r[x],f),f+=r[x].length,r[x]=null;h(e);break;default:w("Unable to export data")}});e.Wa.Pz(f).then(function(f){e.ya=f.docId})})})},getFileData:function(e){var n=this,r="pdf"===e.downloadType;if(this.Wa&&this.ya){var h=this.ya;return r?(r=Object(f.e)(Object(y.a)(),{}),Promise.all([r,n.EX()]).then(function(f){var r=
f[0];e.bytes=f[1].buffer;return r.y9(e).then(function(f){if(!f.fileData||0===f.fileData.byteLength)return Promise.reject("Failed to convert document to PDF");f=e.flatten?n.aO(f.fileData):f.fileData;return Promise.resolve(f)},function(e){Object(fa.e)(e);return Promise.resolve(e)})})):this.Wa.c2(this.ya).then(function(e){return e&&"array"===e.type&&h===e.docId?e.value:Promise.reject()})}return Promise.reject()},qk:function(){return!1},nO:function(e){return this.aa[e-1].links},ym:function(){return!0},
getLayersArray:function(){return Promise.resolve([])}});ba.Events={OFFICE_ANNOTATIONS_UPDATED:"officeAnnotationsUpdated"};ca.a=ba},function(ha,ca,h){var ba=h(1);ha=function(){function h(h,aa){this.G5=h;this.H5=aa;this.V5=2;this.Yp={};this.Zp=[];this.yn=0;this.iH=!1}h.prototype.eM=function(h,aa){var z=this;this.Yp[h]=aa;var y=this.Zp.indexOf(h);0<=y&&this.Zp.splice(y,1);this.Zp.push(h);this.jH();aa.then(function(f){f=f.aa.length;z.yn+=f;aa.Cd=f;z.jH()}).catch(function(f){return Object(ba.h)(f)})};
h.prototype.A4=function(h){delete this.Yp[h]};h.prototype.RR=function(){var h=this,aa=this.Zp.shift(),z=this.Yp[aa];delete this.Yp[aa];(aa=z.Cd)?this.yn-=aa:(this.iH=!0,z=z.then(function(y){h.yn-=y.aa.length;h.iH=!1;h.jH()}));z.then(function(h){return h.Fd()});return!!aa};h.prototype.jH=function(){if(!this.iH){for(;this.Zp.length>this.G5;)if(!this.RR())return;for(;this.yn>this.H5&&!(this.Zp.length<=this.V5)&&this.RR(););}};h.prototype.Q1=function(h){return this.Yp[h]};h.prototype.Fd=function(){this.Yp.forEach(function(h){return h.Fd()})};
return h}();ca.a=ha},function(ha,ca,h){var ba=h(3);ha=h(178);var aa=h(129);h=function(h){function da(z,y){var f=h.call(this,y)||this;f.data=y;f.kd=[];f.ah=[];f.tfa=[];f.wt=new aa.a(z);f.ya=z;return f}Object(ba.c)(da,h);da.prototype.clone=function(){return new da(this.ya,this.data)};da.prototype.mg=function(h,y){return this.ah.length?(this.Vv(),-1===this.kd.indexOf(h)&&this.kd.push(h),this.m_c=h,this.Bd=y,this.wt.kr(this.ah.shift(),h,y),!1):this.nE=!0};da.prototype.BD=function(h){return h};return da}(ha.a);
ca.a=h},function(ha,ca,h){var ba=h(30),aa=window;ha=function(){function h(h){this.data=h;this.kd=[];this.ah=[]}h.prototype.init=function(h){if(this.data){var z=this;aa.N3(this.data,this.ya,function(y){z.worker=y;z.Vv();z.ifa=[];z.nB=!1;z.data=null;h()},function(h,f){h?z.ah.push(h):z.nB=!0;z.wda=f;h=z.Ke;z.Ke=null;h&&h()})}else h()};h.prototype.cancel=function(){for(var h=0;h<this.kd.length;h++){for(var z=0;z<this.kd[h].No;z++)this.kd[h].restore();this.kd[h].No=0}this.kd=[];this.worker&&this.worker.cancel()};
h.prototype.clone=function(){return new h(this.data)};h.prototype.mg=function(h,z,y){if(this.ah.length){-1===this.kd.indexOf(h)&&this.kd.push(h);y=Date.now()+y;do this.Vv(),Object(ba.k)(this.ah.shift(),h,z);while(this.ah.length&&y>Date.now());return!1}return!0};h.prototype.$q=function(){var h=this;this.worker||this.init(function(){h.Vv()});return new Promise(function(z){h.nB||h.ah.length?z():h.Ke=z})};h.prototype.Vv=function(){this.nB||this.worker.Vz()};h.prototype.BD=function(h){return new Function("c",
"t",h)};h.prototype.generate=function(h){var z=this;this.init(function(){function y(){if(z.ah.length){z.Vv();var f=z.ah.map(function(e){return z.BD(e)});z.ah=[];h(f)}else h()}z.nB||z.ah.length?y():z.Ke=y})};return h}();ca.a=ha},function(ha,ca,h){function ba(){return"Ni8xNC8yMDIxfDYxMDA4NmI5Yg=="}function aa(){return"7.3.3"}h.d(ca,"b",function(){return aa});h.d(ca,"a",function(){return ba});ha=h(9);ha.a.prototype.version="7.3.3";ha.a.prototype.build="Ni8xNC8yMDIxfDYxMDA4NmI5Yg=="},function(ha,ca,h){function ba(h,
z,y){if(!(y instanceof Annotations.tb)){y=Math.abs(h.y2-h.y1);var f=3*aa.a.handleHeight/z;Math.abs(h.x2-h.x1)<3*aa.a.handleWidth/z&&(h.x1-=fa.a.selectionOutlineExtraPadding/z,h.x2+=fa.a.selectionOutlineExtraPadding/z);y<f&&(h.y2+=fa.a.selectionOutlineExtraPadding/z,h.y1-=fa.a.selectionOutlineExtraPadding/z)}return h}h.d(ca,"a",function(){return ba});var aa=h(27),fa=h(33)},function(ha,ca,h){function ba(){return function(){}}h.d(ca,"a",function(){return ba});h(260)},function(ha,ca){ha=function(){function h(h,
aa){this.kl=!h;this.height=this.width=0;this.kj=null;h&&(this.width=aa.width,this.height=aa.height,this.rotation=aa.rotation,this.Ac=aa.Sa,this.Og=h,this.zoom=aa.zoom,this.Vd=aa.Vd)}h.BM=function(ba,aa){var fa=new h(null,{});fa.Ac="b"+(ba+1);fa.width=0;fa.height=0;fa.zoom=aa.zoom;fa.rotation=0;fa.Vd=null;fa.c4=aa.width;fa.rea=aa.height;return fa};h.prototype.wO=function(){return this.kj};h.prototype.bd=function(){return this.zoom};h.prototype.Sd=function(){return this.rotation};h.prototype.Fa=function(){return this.width*
this.zoom};h.prototype.NE=function(){var h=this.width;this.kl&&(h=this.c4);return h*this.zoom};h.prototype.Ca=function(){return this.height*this.zoom};h.prototype.l$=function(h){this.Og=h};h.prototype.b5=function(h){return this.kl&&h.kl||this.Og===h.Og};h.prototype.RF=function(h){return this.kl!==h.kl||!this.kl&&(this.Og!==h.Og||this.Fa()!==h.Fa()||this.Ca()!==h.Ca()||this.bd()!==h.bd()||this.Sd()!==h.Sd())};return h}();ca.a=ha},function(ha,ca,h){function ba(h){var y=[];h.forEach(function(f){if(0===
y.length)y.push(f);else{var e=y[y.length-1];e.y1===f.y1&&e.y3===f.y3?(e.x3=f.x3,e.x2=f.x2):y.push(f)}});return y}function aa(h,y,f,e){var x=new Annotations.Ub({ao:!0});x.PageNumber=f;x.StrokeThickness=0;x.X=Math.min(y.x1,y.x3);x.Y=Math.min(y.y1,y.y3);x.Width=Math.abs(y.x1-y.x3);x.Height=Math.abs(y.y1-y.y3);x.xi("U",new da.k({uri:e}));h.Ld(x,!0);h.cM(x)}function fa(h){return Array.from(h.matchAll(/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.!\/\\\w\-]*))?)/g)).map(function(h){var f=
h[0];f.endsWith(".")&&(f=f.substring(0,f.length-1));return{index:h.index,content:f}})}h.d(ca,"b",function(){return ba});h.d(ca,"a",function(){return aa});h.d(ca,"c",function(){return fa});var da=h(46)},function(ha,ca,h){h.d(ca,"a",function(){return fa});var ba=h(23),aa=h(111),fa=960;ha=function(){function h(){this.Qu=this.pk=null;this.zoom=0;this.j4=!0;this.$z=0;this.Zq=this.oj=null}h.prototype.create=function(h,y,f,e,x){this.pk=y;this.Qu=f;this.Dd=h;this.Lv=e;this.xu=x;this.Zq=this.oj;this.$z=this.zoom;
this.oo=this.oj=null;this.eo=!1};h.prototype.jaa=function(h){this.oj=h};h.prototype.mg=function(h,y){var f=this;if(f.eo)return!0;this.zoom=Math.sqrt(y.m_a*y.m_a+y.m_c*y.m_c);var e=0,x=this.zoom.toFixed(5)===this.$z.toFixed(5);if(!f.oj){h.S();h.Sba=!0;h.Z5=!0;h.a6=!0;h.i4="high";h.wF=!0;h.I(window.ci[this.pk],0,0,this.Qu.width,this.Qu.height);h.r();if(this.Zq)for(e=0;e<this.Zq.length;e++)this.Zq[e].bN(h,y,x?"rgba(0, 0, 255, 0.5)":"rgba(255, 0, 0, 0.5)");if(e=this.Lv&&this.xu){x=new ba.a;var r=1/this.zoom;
x.cb(y.m_a*r,y.m_b*r,y.m_c*r,y.m_d*r,y.m_h,y.m_v);x=x.inverse();y=new aa.a;y.cb(0,0,h.canvas.width,h.canvas.height);x.QT(y);h=[y.ha,y.ea,y.ia,y.fa];var w=f.xu;y=f.Lv;f.xu=null;f.Lv=null;this.oo=window.createPromiseCapability();var n=function(){f.eo||f.oo&&f.oo.resolve()};y(f.Dd,f.zoom,h,fa).then(function(e){!f.eo&&e&&w(e,f,n)})}return!e}if(this.oj&&this.oj.length)for(e=0;e<this.oj.length;e++)this.oj[e].bN(h,y,"rgba(0, 255, 0, 0.5)");return!0};h.prototype.clone=function(){var z=new h;z.pk=this.pk;
z.Qu=this.Qu;z.Dd=this.Dd;z.Lv=this.Lv;z.xu=this.xu;z.oj=this.oj;z.Zq=this.Zq;z.zoom=this.zoom;z.$z=this.$z;return z};h.prototype.$q=function(){return this.oo?this.oo.promise:Promise.resolve()};h.prototype.cancel=function(){this.eo=!0;this.oo&&this.oo.resolve()};return h}();ca.b=ha},function(ha,ca,h){(function(ba){function aa(h,y){this.Tw=h;this.vW=y}var fa="undefined"!==typeof ba&&ba||"undefined"!==typeof self&&self||window,da=Function.prototype.apply;ca.setTimeout=function(){return new aa(da.call(setTimeout,
fa,arguments),clearTimeout)};ca.setInterval=function(){return new aa(da.call(setInterval,fa,arguments),clearInterval)};ca.clearTimeout=ca.clearInterval=function(h){h&&h.close()};aa.prototype.close=function(){this.vW.call(fa,this.Tw)};ca.Vda=function(h,y){clearTimeout(h.vC);h.uK=y};ca.Bfa=function(h){clearTimeout(h.vC);h.uK=-1};ca.$ca=ca.active=function(h){clearTimeout(h.vC);var y=h.uK;0<=y&&(h.vC=setTimeout(function(){h.iX&&h.iX()},y))};h(311);ca.setImmediate="undefined"!==typeof self&&self.setImmediate||
"undefined"!==typeof ba&&ba.setImmediate||this&&this.setImmediate;ca.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof ba&&ba.clearImmediate||this&&this.clearImmediate}).call(this,h(147))},function(ha,ca){ca.a={}},function(ha,ca,h){function ba(f){return new Promise(function(e){return Object(z.b)(void 0,void 0,void 0,function(){var h,r,w,n,y,ia,ka,ba;return Object(z.d)(this,function(x){switch(x.label){case 0:return[4,da(f)];case 1:return h=x.la(),1<h?[4,aa(f)]:[3,
3];case 2:r=x.la();w=r.split(",")[1];n=window.atob(w);y=n.length;ia=new Uint8Array(y);for(ka=0;ka<y;ka++)ia[ka]=n.charCodeAt(ka);e(ia);return[3,4];case 3:ba=new FileReader,ba.readAsArrayBuffer(f),ba.onloadend=function(){e(ba.result)},x.label=4;case 4:return[2]}})})})}function aa(f,e){return new Promise(function(h){var r=new Image,w=new FileReader;w.readAsDataURL(f);r.onload=function(){return Object(z.b)(this,void 0,void 0,function(){var n,x,ia,aa,ba,ma;return Object(z.d)(this,function(ea){switch(ea.label){case 0:return n=
r.width,x=r.height,ia=document.createElement("canvas"),aa=ia.getContext("2d"),[4,fa()];case 1:return ba=ea.la(),ia.width=n,ia.height=x,[4,da(f)];case 2:ma=ea.la();if(!ba)switch(4<ma&&9>ma&&(ia.width=x,ia.height=n),ma){case 2:aa&&aa.transform(-1,0,0,1,n,0);break;case 3:aa&&aa.transform(-1,0,0,-1,n,x);break;case 4:aa&&aa.transform(1,0,0,-1,0,x);break;case 5:aa&&aa.transform(0,1,1,0,0,0);break;case 6:aa&&aa.transform(0,1,-1,0,x,0);break;case 7:aa&&aa.transform(0,-1,-1,0,x,n);break;case 8:aa&&aa.transform(0,
-1,1,0,0,n)}1<ma?(aa.drawImage(r,0,0),h(ia.toDataURL(e&&e.mimeType?e.mimeType:y.JPEG,e&&e.h4?e.h4:.9))):h(w.result);return[2]}})})};w.onloadend=function(){r.src=w.result}})}function fa(){return new Promise(function(f,e){var h=new Image;h.onload=function(){f(1===h.naturalWidth)};h.onerror=e;h.src="data:image/jpeg;base64,/9j/4QBiRXhpZgAATU0AKgAAAAgABQESAAMAAAABAAYAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAAAAABIAAAAAQAAAEgAAAAB/9sAQwAEAwMEAwMEBAMEBQQEBQYKBwYGBgYNCQoICg8NEBAPDQ8OERMYFBESFxIODxUcFRcZGRsbGxAUHR8dGh8YGhsa/9sAQwEEBQUGBQYMBwcMGhEPERoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoa/8IAEQgAAQACAwERAAIRAQMRAf/EABQAAQAAAAAAAAAAAAAAAAAAAAf/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAF/P//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAQUCf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Bf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Bf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEABj8Cf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8hf//aAAwDAQACAAMAAAAQH//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Qf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Qf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8Qf//Z"})}
function da(f){return new Promise(function(e){var h=new FileReader;h.onload=function(){var f=new DataView(h.result);65496!==f.getUint16(0,!1)&&e(-2);for(var w=f.byteLength,n=2;n<w;){var x=f.getUint16(n,!1);n+=2;if(65505===x){1165519206!=f.getUint32(n+=2,!1)&&e(-1);x=18761===f.getUint16(n+=6,!1);n+=f.getUint32(n+4,x);var y=f.getUint16(n,x);n+=2;for(var z=0;z<y;z++)274==f.getUint16(n+12*z,x)&&e(f.getUint16(n+12*z+8,x))}else if(65280!==(x&65280))break;else n+=f.getUint16(n,!1)}e(-1)};h.readAsArrayBuffer(f.slice(0,
65536))})}h.d(ca,"a",function(){return y});h.d(ca,"c",function(){return aa});h.d(ca,"b",function(){return ba});var z=h(3),y;(function(f){f.JPEG="image/jpeg";f.PNG="image/png"})(y||(y={}))},function(ha,ca,h){var ba=h(3),aa=h(0);h.n(aa);ha=window;ha.Annotations=ha.Annotations||{};ha.Annotations.da=ha.Annotations.da||{};ha.Annotations.da.kc=ha.Annotations.da.kc||{};ha=ha.Annotations.da.kc;ha.wb={};var fa=ha.wb,da=function(){return function(e){this.rc=!0;Object(aa.isObject)(e)&&(Object(aa.isString)(e.name)&&
Object.defineProperty(this,"name",{value:e.name,enumerable:!0}),Object(aa.isString)(e.type)&&Object.defineProperty(this,"type",{value:e.type,enumerable:!0}))}}();fa.Event=da;fa.ek=function(e){if(Object(aa.isNull)(e.value))return null;if(Array.isArray(e.value))return e.value;var f=String(e.value),n=e.change,r=f.slice(0,e.selStart),h=f.slice(e.selEnd);if(Object(aa.isObject)(e.change)){var w=e.selStart;e=e.selEnd;w===e&&("backspace"===n.type?r=f.slice(0,w-1):"delete"===n.type&&(h=f.slice(e+1)));n=""}return r+
n+h};ha=function(e){function f(f){var n=e.call(this,f)||this,r;Object(aa.isObject)(f)&&(r=f.value);Object.defineProperty(n,"value",{value:r,writable:!0,enumerable:!0});return n}Object(ba.c)(f,e);return f}(da);ca=function(e){function f(f){var n=e.call(this,f)||this;if(Object(aa.isObject)(f)){var r=f.value;var h=f.source}Object.defineProperties(n,{value:{value:r,writable:!0,enumerable:!0},source:{value:h,enumerable:!0}});return n}Object(ba.c)(f,e);return f}(da);h=function(e){function f(f){var n=e.call(this,
f)||this,r;Object(aa.isObject)(f)&&(r=f.value);Object.defineProperty(n,"value",{value:r,writable:!0,enumerable:!0});return n}Object(ba.c)(f,e);return f}(da);var z=function(e){function f(f){var n=e.call(this,f)||this;fa.Event.call(n,f);if(Object(aa.isObject)(f)){var r=f.value;var h=f.change;var w=f.changeEx;var x=f.selStart;var y=f.selEnd;var ea=f.willCommit}r="undefined"!==typeof r?r:"";h="undefined"!==typeof h||Object(aa.isString)(h)?h:"";w="undefined"!==typeof w||Object(aa.isString)(w)?w:"";y="undefined"!==
typeof y?y:r.length;Object.defineProperties(n,{value:{value:r,writable:!0,enumerable:!0},change:{value:h,writable:!0,enumerable:!0},changeEx:{value:w,writable:!0,enumerable:!0},selStart:{value:"undefined"!==typeof x?x:0,writable:!0,enumerable:!0},selEnd:{value:y,writable:!0,enumerable:!0},willCommit:{value:ea||!1,enumerable:!0}});return n}Object(ba.c)(f,e);return f}(da),y=function(e){function f(f){return e.call(this,f)||this}Object(ba.c)(f,e);return f}(da),f=function(e){function f(f){return e.call(this,
f)||this}Object(ba.c)(f,e);return f}(da),e=function(e){function f(f){return e.call(this,f)||this}Object(ba.c)(f,e);return f}(da),x=function(e){function f(f){return e.call(this,f)||this}Object(ba.c)(f,e);return f}(da),r=function(e){function f(f){return e.call(this,f)||this}Object(ba.c)(f,e);return f}(da),w=function(e){function f(f){var n=e.call(this,f)||this,r;Object(aa.isObject)(f)&&(r=f.value);Object.defineProperty(n,"value",{value:r,writable:!0,enumerable:!0});return n}Object(ba.c)(f,e);return f}(da),
n=function(e){function f(f){var n=e.call(this,f)||this;fa.Event.call(n,f);var r;Object(aa.isObject)(f)&&(r=f.targetName);Object.defineProperty(n,"targetName",{value:r||"",writable:!0,enumerable:!0});return n}Object(ba.c)(f,e);return f}(da);da=function(e){function f(f){return e.call(this,f)||this}Object(ba.c)(f,e);return f}(da);var ea={Validate:ha,Calculate:ca,Format:h,Keystroke:z,"Mouse Enter":y,"Mouse Leave":f,"Mouse Up":e,"Mouse Down":x,Focus:r,Blur:w,Open:n,Close:da};fa.create=function(e,f){return ea[e]?
new ea[e](f):null};fa.qa={create:function(e,f,n){n=Object.assign({name:e,type:"Field",value:f.ub()},n);return(e=fa.create(e,n))?(Object.defineProperties(e,{target:{value:f,writable:!0,enumerable:!0},targetName:{value:f.name,enumerable:!0},modifier:{value:null,enumerable:!0},shift:{value:null,enumerable:!0}}),e):null}};fa.SI={create:function(e,f,n){n=Object.assign({name:e,type:"Doc",targetName:""},n);return(e=fa.create(e,n))?(Object.defineProperty(e,"target",{value:f,writable:!0,enumerable:!0}),e):
null}};fa.jw={create:function(e,f,n){n=Object.assign({name:e,type:"Page"},n);return(e=fa.create(e,n))?(Object.defineProperty(e,"target",{value:f,writable:!0,enumerable:!0}),e):null}};fa.Ub={create:function(e,f){return fa.create(e,f)}}},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(21),da=h(30),z=h(4),y=h(73),f=h(15),e=h(10);ca.a=function(h){function r(e){return ka[e]||"Unknown"}h.Annotations=h.Annotations||{};var w=h.Annotations,n;if(!(n=!Object.defineProperty)){try{Object.defineProperty({},
"x",{});var x=!0}catch(la){x=!1}n=!x}n&&(Object.defineProperty=function(e,f,n){if(e!==Object(e))throw new TypeError("Object.defineProperty called on non-object");Object.prototype.__defineGetter__&&"get"in n&&Object.prototype.__defineGetter__.call(e,f,n.get);Object.prototype.__defineSetter__&&"set"in n&&Object.prototype.__defineSetter__.call(e,f,n.set);"value"in n&&(e[f]=n.value);return e});"function"!==typeof Object.defineProperties&&(Object.defineProperties=function(e,f){if(e!==Object(e))throw new TypeError("Object.defineProperties called on non-object");
Object.keys(f).forEach(function(n){Object.prototype.hasOwnProperty.call(f,n)&&Object.defineProperty(e,n,f[n])});return e});var ia,ka={arrow:"Arrow",callout:"Callout",caret:"Caret",ellipse:"Ellipse",freehand:"Free Hand",freetext:"FreeText",highlight:"Highlight",line:"Line",polygon:"Polygon",polyline:"Polyline",rectangle:"Rectangle",redact:"Redaction",signature:"Signature",squiggly:"Squiggly",stamp:"Stamp",stickyNote:"Comment",strikeout:"Strikeout",underline:"Underline",custom:"Custom",fileattachment:"File Attachment"};
h.pJ=function(e){this.xy=[e]};h.pJ.prototype={writeStartElement:function(e){e=document.createElementNS("",e);this.xy.push(e)},writeAttributeString:function(e,f){this.top().setAttribute(e,f)},writeEndElement:function(){var e=this.xy.pop();this.top().appendChild(e)},top:function(){return this.xy[this.xy.length-1]}};w.za={Zk:1,extraSelectorsEnabled:!1,Zc:function(e){return r(e)},O9:function(e){r=e},UM:function(e,f){var n=[];f=Math.min(e+1,f-1);for(e=Math.max(0,e-1);e<=f;++e)n.push(e);return n.map(function(e){return e+
1})},PM:function(e){return null===e?"":0<e.length?e.replace(/&[^;]*;/g,function(e){switch(e.charAt(1)){case "q":return'"';case "a":return"&";case "l":return"<";case "g":return">";case "#":return"x"===e.charAt(2)?String.fromCharCode(parseInt(e.substring(3,e.length-1),16)):String.fromCharCode(parseInt(e.substring(2,e.length-1),10))}return e}):""},p_:function(n,r,h){var x=h.N.getDocument(),y=r.getAttribute("page");y=parseInt(y,10);var ea=[],ia=[];if(r.hasAttribute("selidxs")){var z=r.getAttribute("selidxs");
ea=w.ma.r_(z)}else Object(aa.c)("annot_extra_selectors","deserializeExtraSelectors: No index-based selector in XFDF.");if(r.hasAttribute("surrtxts_0_0"))for(z=0;;){if(r.hasAttribute("surrtxts_"+z+"_0")&&r.hasAttribute("surrtxts_"+z+"_1")){var ja=r.getAttribute("surrtxts_"+z+"_0");if(null===ja)break;var ka=r.getAttribute("surrtxts_"+z+"_1");if(null===ka)break;var ba=[];ba.push(w.za.PM(ja));ba.push(w.za.PM(ka));ia.push(ba)}else break;z++}else Object(aa.c)("annot_extra_selectors","deserializeExtraSelectors: No surrounding-text-based selector in XFDF.");
if(0>=ea.length&&0>=ia.length)Object(aa.c)("annot_extra_selectors","deserializeExtraSelectors: No extra selector data deserialized."),n.gh=!1;else{n.gh=!0;n.ri=null;n.ug=null;n.XK=!1;n.ks=!1;n.ix=!0;var da=function(){var e=h.N.getDocument();if(e!==x)n.gh=!1;else{e=new f.f(e);if(0<ea.length){Object(aa.b)("annot_extra_selectors","deserializeExtraSelectors: deserializing index-based selector data.");var r=e.Z2(y,ea,n.getContents());r.status&&(n.ri=r.value)}0<ia.length&&(Object(aa.b)("annot_extra_selectors",
"deserializeExtraSelectors: deserializing surrounding-text-based selector data."),r=e.Y2(y,ia,n.getContents()),r.status&&(n.ug=r.value,n.PageNumber=r.nm+1));n.trigger(w.tb.Events.QUADS_CALCULATED_FROM_SELECTORS);n.XK=!0}},ma=function(){var e=h.N.getDocument();if(e!==x)n.gh=!1;else{var f=e.gc()-1,r=[];0===y&&1<=f?(r.push(y+1),r.push(y+2),n.ix=!1,e.Au(r).then(da)):0<y&&f>=y+1&&(r.push(y+2),r.push(y),r.push(y+1),n.ix=!1,e.Au(r).then(da))}};0===ia.length?(n.ix=!1,x.Au([y+1]).then(da)):(n.TK||(h.N.off(e.c.LAYOUT_CHANGED,
ma),h.N.on(e.c.LAYOUT_CHANGED,ma),h.N.Ng(e.c.DOCUMENT_UNLOADED,function(){h.N.off(e.c.LAYOUT_CHANGED,ma)}),n.TK=!0),x.Yc().then(function(){h.N.off(e.c.LAYOUT_CHANGED,ma);n.TK=!1;var f=h.N.getDocument();if(f===x&&n.ix){var r=w.za.UM(y,f.gc());f.Au(r).then(da)}else h.N.off(e.c.LAYOUT_CHANGED,ma),n.gh=!1}))}},g$:function(e){this.extraSelectorsEnabled=e},SN:function(e){return!e||e instanceof Date?e:new Date(e)},TO:function(){function e(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return e()+
e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},measureText:function(e,f,n,r){if(!e||0===e.length)return{width:0,height:0};var h=document.getElementById("text-width-tester");"number"===typeof f&&(f+="px");e=e.gv("\n","<br>&nbsp;").gv(" ","&nbsp;");if(h)h.style.fontFamily=n,h.style.fontSize=f,h.style.fontWeight=r,h.innerHTML=e;else{var w="display:none;";Object(ba.isString)(n)&&(w+="font-family:"+n+";");Object(ba.isUndefined)(f)||(w+="font-size:"+f+";");Object(ba.isUndefined)(r)||(w+="font-weight:"+r+
";");h=document.createElement("span");h.id="text-width-tester";h.cssText=w;h.innerHTML=e;document.getElementsByTagName("body")[0].appendChild(h)}h.style.display="";e=h.getBoundingClientRect();e={width:Math.floor(e.width),height:Math.floor(e.height)};h.style.display="none";return e},u3:function(e,f){var n=(ia||(ia=document.createElement("canvas"))).getContext("2d");n.font=f;return n.measureText(e).width},tN:function(e,f,n,r){if(f){f.style.fontSize=n+"px";e=0;for(var h;e<=n;)h=Math.floor((e+n)/2),f.style.overflow=
"hidden",f.offsetHeight,f.style.fontSize=h+"px",r&&(f.style.lineHeight=r(h)),f.style.overflow="auto",f.scrollHeight>Math.ceil(f.offsetHeight)?n=h-1:e=h+1;f.scrollHeight>Math.ceil(f.offsetHeight)&&(f.style.fontSize=parseFloat(f.style.fontSize)-1+"px");return parseFloat(f.style.fontSize)}return n/2},I0:function(e,f){da.c?e.addEventListener("change",function(e){f({change:e.target.value,wP:!0})}):e.addEventListener("input",function(e){e.change=e.target.value;f(e)})},L_:function(e,f,n,r){e.save();e.translate(f.x,
f.y);e.rotate(fa.a.Math.bk(f,n));e.moveTo(0,0);n=5*r+2;f=Math.cos(.2*Math.PI)*n;n*=Math.sin(.2*Math.PI);e.moveTo(f,-n);e.lineTo(0,0);e.lineTo(f,n);e.stroke();e.restore()},Ns:function(e,f){var n=e.ka({x:0,y:0});f=e.ka({x:Number(f),y:0});e=n.x-f.x;n=n.y-f.y;return Math.sqrt(e*e+n*n)},SD:function(e,f,n){var r=0<e.gl;f.beginPath();var h=fa.a.Math.pZ(n);!r&&fa.a.Math.bR(n)&&(h[h.length]={x:h[0].x,y:h[0].y});if(!(!r&&2>=h.length||r&&1>=h.length)){var x=e.Intensity;x&&"number"===typeof x||(x=2);var ea=1/
8092,ia=fa.a.Math.W2(h);n=1!==Math.round(ia);var z=0,aa=6.5*x,ja=h[0],ka=aa,ba=aa,da={x:h[1].x-h[0].x,y:h[1].y-h[0].y},ma={x:h[0].x-h[h.length-2].x,y:h[0].y-h[h.length-2].y};x=!0;for(var oa=!1,ua=0,la,ca,ha,Fa=0;Fa<h.length-1;++Fa){var Ma=h[Fa],qa=h[Fa+1],Ia={x:qa.x-Ma.x,y:qa.y-Ma.y},Pa=Math.sqrt(Ia.x*Ia.x+Ia.y*Ia.y);if(!(Pa<=ea)){qa={x:Ia.x/Pa,y:Ia.y/Pa};var xa=Math.max(Math.floor(Pa/aa),1),La=Pa/xa;z=fa.a.Math.E1(qa.x,qa.y);if(!r&&0===Fa&&3>=h.length){var Ga=Math.sqrt(da.x*da.x+da.y*da.y);if(Ga<
aa){f.arc(h[0].x,h[0].y,Ga,0,2*Math.PI);return}if(Ga<2*La){la=Ga/2;f.arc(h[0].x,h[0].y,la,0,2*Math.PI);f.moveTo(h[1].x+la,h[1].y);f.arc(h[1].x,h[1].y,la,0,2*Math.PI);f.moveTo(h[0].x+la,h[0].y);return}f.arc(h[0].x,h[0].y,La/2,0,2*Math.PI);f.moveTo(h[1].x+La/2,h[1].y);f.arc(h[1].x,h[1].y,La/2,0,2*Math.PI);f.moveTo(h[0].x+La/2,h[0].y)}r&&0===Fa&&(Ga=.25*(ka+La),w.za.arcTo(h[0].x-qa.x*La*.5,h[0].y-qa.y*La*.5,f,Ga,Ga,z,!1,n,h[0].x+qa.x*La*.5,h[0].y+qa.y*La*.5));0===Fa&&(ua=La,la={x:qa.x,y:qa.y});Ma.x-=
qa.x*La*.5;Ma.y-=qa.y*La*.5;Ga=fa.a.Math.TZ(ma,Ia);var Qa=0;oa||(++Qa,ba=La,x=0>Ga*ia,Ma.x+=qa.x*La,Ma.y+=qa.y*La,ja=Ma,f.moveTo(ja.x,ja.y),ca=ja.x,ha=ja.y,oa=!0);if(!e.ArcDrawMode||e.ArcDrawMode===y.b.EQUAL_ARCS){for(ka=.25*(ka+La);Qa<xa;++Qa)Ma.x+=qa.x*La,Ma.y+=qa.y*La,ha=w.za.arcTo(ca,ha,f,ka,ka,z,0===Qa&&0>Ga*ia,n,Ma.x,Ma.y),ca=ha.qT,ha=ha.rT;ma=Ia;ka=La}else if(e.ArcDrawMode===y.b.RANDOM_ARCS)for(Ia=Pa-ka,xa=fa.a.Math.LZ(e.Id);0<Ia;)La=Math.max(20*xa(),1),Ma.x+=2*qa.x*La,Ma.y+=2*qa.y*La,ha=w.za.arcTo(ca,
ha,f,La,La,z,!1,n,Ma.x,Ma.y),ca=ha.qT,ha=ha.rT,Ia-=2*La}}oa||(f.moveTo(ja.x,ja.y),ca=ja.x,ha=ja.y);la&&!r&&(e=.25*(ba+ka),w.za.arcTo(ca,ha,f,e,e,z,x,n,h[h.length-1].x+.5*ua*la.x,h[h.length-1].y+.5*ua*la.y))}},arcTo:function(e,f,n,r,h,w,x,y,ea,ia){var z=[],aa=[];fa.a.Math.qY(e,f,z,aa,r,h,w,x,y,ea,ia);for(h=r=0;h<aa.length;++h)"c"===aa[h]?(n.bezierCurveTo(z[r],z[r+1],z[r+2],z[r+3],z[r+4],z[r+5]),e=z[r+4],f=z[r+5],r+=6):(n.lineTo(z[r],z[r+1]),e=z[r],f=z[r+1],r+=2);return{qT:e,rT:f}}};var oa=document.createElement("canvas"),
ma=oa.getContext("2d");w.za.NI={padding:1,K2:function(e,f){if(f.overridePageCanvas)return f.overridePageCanvas;e=e.PageNumber;f=document.querySelector(".canvas"+e);f||(f=document.getElementById("hrthumb"+e))&&(f.isHrThumb=!0);return f},G3:function(e,f){f=f.completeRotation;if(f===z.c.E_0)return e;var n=0===f%2?e.width:e.height,r=0===f%2?e.height:e.width;if(!e.isHrThumb){oa.width=n;oa.height=r;switch(f){case z.c.E_90:ma.rotate(-Math.PI/2);ma.translate(-oa.height,0);break;case z.c.E_180:ma.rotate(Math.PI);
ma.translate(-oa.width,-oa.height);break;case z.c.E_270:ma.rotate(Math.PI/2),ma.translate(0,-oa.width)}f!==z.c.E_0&&(ma.drawImage(e,0,0),e=oa)}return e},j3:function(e,f,n){var r=n.pageInfo,h=n.zoom||1,w=n.completeRotation,x=n.documentRotation;n=f.X;var y=f.Y,ea=f.Width||1;f=f.Height||1;var ia=parseFloat(e.style.top)||e.yfa||0,aa=parseFloat(e.style.left)||e.Eea||0,ja=e.width/(e.style.width?parseFloat(e.style.width):e.width);"IMG"===e.nodeName&&(ja=e.naturalWidth/r.width);h*=ja;var ka=this.padding*
h,ba=this.padding*h,da=r.width,ma=r.height;0!==x%2&&(ma=r.width,da=r.height);if(!e.isHrThumb)switch(r=0===w%2?e.width:e.height,e=0===w%2?e.height:e.width,aa*=ja,ia*=ja,da*=h,ma*=h,w){case z.c.E_90:w=ia;ia=ma-e-aa;aa=w;break;case z.c.E_180:aa=da-r-aa;ia=ma-e-ia;break;case z.c.E_270:w=aa,aa=da-r-ia,ia=w}return{X:n*h-aa-ka,Y:y*h-ia-ba,Width:ea*h+2*ka,Height:f*h+2*ba}},b2:function(e){return{X:e.X-this.padding,Y:e.Y-this.padding,Width:(e.Width||1)+2*this.padding,Height:(e.Height||1)+2*this.padding}},j0:function(e,
f,n,r){var h=this.G3(n,f);e.globalCompositeOperation="destination-over";var w=[],x=this;r.Quads?r.Quads.forEach(function(e){var f=Math.min(e.x1,e.x2,e.x3,e.x4),n=Math.min(e.y1,e.y2,e.y3,e.y4);w.push({X:f,Y:n,Width:Math.max(e.x1,e.x2,e.x3,e.x4)-f,Height:Math.max(e.y1,e.y2,e.y3,e.y4)-n})}):w.push(r);w.forEach(function(r){var w=x.j3(n,r,f);r=x.b2(r);e.imageSmoothingEnabled=!1;e.drawImage(h,w.X,w.Y,w.Width,w.Height,r.X,r.Y,r.Width,r.Height)})},F0:function(e,f,n,r){var h=this.K2(e,r);h&&(f.save(),this.j0(f,
r,h,e),f.restore());f.globalCompositeOperation=e.BlendMode;e.draw(f,n,r)},E4:function(e){if(!e)return!1;var f=ma.globalCompositeOperation;ma.globalCompositeOperation=e;e=ma.globalCompositeOperation===e;ma.globalCompositeOperation=f;return e}};return w.za}(window)},function(ha,ca,h){h.d(ca,"a",function(){return e});var ba=h(21),aa=h(2),fa=h(43),da=h(66),z=h(72),y=h(39),f=h(73),e={kw:"rectangle",eJ:"normal"};(function(h){var r=h.Annotations||{};r.Uf=function(){r.Ea.call(this);this.gl=0;this.pa=[];this.Ww=
!1;this.Xm=2;this.LJ=f.b.EQUAL_ARCS;this["_xsi:type"]="Polygon";this.Subject=r.za.Zc("polygon");this.Eb={x:0,y:0};this.pc={x:0,y:0}};r.Uf.prototype={elementName:"polygon",resize:function(e){var f=e.x1;e=e.y1;var h=f-this.X,w=e-this.Y;if(0!==h||0!==w){for(var x=0;x<this.pa.length;x++){var y=new aa.b(this.pa[x].x,this.pa[x].y);y.translate(h,w);this.pa[x]={x:y.Fc(),y:y.Gc()}}Object.getOwnPropertyDescriptor(r.Annotation.prototype,"X").set.call(this,f);Object.getOwnPropertyDescriptor(r.Annotation.prototype,
"Y").set.call(this,e)}},adjustRect:function(){"PolygonDimension"===this.IT&&this.Measure&&this.Hj();r.Nc.prototype.adjustRect.call(this)},Hj:function(){var e=this.AE(),f=this.Measure.axis[0],r=this.Measure.area;e=this.Zy(e*f.factor*f.factor*r[0].factor,r);this.setContents(e)},finish:function(){ba.a.Math.bR(this.pa)&&this.pa.push(new aa.b(this.pa[0].x,this.pa[0].y));this.adjustRect();this.RA(0)},RA:function(e){this.gl=e},draw:function(e,f,r,h){this.vg=h;this.WD(e,f)},X_:function(e,f,r,h){if(this.gl){var n=
f[0];f=n.x*r-h/2;n=n.y*r-h/2;var w=f+h,x=n+h,y=h/2,ea=h/3/2,ia=y-ea;h=h-y+ea;e.save();e.globalAlpha=1;e.scale(1/r,1/r);e.beginPath();e.lineWidth=1;e.strokeStyle="black";e.setLineDash([2*ia,2*ea]);e.moveTo(f,n+ia);e.lineTo(f,n);e.lineTo(w,n);e.lineTo(w,x);e.lineTo(f,x);e.lineTo(f,n+h);e.stroke();e.closePath();e.restore()}},zP:function(){if(!this.gl||!this.vg||!this.pa.length||3>this.pa.length)return!1;var e=this.vg,f=this.pa[0],r=this.pa[this.pa.length-1],h=this.gl,x=f.x*e-h/2;f=f.y*e-h/2;var y=r.x*
e;e*=r.y;return x<y&&y<x+h&&f<e&&e<f+h},SR:function(){4>this.pa.length||this.pa.pop()},Xj:function(e){this.gl&&3<this.pa.length&&this.X_(e,this.pa,this.vg,this.gl);if("cloudy"===this.Style)r.za.SD(this,e,this.gb());else for(var f=0;f<this.pa.length;f++){var h=this.pa[f];0===f?(e.beginPath(),e.moveTo(h.x,h.y)):e.lineTo(h.x,h.y)}1<this.pa.length&&(e.lineJoin="round");this.gl||e.closePath()},AE:function(){var e=this.gb();return 3>e.length?0:Math.abs(e.reduce(function(f,r,h){return f+r.x*e[h===e.length-
1?0:h+1].y-e[h===e.length-1?0:h+1].x*r.y},0))/2},sr:function(e){this.Intent=e},fk:function(){return this.Intent},EH:function(f){this.me("trn-behavior-type",f);f===e.kw?this.selectionModel=y.h:f===e.eJ&&(this.selectionModel=y.g)},M1:function(){return this.xd("trn-behavior-type")},UF:function(){var f=this.gb();return this.M1()===e.kw&&5===this.gb().length&&f[0].x===f[3].x&&f[0].y===f[1].y&&f[2].x===f[1].x&&f[2].y===f[3].y},DH:function(e){this.LJ=e;e===f.b.RANDOM_ARCS?this.me(f.a,!0):e===f.b.EQUAL_ARCS&&
this.jt(f.a)},serialize:function(e,f){if(this.Mb)return this.Mb;var n=r.Ea.prototype.serialize.apply(this,arguments);"cloudy"===this.Style&&n.setAttribute("intensity",this.Intensity);var h=this.gb();if(h&&0<h.length){var w=document.createElementNS("","vertices");w.textContent=r.ma.pr(h,f);n.appendChild(w)}"PolygonDimension"===this.IT&&this.Measure&&n.appendChild(r.ma.nv(this.Measure));return n},deserialize:function(h,n){r.Ea.prototype.deserialize.apply(this,arguments);var w=h.getElementsByTagName("vertices");
0<w.length&&(this.pa=r.ma.An(w[0].textContent,n));this.Xm=parseInt(h.getAttribute("intensity")||0,10);this.ih=h.getAttribute("IT");w=h.querySelector("measure");"PolygonDimension"===this.ih&&w&&(this.Measure=r.ma.mt(w));this.xd(f.a)?this.ArcDrawMode=f.b.RANDOM_ARCS:this.ArcDrawMode=f.b.EQUAL_ARCS;this.$c()||this.adjustRect();this.UF()?this.EH(e.kw):this.EH(e.eJ)},selectionModel:y.g};r.Uf.prototype=Object.assign(new r.Nc,r.Uf.prototype);Object(fa.b)(r.Uf.prototype,[new z.a,new da.a]);Object.defineProperties(r.Uf.prototype,
{Intensity:{get:function(){return this.Xm},set:function(e){this.Xm=e;this.Va()}},Intent:{get:function(){return this.ih},set:function(e){this.ih=e;this.Va()}},ArcDrawMode:{get:function(){return this.LJ},set:function(e){this.DH(e);this.Va()}}})})(window)},function(ha,ca,h){var ba=h(3),aa=h(1);ha=h(116);var fa=h(69),da=h(25),z=h(4),y=h(285),f=h(15),e=h(30),x=!1;h=function(r){function h(){var e=null!==r&&r.apply(this,arguments)||this;e.hg=!0;e.wX={};e.BC={};e.lU=window.createPromiseCapability();e.UK=
[];return e}Object(ba.c)(h,r);h.prototype.loadAsync=function(e,f,h){return Object(ba.b)(this,void 0,void 0,function(){var n,w,ea,z,ia,da,ra,na,fa,za,ca,va,ta,ya,pa,ha,Ca=this;return Object(ba.d)(this,function(ja){switch(ja.label){case 0:n=!1;w=function(){n||(n=!0,Ca.Rg=f())};ea=function(e){n||(n=!0,Ca.Rg=f(e));var r=Ca.hg;setTimeout(function(){Ca.lU.resolve();var e=Ca.Rg.bg();r&&e&&e.getDocument()&&(e.bb.Xs(),e.bi())},0);Ca.hg=!1;x=!0};x||(this.Wa={Ss:function(){},addEventListener:function(){},rM:function(){},
LN:function(){return{iM:"",promise:Promise.resolve({})}},On:function(){return[]},ey:function(){}});x&&(this.hg=!1);r.prototype.loadAsync.call(this,e,ea,h);if(!e.url)return[3,9];this.pe=new y.a(e.url);return[4,this.pe.init()];case 1:return ja.la(),[4,e.getFile()];case 2:z=ja.la(),ia=void 0,z&&"string"===typeof z?ia={url:z}:z&&"string"!==typeof z&&z.url&&(ia=z),ja.label=3;case 3:return ja.Cm.push([3,7,,8]),ia?[4,this.hO(ia,e.withCredentials)]:[3,5];case 4:return da=ja.la(),da.Yu&&da.size===da.A7&&(this.Yu=
da.Yu,this.OG=da.OG),[3,6];case 5:this.hg=!1,ja.label=6;case 6:return[3,8];case 7:return ra=ja.la(),Object(aa.h)(ra),this.hg=!1,[3,8];case 8:return[3,10];case 9:this.hg=!1,ja.label=10;case 10:if(!this.Yu)return[3,15];na=void 0;ja.label=11;case 11:return ja.Cm.push([11,13,,14]),[4,this.pe.T6(e.url,this.Yu,this.OG)];case 12:return na=ja.la(),this.UK=Object.keys(na.thumbs).map(function(e){return parseInt(e,10)-1}),[3,14];case 13:return fa=ja.la(),Object(aa.h)(fa),this.hg=!1,[2];case 14:this.SC(na.pages);
za={};ca=na.thumbs;va=0;for(ta=this.aa.length;va<ta;va++)ya=va+1,pa=ca[ya],ha=void 0,ha=pa&&pa.page_objnum?pa.page_objnum+"-0":va,za[ya]=this.aa[va],za[ya].id=ha;this.Rw=!0;this.ZC({pageDimensions:za});this.pe.x7(this.er);w();return[3,16];case 15:this.hg=!1,ja.label=16;case 16:return[2]}})})};h.prototype.loadCanvasAsync=function(f){var n=f.pageNumber-1,h=f.getZoom(),w=f.getPageRotation(),x=f.renderRect,y=f.getPageTransform(),aa=f.canvasNum,ja=f.multiplier||Object(e.e)(),ba=this.aa[n],da="undefined"===
typeof x,na=w===z.c.Qda||w===z.c.Pda;if(da){var fa=(na?this.aa[n].height:this.aa[n].width)*h;na=(na?this.aa[n].width:this.aa[n].height)*h}else fa=(na?x.y2-x.y1:x.x2-x.x1)*h,na=(na?x.x2-x.x1:x.y2-x.y1)*h;fa=Math.round(fa);na=Math.round(na);var za=Math.floor(fa*ja),ca=Math.floor(na*ja),va=!1,ta=!0;this.pe&&this.pe.pz(ba)&&(va=!0,ta=null===this.ya||this.pe.SY(ba,Math.max(za,ca))&&da);return va&&ta&&f.isInternalRender&&!this.Po?(fa=Math.round(fa),na=Math.round(na),f.xP&&(h=ja),this.PJ({ty:f.drawProgressive,
sy:function(e,r){f.xP&&e.classList.add("embedded-thumb");f.drawComplete(e,n+1,r)},FQ:fa,DQ:na,hA:h,dr:w,page:this.aa[n],ac:x},!0,aa,y,f.pageCanvas,ja),h="ppid-"+n,this.BC[h]=!0,h):this.Je(r.prototype.loadCanvasAsync,[f])};h.prototype.extractXFDF=function(){return this.Je(r.prototype.extractXFDF,arguments)};h.prototype.getLayersArray=function(){return this.Je(r.prototype.getLayersArray,arguments)};h.prototype.getBookmarks=function(){return this.Je(r.prototype.getBookmarks,arguments)};h.prototype.loadTextData=
function(){return this.Je(r.prototype.loadTextData,arguments)};h.prototype.getFileData=function(){return this.Je(r.prototype.getFileData,arguments)};h.prototype.Qi=function(){return this.Je(r.prototype.Qi,arguments)};h.prototype.Sh=function(){return this.Je(r.prototype.Sh,arguments)};h.prototype.Ok=function(){return this.Je(r.prototype.Ok,arguments)};h.prototype.Zi=function(){return this.Je(r.prototype.Zi,arguments)};h.prototype.Qh=function(){return this.Je(r.prototype.Qh,arguments)};h.prototype.Bg=
function(){return this.Je(r.prototype.Bg,arguments)};h.prototype.Jg=function(){return this.Je(r.prototype.Jg,arguments)};h.prototype.dg=function(){return this.Je(r.prototype.dg,arguments)};h.prototype.Nk=function(){return this.Je(r.prototype.Nk,arguments)};h.prototype.um=function(){return this.Rw?!0:r.prototype.um.call(this)};h.prototype.unloadResources=function(){this.wX={};this.pe&&this.pe.clear();if(!this.hg)return r.prototype.unloadResources.call(this)};h.prototype.mz=function(){return this.hg||
this.Rw};h.prototype.qk=function(){return this.Rw};h.prototype.Sy=function(){return this.UK};h.prototype.loadThumbnailAsync=function(e,f,h){var n=this.aa[e-1];if(this.pe&&this.pe.pz(n)){var w=this.pe.Tn(n.id,{width:n.width,height:n.height,rotation:n.rotation},function(e,n){if(e)Object(aa.e)(e.toString());else{var r=new Image;r.onload=function(){r.classList.add("embedded-thumb");f(r);r=r.onload=null};r.src=n}});this.BC[w]=!0}else"embedded"!==h&&(w=r.prototype.loadThumbnailAsync.call(this,e,f,h));return w};
h.prototype.PJ=function(e,f,r,h,w,x){var n=this,y=e.XD?e.XD:Object(da.a)().setUpCanvas(e.page,e.hA,e.dr,h,r,e.ac,w,x).canvas,ea=y.getContext("2d");this.pe.Tn(e.page.id,{width:e.page.width,height:e.page.height,rotation:e.page.rotation},function(r,w){if(r)Object(aa.e)(r.toString());else{var x=new Image;x.onload=function(){h?1===e.dr||3===e.dr?ea.drawImage(x,0,0,h.height,h.width):ea.drawImage(x,0,0,h.width,h.height):ea.drawImage(x,0,0,e.page.width,e.page.height);e.page&&n.drawWatermark(y,e.page.oO());
if(n.aa[e.page.Sa-1])var r=n.aa[e.page.Sa-1].id;e.ty(y,r);f&&e.sy(y);f&&delete n.Pi[e.id];x=x.onload=null};x.src=w}})};h.prototype.Mx=function(e,f,h,w,x,y,z,aa,ba){if(this.hg&&this.pe&&this.pe.pz(w.page))return this.PJ(w,x,y,z,aa,ba);if(!this.hg)return this.aK&&(w.page=this.aa[w.page.oO()-1]),this.Je(r.prototype.Mx,[e,f,h,w,x,y,z,aa,ba])};h.prototype.zg=function(e){this.BC[e]?this.pe.mD(e):r.prototype.zg.call(this,e)};h.prototype.$v=function(e){var n=new fa.a(e.w,e.h),r=e.mtx;n.matrix=new f.a;n.matrix.cb(r[0],
r[1],r[2],r[3],r[4],r[5]);var h=this.El(n.matrix);n.matrix=this.mv(r,{w:e.w,h:e.h});n.rotation=h/90;return n};h.prototype.SC=function(e){if(0!==e.length)for(var f=0,n=e.length;f<n;++f)for(var r=e[f],h=Math.min(this.aa.length,r.i-1),w=r.i+r.n-2;w>=h;--w)this.aa[w]=this.$v(r)};h.prototype.mv=function(e,h){return this.hg&&!Array.isArray(e)||e instanceof f.a?e:r.prototype.mv.call(this,e,h)};h.prototype.Je=function(e,f){var n=this;return this.bX?e.apply(this,f):this.lU.promise.then(function(){n.bX=!0;
var r=e.apply(n,f);if(r&&r.then)return r})};h.prototype.Ey=function(e,f){if(this.Rw&&!this.aK){for(var n=Object.keys(e),h={},w=0,x=n.length;w<x;w++)e.hasOwnProperty(n[w])&&(h[parseInt(n[w],10)-1]=e[n[w]].id);this.zG=!1;this.vh({type:"changePageIds",data:h});this.aK=!0}return r.prototype.Ey.call(this,e,f)};h.prototype.iu=function(e){var f=this;e.forEach(function(e){e instanceof fa.a||(e=e.Ba()-1,e=f.aa[e]);f.pe&&f.pe.pz(e)&&f.pe.b9(e)});document.querySelectorAll(".pageContainer .embedded-thumb").forEach(function(e){e.parentNode.removeChild(e)})};
return h}(ha.a);ca.a=h},function(ha,ca,h){h.r(ca);var ba=h(3),aa=h(10),fa=h(1);ha=h(36);var da=h(26),z=h(11);h=function(){function h(){this.init()}h.prototype.init=function(){this.qZ=!1;this.Kf=this.Oj=this.connection=null;this.Ip={};this.na=this.lB=null};h.prototype.tba=function(f){for(var e=this,h=0;h<f.length;++h){var r=f[h];switch(r.at){case "create":this.Ip[r.author]||(this.Ip[r.author]=r.aName);this.k4(r);break;case "modify":this.na.Wl(r.xfdf).then(function(f){e.na.sb(f[0])});break;case "delete":this.na.Wl("<delete><id>"+
r.aId+"</id></delete>")}}};h.prototype.k4=function(f){var e=this;this.na.Wl(f.xfdf).then(function(h){h=h[0];h.authorId=f.author;e.na.sb(h);e.na.trigger(aa.a.UPDATE_ANNOTATION_PERMISSION,[h])})};h.prototype.K3=function(f,e,h){this.Oj&&this.Oj(f,e,h)};h.prototype.preloadAnnotations=function(f){this.Ng("blackBoxAnnotationsEnabled",this.K3.bind(this,f,"add",{imported:!1}))};h.prototype.initiateCollaboration=function(f,e,x){var r=this;if(f){r.Kf=e;r.na=x.ta();x.on(aa.c.DOCUMENT_UNLOADED,function(){r.disableCollaboration()});
r.Rba(f);var w=new XMLHttpRequest;w.addEventListener("load",function(){if(200===w.status&&0<w.responseText.length)try{var e=JSON.parse(w.responseText);r.connection=exports.kb.aca(Object(da.i)(r.Kf,"blackbox/"),"annot");r.lB=e.id;r.Ip[e.id]=e.user_name;r.na.FH(e.id);r.connection.hI(function(e){e.t&&e.t.startsWith("a_")&&e.data&&r.tba(e.data)},function(){r.connection.send({t:"a_retrieve",dId:f});r.trigger(h.Events.BLACKBOX_ANNOTATIONS_ENABLED,[r.Ip[e.id],r.lB])},function(){r.disableCollaboration()})}catch(ea){Object(fa.e)(ea.message)}});
w.open("GET",Object(da.i)(this.Kf,"demo/SessionInfo.jsp"));w.withCredentials=!0;w.send();r.qZ=!0;r.na.uS(function(e){return r.Ip[e.Author]||e.Author})}else Object(fa.e)("Document ID required for collaboration")};h.prototype.disableCollaboration=function(){this.Oj&&(this.na.off(z.a.Events.ANNOTATION_CHANGED,this.Oj),this.Oj=null);this.connection&&this.connection.$D();this.na&&this.na.FH("Guest");this.init();this.trigger(h.Events.BLACKBOX_ANNOTATIONS_DISABLED)};h.prototype.Rba=function(f){var e=this;
this.Oj&&this.na.off(z.a.Events.ANNOTATION_CHANGED,this.Oj);this.Oj=function(h,r,w){return Object(ba.b)(this,void 0,void 0,function(){var n,x,y,z,aa,da,fa,ja,ua;return Object(ba.d)(this,function(ea){switch(ea.label){case 0:if(w.imported)return[2];n={t:"a_"+r,dId:f,annots:[]};return[4,e.na.eE()];case 1:x=ea.la();"delete"!==r&&(y=(new DOMParser).parseFromString(x,"text/xml"),z=new XMLSerializer);for(aa=0;aa<h.length;aa++)da=h[aa],ja=fa=void 0,"add"===r?(fa=y.querySelector('[name="'+da.Id+'"]'),ja=z.serializeToString(fa),
ua=null,da.InReplyTo&&(ua=e.na.Pd(da.InReplyTo).authorId||"default"),n.annots.push({at:"create",aId:da.Id,author:e.lB,aName:e.Ip[e.lB],parent:ua,xfdf:"<add>"+ja+"</add>"})):"modify"===r?(fa=y.querySelector('[name="'+da.Id+'"]'),ja=z.serializeToString(fa),n.annots.push({at:"modify",aId:da.Id,xfdf:"<modify>"+ja+"</modify>"})):"delete"===r&&n.annots.push({at:"delete",aId:da.Id});0<n.annots.length&&e.connection.send(n);return[2]}})})}.bind(e);this.na.on(z.a.Events.ANNOTATION_CHANGED,this.Oj)};h.Events=
{BLACKBOX_ANNOTATIONS_ENABLED:"blackBoxAnnotationsEnabled",BLACKBOX_ANNOTATIONS_DISABLED:"blackBoxAnnotationsDisabled"};return h}();Object.assign(h.prototype,ha.a);ca["default"]=h},function(ha){var ca;(function(){function h(ba,aa,fa,da,z){for(var y=da,f,e=aa+1;e<fa;e++){var x=ba[e];var r=ba[aa],w=ba[fa],n=r.x;r=r.y;var ea=w.x-n,ia=w.y-r;if(0!==ea||0!==ia){var ka=((x.x-n)*ea+(x.y-r)*ia)/(ea*ea+ia*ia);1<ka?(n=w.x,r=w.y):0<ka&&(n+=ea*ka,r+=ia*ka)}ea=x.x-n;ia=x.y-r;x=ea*ea+ia*ia;x>y&&(f=e,y=x)}y>da&&
(1<f-aa&&h(ba,aa,f,da,z),z.push(ba[f]),1<fa-f&&h(ba,f,fa,da,z))}!(ca=function(ba,aa,fa){if(2>=ba.length)return ba;aa=void 0!==aa?aa*aa:1;if(fa)var da=ba;else{fa=ba[0];for(var z=[fa],y=1,f=ba.length;y<f;y++){da=ba[y];var e=da.x-fa.x,x=da.y-fa.y;e*e+x*x>aa&&(z.push(da),fa=da)}fa!==da&&z.push(da);da=z}ba=da.length-1;fa=[da[0]];h(da,0,ba,aa,fa);fa.push(da[ba]);return fa},void 0!==ca&&(ha.exports=ca))})()},function(ha,ca,h){var ba=h(195);ca.a=function(h,fa,da){for(var z=[],y=0;16>y;++y){z[y]=y;y<fa.length&&
(z[y]|=fa.charCodeAt(y));var f=da.length+y-16;0<=f&&(z[y]|=da.charCodeAt(f))}fa=[];for(da=0;16>da;++da)fa.push(h.charCodeAt(da));h=h.slice(16);z=ba.a.wl.Maa(z,fa);z.update(ba.a.Wo.createBuffer(h));return z.finish()?z.output.data:{error:"Bad password or file corrupt"}}},function(ha,ca,h){ha=h(261);ca.a=ha.a},function(ha,ca,h){var ba=h(25);ha=function(){function h(h){this.rotation=h.rotation;this.zoom=h.zoom;this.width=h.width;this.height=h.height;this.lf=this.canvas=null;this.gj=this.dD=this.Rh=!1;
this.fT=!0;this.ke=this.Zn=this.Fr=this.request=null}h.prototype.Rt=function(h){return(this.canvas||h?1:0)*this.width*this.height*this.zoom*this.zoom*(window.devicePixelRatio?window.devicePixelRatio*window.devicePixelRatio:1)*4};h.prototype.isValid=function(){return!!this.canvas||!Object(ba.a)().useCache};h.prototype.update=function(h){if(this.rotation!==h.rotation||this.zoom!==h.zoom)this.lf=this.canvas=null,this.fT=!0;this.rotation=h.rotation;this.zoom=h.zoom;this.width=h.width;this.height=h.height;
this.Sa=h.Sa};return h}();ca.a=ha},function(ha,ca,h){function ba(h){return function(y){h.forEach(function(f){var e=f.type,h=f.check,r=f.methods;Object.keys(r).forEach(function(f){var n=y.prototype[f],w=e.message,x=e.severity;y.prototype[f]=function(){for(var e=[],y=0;y<arguments.length;y++)e[y]=arguments[y];var ea=h(this);y=!ea&&x===da.Yr;if(!ea)switch(ea=w(r[f]),x){case da.Yr:throw Error(ea);default:Object(fa.h)(ea)}if(!y)return n.call.apply(n,Object(aa.e)([this],e))}})});return y}}var aa=h(3),fa=
h(1),da;(function(h){h.ERROR="error";h.WARN="warn"})(da||(da={}));ba.RV={HU:{message:function(h){return h+" was called before the 'documentLoaded' event"},severity:da.Yr},hca:{message:function(h){return h+" requires the full API to be enabled. Please set the fullAPI option to true in your WebViewer constructor."},severity:da.tca}};ca.a=ba},function(ha,ca){!function(h,ba){"object"==typeof ca&&"undefined"!=typeof ha?ba(ca):"function"==typeof define&&define.amd?define(["exports"],ba):ba((h=h||self).FX=
{})}(this,function(h){function ba(e,f,n){this.start=f;this.end=n;null!==e.zv&&(this.source=e.zv)}function aa(e,f){for(var n=65536,r=0;r<f.length;r+=2){if(e<(n+=f[r]))return!1;if(e<=(n+=f[r+1]))return!0}}function fa(e,f){return 65>e?36===e:91>e||(97>e?95===e:123>e||(65535>=e?170<=e&&Ea.test(String.fromCharCode(e)):!1!==f&&aa(e,Ja)))}function da(e,f){return 48>e?36===e:58>e||!(65>e)&&(91>e||(97>e?95===e:123>e||(65535>=e?170<=e&&Da.test(String.fromCharCode(e)):!1!==f&&(aa(e,Ja)||aa(e,Na)))))}function z(e,
f){void 0===f&&(f={});this.label=e;this.Ff=f.Ff;this.jd=!!f.jd;this.Nf=!!f.Nf;this.ou=!!f.ou;this.Bz=!!f.Bz;this.prefix=!!f.prefix;this.MG=!!f.MG;this.pn=f.pn||null;this.Pf=null}function y(e,f){return new z(e,{jd:!0,pn:f})}function f(e,f){return void 0===f&&(f={}),f.Ff=e,Ma[e]=new z(e,f)}function e(e,f){return 10===e||13===e||!f&&(8232===e||8233===e)}function x(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function r(e,f){this.line=e;this.column=f}function w(e,f){for(var n=1,h=0;;){Pa.lastIndex=
h;var w=Pa.exec(e);if(!(w&&w.index<f))return new r(n,f-h);++n;h=w.index+w[0].length}}function n(e){var f,n,r,h={};for(f in Ra)h[f]=(e&&Ga.call(e,f)?e:Ra)[f];return"latest"===h.ja?h.ja=1E8:null==h.ja?(!ib&&"object"==typeof console&&console.warn&&(ib=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),h.ja=11):2015<=h.ja&&(h.ja-=2009),null==h.Is&&(h.Is=5>h.ja),Ta(h.Lu)&&(n=h.Lu,h.Lu=function(e){return n.push(e)}),Ta(h.Bk)&&
(h.Bk=(r=h.Bk,function(e,f,n,w,x,y){f={type:e?"Block":"Line",value:f,start:n,end:w};h.we&&(f.loc=new ba(this,x,y));h.Jo&&(f.range=[n,w]);r.push(f)})),h}function ea(e,f,r){this.options=e=n(e);this.zv=e.zv;this.RP=x(Ca[6<=e.ja?6:"module"===e.zr?"5module":5]);var h="";!0!==e.Is&&(h=pa[6<=e.ja?6:5===e.ja?5:3],"module"===e.zr&&(h+=" await"));this.k9=x(h);h=(h?h+" ":"")+pa.strict;this.l9=x(h);this.m9=x(h+" "+pa.Qaa);this.input=String(f);this.rh=!1;r?(this.V=r,this.no=this.input.lastIndexOf("\n",r-1)+1,
this.Up=this.input.slice(0,this.no).split(Ia).length):(this.V=this.no=0,this.Up=1);this.type=qa.Gn;this.value=null;this.start=this.end=this.V;this.qd=this.aE=this.xn();this.bG=this.SP=null;this.Hh=this.gf=this.V;this.context=this.r4();this.Oe=!0;this.strict=(this.Xl="module"===e.zr)||this.vT(this.V);this.NG=-1;this.Lc=this.tc=this.td=0;this.labels=[];this.Ov={};0===this.V&&e.aY&&"#!"===this.input.slice(0,2)&&this.$A(2);this.Wg=[];this.Yj(1);this.BR=null}function ia(){this.yv=this.qj=this.Nh=this.Bo=
this.oy=-1}function ka(e){this.flags=e;this.mB=[];this.dm=[];this.functions=[]}function oa(e,f,n){this.type="";this.start=f;this.end=0;e.options.we&&(this.loc=new ba(e,n));e.options.VM&&(this.zv=e.options.VM);e.options.Jo&&(this.range=[f,0])}function ma(e,f,n,r){return e.type=f,e.end=n,this.options.we&&(e.loc.end=r),this.options.Jo&&(e.range[1]=n),e}function la(e){e=sc[e]={yY:x(Id[e]+" Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu"),
aj:{OU:x("Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu"),
iJ:x(Uc[e])}};e.aj.MV=e.aj.iJ;e.aj.fea=e.aj.OU;e.aj.jfa=e.aj.iJ;e.aj.kfa=e.aj.MV}function ja(e){this.JG=e;this.Jba="gim"+(6<=e.options.ja?"uy":"")+(9<=e.options.ja?"s":"");this.tI=sc[12<=e.options.ja?12:e.options.ja];this.flags=this.source="";this.start=0;this.Gv=this.Ae=!1;this.Ma=this.V=0;this.nd="";this.Lz=!1;this.Sz=this.Hu=0;this.bu=[];this.eD=[]}function ua(e){return 65535>=e?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function ra(e){return 36===e||40<=
e&&43>=e||46===e||63===e||91<=e&&94>=e||123<=e&&125>=e}function na(e){return 65<=e&&90>=e||97<=e&&122>=e||95===e}function ca(e){return 48<=e&&57>=e}function za(e){return 48<=e&&57>=e||65<=e&&70>=e||97<=e&&102>=e}function sa(e){return 65<=e&&70>=e?e-65+10:97<=e&&102>=e?e-97+10:e-48}function va(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;e.options.we&&(this.loc=new ba(e,e.qd,e.aE));e.options.Jo&&(this.range=[e.start,e.end])}function ta(e){return"function"!=typeof BigInt?
null:BigInt(e.replace(/_/g,""))}function ya(e){return 65535>=e?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var pa={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",
Qaa:"eval arguments"},ha="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Ca={5:ha,"5module":ha+" export import",6:ha+" const class extends export import super"},Aa=/^in(stanceof)?$/,Ea=/[\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]/,
Da=/[\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\u200c\u200d\u00b7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]/,
Ja=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,
47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,
2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Na=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,
3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],wa={jd:!0},Fa={Nf:!0},Ma={},qa={Xq:new z("num",Fa),AR:new z("regexp",
Fa),string:new z("string",Fa),name:new z("name",Fa),Gn:new z("eof"),rn:new z("[",{jd:!0,Nf:!0}),Os:new z("]"),Zf:new z("{",{jd:!0,Nf:!0}),xf:new z("}"),ie:new z("(",{jd:!0,Nf:!0}),ye:new z(")"),vd:new z(",",wa),Jf:new z(";",wa),Hl:new z(":",wa),Ab:new z("."),iR:new z("?",wa),jR:new z("?."),Hp:new z("=>",wa),template:new z("template"),EF:new z("invalidTemplate"),qt:new z("...",wa),nn:new z("`",Fa),QD:new z("${",{jd:!0,Nf:!0}),eq:new z("=",{jd:!0,Bz:!0}),assign:new z("_=",{jd:!0,Bz:!0}),yF:new z("++/--",
{prefix:!0,MG:!0,Nf:!0}),prefix:new z("!/~",{jd:!0,prefix:!0,Nf:!0}),jG:y("||",1),Rz:y("&&",2),DY:y("|",3),EY:y("^",4),CY:y("&",5),S0:y("==/!=/===/!==",6),W8:y("</>/<=/>=",7),BY:y("<</>>/>>>",8),t7:new z("+/-",{jd:!0,pn:9,prefix:!0,Nf:!0}),W5:y("%",10),ng:y("*",10),kT:y("/",10),pT:new z("**",{jd:!0}),vD:y("??",1),qW:f("break"),RJ:f("case",wa),tW:f("catch"),BW:f("continue"),EW:f("debugger"),$J:f("default",wa),GW:f("do",{ou:!0,jd:!0}),pC:f("else",wa),KW:f("finally"),mK:f("for",{ou:!0}),mp:f("function",
Fa),vK:f("if"),KC:f("return",wa),jL:f("switch"),vX:f("throw",wa),BX:f("try"),wx:f("var"),gC:f("const"),PC:f("while",{ou:!0}),rL:f("with"),gX:f("new",{jd:!0,Nf:!0}),uX:f("this",Fa),sX:f("super",Fa),Ew:f("class",Fa),IW:f("extends",wa),HW:f("export"),os:f("import",Fa),QK:f("null",Fa),oL:f("true",Fa),JW:f("false",Fa),jl:f("in",{jd:!0,pn:7}),Xca:f("instanceof",{jd:!0,pn:7}),Zca:f("typeof",{jd:!0,prefix:!0,Nf:!0}),bda:f("void",{jd:!0,prefix:!0,Nf:!0}),Tca:f("delete",{jd:!0,prefix:!0,Nf:!0})},Ia=/\r\n?|\n|\u2028|\u2029/,
Pa=new RegExp(Ia.source,"g"),xa=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,La=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;wa=Object.prototype;var Ga=wa.hasOwnProperty,Qa=wa.toString,Ta=Array.isArray||function(e){return"[object Array]"===Qa.call(e)},Ra={ja:null,zr:"script",sQ:null,uQ:null,Is:null,cY:!(r.prototype.offset=function(e){return new r(this.line,this.column+e)}),bY:!1,GL:!1,aY:!1,we:!1,Lu:null,Bk:null,Jo:!1,F7:null,zv:null,VM:null,y7:!1},ib=!1;ha={sz:{configurable:!0},xF:{configurable:!0},Iq:{configurable:!0},
JL:{configurable:!0},HL:{configurable:!0},rI:{configurable:!0},hP:{configurable:!0}};ea.prototype.parse=function(){var e=this.options.F7||this.startNode();return this.Eu(),this.f7(e)};ha.sz.get=function(){return 0<(2&this.FD().flags)};ha.xF.get=function(){return 0<(8&this.FD().flags)};ha.Iq.get=function(){return 0<(4&this.FD().flags)};ha.JL.get=function(){return 0<(64&this.ED().flags)};ha.HL.get=function(){return 0<(128&this.ED().flags)};ha.rI.get=function(){return this.ST(this.$x())};ha.hP.get=function(){return 0<
(2&this.ED().flags)};ea.extend=function(){for(var e=[],f=arguments.length;f--;)e[f]=arguments[f];f=this;for(var n=0;n<e.length;n++)f=e[n](f);return f};ea.parse=function(e,f){return(new this(f,e)).parse()};ea.JQ=function(e,f,n){f=new this(n,e,f);return f.Eu(),f.jg()};ea.OT=function(e,f){return new this(f,e)};Object.defineProperties(ea.prototype,ha);wa=ea.prototype;var Lb=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;wa.vT=function(e){for(;;){La.lastIndex=e;e+=La.exec(this.input)[0].length;var f=
Lb.exec(this.input.slice(e));if(!f)return!1;if("use strict"===(f[1]||f[2])){La.lastIndex=e+f[0].length;e=La.exec(this.input);f=e.index+e[0].length;var n=this.input.charAt(f);return";"===n||"}"===n||Ia.test(e[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||"!"===n&&"="===this.input.charAt(f+1))}e+=f[0].length;La.lastIndex=e;e+=La.exec(this.input)[0].length;";"===this.input[e]&&e++}};wa.ga=function(e){return this.type===e&&(this.next(),!0)};wa.uk=function(e){return this.type===qa.name&&this.value===e&&!this.rh};
wa.En=function(e){return!!this.uk(e)&&(this.next(),!0)};wa.dE=function(e){this.En(e)||this.jb()};wa.zi=function(){return this.type===qa.Gn||this.type===qa.xf||Ia.test(this.input.slice(this.gf,this.start))};wa.DF=function(){if(this.zi())return this.options.sQ&&this.options.sQ(this.gf,this.bG),!0};wa.Th=function(){this.ga(qa.Jf)||this.DF()||this.jb()};wa.Ep=function(e,f){if(this.type===e)return this.options.uQ&&this.options.uQ(this.Hh,this.SP),f||this.next(),!0};wa.Lb=function(e){this.ga(e)||this.jb()};
wa.jb=function(e){this.oa(null!=e?e:this.start,"Unexpected token")};wa.Ws=function(e,f){e&&(-1<e.qj&&this.Ya(e.qj,"Comma is not permitted after the rest element"),-1<(e=f?e.Nh:e.Bo)&&this.Ya(e,"Parenthesized pattern"))};wa.Fl=function(e,f){if(!e)return!1;var n=e.yv;e=e.oy;if(!f)return 0<=n||0<=e;0<=n&&this.oa(n,"Shorthand property assignments are valid only in destructuring patterns");0<=e&&this.Ya(e,"Redefinition of __proto__ property")};wa.Qx=function(){this.Lc&&(!this.tc||this.Lc<this.tc)&&this.oa(this.Lc,
"Yield expression cannot be a default value");this.tc&&this.oa(this.tc,"Await expression cannot be a default value")};wa.GP=function(e){return"ParenthesizedExpression"===e.type?this.GP(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};Fa=ea.prototype;Fa.f7=function(e){var f={};for(e.body||(e.body=[]);this.type!==qa.Gn;){var n=this.Sg(null,!0,f);e.body.push(n)}if(this.Xl)for(f=0,n=Object.keys(this.Ov);f<n.length;f+=1){var r=n[f];this.Ya(this.Ov[r].start,"Export '"+r+"' is not defined")}return this.sL(e.body),
this.next(),e.zr=this.options.zr,this.va(e,"Program")};var Mb={kind:"loop"},Db={kind:"switch"};Fa.OF=function(e){if(6>this.options.ja||!this.uk("let"))return!1;La.lastIndex=this.V;var f=La.exec(this.input),n=this.V+f[0].length;f=this.input.charCodeAt(n);if(91===f)return!0;if(e)return!1;if(123===f)return!0;if(fa(f,!0)){for(e=n+1;da(this.input.charCodeAt(e),!0);)++e;n=this.input.slice(n,e);if(!Aa.test(n))return!0}return!1};Fa.IF=function(){if(8>this.options.ja||!this.uk("async"))return!1;La.lastIndex=
this.V;var e=La.exec(this.input);e=this.V+e[0].length;return!(Ia.test(this.input.slice(this.V,e))||"function"!==this.input.slice(e,e+8)||e+8!==this.input.length&&da(this.input.charAt(e+8)))};Fa.Sg=function(e,f,n){var r,h=this.type,w=this.startNode();switch(this.OF(e)&&(h=qa.wx,r="let"),h){case qa.qW:case qa.BW:return this.u6(w,h.Ff);case qa.EW:return this.z6(w);case qa.GW:return this.B6(w);case qa.mK:return this.J6(w);case qa.mp:return e&&(this.strict||"if"!==e&&"label"!==e)&&6<=this.options.ja&&
this.jb(),this.OQ(w,!1,!e);case qa.Ew:return e&&this.jb(),this.CG(w,!0);case qa.vK:return this.M6(w);case qa.KC:return this.a7(w);case qa.jL:return this.d7(w);case qa.vX:return this.e7(w);case qa.BX:return this.g7(w);case qa.gC:case qa.wx:return r=r||this.value,e&&"var"!==r&&this.jb(),this.i7(w,r);case qa.PC:return this.j7(w);case qa.rL:return this.k7(w);case qa.Zf:return this.Ru(!0,w);case qa.Jf:return this.D6(w);case qa.HW:case qa.os:if(10<this.options.ja&&h===qa.os){La.lastIndex=this.V;r=La.exec(this.input);
var x=this.V+r[0].length;r=this.input.charCodeAt(x);if(40===r||46===r)return this.KQ(w,this.jg())}return this.options.bY||(f||this.oa(this.start,"'import' and 'export' may only appear at the top level"),this.Xl||this.oa(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),h===qa.os?this.N6(w):this.E6(w,n);default:if(this.IF())return e&&this.jb(),this.next(),this.OQ(w,!0,!e);x=this.value;r=this.jg();return h===qa.name&&"Identifier"===r.type&&this.ga(qa.Hl)?this.Q6(w,x,r,e):
this.KQ(w,r)}};Fa.u6=function(e,f){var n="break"===f;this.next();this.ga(qa.Jf)||this.DF()?e.label=null:this.type!==qa.name?this.jb():(e.label=this.pd(),this.Th());for(var r=0;r<this.labels.length;++r){var h=this.labels[r];if(null==e.label||h.name===e.label.name){if(null!=h.kind&&(n||"loop"===h.kind))break;if(e.label&&n)break}}return r===this.labels.length&&this.oa(e.start,"Unsyntactic "+f),this.va(e,n?"BreakStatement":"ContinueStatement")};Fa.z6=function(e){return this.next(),this.Th(),this.va(e,
"DebuggerStatement")};Fa.B6=function(e){return this.next(),this.labels.push(Mb),e.body=this.Sg("do"),this.labels.pop(),this.Lb(qa.PC),e.test=this.fr(),6<=this.options.ja?this.ga(qa.Jf):this.Th(),this.va(e,"DoWhileStatement")};Fa.J6=function(e){this.next();var f=9<=this.options.ja&&(this.Iq||!this.sz&&this.options.GL)&&this.En("await")?this.Hh:-1;if(this.labels.push(Mb),this.Yj(0),this.Lb(qa.ie),this.type===qa.Jf)return-1<f&&this.jb(f),this.FG(e,null);var n=this.OF();if(this.type===qa.wx||this.type===
qa.gC||n){var r=this.startNode();n=n?"let":this.value;return(this.next(),this.WQ(r,!0,n),this.va(r,"VariableDeclaration"),(this.type===qa.jl||6<=this.options.ja&&this.uk("of"))&&1===r.declarations.length)?(9<=this.options.ja&&(this.type===qa.jl?-1<f&&this.jb(f):e.ZL=-1<f),this.NQ(e,r)):(-1<f&&this.jb(f),this.FG(e,r))}n=new ia;r=this.jg(!0,n);return this.type===qa.jl||6<=this.options.ja&&this.uk("of")?(9<=this.options.ja&&(this.type===qa.jl?-1<f&&this.jb(f):e.ZL=-1<f),this.Am(r,!1,n),this.un(r),this.NQ(e,
r)):(this.Fl(n,!0),-1<f&&this.jb(f),this.FG(e,r))};Fa.OQ=function(e,f,n){return this.next(),this.nA(e,$b|(n?0:wb),!1,f)};Fa.M6=function(e){return this.next(),e.test=this.fr(),e.consequent=this.Sg("if"),e.alternate=this.ga(qa.pC)?this.Sg("if"):null,this.va(e,"IfStatement")};Fa.a7=function(e){return this.sz||this.options.cY||this.oa(this.start,"'return' outside of function"),this.next(),this.ga(qa.Jf)||this.DF()?e.argument=null:(e.argument=this.jg(),this.Th()),this.va(e,"ReturnStatement")};Fa.d7=function(e){var f;
this.next();e.discriminant=this.fr();e.cases=[];this.Lb(qa.Zf);this.labels.push(Db);this.Yj(0);for(var n,r=!1;this.type!==qa.xf;)this.type===qa.RJ||this.type===qa.$J?(n=this.type===qa.RJ,f&&this.va(f,"SwitchCase"),e.cases.push(f=this.startNode()),f.consequent=[],this.next(),n?f.test=this.jg():(r&&this.Ya(this.Hh,"Multiple default clauses"),r=!0,f.test=null),this.Lb(qa.Hl)):(f||this.jb(),f.consequent.push(this.Sg(null)));return this.jq(),f&&this.va(f,"SwitchCase"),this.next(),this.labels.pop(),this.va(e,
"SwitchStatement")};Fa.e7=function(e){return this.next(),Ia.test(this.input.slice(this.gf,this.start))&&this.oa(this.gf,"Illegal newline after throw"),e.argument=this.jg(),this.Th(),this.va(e,"ThrowStatement")};var ub=[];Fa.g7=function(e){var f,n;return this.next(),e.block=this.Ru(),e.handler=null,this.type===qa.tW&&(f=this.startNode(),this.next(),this.ga(qa.ie)?(f.param=this.lA(),n="Identifier"===f.param.type,this.Yj(n?32:0),this.un(f.param,n?4:2),this.Lb(qa.ye)):(10>this.options.ja&&this.jb(),f.param=
null,this.Yj(0)),f.body=this.Ru(!1),this.jq(),e.handler=this.va(f,"CatchClause")),e.finalizer=this.ga(qa.KW)?this.Ru():null,e.handler||e.finalizer||this.oa(e.start,"Missing catch or finally clause"),this.va(e,"TryStatement")};Fa.i7=function(e,f){return this.next(),this.WQ(e,!1,f),this.Th(),this.va(e,"VariableDeclaration")};Fa.j7=function(e){return this.next(),e.test=this.fr(),this.labels.push(Mb),e.body=this.Sg("while"),this.labels.pop(),this.va(e,"WhileStatement")};Fa.k7=function(e){return this.strict&&
this.oa(this.start,"'with' in strict mode"),this.next(),e.object=this.fr(),e.body=this.Sg("with"),this.va(e,"WithStatement")};Fa.D6=function(e){return this.next(),this.va(e,"EmptyStatement")};Fa.Q6=function(e,f,n,r){for(var h=0,w=this.labels;h<w.length;h+=1)w[h].name===f&&this.oa(n.start,"Label '"+f+"' is already declared");h=this.type.ou?"loop":this.type===qa.jL?"switch":null;for(w=this.labels.length-1;0<=w;w--){var x=this.labels[w];if(x.tT!==e.start)break;x.tT=this.start;x.kind=h}return this.labels.push({name:f,
kind:h,tT:this.start}),e.body=this.Sg(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=n,this.va(e,"LabeledStatement")};Fa.KQ=function(e,f){return e.expression=f,this.Th(),this.va(e,"ExpressionStatement")};Fa.Ru=function(e,f,n){void 0===e&&(e=!0);void 0===f&&(f=this.startNode());f.body=[];this.Lb(qa.Zf);for(e&&this.Yj(0);this.type!==qa.xf;){var r=this.Sg(null);f.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.jq(),this.va(f,"BlockStatement")};Fa.FG=function(e,f){return e.init=
f,this.Lb(qa.Jf),e.test=this.type===qa.Jf?null:this.jg(),this.Lb(qa.Jf),e.update=this.type===qa.ye?null:this.jg(),this.Lb(qa.ye),e.body=this.Sg("for"),this.jq(),this.labels.pop(),this.va(e,"ForStatement")};Fa.NQ=function(e,f){var n=this.type===qa.jl;return this.next(),"VariableDeclaration"===f.type&&null!=f.declarations[0].init&&(!n||8>this.options.ja||this.strict||"var"!==f.kind||"Identifier"!==f.declarations[0].id.type)&&this.oa(f.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),
e.left=f,e.right=n?this.jg():this.je(),this.Lb(qa.ye),e.body=this.Sg("for"),this.jq(),this.labels.pop(),this.va(e,n?"ForInStatement":"ForOfStatement")};Fa.WQ=function(e,f,n){e.declarations=[];for(e.kind=n;;){var r=this.startNode();if(this.h7(r,n),this.ga(qa.eq)?r.init=this.je(f):"const"!==n||this.type===qa.jl||6<=this.options.ja&&this.uk("of")?"Identifier"===r.id.type||f&&(this.type===qa.jl||this.uk("of"))?r.init=null:this.oa(this.gf,"Complex binding patterns require an initialization value"):this.jb(),
e.declarations.push(this.va(r,"VariableDeclarator")),!this.ga(qa.vd))break}};Fa.h7=function(e,f){e.id=this.lA();this.un(e.id,"var"===f?1:2,!1)};var $b=1,wb=2;Fa.nA=function(e,f,n,r){this.BF(e);(9<=this.options.ja||6<=this.options.ja&&!r)&&(this.type===qa.ng&&f&wb&&this.jb(),e.generator=this.ga(qa.ng));8<=this.options.ja&&(e.async=!!r);f&$b&&(e.id=4&f&&this.type!==qa.name?null:this.pd(),!e.id||f&wb||this.oh(e.id,this.strict||e.generator||e.async?this.rI?1:2:3));var h=this.Lc,w=this.tc;r=this.td;return this.Lc=
0,this.tc=0,this.td=0,this.Yj(2|(e.async?4:0)|(e.generator?8:0)),f&$b||(e.id=this.type===qa.name?this.pd():null),this.L6(e),this.HG(e,n,!1),this.Lc=h,this.tc=w,this.td=r,this.va(e,f&$b?"FunctionDeclaration":"FunctionExpression")};Fa.L6=function(e){this.Lb(qa.ie);e.params=this.BG(qa.ye,!1,8<=this.options.ja);this.Qx()};Fa.CG=function(e,f){this.next();var n=this.strict;this.strict=!0;this.w6(e,f);this.y6(e);var r=this.startNode(),h=!1;r.body=[];for(this.Lb(qa.Zf);this.type!==qa.xf;){var w=this.v6(null!==
e.superClass);w&&(r.body.push(w),"MethodDefinition"===w.type&&"constructor"===w.kind&&(h&&this.oa(w.start,"Duplicate constructor in the same class"),h=!0))}return this.strict=n,this.next(),e.body=this.va(r,"ClassBody"),this.va(e,f?"ClassDeclaration":"ClassExpression")};Fa.v6=function(e){function f(e,f){void 0===f&&(f=!1);var h=n.start,w=n.qd;return!!n.En(e)&&(!(n.type===qa.ie||f&&n.zi())||(r.key&&n.jb(),r.computed=!1,r.key=n.ne(h,w),r.key.name=e,n.va(r.key,"Identifier"),!1))}var n=this;if(this.ga(qa.Jf))return null;
var r=this.startNode();r.kind="method";r.jI=f("static");var h=this.ga(qa.ng),w=!1;h||(8<=this.options.ja&&f("async",!0)?(w=!0,h=9<=this.options.ja&&this.ga(qa.ng)):f("get")?r.kind="get":f("set")&&(r.kind="set"));r.key||this.pA(r);var x=r.key;f=!1;return r.computed||r.jI||!("Identifier"===x.type&&"constructor"===x.name||"Literal"===x.type&&"constructor"===x.value)?r.jI&&"Identifier"===x.type&&"prototype"===x.name&&this.oa(x.start,"Classes may not have a static property named prototype"):("method"!==
r.kind&&this.oa(x.start,"Constructor can't have get/set modifier"),h&&this.oa(x.start,"Constructor can't be a generator"),w&&this.oa(x.start,"Constructor can't be an async method"),r.kind="constructor",f=e),this.x6(r,h,w,f),"get"===r.kind&&0!==r.value.params.length&&this.Ya(r.value.start,"getter should have no params"),"set"===r.kind&&1!==r.value.params.length&&this.Ya(r.value.start,"setter should have exactly one param"),"set"===r.kind&&"RestElement"===r.value.params[0].type&&this.Ya(r.value.params[0].start,
"Setter cannot use rest params"),r};Fa.x6=function(e,f,n,r){e.value=this.IG(f,n,r);this.va(e,"MethodDefinition")};Fa.w6=function(e,f){this.type===qa.name?(e.id=this.pd(),f&&this.oh(e.id,2,!1)):(!0===f&&this.jb(),e.id=null)};Fa.y6=function(e){e.superClass=this.ga(qa.IW)?this.IQ():null};Fa.E6=function(e,f){if(this.next(),this.ga(qa.ng))return 11<=this.options.ja&&(this.En("as")?(e.exported=this.pd(!0),this.Vs(f,e.exported.name,this.Hh)):e.exported=null),this.dE("from"),this.type!==qa.string&&this.jb(),
e.source=this.Co(),this.Th(),this.va(e,"ExportAllDeclaration");var n,r;if(this.ga(qa.$J))return this.Vs(f,"default",this.Hh),this.type===qa.mp||(r=this.IF())?(n=this.startNode(),this.next(),r&&this.next(),e.declaration=this.nA(n,4|$b,!1,r)):this.type===qa.Ew?(r=this.startNode(),e.declaration=this.CG(r,"nullableID")):(e.declaration=this.je(),this.Th()),this.va(e,"ExportDefaultDeclaration");if(this.zaa())e.declaration=this.Sg(null),"VariableDeclaration"===e.declaration.type?this.cZ(f,e.declaration.declarations):
this.Vs(f,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.F6(f),this.En("from"))this.type!==qa.string&&this.jb(),e.source=this.Co();else{f=0;for(n=e.specifiers;f<n.length;f+=1)r=n[f],this.Px(r.local),this.$Y(r.local);e.source=null}this.Th()}return this.va(e,"ExportNamedDeclaration")};Fa.Vs=function(e,f,n){e&&(Ga.call(e,f)&&this.Ya(n,"Duplicate export '"+f+"'"),e[f]=!0)};Fa.vn=function(e,f){var n=f.type;if("Identifier"===n)this.Vs(e,
f.name,f.start);else if("ObjectPattern"===n)for(n=0,f=f.properties;n<f.length;n+=1)this.vn(e,f[n]);else if("ArrayPattern"===n)for(n=0,f=f.elements;n<f.length;n+=1){var r=f[n];r&&this.vn(e,r)}else"Property"===n?this.vn(e,f.value):"AssignmentPattern"===n?this.vn(e,f.left):"RestElement"===n?this.vn(e,f.argument):"ParenthesizedExpression"===n&&this.vn(e,f.expression)};Fa.cZ=function(e,f){if(e)for(var n=0;n<f.length;n+=1)this.vn(e,f[n].id)};Fa.zaa=function(){return"var"===this.type.Ff||"const"===this.type.Ff||
"class"===this.type.Ff||"function"===this.type.Ff||this.OF()||this.IF()};Fa.F6=function(e){var f=[],n=!0;for(this.Lb(qa.Zf);!this.ga(qa.xf);){if(n)n=!1;else if(this.Lb(qa.vd),this.Ep(qa.xf))break;var r=this.startNode();r.local=this.pd(!0);r.exported=this.En("as")?this.pd(!0):r.local;this.Vs(e,r.exported.name,r.exported.start);f.push(this.va(r,"ExportSpecifier"))}return f};Fa.N6=function(e){return this.next(),this.type===qa.string?(e.specifiers=ub,e.source=this.Co()):(e.specifiers=this.P6(),this.dE("from"),
e.source=this.type===qa.string?this.Co():this.jb()),this.Th(),this.va(e,"ImportDeclaration")};Fa.P6=function(){var e=[],f=!0;if(this.type===qa.name){var n=this.startNode();if(n.local=this.pd(),this.oh(n.local,2),e.push(this.va(n,"ImportDefaultSpecifier")),!this.ga(qa.vd))return e}if(this.type===qa.ng)return n=this.startNode(),this.next(),this.dE("as"),n.local=this.pd(),this.oh(n.local,2),e.push(this.va(n,"ImportNamespaceSpecifier")),e;for(this.Lb(qa.Zf);!this.ga(qa.xf);){if(f)f=!1;else if(this.Lb(qa.vd),
this.Ep(qa.xf))break;n=this.startNode();n.imported=this.pd(!0);this.En("as")?n.local=this.pd():(this.Px(n.imported),n.local=n.imported);this.oh(n.local,2);e.push(this.va(n,"ImportSpecifier"))}return e};Fa.sL=function(e){for(var f=0;f<e.length&&this.H4(e[f]);++f)e[f].Kda=e[f].expression.raw.slice(1,-1)};Fa.H4=function(e){return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};wa=ea.prototype;wa.Am=
function(e,f,n){if(6<=this.options.ja&&e)switch(e.type){case "Identifier":this.Iq&&"await"===e.name&&this.oa(e.start,"Cannot use 'await' as identifier inside an async function");break;case "ObjectPattern":case "ArrayPattern":case "AssignmentPattern":case "RestElement":break;case "ObjectExpression":e.type="ObjectPattern";n&&this.Ws(n,!0);n=0;for(var r=e.properties;n<r.length;n+=1){var h=r[n];this.Am(h,f);"RestElement"!==h.type||"ArrayPattern"!==h.argument.type&&"ObjectPattern"!==h.argument.type||this.oa(h.argument.start,
"Unexpected token")}break;case "Property":"init"!==e.kind&&this.oa(e.key.start,"Object pattern can't contain getter or setter");this.Am(e.value,f);break;case "ArrayExpression":e.type="ArrayPattern";n&&this.Ws(n,!0);this.GT(e.elements,f);break;case "SpreadElement":e.type="RestElement";this.Am(e.argument,f);"AssignmentPattern"===e.argument.type&&this.oa(e.argument.start,"Rest elements cannot have a default value");break;case "AssignmentExpression":"="!==e.operator&&this.oa(e.left.end,"Only '=' operator can be used for specifying default value.");
e.type="AssignmentPattern";delete e.operator;this.Am(e.left,f);break;case "ParenthesizedExpression":this.Am(e.expression,f,n);break;case "ChainExpression":this.Ya(e.start,"Optional chaining cannot appear in left-hand side");break;case "MemberExpression":if(!f)break;default:this.oa(e.start,"Assigning to rvalue")}else n&&this.Ws(n,!0);return e};wa.GT=function(e,f){for(var n,r=e.length,h=0;h<r;h++){var w=e[h];w&&this.Am(w,f)}return r&&(n=e[r-1],6===this.options.ja&&f&&n&&"RestElement"===n.type&&"Identifier"!==
n.argument.type&&this.jb(n.argument.start)),e};wa.b7=function(e){var f=this.startNode();return this.next(),f.argument=this.je(!1,e),this.va(f,"SpreadElement")};wa.SQ=function(){var e=this.startNode();return this.next(),6===this.options.ja&&this.type!==qa.name&&this.jb(),e.argument=this.lA(),this.va(e,"RestElement")};wa.lA=function(){if(6<=this.options.ja)switch(this.type){case qa.rn:var e=this.startNode();return this.next(),e.elements=this.BG(qa.Os,!0,!0),this.va(e,"ArrayPattern");case qa.Zf:return this.QQ(!0)}return this.pd()};
wa.BG=function(e,f,n){for(var r=[],h=!0;!this.ga(e);)if(h?h=!1:this.Lb(qa.vd),f&&this.type===qa.vd)r.push(null);else{if(n&&this.Ep(e))break;if(this.type===qa.qt){var w=this.SQ();r.push(w);this.type===qa.vd&&this.oa(this.start,"Comma is not permitted after the rest element");this.Lb(e);break}w=this.oA(this.start,this.qd);r.push(w)}return r};wa.Tea=function(e){return e};wa.oA=function(e,f,n){if(n=n||this.lA(),6>this.options.ja||!this.ga(qa.eq))return n;f=this.ne(e,f);return f.left=n,f.right=this.je(),
this.va(f,"AssignmentPattern")};wa.oh=function(e,f,n){void 0===f&&(f=0);var r=0!==f;switch(e.type){case "Identifier":this.strict&&this.m9.test(e.name)&&this.Ya(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode");r&&(2===f&&"let"===e.name&&this.Ya(e.start,"let is disallowed as a lexically bound name"),n&&(Ga.call(n,e.name)&&this.Ya(e.start,"Argument name clash"),n[e.name]=!0),5!==f&&this.$Z(e.name,f,e.start));break;case "ChainExpression":this.Ya(e.start,"Optional chaining cannot appear in left-hand side");
break;case "MemberExpression":r&&this.Ya(e.start,"Binding member expression");break;case "ParenthesizedExpression":return r&&this.Ya(e.start,"Binding parenthesized expression"),this.oh(e.expression,f,n);default:this.oa(e.start,(r?"Binding":"Assigning to")+" rvalue")}};wa.un=function(e,f,n){switch(void 0===f&&(f=0),e.type){case "ObjectPattern":var r=0;for(e=e.properties;r<e.length;r+=1)this.Ox(e[r],f,n);break;case "ArrayPattern":r=0;for(e=e.elements;r<e.length;r+=1){var h=e[r];h&&this.Ox(h,f,n)}break;
default:this.oh(e,f,n)}};wa.Ox=function(e,f,n){switch(void 0===f&&(f=0),e.type){case "Property":this.Ox(e.value,f,n);break;case "AssignmentPattern":this.un(e.left,f,n);break;case "RestElement":this.un(e.argument,f,n);break;default:this.un(e,f,n)}};ha=ea.prototype;ha.aZ=function(e,f,n){if(!(9<=this.options.ja&&"SpreadElement"===e.type||6<=this.options.ja&&(e.computed||e.method||e.shorthand))){var r=e.key;switch(r.type){case "Identifier":var h=r.name;break;case "Literal":h=String(r.value);break;default:return}e=
e.kind;6<=this.options.ja?"__proto__"===h&&"init"===e&&(f.H7&&(n?0>n.oy&&(n.oy=r.start):this.Ya(r.start,"Redefinition of __proto__ property")),f.H7=!0):((n=f[h="$"+h])?("init"===e?this.strict&&n.init||n.get||n.set:n.init||n[e])&&this.Ya(r.start,"Redefinition of property"):n=f[h]={init:!1,get:!1,set:!1},n[e]=!0)}};ha.jg=function(e,f){var n=this.start,r=this.qd,h=this.je(e,f);if(this.type!==qa.vd)return h;n=this.ne(n,r);for(n.expressions=[h];this.ga(qa.vd);)n.expressions.push(this.je(e,f));return this.va(n,
"SequenceExpression")};ha.je=function(e,f,n){if(this.uk("yield")){if(this.xF)return this.l7(e);this.Oe=!1}var r=!1,h=-1,w=-1;f?(h=f.Nh,w=f.qj,f.Nh=f.qj=-1):(f=new ia,r=!0);var x=this.start,y=this.qd;this.type!==qa.ie&&this.type!==qa.name||(this.NG=this.start);var ea=this.R6(e,f);return(n&&(ea=n.call(this,ea,x,y)),this.type.Bz)?(y=this.ne(x,y),y.operator=this.value,this.type===qa.eq&&(ea=this.Am(ea,!1,f)),r||(f.Nh=f.qj=f.oy=-1),f.yv>=ea.start&&(f.yv=-1),this.type===qa.eq?this.un(ea):this.oh(ea),y.left=
ea,this.next(),y.right=this.je(e),this.va(y,"AssignmentExpression")):(r&&this.Fl(f,!0),-1<h&&(f.Nh=h),-1<w&&(f.qj=w),ea)};ha.R6=function(e,f){var n=this.start,r=this.qd,h=this.H6(e,f);return this.Fl(f)?h:this.ga(qa.iR)?(r=this.ne(n,r),r.test=h,r.consequent=this.je(),this.Lb(qa.Hl),r.alternate=this.je(e),this.va(r,"ConditionalExpression")):h};ha.H6=function(e,f){var n=this.start,r=this.qd,h=this.Uu(f,!1);return this.Fl(f)||h.start===n&&"ArrowFunctionExpression"===h.type?h:this.EG(h,n,r,-1,e)};ha.EG=
function(e,f,n,r,h){var w=this.type.pn;if(null==w||h&&this.type===qa.jl||!(r<w))return e;var x=this.type===qa.jG||this.type===qa.Rz,y=this.type===qa.vD;y&&(w=qa.Rz.pn);var ea=this.value;this.next();var z=this.start,ia=this.qd;w=this.EG(this.Uu(null,!1),z,ia,w,h);ea=this.dM(f,n,e,w,ea,x||y);return(x&&this.type===qa.vD||y&&(this.type===qa.jG||this.type===qa.Rz))&&this.Ya(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.EG(ea,f,n,r,h)};ha.dM=
function(e,f,n,r,h,w){f=this.ne(e,f);return f.left=n,f.operator=h,f.right=r,this.va(f,w?"LogicalExpression":"BinaryExpression")};ha.Uu=function(e,f){var n=this.start,r=this.qd;if(this.uk("await")&&(this.Iq||!this.sz&&this.options.GL)){var h=this.t6();f=!0}else if(this.type.prefix){h=this.startNode();var w=this.type===qa.yF;h.operator=this.value;h.prefix=!0;this.next();h.argument=this.Uu(null,!0);this.Fl(e,!0);w?this.oh(h.argument):this.strict&&"delete"===h.operator&&"Identifier"===h.argument.type?
this.Ya(h.start,"Deleting local variable in strict mode"):f=!0;h=this.va(h,w?"UpdateExpression":"UnaryExpression")}else{if(h=this.IQ(e),this.Fl(e))return h;for(;this.type.MG&&!this.zi();)e=this.ne(n,r),e.operator=this.value,e.prefix=!1,e.argument=h,this.oh(h),this.next(),h=this.va(e,"UpdateExpression")}return!f&&this.ga(qa.pT)?this.dM(n,r,h,this.Uu(null,!1),"**",!1):h};ha.IQ=function(e){var f=this.start,n=this.qd,r=this.Co(e);if("ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.Hh,this.gf))return r;
n=this.TQ(r,f,n);return e&&"MemberExpression"===n.type&&(e.Nh>=n.start&&(e.Nh=-1),e.Bo>=n.start&&(e.Bo=-1)),n};ha.TQ=function(e,f,n,r){for(var h=8<=this.options.ja&&"Identifier"===e.type&&"async"===e.name&&this.gf===e.end&&!this.zi()&&5==e.end-e.start&&this.NG===e.start,w=!1;;){var x,y=this.c7(e,f,n,r,h,w);if(y.optional&&(w=!0),y===e||"ArrowFunctionExpression"===y.type)return w&&((x=this.ne(f,n)).expression=y,y=this.va(x,"ChainExpression")),y;e=y}};ha.c7=function(e,f,n,r,h,w){var x=11<=this.options.ja,
y=x&&this.ga(qa.jR);r&&y&&this.oa(this.Hh,"Optional chaining cannot appear in the callee of new expressions");var ea=this.ga(qa.rn);if(ea||y&&this.type!==qa.ie&&this.type!==qa.nn||this.ga(qa.Ab))w=this.ne(f,n),w.object=e,w.property=ea?this.jg():this.pd("never"!==this.options.Is),w.computed=!!ea,ea&&this.Lb(qa.Os),x&&(w.optional=y),e=this.va(w,"MemberExpression");else if(!r&&this.ga(qa.ie)){var z=new ia,aa=this.Lc;ea=this.tc;w=this.td;this.td=this.tc=this.Lc=0;r=this.DG(qa.ye,8<=this.options.ja,!1,
z);if(h&&!y&&!this.zi()&&this.ga(qa.Hp))return this.Ws(z,!1),this.Qx(),0<this.td&&this.oa(this.td,"Cannot use 'await' as identifier inside an async function"),this.Lc=aa,this.tc=ea,this.td=w,this.kA(this.ne(f,n),r,!0);this.Fl(z,!0);this.Lc=aa||this.Lc;this.tc=ea||this.tc;this.td=w||this.td;w=this.ne(f,n);w.callee=e;w.arguments=r;x&&(w.optional=y);e=this.va(w,"CallExpression")}else this.type===qa.nn&&((y||w)&&this.oa(this.start,"Optional chaining cannot appear in the tag of tagged template expressions"),
(n=this.ne(f,n)).tag=e,n.quasi=this.UQ({Gz:!0}),e=this.va(n,"TaggedTemplateExpression"));return e};ha.Co=function(e){this.type===qa.kT&&this.pR();var f=this.NG===this.start;switch(this.type){case qa.sX:return this.JL||this.oa(this.start,"'super' keyword outside a method"),h=this.startNode(),this.next(),this.type!==qa.ie||this.HL||this.oa(h.start,"super() call outside constructor of a subclass"),this.type!==qa.Ab&&this.type!==qa.rn&&this.type!==qa.ie&&this.jb(),this.va(h,"Super");case qa.uX:return h=
this.startNode(),this.next(),this.va(h,"ThisExpression");case qa.name:e=this.start;var n=this.qd,r=this.rh;h=this.pd(!1);if(8<=this.options.ja&&!r&&"async"===h.name&&!this.zi()&&this.ga(qa.mp))return this.nA(this.ne(e,n),0,!1,!0);if(f&&!this.zi()){if(this.ga(qa.Hp))return this.kA(this.ne(e,n),[h],!1);if(8<=this.options.ja&&"async"===h.name&&this.type===qa.name&&!r)return h=this.pd(!1),!this.zi()&&this.ga(qa.Hp)||this.jb(),this.kA(this.ne(e,n),[h],!0)}return h;case qa.AR:var h;f=this.value;return(h=
this.PQ(f.value)).regex={pattern:f.pattern,flags:f.flags},h;case qa.Xq:case qa.string:return this.PQ(this.value);case qa.QK:case qa.oL:case qa.JW:return(h=this.startNode()).value=this.type===qa.QK?null:this.type===qa.oL,h.raw=this.type.Ff,this.next(),this.va(h,"Literal");case qa.ie:return h=this.start,f=this.V6(f),e&&(0>e.Nh&&!this.GP(f)&&(e.Nh=h),0>e.Bo&&(e.Bo=h)),f;case qa.rn:return h=this.startNode(),this.next(),h.elements=this.DG(qa.Os,!0,!0,e),this.va(h,"ArrayExpression");case qa.Zf:return this.QQ(!1,
e);case qa.mp:return h=this.startNode(),this.next(),this.nA(h,0);case qa.Ew:return this.CG(this.startNode(),!1);case qa.gX:return this.S6();case qa.nn:return this.UQ();case qa.os:return 11<=this.options.ja?this.G6():this.jb();default:this.jb()}};ha.G6=function(){var e=this.startNode();this.rh&&this.Ya(this.start,"Escape sequence in keyword import");var f=this.pd(!0);switch(this.type){case qa.ie:return this.C6(e);case qa.Ab:return e.meta=f,this.O6(e);default:this.jb()}};ha.C6=function(e){var f;return this.next(),
e.source=this.je(),this.ga(qa.ye)||(f=this.start,this.ga(qa.vd)&&this.ga(qa.ye)?this.Ya(f,"Trailing comma is not allowed in import()"):this.jb(f)),this.va(e,"ImportExpression")};ha.O6=function(e){this.next();var f=this.rh;return e.property=this.pd(!0),"meta"!==e.property.name&&this.Ya(e.property.start,"The only valid meta property for import is 'import.meta'"),f&&this.Ya(e.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.zr&&this.Ya(e.start,"Cannot use 'import.meta' outside a module"),
this.va(e,"MetaProperty")};ha.PQ=function(e){var f=this.startNode();return f.value=e,f.raw=this.input.slice(this.start,this.end),110===f.raw.charCodeAt(f.raw.length-1)&&(f.bigint=f.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.va(f,"Literal")};ha.fr=function(){this.Lb(qa.ie);var e=this.jg();return this.Lb(qa.ye),e};ha.V6=function(e){var f,n=this.start,r=this.qd,h=8<=this.options.ja;if(6<=this.options.ja){this.next();var w=this.start,x=this.qd,y=[],ea=!0,z=!1,aa=new ia,ja=this.Lc,ka=this.tc;for(this.tc=
this.Lc=0;this.type!==qa.ye;){if(ea?ea=!1:this.Lb(qa.vd),h&&this.Ep(qa.ye,!0)){z=!0;break}if(this.type===qa.qt){var ba=this.start;y.push(this.RQ(this.SQ()));this.type===qa.vd&&this.oa(this.start,"Comma is not permitted after the rest element");break}y.push(this.je(!1,aa,this.RQ))}h=this.start;ea=this.qd;if(this.Lb(qa.ye),e&&!this.zi()&&this.ga(qa.Hp))return this.Ws(aa,!1),this.Qx(),this.Lc=ja,this.tc=ka,this.W6(n,r,y);y.length&&!z||this.jb(this.Hh);ba&&this.jb(ba);this.Fl(aa,!0);this.Lc=ja||this.Lc;
this.tc=ka||this.tc;1<y.length?((f=this.ne(w,x)).expressions=y,this.l1(f,h,ea)):f=y[0]}else f=this.fr();return this.options.y7?(r=this.ne(n,r),r.expression=f,this.va(r,"ParenthesizedExpression")):f};ha.RQ=function(e){return e};ha.W6=function(e,f,n){return this.kA(this.ne(e,f),n)};var ac=[];ha.S6=function(){this.rh&&this.Ya(this.start,"Escape sequence in keyword new");var e=this.startNode(),f=this.pd(!0);if(6<=this.options.ja&&this.ga(qa.Ab)){e.meta=f;var n=this.rh;return e.property=this.pd(!0),"target"!==
e.property.name&&this.Ya(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.Ya(e.start,"'new.target' must not contain escaped characters"),this.hP||this.Ya(e.start,"'new.target' can only be used in functions"),this.va(e,"MetaProperty")}var r=this.start;f=this.qd;n=this.type===qa.os;return e.callee=this.TQ(this.Co(),r,f,!0),n&&"ImportExpression"===e.callee.type&&this.oa(r,"Cannot use new with import()"),this.ga(qa.ie)?e.arguments=this.DG(qa.ye,8<=this.options.ja,!1):e.arguments=
ac,this.va(e,"NewExpression")};ha.VQ=function(e){var f=e.Gz;e=this.startNode();return this.type===qa.EF?(f||this.Ya(this.start,"Bad escape sequence in untagged template literal"),e.value={raw:this.value,CZ:null}):e.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),CZ:this.value},this.next(),e.tail=this.type===qa.nn,this.va(e,"TemplateElement")};ha.UQ=function(e){void 0===e&&(e={});e=e.Gz;void 0===e&&(e=!1);var f=this.startNode();this.next();f.expressions=[];var n=this.VQ({Gz:e});
for(f.quasis=[n];!n.tail;)this.type===qa.Gn&&this.oa(this.V,"Unterminated template literal"),this.Lb(qa.QD),f.expressions.push(this.jg()),this.Lb(qa.xf),f.quasis.push(n=this.VQ({Gz:e}));return this.next(),this.va(f,"TemplateLiteral")};ha.D4=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===qa.name||this.type===qa.Xq||this.type===qa.string||this.type===qa.rn||this.type.Ff||9<=this.options.ja&&this.type===qa.ng)&&!Ia.test(this.input.slice(this.gf,this.start))};
ha.QQ=function(e,f){var n=this.startNode(),r=!0,h={};n.properties=[];for(this.next();!this.ga(qa.xf);){if(r)r=!1;else if(this.Lb(qa.vd),5<=this.options.ja&&this.Ep(qa.xf))break;var w=this.X6(e,f);e||this.aZ(w,h,f);n.properties.push(w)}return this.va(n,e?"ObjectPattern":"ObjectExpression")};ha.X6=function(e,f){var n,r,h,w,x=this.startNode();if(9<=this.options.ja&&this.ga(qa.qt))return e?(x.argument=this.pd(!1),this.type===qa.vd&&this.oa(this.start,"Comma is not permitted after the rest element"),this.va(x,
"RestElement")):(this.type===qa.ie&&f&&(0>f.Nh&&(f.Nh=this.start),0>f.Bo&&(f.Bo=this.start)),x.argument=this.je(!1,f),this.type===qa.vd&&f&&0>f.qj&&(f.qj=this.start),this.va(x,"SpreadElement"));6<=this.options.ja&&(x.method=!1,x.shorthand=!1,(e||f)&&(h=this.start,w=this.qd),e||(n=this.ga(qa.ng)));var y=this.rh;return this.pA(x),!e&&!y&&8<=this.options.ja&&!n&&this.D4(x)?(r=!0,n=9<=this.options.ja&&this.ga(qa.ng),this.pA(x)):r=!1,this.Y6(x,e,n,r,h,w,f,y),this.va(x,"Property")};ha.Y6=function(e,f,n,
r,h,w,x,y){(n||r)&&this.type===qa.Hl&&this.jb();this.ga(qa.Hl)?(e.value=f?this.oA(this.start,this.qd):this.je(!1,x),e.kind="init"):6<=this.options.ja&&this.type===qa.ie?(f&&this.jb(),e.kind="init",e.method=!0,e.value=this.IG(n,r)):f||y||!(5<=this.options.ja)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===qa.vd||this.type===qa.xf||this.type===qa.eq?6<=this.options.ja&&!e.computed&&"Identifier"===e.key.type?((n||r)&&this.jb(),this.Px(e.key),"await"!==e.key.name||
this.td||(this.td=h),e.kind="init",f?e.value=this.oA(h,w,this.yD(e.key)):this.type===qa.eq&&x?(0>x.yv&&(x.yv=this.start),e.value=this.oA(h,w,this.yD(e.key))):e.value=this.yD(e.key),e.shorthand=!0):this.jb():((n||r)&&this.jb(),e.kind=e.key.name,this.pA(e),e.value=this.IG(!1),r="get"===e.kind?0:1,e.value.params.length!==r?(r=e.value.start,"get"===e.kind?this.Ya(r,"getter should have no params"):this.Ya(r,"setter should have exactly one param")):"set"===e.kind&&"RestElement"===e.value.params[0].type&&
this.Ya(e.value.params[0].start,"Setter cannot use rest params"))};ha.pA=function(e){if(6<=this.options.ja){if(this.ga(qa.rn)){e.computed=!0;e.key=this.je();this.Lb(qa.Os);return}e.computed=!1}e.key=this.type===qa.Xq||this.type===qa.string?this.Co():this.pd("never"!==this.options.Is)};ha.BF=function(e){e.id=null;6<=this.options.ja&&(e.generator=e.expression=!1);8<=this.options.ja&&(e.async=!1)};ha.IG=function(e,f,n){var r=this.startNode(),h=this.Lc,w=this.tc,x=this.td;return this.BF(r),6<=this.options.ja&&
(r.generator=e),8<=this.options.ja&&(r.async=!!f),this.Lc=0,this.tc=0,this.td=0,this.Yj(66|(f?4:0)|(r.generator?8:0)|(n?128:0)),this.Lb(qa.ie),r.params=this.BG(qa.ye,!1,8<=this.options.ja),this.Qx(),this.HG(r,!1,!0),this.Lc=h,this.tc=w,this.td=x,this.va(r,"FunctionExpression")};ha.kA=function(e,f,n){var r=this.Lc,h=this.tc,w=this.td;return this.Yj((n?4:0)|18),this.BF(e),8<=this.options.ja&&(e.async=!!n),this.Lc=0,this.tc=0,this.td=0,e.params=this.GT(f,!0),this.HG(e,!0,!1),this.Lc=r,this.tc=h,this.td=
w,this.va(e,"ArrowFunctionExpression")};ha.HG=function(e,f,n){var r=f&&this.type!==qa.Zf,h=this.strict,w=!1;r?(e.body=this.je(),e.expression=!0,this.oM(e,!1)):(r=7<=this.options.ja&&!this.HP(e.params),h&&!r||(w=this.vT(this.end))&&r&&this.Ya(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"),r=this.labels,this.labels=[],w&&(this.strict=!0),this.oM(e,!h&&!w&&!f&&!n&&this.HP(e.params)),this.strict&&e.id&&this.oh(e.id,5),e.body=this.Ru(!1,void 0,w&&!h),e.expression=
!1,this.sL(e.body.body),this.labels=r);this.jq()};ha.HP=function(e){for(var f=0;f<e.length;f+=1)if("Identifier"!==e[f].type)return!1;return!0};ha.oM=function(e,f){var n={},r=0;for(e=e.params;r<e.length;r+=1)this.Ox(e[r],1,f?null:n)};ha.DG=function(e,f,n,r){for(var h=[],w=!0;!this.ga(e);){if(w)w=!1;else if(this.Lb(qa.vd),f&&this.Ep(e))break;var x=void 0;n&&this.type===qa.vd?x=null:this.type===qa.qt?(x=this.b7(r),r&&this.type===qa.vd&&0>r.qj&&(r.qj=this.start)):x=this.je(!1,r);h.push(x)}return h};ha.Px=
function(e){var f=e.start,n=e.end;e=e.name;this.xF&&"yield"===e&&this.Ya(f,"Cannot use 'yield' as identifier inside a generator");this.Iq&&"await"===e&&this.Ya(f,"Cannot use 'await' as identifier inside an async function");this.RP.test(e)&&this.oa(f,"Unexpected keyword '"+e+"'");6>this.options.ja&&-1!==this.input.slice(f,n).indexOf("\\")||(this.strict?this.l9:this.k9).test(e)&&(this.Iq||"await"!==e||this.Ya(f,"Cannot use keyword 'await' outside an async function"),this.Ya(f,"The keyword '"+e+"' is reserved"))};
ha.pd=function(e){var f=this.startNode();return this.type===qa.name?f.name=this.value:this.type.Ff?(f.name=this.type.Ff,"class"!==f.name&&"function"!==f.name||this.gf===this.Hh+1&&46===this.input.charCodeAt(this.Hh)||this.context.pop()):this.jb(),this.next(!!e),this.va(f,"Identifier"),e||(this.Px(f),"await"!==f.name||this.td||(this.td=f.start)),f};ha.l7=function(e){this.Lc||(this.Lc=this.start);var f=this.startNode();return this.next(),this.type===qa.Jf||this.zi()||this.type!==qa.ng&&!this.type.Nf?
(f.delegate=!1,f.argument=null):(f.delegate=this.ga(qa.ng),f.argument=this.je(e)),this.va(f,"YieldExpression")};ha.t6=function(){this.tc||(this.tc=this.start);var e=this.startNode();return this.next(),e.argument=this.Uu(null,!0),this.va(e,"AwaitExpression")};wa=ea.prototype;wa.oa=function(e,f){var n=w(this.input,e);f+=" ("+n.line+":"+n.column+")";f=new SyntaxError(f);throw f.V=e,f.loc=n,f.gfa=this.V,f;};wa.Ya=wa.oa;wa.xn=function(){if(this.options.we)return new r(this.Up,this.V-this.no)};Fa=ea.prototype;
Fa.Yj=function(e){this.Wg.push(new ka(e))};Fa.jq=function(){this.Wg.pop()};Fa.ST=function(e){return 2&e.flags||!this.Xl&&1&e.flags};Fa.$Z=function(e,f,n){var r=!1;if(2===f)f=this.$x(),r=-1<f.dm.indexOf(e)||-1<f.functions.indexOf(e)||-1<f.mB.indexOf(e),f.dm.push(e),this.Xl&&1&f.flags&&delete this.Ov[e];else if(4===f)this.$x().dm.push(e);else if(3===f)f=this.$x(),r=this.rI?-1<f.dm.indexOf(e):-1<f.dm.indexOf(e)||-1<f.mB.indexOf(e),f.functions.push(e);else for(f=this.Wg.length-1;0<=f;--f){var h=this.Wg[f];
if(-1<h.dm.indexOf(e)&&!(32&h.flags&&h.dm[0]===e)||!this.ST(h)&&-1<h.functions.indexOf(e)){r=!0;break}if(h.mB.push(e),this.Xl&&1&h.flags&&delete this.Ov[e],3&h.flags)break}r&&this.Ya(n,"Identifier '"+e+"' has already been declared")};Fa.$Y=function(e){-1===this.Wg[0].dm.indexOf(e.name)&&-1===this.Wg[0].mB.indexOf(e.name)&&(this.Ov[e.name]=e)};Fa.$x=function(){return this.Wg[this.Wg.length-1]};Fa.FD=function(){for(var e=this.Wg.length-1;;e--){var f=this.Wg[e];if(3&f.flags)return f}};Fa.ED=function(){for(var e=
this.Wg.length-1;;e--){var f=this.Wg[e];if(3&f.flags&&!(16&f.flags))return f}};wa=ea.prototype;wa.startNode=function(){return new oa(this,this.start,this.qd)};wa.ne=function(e,f){return new oa(this,e,f)};wa.va=function(e,f){return ma.call(this,e,f,this.gf,this.bG)};wa.l1=function(e,f,n){ma.call(this,e,"SequenceExpression",f,n)};ha=function(e,f,n,r,h){this.NT=e;this.vP=!!f;this.z7=!!n;this.BQ=r;this.generator=!!h};var db={Jp:new ha("{",!(wa.yD=function(e){var f,n=new oa(this,e.start,this.qd);for(f in e)n[f]=
e[f];return n})),$L:new ha("{",!0),vY:new ha("${",!1),CQ:new ha("(",!1),q6:new ha("(",!0),hR:new ha("`",!0,!0,function(e){return e.jba()}),mN:new ha("function",!1),jE:new ha("function",!0),b1:new ha("function",!0,!1,null,!0),c1:new ha("function",!1,!1,null,!0)};wa=ea.prototype;wa.r4=function(){return[db.Jp]};wa.GY=function(e){var f=this.Tp();return f===db.jE||f===db.mN||(e!==qa.Hl||f!==db.Jp&&f!==db.$L?e===qa.KC||e===qa.name&&this.Oe?Ia.test(this.input.slice(this.gf,this.start)):e===qa.pC||e===qa.Jf||
e===qa.Gn||e===qa.ye||e===qa.Hp||(e===qa.Zf?f===db.Jp:e!==qa.wx&&e!==qa.gC&&e!==qa.name&&!this.Oe):!f.vP)};wa.m4=function(){for(var e=this.context.length-1;1<=e;e--){var f=this.context[e];if("function"===f.NT)return f.generator}return!1};wa.Pf=function(e){var f,n=this.type;n.Ff&&e===qa.Ab?this.Oe=!1:(f=n.Pf)?f.call(this,e):this.Oe=n.jd};qa.ye.Pf=qa.xf.Pf=function(){var e;1!==this.context.length?((e=this.context.pop())===db.Jp&&"function"===this.Tp().NT&&(e=this.context.pop()),this.Oe=!e.vP):this.Oe=
!0};qa.Zf.Pf=function(e){this.context.push(this.GY(e)?db.Jp:db.$L);this.Oe=!0};qa.QD.Pf=function(){this.context.push(db.vY);this.Oe=!0};qa.ie.Pf=function(e){e=e===qa.vK||e===qa.mK||e===qa.rL||e===qa.PC;this.context.push(e?db.CQ:db.q6);this.Oe=!0};qa.yF.Pf=function(){};qa.mp.Pf=qa.Ew.Pf=function(e){!e.jd||e===qa.pC||e===qa.Jf&&this.Tp()!==db.CQ||e===qa.KC&&Ia.test(this.input.slice(this.gf,this.start))||(e===qa.Hl||e===qa.Zf)&&this.Tp()===db.Jp?this.context.push(db.mN):this.context.push(db.jE);this.Oe=
!1};qa.nn.Pf=function(){this.Tp()===db.hR?this.context.pop():this.context.push(db.hR);this.Oe=!1};qa.ng.Pf=function(e){e===qa.mp&&(e=this.context.length-1,this.context[e]===db.jE?this.context[e]=db.b1:this.context[e]=db.c1);this.Oe=!0};qa.name.Pf=function(e){var f=!1;6<=this.options.ja&&e!==qa.Ab&&("of"===this.value&&!this.Oe||"yield"===this.value&&this.m4())&&(f=!0);this.Oe=f};Fa="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";
wa=Fa+" Extended_Pictographic";var Id={9:Fa,10:wa,11:wa,12:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic EBase EComp EMod EPres ExtPict"};
wa="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";
Fa=wa+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Uc={9:wa,10:Fa,11:Fa+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",12:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"},
sc={};la(9);la(10);la(11);la(12);wa=ea.prototype;ja.prototype.reset=function(e,f,n){var r=-1!==n.indexOf("u");this.start=0|e;this.source=f+"";this.flags=n;this.Ae=r&&6<=this.JG.options.ja;this.Gv=r&&9<=this.JG.options.ja};ja.prototype.oa=function(e){this.JG.Ya(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};ja.prototype.at=function(e,f){void 0===f&&(f=!1);var n=this.source,r=n.length;if(r<=e)return-1;var h=n.charCodeAt(e);if(!f&&!this.Ae||55295>=h||57344<=h||r<=e+1)return h;e=n.charCodeAt(e+
1);return 56320<=e&&57343>=e?(h<<10)+e-56613888:h};ja.prototype.mQ=function(e,f){void 0===f&&(f=!1);var n=this.source,r=n.length;if(r<=e)return r;var h,w=n.charCodeAt(e);return!f&&!this.Ae||55295>=w||57344<=w||r<=e+1||56320>(h=n.charCodeAt(e+1))||57343<h?e+1:e+2};ja.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.V,e)};ja.prototype.Ga=function(e){return void 0===e&&(e=!1),this.at(this.mQ(this.V,e),e)};ja.prototype.advance=function(e){void 0===e&&(e=!1);this.V=this.mQ(this.V,e)};
ja.prototype.ga=function(e){var f;return void 0===f&&(f=!1),this.current(f)===e&&(this.advance(f),!0)};wa.Lba=function(e){for(var f=e.Jba,n=e.flags,r=0;r<n.length;r++){var h=n.charAt(r);-1===f.indexOf(h)&&this.oa(e.start,"Invalid regular expression flag");-1<n.indexOf(h,r+1)&&this.oa(e.start,"Duplicate regular expression flag")}};wa.Mba=function(e){this.OR(e);!e.Gv&&9<=this.options.ja&&0<e.bu.length&&(e.Gv=!0,this.OR(e))};wa.OR=function(e){e.V=0;e.Ma=0;e.nd="";e.Lz=!1;e.Hu=0;e.Sz=0;e.bu.length=0;
e.eD.length=0;this.xA(e);e.V!==e.source.length&&(e.ga(41)&&e.oa("Unmatched ')'"),(e.ga(93)||e.ga(125))&&e.oa("Lone quantifier brackets"));e.Sz>e.Hu&&e.oa("Invalid escape");for(var f=0,n=e.eD;f<n.length;f+=1)-1===e.bu.indexOf(n[f])&&e.oa("Invalid named capture referenced")};wa.xA=function(e){for(this.CR(e);e.ga(124);)this.CR(e);this.eH(e,!0)&&e.oa("Nothing to repeat");e.ga(123)&&e.oa("Lone quantifier brackets")};wa.CR=function(e){for(;e.V<e.source.length&&this.K8(e););};wa.K8=function(e){return this.l8(e)?
(e.Lz&&this.eH(e)&&e.Ae&&e.oa("Invalid quantifier"),!0):!(e.Ae?!this.m8(e):!this.v8(e))&&(this.eH(e),!0)};wa.l8=function(e){var f=e.V;if(e.Lz=!1,e.ga(94)||e.ga(36))return!0;if(e.ga(92)){if(e.ga(66)||e.ga(98))return!0;e.V=f}if(e.ga(40)&&e.ga(63)){var n=!1;if(9<=this.options.ja&&(n=e.ga(60)),e.ga(61)||e.ga(33))return this.xA(e),e.ga(41)||e.oa("Unterminated group"),e.Lz=!n,!0}return e.V=f,!1};wa.eH=function(e,f){return void 0===f&&(f=!1),!!this.F8(e,f)&&(e.ga(63),!0)};wa.F8=function(e,f){return e.ga(42)||
e.ga(43)||e.ga(63)||this.DR(e,f)};wa.DR=function(e,f){var n=e.V;if(e.ga(123)){var r,h=-1;if(this.JR(e)&&(r=e.Ma,e.ga(44)&&this.JR(e)&&(h=e.Ma),e.ga(125)))return-1!==h&&h<r&&!f&&e.oa("numbers out of order in {} quantifier"),!0;e.Ae&&!f&&e.oa("Incomplete quantifier");e.V=n}return!1};wa.m8=function(e){return this.E8(e)||e.ga(46)||this.LR(e)||this.FR(e)||this.MR(e)||this.ER(e)};wa.LR=function(e){var f=e.V;if(e.ga(92)){if(this.n8(e))return!0;e.V=f}return!1};wa.MR=function(e){var f=e.V;if(e.ga(40)){if(e.ga(63)&&
e.ga(58)){if(this.xA(e),e.ga(41))return!0;e.oa("Unterminated group")}e.V=f}return!1};wa.ER=function(e){if(e.ga(40)){if(9<=this.options.ja?this.O8(e):63===e.current()&&e.oa("Invalid group"),this.xA(e),e.ga(41))return e.Hu+=1,!0;e.oa("Unterminated group")}return!1};wa.v8=function(e){return e.ga(46)||this.LR(e)||this.FR(e)||this.MR(e)||this.ER(e)||this.A8(e)||this.w8(e)};wa.A8=function(e){return this.DR(e,!0)&&e.oa("Nothing to repeat"),!1};wa.J8=function(e){var f=e.current();return!!ra(f)&&(e.Ma=f,e.advance(),
!0)};wa.E8=function(e){for(var f,n=e.V;-1!==(f=e.current())&&!ra(f);)e.advance();return e.V!==n};wa.w8=function(e){var f=e.current();return!(-1===f||36===f||40<=f&&43>=f||46===f||63===f||91===f||94===f||124===f)&&(e.advance(),!0)};wa.O8=function(e){e.ga(63)&&(this.KR(e)?(-1!==e.bu.indexOf(e.nd)&&e.oa("Duplicate capture group name"),e.bu.push(e.nd)):e.oa("Invalid group"))};wa.KR=function(e){if(e.nd="",e.ga(60)){if(this.G8(e)&&e.ga(62))return!0;e.oa("Invalid capture group name")}return!1};wa.G8=function(e){if(e.nd=
"",this.I8(e)){for(e.nd+=ua(e.Ma);this.H8(e);)e.nd+=ua(e.Ma);return!0}return!1};wa.I8=function(e){var f=e.V,n=11<=this.options.ja,r=e.current(n);return e.advance(n),92===r&&this.fH(e,n)&&(r=e.Ma),fa(n=r,!0)||36===n||95===n?(e.Ma=r,!0):(e.V=f,!1)};wa.H8=function(e){var f=e.V,n=11<=this.options.ja,r=e.current(n);return e.advance(n),92===r&&this.fH(e,n)&&(r=e.Ma),da(n=r,!0)||36===n||95===n||8204===n||8205===n?(e.Ma=r,!0):(e.V=f,!1)};wa.n8=function(e){return!!(this.o8(e)||this.GR(e)||this.HR(e)||e.Gv&&
this.B8(e))||(e.Ae&&(99===e.current()&&e.oa("Invalid unicode escape"),e.oa("Invalid escape")),!1)};wa.o8=function(e){var f=e.V;if(this.u8(e)){var n=e.Ma;if(e.Ae)return n>e.Sz&&(e.Sz=n),!0;if(n<=e.Hu)return!0;e.V=f}return!1};wa.B8=function(e){if(e.ga(107)){if(this.KR(e))return e.eD.push(e.nd),!0;e.oa("Invalid named reference")}return!1};wa.HR=function(e){return this.s8(e)||this.p8(e)||this.N8(e)||this.y8(e)||this.fH(e,!1)||!e.Ae&&this.C8(e)||this.z8(e)};wa.p8=function(e){var f=e.V;if(e.ga(99)){if(this.t8(e))return!0;
e.V=f}return!1};wa.N8=function(e){return 48===e.current()&&!ca(e.Ga())&&(e.Ma=0,e.advance(),!0)};wa.s8=function(e){var f=e.current();return 116===f?(e.Ma=9,e.advance(),!0):110===f?(e.Ma=10,e.advance(),!0):118===f?(e.Ma=11,e.advance(),!0):102===f?(e.Ma=12,e.advance(),!0):114===f&&(e.Ma=13,e.advance(),!0)};wa.t8=function(e){var f=e.current();return!!(65<=f&&90>=f||97<=f&&122>=f)&&(e.Ma=f%32,e.advance(),!0)};wa.fH=function(e,f){void 0===f&&(f=!1);var n=e.V;f=f||e.Ae;if(e.ga(117)){if(this.cH(e,4)){var r=
e.Ma;if(f&&55296<=r&&56319>=r){n=e.V;if(e.ga(92)&&e.ga(117)&&this.cH(e,4)&&(f=e.Ma,56320<=f&&57343>=f))return e.Ma=1024*(r-55296)+(f-56320)+65536,!0;e.V=n;e.Ma=r}return!0}if(f&&e.ga(123)&&this.x8(e)&&e.ga(125)&&0<=(r=e.Ma)&&1114111>=r)return!0;f&&e.oa("Invalid unicode escape");e.V=n}return!1};wa.z8=function(e){if(e.Ae)return!!this.J8(e)||!!e.ga(47)&&(e.Ma=47,!0);var f=e.current();return!(99===f||e.Gv&&107===f)&&(e.Ma=f,e.advance(),!0)};wa.u8=function(e){e.Ma=0;var f=e.current();if(49<=f&&57>=f){for(;e.Ma=
10*e.Ma+(f-48),e.advance(),48<=(f=e.current())&&57>=f;);return!0}return!1};wa.GR=function(e){var f=e.current();if(100===f||68===f||115===f||83===f||119===f||87===f)return e.Ma=-1,e.advance(),!0;if(e.Ae&&9<=this.options.ja&&(80===f||112===f)){if(e.Ma=-1,e.advance(),e.ga(123)&&this.M8(e)&&e.ga(125))return!0;e.oa("Invalid property name")}return!1};wa.M8=function(e){var f=e.V;if(this.L8(e)&&e.ga(61)){var n=e.nd;if(this.NR(e))return this.P8(e,n,e.nd),!0}return(e.V=f,this.D8(e))?(f=e.nd,this.Q8(e,f),!0):
!1};wa.P8=function(e,f,n){Ga.call(e.tI.aj,f)||e.oa("Invalid property name");e.tI.aj[f].test(n)||e.oa("Invalid property value")};wa.Q8=function(e,f){e.tI.yY.test(f)||e.oa("Invalid property name")};wa.L8=function(e){var f;for(e.nd="";na(f=e.current());)e.nd+=ua(f),e.advance();return""!==e.nd};wa.NR=function(e){var f,n;for(e.nd="";na(n=f=e.current())||ca(n);)e.nd+=ua(f),e.advance();return""!==e.nd};wa.D8=function(e){return this.NR(e)};wa.FR=function(e){if(e.ga(91)){if(e.ga(94),this.k8(e),e.ga(93))return!0;
e.oa("Unterminated character class")}return!1};wa.k8=function(e){for(;this.IR(e);){var f,n=e.Ma;e.ga(45)&&this.IR(e)&&(f=e.Ma,!e.Ae||-1!==n&&-1!==f||e.oa("Invalid character class"),-1!==n&&-1!==f&&f<n&&e.oa("Range out of order in character class"))}};wa.IR=function(e){var f,n=e.V;if(e.ga(92)){if(this.r8(e))return!0;e.Ae&&(99!==(f=e.current())&&!(48<=f&&55>=f)||e.oa("Invalid class escape"),e.oa("Invalid escape"));e.V=n}n=e.current();return 93!==n&&(e.Ma=n,e.advance(),!0)};wa.r8=function(e){var f=e.V;
if(e.ga(98))return e.Ma=8,!0;if(e.Ae&&e.ga(45))return e.Ma=45,!0;if(!e.Ae&&e.ga(99)){if(this.q8(e))return!0;e.V=f}return this.GR(e)||this.HR(e)};wa.q8=function(e){var f=e.current();return!(!ca(f)&&95!==f)&&(e.Ma=f%32,e.advance(),!0)};wa.y8=function(e){var f=e.V;if(e.ga(120)){if(this.cH(e,2))return!0;e.Ae&&e.oa("Invalid escape");e.V=f}return!1};wa.JR=function(e){var f,n=e.V;for(e.Ma=0;ca(f=e.current());)e.Ma=10*e.Ma+(f-48),e.advance();return e.V!==n};wa.x8=function(e){var f,n=e.V;for(e.Ma=0;za(f=e.current());)e.Ma=
16*e.Ma+sa(f),e.advance();return e.V!==n};wa.C8=function(e){if(this.dH(e)){var f,n=e.Ma;return this.dH(e)?(f=e.Ma,3>=n&&this.dH(e)?e.Ma=64*n+8*f+e.Ma:e.Ma=8*n+f):e.Ma=n,!0}return!1};wa.dH=function(e){var f=e.current();return 48<=f&&55>=f?(e.Ma=f-48,e.advance(),!0):(e.Ma=0,!1)};wa.cH=function(e,f){for(var n=e.V,r=e.Ma=0;r<f;++r){var h=e.current();if(!za(h))return e.V=n,!1;e.Ma=16*e.Ma+sa(h);e.advance()}return!0};wa=ea.prototype;mb();mb();Kb();wa.next=function(e){!e&&this.type.Ff&&this.rh&&this.Ya(this.start,
"Escape sequence in keyword "+this.type.Ff);this.options.Lu&&this.options.Lu(new va(this));this.gf=this.end;this.Hh=this.start;this.bG=this.aE;this.SP=this.qd;this.Eu()};wa.w3=function(){return this.next(),new va(this)};"undefined"!=typeof Symbol&&(wa[Symbol.iterator]=function(){var e=this;return{next:function(){var f=e.w3();return{done:f.type===qa.Gn,value:f}}}});wa.Tp=function(){return this.context[this.context.length-1]};wa.Eu=function(){var e=this.Tp();return e&&e.z7||this.fI(),this.start=this.V,
this.options.we&&(this.qd=this.xn()),this.V>=this.input.length?this.uc(qa.Gn):e.BQ?e.BQ(this):void this.R7(this.Dt())};wa.R7=function(e){return fa(e,6<=this.options.ja)||92===e?this.b8():this.z3(e)};wa.Dt=function(){var e=this.input.charCodeAt(this.V);return 55295>=e||57344<=e?e:(e<<10)+this.input.charCodeAt(this.V+1)-56613888};wa.Iaa=function(){var e,f=this.options.Bk&&this.xn(),n=this.V,r=this.input.indexOf("*/",this.V+=2);if(-1===r&&this.oa(this.V-2,"Unterminated comment"),this.V=r+2,this.options.we)for(Pa.lastIndex=
n;(e=Pa.exec(this.input))&&e.index<this.V;)++this.Up,this.no=e.index+e[0].length;this.options.Bk&&this.options.Bk(!0,this.input.slice(n+2,r),n,this.V,f,this.xn())};wa.$A=function(f){for(var n=this.V,r=this.options.Bk&&this.xn(),h=this.input.charCodeAt(this.V+=f);this.V<this.input.length&&!e(h);)h=this.input.charCodeAt(++this.V);this.options.Bk&&this.options.Bk(!1,this.input.slice(n+f,this.V),n,this.V,r,this.xn())};wa.fI=function(){a:for(;this.V<this.input.length;){var e=this.input.charCodeAt(this.V);
switch(e){case 32:case 160:++this.V;break;case 13:10===this.input.charCodeAt(this.V+1)&&++this.V;case 10:case 8232:case 8233:++this.V;this.options.we&&(++this.Up,this.no=this.V);break;case 47:switch(this.input.charCodeAt(this.V+1)){case 42:this.Iaa();break;case 47:this.$A(2);break;default:break a}break;default:if(!(8<e&&14>e||5760<=e&&xa.test(String.fromCharCode(e))))break a;++this.V}}};wa.uc=function(e,f){this.end=this.V;this.options.we&&(this.aE=this.xn());var n=this.type;this.type=e;this.value=
f;this.Pf(n)};wa.T7=function(){var e=this.input.charCodeAt(this.V+1);if(48<=e&&57>=e)return this.nR(!0);var f=this.input.charCodeAt(this.V+2);return 6<=this.options.ja&&46===e&&46===f?(this.V+=3,this.uc(qa.qt)):(++this.V,this.uc(qa.Ab))};wa.a8=function(){var e=this.input.charCodeAt(this.V+1);return this.Oe?(++this.V,this.pR()):61===e?this.Sc(qa.assign,2):this.Sc(qa.kT,1)};wa.W7=function(e){var f=this.input.charCodeAt(this.V+1),n=1,r=42===e?qa.ng:qa.W5;return 7<=this.options.ja&&42===e&&42===f&&(++n,
r=qa.pT,f=this.input.charCodeAt(this.V+2)),61===f?this.Sc(qa.assign,n+1):this.Sc(r,n)};wa.X7=function(e){var f=this.input.charCodeAt(this.V+1);return f!==e?61===f?this.Sc(qa.assign,2):this.Sc(124===e?qa.DY:qa.CY,1):12<=this.options.ja&&61===this.input.charCodeAt(this.V+2)?this.Sc(qa.assign,3):this.Sc(124===e?qa.jG:qa.Rz,2)};wa.S7=function(){return 61===this.input.charCodeAt(this.V+1)?this.Sc(qa.assign,2):this.Sc(qa.EY,1)};wa.Y7=function(e){var f=this.input.charCodeAt(this.V+1);return f===e?45!==f||
this.Xl||62!==this.input.charCodeAt(this.V+2)||0!==this.gf&&!Ia.test(this.input.slice(this.gf,this.V))?this.Sc(qa.yF,2):(this.$A(3),this.fI(),this.Eu()):61===f?this.Sc(qa.assign,2):this.Sc(qa.t7,1)};wa.V7=function(e){var f=this.input.charCodeAt(this.V+1),n=1;return f===e?(n=62===e&&62===this.input.charCodeAt(this.V+2)?3:2,61===this.input.charCodeAt(this.V+n)?this.Sc(qa.assign,n+1):this.Sc(qa.BY,n)):33!==f||60!==e||this.Xl||45!==this.input.charCodeAt(this.V+2)||45!==this.input.charCodeAt(this.V+3)?
(61===f&&(n=2),this.Sc(qa.W8,n)):(this.$A(4),this.fI(),this.Eu())};wa.U7=function(e){var f=this.input.charCodeAt(this.V+1);return 61===f?this.Sc(qa.S0,61===this.input.charCodeAt(this.V+2)?3:2):61===e&&62===f&&6<=this.options.ja?(this.V+=2,this.uc(qa.Hp)):this.Sc(61===e?qa.eq:qa.prefix,1)};wa.Z7=function(){var e=this.options.ja;if(11<=e){var f=this.input.charCodeAt(this.V+1);if(46===f){var n=this.input.charCodeAt(this.V+2);if(48>n||57<n)return this.Sc(qa.jR,2)}if(63===f)return 12<=e&&61===this.input.charCodeAt(this.V+
2)?this.Sc(qa.assign,3):this.Sc(qa.vD,2)}return this.Sc(qa.iR,1)};wa.z3=function(e){switch(e){case 46:return this.T7();case 40:return++this.V,this.uc(qa.ie);case 41:return++this.V,this.uc(qa.ye);case 59:return++this.V,this.uc(qa.Jf);case 44:return++this.V,this.uc(qa.vd);case 91:return++this.V,this.uc(qa.rn);case 93:return++this.V,this.uc(qa.Os);case 123:return++this.V,this.uc(qa.Zf);case 125:return++this.V,this.uc(qa.xf);case 58:return++this.V,this.uc(qa.Hl);case 96:if(6>this.options.ja)break;return++this.V,
this.uc(qa.nn);case 48:e=this.input.charCodeAt(this.V+1);if(120===e||88===e)return this.WG(16);if(6<=this.options.ja){if(111===e||79===e)return this.WG(8);if(98===e||66===e)return this.WG(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.nR(!1);case 34:case 39:return this.P7(e);case 47:return this.a8();case 37:case 42:return this.W7(e);case 124:case 38:return this.X7(e);case 94:return this.S7();case 43:case 45:return this.Y7(e);case 60:case 62:return this.V7(e);
case 61:case 33:return this.U7(e);case 63:return this.Z7();case 126:return this.Sc(qa.prefix,1)}this.oa(this.V,"Unexpected character '"+ya(e)+"'")};wa.Sc=function(e,f){var n=this.input.slice(this.V,this.V+f);return this.V+=f,this.uc(e,n)};wa.pR=function(){for(var e,f,n=this.V;;){this.V>=this.input.length&&this.oa(n,"Unterminated regular expression");var r=this.input.charAt(this.V);if(Ia.test(r)&&this.oa(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)f=!0;else if("]"===r&&f)f=!1;else if("/"===
r&&!f)break;e="\\"===r}++this.V}e=this.input.slice(n,this.V);++this.V;r=this.V;f=this.rR();this.rh&&this.jb(r);r=this.BR||(this.BR=new ja(this));r.reset(n,e,f);this.Lba(r);this.Mba(r);n=null;try{n=new RegExp(e,f)}catch(hd){}return this.uc(qa.AR,{pattern:e,flags:f,value:n})};wa.av=function(e,f,n){var r=12<=this.options.ja&&void 0===f,h=n&&48===this.input.charCodeAt(this.V);n=this.V;for(var w=0,x=0,y=0,ea=null==f?1/0:f;y<ea;++y,++this.V){var z=this.input.charCodeAt(this.V),ia;if(r&&95===z)h&&this.Ya(this.V,
"Numeric separator is not allowed in legacy octal numeric literals"),95===x&&this.Ya(this.V,"Numeric separator must be exactly one underscore"),0===y&&this.Ya(this.V,"Numeric separator is not allowed at the first of digits"),x=z;else{if(e<=(ia=97<=z?z-97+10:65<=z?z-65+10:48<=z&&57>=z?z-48:1/0))break;x=z;w=w*e+ia}}return r&&95===x&&this.Ya(this.V-1,"Numeric separator is not allowed at the last of digits"),this.V===n||null!=f&&this.V-n!==f?null:w};wa.WG=function(e){var f=this.V;this.V+=2;var n=this.av(e);
return null==n&&this.oa(this.start+2,"Expected number in radix "+e),11<=this.options.ja&&110===this.input.charCodeAt(this.V)?(n=ta(this.input.slice(f,this.V)),++this.V):fa(this.Dt())&&this.oa(this.V,"Identifier directly after number"),this.uc(qa.Xq,n)};wa.nR=function(e){var f=this.V;e||null!==this.av(10,void 0,!0)||this.oa(f,"Invalid number");var n=2<=this.V-f&&48===this.input.charCodeAt(f);n&&this.strict&&this.oa(f,"Invalid number");var r=this.input.charCodeAt(this.V);if(!n&&!e&&11<=this.options.ja&&
110===r)return e=ta(this.input.slice(f,this.V)),++this.V,fa(this.Dt())&&this.oa(this.V,"Identifier directly after number"),this.uc(qa.Xq,e);n&&/[89]/.test(this.input.slice(f,this.V))&&(n=!1);46!==r||n||(++this.V,this.av(10),r=this.input.charCodeAt(this.V));69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.V))&&45!==r||++this.V,null===this.av(10)&&this.oa(f,"Invalid number"));fa(this.Dt())&&this.oa(this.V,"Identifier directly after number");f=this.input.slice(f,this.V);f=n?parseInt(f,8):parseFloat(f.replace(/_/g,
""));return this.uc(qa.Xq,f)};wa.lR=function(){var e,f;return 123===this.input.charCodeAt(this.V)?(6>this.options.ja&&this.jb(),e=++this.V,f=this.TG(this.input.indexOf("}",this.V)-this.V),++this.V,1114111<f&&this.$n(e,"Code point out of bounds")):f=this.TG(4),f};wa.P7=function(f){for(var n="",r=++this.V;;){this.V>=this.input.length&&this.oa(this.start,"Unterminated string constant");var h=this.input.charCodeAt(this.V);if(h===f)break;92===h?(n+=this.input.slice(r,this.V),n+=this.mR(!1),r=this.V):(e(h,
10<=this.options.ja)&&this.oa(this.start,"Unterminated string constant"),++this.V)}return n+=this.input.slice(r,this.V++),this.uc(qa.string,n)};var Vc={};wa.jba=function(){this.iP=!0;try{this.Q7()}catch(eb){if(eb!==Vc)throw eb;this.N7()}this.iP=!1};wa.$n=function(e,f){if(this.iP&&9<=this.options.ja)throw Vc;this.oa(e,f)};wa.Q7=function(){for(var f="",n=this.V;;){this.V>=this.input.length&&this.oa(this.start,"Unterminated template");var r=this.input.charCodeAt(this.V);if(96===r||36===r&&123===this.input.charCodeAt(this.V+
1)){this.V!==this.start||this.type!==qa.template&&this.type!==qa.EF?(f+=this.input.slice(n,this.V),this.uc(qa.template,f)):36===r?(this.V+=2,this.uc(qa.QD)):(++this.V,this.uc(qa.nn));break}if(92===r)f+=this.input.slice(n,this.V),f+=this.mR(!0),n=this.V;else if(e(r)){switch(f+=this.input.slice(n,this.V),++this.V,r){case 13:10===this.input.charCodeAt(this.V)&&++this.V;case 10:f+="\n";break;default:f+=String.fromCharCode(r)}this.options.we&&(++this.Up,this.no=this.V);n=this.V}else++this.V}};wa.N7=function(){for(;this.V<
this.input.length;this.V++)switch(this.input[this.V]){case "\\":++this.V;break;case "$":if("{"!==this.input[this.V+1])break;case "`":this.uc(qa.EF,this.input.slice(this.start,this.V));return}this.oa(this.start,"Unterminated template")};wa.mR=function(f){var n=this.input.charCodeAt(++this.V);switch(++this.V,n){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.TG(2));case 117:return ya(this.lR());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";
case 13:10===this.input.charCodeAt(this.V)&&++this.V;case 10:return this.options.we&&(this.no=this.V,++this.Up),"";case 56:case 57:if(this.strict&&this.$n(this.V-1,"Invalid escape sequence"),f){var r=this.V-1;return this.$n(r,"Invalid escape sequence in template string"),null}default:if(48<=n&&55>=n){var h=this.input.substr(this.V-1,3).match(/^[0-7]+/)[0];r=parseInt(h,8);return 255<r&&(h=h.slice(0,-1),r=parseInt(h,8)),this.V+=h.length-1,n=this.input.charCodeAt(this.V),"0"===h&&56!==n&&57!==n||!this.strict&&
!f||this.$n(this.V-1-h.length,f?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return e(n)?"":String.fromCharCode(n)}};wa.TG=function(e){var f=this.V;e=this.av(16,e);return null===e&&this.$n(f,"Bad character escape sequence"),e};wa.rR=function(){for(var e="",f=!(this.rh=!1),n=this.V,r=6<=this.options.ja;this.V<this.input.length;){var h=this.Dt();if(da(h,r))this.V+=65535>=h?1:2;else{if(92!==h)break;this.rh=!0;e+=this.input.slice(n,this.V);n=this.V;117!==this.input.charCodeAt(++this.V)&&
this.$n(this.V,"Expecting Unicode escape sequence \\uXXXX");++this.V;h=this.lR();(f?fa:da)(h,r)||this.$n(n,"Invalid Unicode escape");e+=ya(h);n=this.V}f=!1}return e+this.input.slice(n,this.V)};wa.b8=function(){var e=this.rR(),f=qa.name;return this.RP.test(e)&&(f=Ma[e]),this.uc(f,e)};ea.FX={tV:ea,version:"8.0.4",e_:Ra,vV:r,NV:ba,B2:w,Node:oa,UV:z,gba:qa,n5:Ma,SV:ha,fba:db,N4:da,O4:fa,TV:va,V4:e,q5:Ia,r5:Pa,g6:xa};h.Node=oa;h.tV=ea;h.vV=r;h.NV=ba;h.SV=ha;h.TV=va;h.UV=z;h.e_=Ra;h.B2=w;h.N4=da;h.O4=fa;
h.V4=e;h.n5=Ma;h.q5=Ia;h.r5=Pa;h.g6=xa;h.parse=function(e,f){return ea.parse(e,f)};h.JQ=function(e,f,n){return ea.JQ(e,f,n)};h.fba=db;h.gba=qa;h.OT=function(e,f){return ea.OT(e,f)};h.version="8.0.4"})},function(ha,ca){ha=function(){function h(h,aa){this.vb={};this.Uo=this.pk=this.text=this.ec=null;this.Ac=h;this.lb=aa}h.prototype.clone=function(){var ba=new h(this.Ac,this.lb);ba.vb=JSON.parse(JSON.stringify(this.vb));ba.ec=this.ec.clone();ba.Uo=this.Uo;return ba};return h}();ca.a=ha},function(ha,
ca){ca.a=function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.closest||(Element.prototype.closest=function(h){var ba=this;do{if(ba.matches(h))return ba;ba=ba.parentElement||ba.parentNode}while(null!==ba&&1===ba.nodeType);return null})}},function(ha,ca,h){h.d(ca,"a",function(){return ba});h.d(ca,"b",function(){return aa});var ba;(function(h){h[h.NOT_STARTED=0]="NOT_STARTED";h[h.STARTED=1]="STARTED";
h[h.SUCCESS=2]="SUCCESS";h[h.ERROR=3]="ERROR";h[h.ABORTED=4]="ABORTED"})(ba||(ba={}));var aa;(function(h){h[h.DONE=4]="DONE";h[h.HEADERS_RECEIVED=2]="HEADERS_RECEIVED";h[h.LOADING=3]="LOADING";h[h.OPENED=1]="OPENED";h[h.UNSENT=0]="UNSENT"})(aa||(aa={}))},function(ha,ca,h){function ba(){return Object(aa.b)(void 0,void 0,void 0,function(){var z;return Object(aa.d)(this,function(y){switch(y.label){case 0:return[4,h.e(20).then(h.t.bind(null,204,7))];case 1:return z=y.la(),[2,function(f){var e=z.rk(f,
{bc:-15});return"string"===typeof f?Object(da.a)(e):e}]}})})}h.d(ca,"b",function(){return ba});var aa=h(3),fa=h(119),da=h(54);ha=function(){function h(h){if(h){if(h.length!==fa.a)throw Error("Data is wrong size for zip header!");this.ut=h=this.L7(h);if(h.xr!==fa.f)throw Error("Invalid XOD file, signature is wrong!");this.k5=4294967295===h.ky;this.Ml={};this.names=[]}}h.prototype.UN=function(){return{start:this.ut.ky,stop:this.ut.ky+this.ut.WM}};h.prototype.Kt=function(h){var f=this.Ml[h],e=f.offset+
fa.c+f.uo+f.yt;return{start:e,stop:e+f.fD,Do:h}};h.prototype.Ty=function(h){h=this.Kt(h);var f=Math.floor(h.start/102400),e=h.stop-h.start;return Math.min(e,102400*(f+1)-h.start)>e/2?f:f+1};h.prototype.B5=function(h){if(h&&(this.ut=h=this.c8(h),h.xr!==fa.i))throw Error("Invalid XOD file, signature is wrong!");};h.prototype.j2=function(h){var f=this.Ty(h),e=this.names.indexOf(h);h=[];var x;for(x=e-1;0<=x&&this.Ty(this.names[x])===f;--x);var r=x+1;var w=this.Kt(this.names[r]).start;for(x=e+1;x<this.names.length&&
this.Ty(this.names[x])===f;++x);f=x-1;e=this.Kt(this.names[f]).stop;for(x=r;x<=f;++x)r=this.Kt(this.names[x]),r.start-=w,r.stop-=w,h.push(r);return{start:w,stop:e,Jo:h}};h.prototype.zM=function(h){return!!this.Ml[h]};h.prototype.rP=function(h){return 0!==this.Ml[h].wD};h.prototype.kR=function(h){for(var f=10,e=fa.b,x=this.ut.PT,r=0;r<x;r++){var w=this.M7(h,f);f+=e;var n=h.substr(f,w.uo);f+=w.uo+w.yt+w.wM+10;this.Ml[n]=w;this.names[this.names.length]=n}};h.prototype.vA=function(h,f,e){for(var x="",
r=0;r<f;r++){var w=h.charCodeAt(r+e).toString(16);x=1===w.length?"0"+w+x:w+x}return parseInt(x,16)};h.prototype.M7=function(h,f){var e=this.vA;return{wD:e(h,2,f),fD:e(h,4,f+10),kba:e(h,4,f+14),uo:e(h,2,f+18),yt:e(h,2,f+20),wM:e(h,2,f+22),offset:e(h,4,f+32)}};h.prototype.c8=function(h){var f=this.vA;return{xr:f(h,4,0),pea:f(h,8,4),Ffa:f(h,2,12),Gfa:f(h,2,14),z_:f(h,4,16),WY:f(h,4,20),h6:f(h,8,24),PT:f(h,8,32),WM:f(h,8,40),ky:f(h,8,48)}};h.prototype.L7=function(h){var f=this.vA;return{xr:f(h,4,0),z_:f(h,
2,4),WY:f(h,2,6),h6:f(h,2,8),PT:f(h,2,10),WM:f(h,4,12),ky:f(h,4,16),wM:f(h,2,20)}};h.prototype.O7=function(h){var f=this.vA;return{xr:f(h,4,0),Efa:f(h,2,4),flags:f(h,2,6),wD:f(h,2,8),Kea:f(h,2,10),Jea:f(h,2,12),pda:f(h,4,14),fD:f(h,4,18),kba:f(h,4,22),uo:f(h,2,26),yt:f(h,2,28)}};return h}();ca.a=ha},function(ha,ca){ha=function(){function h(h,aa){void 0===h&&(h=0);void 0===aa&&(aa=0);this.x=h;this.y=aa}h.Na=function(h){return h.x===(void 0).x&&h.y===(void 0).y};h.Mea=function(h,aa){return h!==aa};
h.divide=function(ba,aa){var fa=new h;aa&&(fa.x=ba.x/aa,fa.y=ba.y/aa);return fa};h.multiply=function(ba,aa){var fa=new h;fa.init(ba.x*aa,ba.y*aa);return fa};h.Kh=function(ba,aa){var fa=new h;fa.init(ba.x-aa.x,ba.y-aa.y);return fa};h.gr=function(ba,aa){var fa=new h;fa.init(ba.x+aa.x,ba.y+aa.y);return fa};h.th=function(h,aa){var ba=h.x-aa.x;h=h.y-aa.y;return Math.sqrt(ba*ba+h*h)};h.prototype.init=function(h,aa){this.x=h;this.y=aa};h.prototype.vz=function(h){this.x=h.x;this.y=h.y};h.prototype.add=function(h){this.x+=
h.x;this.y+=h.y};h.prototype.sub=function(h){this.x-=h.x;this.y-=h.y};h.prototype.normalize=function(){var h=Math.sqrt(this.x*this.x+this.y*this.y);return h?(this.x/=h,this.y/=h,!0):!1};h.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y)};h.prototype.Ab=function(h){return this.x*h.x+this.y*h.y};return h}();ca.a=ha},,function(ha){ha.exports=function(ca){ca.Tba||(ca.Gda=function(){},ca.Yea=[],ca.children||(ca.children=[]),Object.defineProperty(ca,"loaded",{enumerable:!0,get:function(){return ca.l}}),
Object.defineProperty(ca,"id",{enumerable:!0,get:function(){return ca.i}}),ca.Tba=1);return ca}},function(ha,ca){ha=function(){function h(h,aa){this.fX=h;this.Dc=Array(8);this.Dc[0]=aa[0];this.Dc[1]=aa[1];this.Dc[2]=aa[2];this.Dc[3]=aa[3];this.Dc[4]=aa[4];this.Dc[5]=aa[5];this.Dc[6]=aa[6];this.Dc[7]=aa[7]}h.prototype.Rd=function(){for(var h=Array(8),aa=0;8>aa;aa++)h[aa]=this.Dc[aa];return h};return h}();ca.a=ha},function(ha,ca){ca.a=function(){return function(h){void 0===h&&(h=0);this.W=this.width=
h}}()},function(ha,ca){ha=function(){function h(){}h.prototype.yU=function(){};h.prototype.addColorStop=function(){};return h}();ca.a=ha},function(ha,ca,h){var ba=h(1),aa=h(23),fa=h(6),da=h(31);ha=function(){function h(h){this.an=[];this.VJ={};var f=new aa.a;f.set(1,0,0,1,0,0);this.an.push(f);this.ns=h;this.HC=this.ws=this._offset=0;this.canvas={Ifa:0,height:0};this.font=null;this.lineWidth=0;this.fillStyle=this.strokeStyle=this.lineCap=null;this.miterLimit=this.globalAlpha=0;this.lineJoin=null;this.kp=
!1;this.w=0;this.f=this.s=this.c=null;this.i=this.a=0;this.j=null}h.prototype.w2=function(h){return this.VJ[h]};h.prototype.np=function(h){if(this.ns[h])return this.ns[h];h=h.split(" ")[1];Object(ba.a)(!!this.ns[h],"Font "+h+" file not found");return this.ns[h]};h.prototype.lL=function(h,f){var e=new aa.a,x=h.GC;h=h.IK;e.set(h/x,0,0,h/x,0,0);e.QT(f)};h.prototype.save=function(){var h=new aa.a;h.Dh(Object(da.d)(this.an));this.an.push(h)};h.prototype.restore=function(){this.an.pop()};h.prototype.transform=
function(h,f,e,x,r,w){var n=new aa.a;n.set(h,f,e,x,r,w);Object(da.d)(this.an).concat(n)};h.prototype.rotate=function(h){var f=new aa.a,e=Math.cos(h);h=Math.sin(h);f.set(e,h,-h,e,0,0);Object(da.d)(this.an).concat(f)};h.prototype.translate=function(h,f){this.ws=h;this.HC=f};h.prototype.setLineDash=function(){};h.prototype.fillRect=function(){};h.prototype.fillText=function(h,f,e){var x=this.np(this.font);this.Nw(h,f,e,x)};h.prototype.Nw=function(h,f,e,x){if(!this.kp){this.translate(f,e);f=0;for(e=h.length;f<
e;){var r=h.charCodeAt(f),w=f;55296<=r&&55551>=r?(r=String.fromCodePoint((r-55296<<10)+(h.charCodeAt(f+1)-56320)+65536),f+=2):(r=String.fromCodePoint(r),f++);w=this.Mz&&w in this.Mz?this.Mz[w]:r;r=x.CE(r);this.lL(x,r);var n=r.ea;r.ea=r.fa;r.fa=n;r.ha+=this.ws;r.ia+=this.ws;r.ea+=this.HC;r.fa+=this.HC;this.ws+=r.width();n=Array(8);n[0]=r.ha;n[1]=r.ea;n[2]=r.ia;n[3]=r.ea;n[4]=r.ia;n[5]=r.fa;n[6]=r.ha;n[7]=r.fa;Object(da.d)(this.an).RT(n);this.VJ[this._offset]=new fa.a(w,n);this._offset++}this.Mz=null}};
h.prototype.measureText=function(h){var f=this.np(this.font);return this.MK(h,f)};h.prototype.MK=function(h,f){var e=0;if(!this.kp)for(var x=0,r=h.length;x<r;){var w=h.charCodeAt(x);55296<=w&&55551>=w?(w=f.CE(String.fromCodePoint((w-55296<<10)+(h.charCodeAt(x+1)-56320)+65536)),x+=2):(w=f.CE(String.fromCodePoint(w)),x++);this.lL(f,w);e+=w.width()}return new fa.i(e)};h.prototype.strokeRect=function(){};h.prototype.createLinearGradient=function(){return new fa.h};h.prototype.createRadialGradient=function(){return new fa.h};
h.prototype.createPattern=function(){};h.prototype.addColorStop=function(){};h.prototype.beginPath=function(){};h.prototype.closePath=function(){};h.prototype.fill=function(){};h.prototype.stroke=function(){};h.prototype.clip=function(){};h.prototype.moveTo=function(){};h.prototype.lineTo=function(){};h.prototype.quadraticCurveTo=function(){};h.prototype.bezierCurveTo=function(){};h.prototype.rect=function(){};h.prototype.drawImage=function(){};h.prototype.setTransform=function(){};h.prototype.strokeText=
function(){};h.prototype.getImageData=function(){return new XODText.ImageData};h.prototype.putImageData=function(){};h.prototype.scale=function(){};h.prototype.S=function(){this.save()};h.prototype.r=function(){this.restore()};h.prototype.t=function(h,f,e,x,r,w){this.transform(h,f,e,x,r,w)};h.prototype.ro=function(h){this.rotate(h)};h.prototype.T=function(h,f){this.translate(h,f)};h.prototype.L=function(){return this.createLinearGradient()};h.prototype.R=function(){return this.createRadialGradient()};
h.prototype.P=function(){this.createPattern()};h.prototype.A=function(){};h.prototype.b=function(){this.beginPath()};h.prototype.z=function(){this.closePath()};h.prototype.F=function(){this.fill()};h.prototype.X=function(){this.stroke()};h.prototype.cr=function(){this.strokeRect()};h.prototype.C=function(){this.clip()};h.prototype.M=function(){this.moveTo()};h.prototype.l=function(){this.lineTo()};h.prototype.q=function(){this.quadraticCurveTo()};h.prototype.B=function(){this.bezierCurveTo()};h.prototype.x=
function(h,f,e){var x=this.np(this.font);this.Nw(h,f,e,x)};h.prototype.m=function(h){var f=this.np(this.font);return this.MK(h,f)};h.prototype.I=function(){this.drawImage()};h.prototype.Z=function(){this.setTransform()};h.prototype.d=function(){return this.getImageData()};h.prototype.D=function(){this.putImageData()};h.prototype.e=function(){this.scale()};h.prototype.tm=function(h){this.Mz=h};h.prototype.pN=function(h,f,e){var x=this.np(this.font);this.Nw(h,f,e,x)};h.prototype.xc=function(h,f,e){var x=
this.np(this.font);this.Nw(h,f,e,x)};h.prototype.cgb=function(){Object(ba.a)(!this.kp,"Custom Glyphs begin offset is incorrect");this.kp=!0};h.prototype.cge=function(){Object(ba.a)(this.kp,"Custom Glyphs end offset is incorrect");this.kp=!1};h.prototype.xw=function(h,f,e){1<h.length&&(h=h.substr(0,h.length-1));this.x(h,f,e)};h.prototype.xcw=function(){};h.prototype.createCanvas=function(){return{getContext:function(){return new h(this.ns)}}};Object.defineProperty(h.prototype,"n",{get:function(){return this.font},
set:function(h){this.font=h},enumerable:!1,configurable:!0});return h}();ca.a=ha},function(ha,ca,h){var ba=h(99),aa=h(1),fa=h(137),da=h(87),z=h(86),y=h(125),f=h(88),e=h(149),x=h(114),r=h(115),w=h(93),n=h(31);ha=function(){function h(){this.Xc=this._m=null;this.nx={};this.si=0;this.Nb=this.ts=this.DC=this.Ze=-1;this.HK=this.$m=this.FC=this.rp=!1;this.jh=[];this.Zd=[];this.ti=[];this.cc=this.ob="";this.af=[];this.zj=[];this.us=[];this.GK=[];this.nb={};this.nb[" "]=null;this.nb["\t"]=null;this.nb["\n"]=
null;this.nb["."]=null;this.nb[","]=null;this.nb["?"]=null;this.nb[":"]=null;this.nb[";"]=null;this.nb['"']=null;this.nb["'"]=null;this.nb["<"]=null;this.nb[">"]=null;this.nb["`"]=null;this.nb["~"]=null;this.nb["!"]=null;this.nb["@"]=null;this.nb["#"]=null;this.nb.$=null;this.nb["%"]=null;this.nb["^"]=null;this.nb["&"]=null;this.nb["("]=null;this.nb[")"]=null;this.nb["["]=null;this.nb["]"]=null;this.nb["{"]=null;this.nb["}"]=null;this.nb["|"]=null;this.nb._=null;this.nb["\\"]=null;this.nb["-"]=null;
this.nb["="]=null;this.nb["+"]=null;this.nb["/"]=null;this.nb["*"]=null}h.yi=function(e,f){for(var n=0,h=e.length-1,r=Math.floor((n+h)/2);e[r]!==f&&n<h;)f<e[r]?h=r-1:f>e[r]&&(n=r+1),r=Math.floor((n+h)/2);return e[r]===f};h.prototype.aM=function(e,f,h,r,w){this.FC=!1;this.Wf=e.yc();if(!(0>this.Wf.length||0>f.length||0<=r&&r>w)&&(this.si=h,this.gL(f))){e=r;f=this.Wf.length;if(0>e)if(0>w)e=0,w=f-1;else return;else if(w<e)return;Object(aa.a)(0<=e&&e<=w);e>=f||w>=f||(this.DC=e,this.ts=w,this.Ze=this.Ti()?
this.ts:this.DC,++this.ts,this.cc=this.ob="",Object(n.b)(this.zj),Object(n.b)(this.us),Object(n.b)(this.jh),Object(n.b)(this.Zd),this.FC=!0,this.Nb=-1,this.rp=!1)}};h.prototype.mg=function(e){var h=-1,r=-1,w=-1,x="",y="",ea=new fa.a;ea.xC();ea.uW();if(!this.FC||0>=this.sp.text.length)return new f.a(da.a.DONE,w,x,y,h,r);var z="",ia=-1,ca=-1;for((new fa.a).xC();;){if(this.Ze===this.ts)return new f.a(da.a.DONE,w,x,y,h,r);var za=!0;if(!this.ob.length||this.Nb===this.ob.length){if(!this.Ti()){if(this.Nb===
this.ob.length){if(this.DP()&&!this.rp)return this.rp=!0,w=this.Ze,new f.a(da.a.$r,w,x,y,h,r);++this.Ze}if(this.Ze===this.ts)return new f.a(da.a.DONE,w,x,y,h,r)}else if(this.Nb===this.ob.length){if(this.DP()&&!this.rp)return this.rp=!0,w=this.Ze,new f.a(da.a.$r,w,x,y,h,r);if(this.Ze===this.DC)return new f.a(da.a.DONE,w,x,y,h,r);--this.Ze}(za=this.hC(this.Ze))?this.Ti()?(this.Nb=this.ob.length,--this.Nb):this.Nb=0:this.Nb=0}this.rp=!1;za&&(Object(aa.a)(this.Nb!==this.ob.length),r=this.MW(ea),z=r.rC,
ia=r.Pw,ca=r.Ow,y=r.bC,h=r.px,r=r.ox);if(za&&ia!==this.ob.length){Object(aa.a)(0<z.length);x=z;w=this.Ze;this.Ti()?(this.Nb=ia)?--this.Nb:this.Nb=this.ob.length:this.Nb=ca;if(this.mu())for(Object(n.b)(e),z=[],ea.zW(this.Wf,z),ea=0;ea<z.length;++ea)ia=new ba.a,ca=z[ea],ia.ha=ca.kh[0],ia.ea=ca.kh[1],ia.ia=ca.kh[2],ia.fa=ca.kh[3],ia.pB=ca.kh[4],ia.rB=ca.kh[5],ia.qB=ca.kh[6],ia.sB=ca.kh[7],e.push(ia);return new f.a(da.a.Xo,w,x,y,h,r)}this.Nb=this.ob.length}};h.prototype.gL=function(e){if(0>=e.length)return!1;
for(var f="",h=e.length,w=!1,x=0;x<h;++x){var y=this.jx(e.charAt(x));" "===y?w||(f+=y,w=!0):(w=!1,f+=y)}this.eX=f;Object(n.b)(this.ti);e="";if(this.Ez())e=f;else{for(x=0;x<f.length;++x)y=f.charAt(x),"\n"!==y&&(this.Ym(y)?this.ti.push(e.length-1):e+=y);this.Lq()||(e=e.toLowerCase())}this.sp=this.Ez()?new r.b(e,"r"):this.i5()?new r.b(e,"w"):new r.b(e,"");x=this.$m;this.sp.text.length?this.$m=!1:(this.sp.text=f,Object(n.b)(this.ti),this.$m=!0);this.$m!==x&&0<this.ob.length&&!this.hC(this.Ze)&&(this.Nb=
this.ob.length);return!0};h.prototype.A$=function(e){var f=this.mu(),n=this.Lq(),h=this.Ti();this.si=e;var r=this.mu();e=this.Lq();var w=this.Ti(),x=!1;n!==e&&this.gL(this.eX);if(!(0>=this.ob.length)){f!==r&&r&&!x&&(Object(aa.a)(0<=this.Nb&&this.Nb<=this.ob.length),this.hC(this.Ze),x=!0);if(n!==e&&!x){Object(aa.a)(this.af.length===this.ob.length);Object(aa.a)(this.af.length<=this.cc.length);f=this.ob.length;n="";for(r=0;r<f;++r)Object(aa.a)(0<=this.af[r]&&this.af[r]<this.cc.length),n+=this.jx(this.cc.charAt(this.af[r]));
this.ob=n;e||(this.ob=this.ob.toLowerCase())}if(h!==w)if(Object(aa.a)(0<=this.Nb&&this.Nb<=this.ob.length),this.Nb!==this.ob.length)if(w)for(r=0;2>r;++r)this.Nb&&--this.Nb;else for(r=0;2>r;++r)this.Nb!==this.ob.length&&++this.Nb;else w?(this.Nb=this.ob.length,--this.Nb):this.Nb=0}};h.prototype.mu=function(){return 0<(this.si&z.a.IB)};h.prototype.B4=function(){return 0<(this.si&z.a.uB)};h.prototype.Lq=function(){return 0<(this.si&z.a.xB)};h.prototype.i5=function(){return 0<(this.si&z.a.VB)};h.prototype.Ez=
function(){return 0<(this.si&z.a.LB)};h.prototype.h5=function(){return 0<(this.si&z.a.TB)};h.prototype.Ti=function(){return 0<(this.si&z.a.nw)};h.prototype.DP=function(){return 0<(this.si&z.a.KB)};h.prototype.MW=function(e){var f=this.bW(),r=f.Pw,h=f.Ow,w=f.px,x=f.ox;if(r===this.ob.length)return f;var ea=this.FW(r,h,h-r);var z=ea.cL;var ia=ea.dK;for(var ba="",da=z;da<ia;++da)ba+=this.cc.charAt(da);ea=ba;ba="";if(this.B4()){var fa=z,va=ia;w=this.cc.length;var ca=x=0,ya=da=!1,pa=!1;if(fa)for(--fa;fa;){var ha=
this.cc.charAt(fa);da&&this.yj(ha)&&ca++;da||!pa||this.yj(ha)||(da=ya=!0);if(30<=x||0<ca){fa++;break}if(this.zj.length>fa&&-2===this.zj[fa]){var Ca=this.cc.charAt(fa+1);if("A"<=Ca&&"Z">=Ca){++fa;ya=!0;break}}--fa;x++;pa=pa||this.yj(ha)||"\n"===ha}ya||(fa=z);da=va;for(ca=0;va!==w;){this.yj(this.cc.charAt(va))&&(da=va-1,ca++);if(10<=ca||70<=x){va===w-1||this.yj(this.cc.charAt(va+1))||(va=da);break}va++}va===w&&--va;for(da=fa;da<=va;++da)w=this.cc.charAt(da),ba="\n"===w?ba+" ":ba+w;w=z-fa;x=ia-fa}f.bC=
ba;if(this.mu()){Object(aa.a)(this.cc.length===this.zj.length);Object(aa.a)(ia>=z);ba=ia-z;ca=[];for(da=z;da<ia;++da)Object(n.c)(ca,ca.length,this.zj[da]);for(z=0;z<ba&&0>ca[z];)++z;for(da=ia=z;z<ba;)if(fa=ca[z],z===ba-1)ya=this.Ze,fa=ca[da],va=ca[z],0>va&&(va=ca[ia]),Object(aa.a)(0<=ya&&0<=fa&&va>=fa),pa=new y.a,pa.ps(ya,fa,va-fa+1),e.$B(pa),++z;else if(-1===fa)Object(aa.a)(0<=ca[ia]),++z;else if(-2===fa){Object(aa.a)(0<=ca[ia]);ya=this.Ze;fa=ca[da];va=ca[ia];Object(aa.a)(0<=ya&&0<=fa&&va>=fa);pa=
new y.a;pa.ps(ya,fa,va-fa+1);e.$B(pa);for(++z;z<ba&&0>ca[z];)++z;da=ia=z}else 0<=fa&&(Object(aa.a)(0<=ca[ia]),ia===z||this.AW(ca,ia,z)?(ia=z,++z):(ya=this.Ze,fa=ca[da],va=ca[ia],Object(aa.a)(0<=ya&&0<=fa&&va>=fa),pa=new y.a,pa.ps(ya,fa,va-fa+1),e.$B(pa),da=ia=z))}f.rC=ea;f.Pw=r;f.Ow=h;f.px=w;f.ox=x;return f};h.prototype.hK=function(e){return e.replace(r.a,"\\$&")};h.prototype.Dw=function(e,f){try{return new RegExp(e,f)}catch(oa){if(-1<e.indexOf("(?<=")||-1<e.indexOf("(?<!"))oa.message="Invalid regular expression: Positive (?<=) and Negative (?<!) "+
("Lookbehinds are not supported in this browser. "+oa.message+".");Object(aa.h)(oa);throw oa;}};h.prototype.pX=function(e,f,n){var r=this.nx[e.text],h="g";this.Lq()||(h+="i");r&&r.ej.flags===h?this.Xc=r:(this.Xc=e.FP?{ej:this.Dw(e.text,h),matches:null}:{ej:this.Dw(this.hK(e.text),h),matches:null},this.nx[e.text]=this.Xc);this.Xc.ej.lastIndex=n;this._m=this.Xc.ej.exec(f);return null!=this._m?{start:this.Xc.ej.lastIndex-this._m[0].length,length:this._m[0].length}:{start:-1,length:0}};h.prototype.qX=
function(e,f,n){this.Xc=null;var r=this.nx[e.text],h="g";this.Lq()||(h+="i");r&&r.ej.flags===h?this.Xc=r:(this.Xc=e.FP?{ej:this.Dw(e.text,h),matches:[],tH:null}:{ej:this.Dw(this.hK(e.text),h),matches:[],tH:null},this.nx[e.text]=this.Xc);if(this.Xc.tH!==f){for(this.Xc.matches=[];null!==(this._m=this.Xc.ej.exec(f));)this.Xc.matches.push({start:this._m.index,end:this.Xc.ej.lastIndex});this.Xc.tH=f}if(0<this.Xc.matches.length)for(e=this.Xc.matches.length-1;0<=e;e--)if(this.Xc.matches[e].end<n)return{start:this.Xc.matches[e].start,
length:this.Xc.matches[e].end-this.Xc.matches[e].start};return{start:-1,length:0}};h.prototype.bW=function(){var e;var f=this.Nb;for(var n=this.ob.length,r;;){var y=!1;Object(aa.a)(0<this.sp.text.length);if(this.Ti()){if(f===n){r=e=n;break}e=this.qX(this.sp,this.ob,f)}else e=this.pX(this.sp,this.ob,f);r=e.start;if(0>r){r=e=n;break}e=e.start+e.length;this.Ti()?(f=r,0!==f?--f:f=n):f=e;if(!this.$m)if(0<this.ti.length)if(this.jh.length||this.Zd.length){for(var ea=this.Zd.length,z=this.jh.length,ba=r-
0,da=Object(w.a)(this.ti);da.zk();){var fa=da.current;fa=ba+fa;if(!h.yi(this.jh,fa)&&!h.yi(this.Zd,fa)){y=!0;break}}if(y)continue;da=r-0;for(var za=e-0-1,ca=fa=this.CC(this.Zd,da);ca!==ea;++ca){var va=this.Zd[ca];if(va>=da&&va<za&&(fa=va-ba,!h.yi(this.ti,fa))){y=!0;break}if(va>=za)break}if(y)continue;for(ca=fa=this.CC(this.jh,da);ca!==z;++ca){va=this.jh[ca];if(va>=da&&va<za&&(fa=va-ba,!h.yi(this.ti,fa))){y=!0;break}if(va>=za)break}if(y)continue}else continue;else if(this.Zd.length)for(da=r-0,za=e-
0-1,ea=this.Zd.length,ca=fa=this.CC(this.Zd,da);ca!==ea&&(va=this.Zd[ca],va>=da&&va<za||!(va>=za));++ca);if(this.h5()){if(0!==r&&(va=r-0-1,!(h.yi(this.jh,va)||h.yi(this.Zd,va)||this.yj(this.ob.charAt(r))||this.yj(this.ob.charAt(r-1)))))continue;if(e!==n&&(va=e-0-1,!(h.yi(this.jh,va)||h.yi(this.Zd,va)||this.yj(this.ob.charAt(e-1))||this.yj(this.ob.charAt(e)))))continue}break}return new x.a("",r,e,"",-1,-1)};h.prototype.yj=function(e){return this.nb[e]?!0:this.Yw(e)||this.aX(e)};h.prototype.CC=function(e,
f){e=e.indexOf(f);0>e&&(e=~e);return e};h.prototype.jx=function(e){e=e.charCodeAt(0);if(39===e||8217===e)e=39;else if(34===e||8220===e||8221===e)e=34;return String.fromCharCode(e)};h.prototype.Ym=function(e){var f=e.charCodeAt(0);return"-"===e||8208===f||8209===f||65293===f||173===f};h.prototype.$W=function(e){var f=e.charCodeAt(0);return","===e||65292===f||65294===f};h.prototype.aX=function(e){var f=e.charCodeAt(0);return 32<f&&48>f||57<f&&65>f||90<f&&97>f||122<f&&127>f||this.$W(e)||this.Ym(e)||
173===f||1642<=f&&(1645>=f||8210<=f&&8231>=f||8240<=f&&8269>=f||8592<=f&&9215>=f||12441<=f&&12444>=f||65281<=f&&65291>=f||65295===f||65306<=f&&65312>=f||65344===f||65371<=f&&65374>=f)?!0:!1};h.prototype.Yw=function(e){e=e.charCodeAt(0);return 32===e||1<=e&&31>=e||160===e||8192<=e&&(8207>=e||8232<=e&&8239>=e||8298<=e&&8303>=e)?!0:!1};h.prototype.hC=function(e){function f(e,f){return e-f}if(0>e||e>=this.Wf.length)return!1;this.cc=this.ob="";Object(n.b)(this.af);Object(n.b)(this.jh);Object(n.b)(this.Zd);
var r=this.mu(),h=[],w=[];if(r){var x=this.Wf[e].text;if(null===x||!x.ready())return!1;e=x.Db;h=x.he;w=x.Qe();Object(n.b)(this.zj);this.HK&&Object(n.b)(this.GK)}else{x=this.Wf[e].text;if(null===x||!x.ready())return!1;e=x.Db}if(0>=e.length)return!1;x="";for(var y=e.length,ea=-1,z=/^[.,:!?]/,ia=0;ia<y;++ia){var da=e.charAt(ia),ba=-1;r&&(ba=h[ia]);if("\n"===da){da=ia-1;for(var fa=e.charAt(da);0<=da&&" "===e.charAt(da);)--da,fa=e.charAt(da);if(!(0>da||this.Ym(e.charAt(da)))){for(da=ia+1;da<y&&" "===e.charAt(da);)++da;
da>=y||this.Ym(e.charAt(da))&&0<da&&!fa.match(z)||(x+=" ",this.af.push(this.cc.length),this.cc+=" ",r&&(ea=ea<ba?ba:ea,this.aC(ba,w,8*ia)))}}else" "===da?ia<y-1&&("\n"===e.charAt(ia+1)||" "===e.charAt(ia+1))||(x+=da,this.af.push(this.cc.length),this.cc+=da,r&&(ea=ea<ba?ba:ea,this.aC(ba,w,8*ia))):(this.Ym(da)?this.$m||this.Ez()?(x+=this.jx(da),this.af.push(this.cc.length)):(fa=x.length-1,ia<y-1&&"\n"===e.charAt(ia+1)?this.jh.push(fa):this.Zd.length&&fa===this.Zd[this.Zd.length-1]||this.Zd.push(fa)):
(x+=this.jx(da),this.af.push(this.cc.length)),this.cc+=da,r&&(ea=ea<ba?ba:ea,this.aC(ba,w,8*ia)))}Object(aa.a)(x.length===this.af.length);this.ob=x;if(r){y=this.zj.length;Object(n.b)(this.us);for(ia=0;ia<ea+1;++ia)this.us.push(!0);for(ia=0;ia<y;++ia)ba=this.zj[ia],0<=ba&&(this.us[ba]=!1)}this.Lq()||this.Ez()||(this.ob=this.ob.toLowerCase());this.jh.sort(f);this.Zd.sort(f);this.ti.sort(f);return!0};h.prototype.aC=function(e,f,n){this.zj.push(e);if(this.HK)for(e=n;e<n+8;++e)this.GK.push(f[e])};h.prototype.FW=
function(f,n,r){if(f){var w=this.af[f-1];++w}else w=0;if(n<this.af.length)var x=this.af[n];else x=this.af[n-1],x===this.cc.length-1&&++x;Object(aa.a)(w>=f&&x>=n&&x>=w);if(!this.$m){if(!h.yi(this.ti,r-1))for(;0<x&&this.Ym(this.cc.charAt(x-1));)--x;f=this.cc.length;if(!h.yi(this.ti,-1))for(;w<f-1&&this.Ym(this.cc.charAt(w));)++w;x<w&&(Object(aa.a)(!1),x=w)}return new e.a(w,x)};h.prototype.AW=function(e,f,n){Object(aa.a)(0<=f&&f<=n&&f<e.length&&n<e.length);f=e[f];e=e[n];if(f===e||f+1===e)return!0;for(n=
!0;0<=f&&f<e-1;)if(!this.us[++f]){n=!1;break}return n};return h}();ca.a=ha},function(ha,ca,h){var ba=h(1),aa=h(52),fa=h(99),da=h(23),z=h(138),y=h(79),f=h(139),e=h(6),x=h(31),r=h(2);ha=function(){function h(f){this.Aa="";this.$w=-1;this.eb=[];this.yb="";this.Wf=f.yc();this.Cc=new e.d;this.Cc.zc();this.xb=[];this.bx=[];this.ax=[];this.Jd=0;this.EC=!1}h.prototype.Qe=function(){for(var e=this.eb.length/8,f=[],r=0;r<e;++r){var h=new fa.a,w=8*r;h.eL(this.eb[w],this.eb[w+1],this.eb[w+2],this.eb[w+3],this.eb[w+
4],this.eb[w+5],this.eb[w+6],this.eb[w+7]);f.push(h)}return f};h.prototype.z2=function(e,f){if(this.xb.length)for(var n=0;n<this.xb.length;n++){var h=this.xb[n],w=h.cx,x=w.ha,y=w.ia,ea=w.ea;w=w.fa;if(e>=x&&e<=y&&f>=ea&&f<=w)return{text:h.ui.Aa,boundingBox:new r.d(x,ea,y,w)}}};h.prototype.Yw=function(e){e=e.charCodeAt(0);return 32===e||1<=e&&31>=e||160===e||8192<=e&&(8207>=e||8232<=e&&8239>=e||8298<=e&&8303>=e)?!0:!1};h.prototype.qx=function(f,r){--f;Object(x.b)(this.eb);this.yb="";r.normalize();for(var n=
[],h="",w,y=f-1;y<f+2;y++)this.nl(y)&&(n.push({ge:y,$g:this.Aa}),h+=this.Aa);if(0===n.length||0===h.length||!this.nl(f))return!1;y=new e.f;var ea=Array(8),z,aa=new e.b;aa.zc();var da=new e.g;da.zc();var ba=[],fa=!1;for(z=this.Cc.Lt();!z.Na(aa);z=z.Cf())if(z.fc(y),y.normalize(),!r.Gu(y)){var za=[null,null],ca=[null,null],va=-1;var ta=-1;for(w=z.Ec();!w.Na(da);w=w.ef())if(w.Rd(ea),y.Ro(ea),!r.Gu(y)){ta=w.zh();var ya=w.Hb();-1===va&&(va=ya);var pa=ba.length;if(0<ta&&0<pa){fa&&("\n"!==ba[0]&&(this.Yw(ba[pa-
1])?ba[pa-1]="\n":ba.push("\n")),fa=!1);for(pa=0;pa<ba.length;++pa)this.yb+=ba[pa];Object(x.b)(ba)}for(pa=0;pa<=ta;++pa)ya+pa<this.Aa.length&&(pa<ta?this.yb+=this.Aa.charAt(ya+pa):ba.push(this.Aa.charAt(ya+pa)));if(0<ta){pa=y.ia-y.ha;var ha=y.fa-y.ea;this.wi(ea,Math.sqrt(pa*pa+ha*ha)/ta*3)}ta=ya+ta}fa=!0;za[0]=va;for(w=va=0;w<n.length;w++)if(n[w].ge===f){va+=za[0];break}else n[w].ge<f&&(va+=n[w].$g.length);ca[0]=h.substring(Math.max(0,va-100),va);if(-1!==ta){za[1]=ta;for(w=va=0;w<n.length;w++)if(n[w].ge===
f){va+=ta;break}else n[w].ge<f&&(va+=n[w].$g.length);ca[1]=h.substr(va+1,100)}null!==za[0]&&null!==za[1]&&this.ax.push(za);null!==ca[0]&&null!==ca[1]&&this.bx.push(ca)}return 0<this.eb.length};h.prototype.xW=function(){var f,r=new e.b;r.zc();var h=Array(8),w=Array(8),x=.1,y=-100;for(f=this.Cc.Lt();!f.Na(r);f=f.Cf()){var z=new e.e,aa=new e.e,da=new e.g;da.zc();var ba=f.Ec(),na=new e.g;na.zc();for(var fa=f.Ec();!fa.Na(da);fa=fa.ef())na=fa;ba.ue(0,h);z.x=(h[0]+h[2]+h[4]+h[6])/4;z.y=(h[1]+h[3]+h[5]+h[7])/
4;na.ue(na.ad()-1,w);aa.x=(w[0]+w[2]+w[4]+w[6])/4;aa.y=(w[1]+w[3]+w[5]+w[7])/4;da=e.e.th(z,aa);da>x&&(y=Math.atan2(aa.y-z.y,aa.x-z.x),y*=180/3.1415926,y=Math.round(y),0>y&&(y+=360),x=da)}this.Jd=y;this.EC=2>Math.abs(this.Jd)||2>Math.abs(this.Jd-180)};h.prototype.qS=function(f,h){Object(x.b)(this.eb);this.yb="";h.normalize();var n=[],r="",w;for(w=f-1;w<f+2;w++)this.nl(w)&&(n.push({ge:w,$g:this.Aa}),r+=this.Aa);if(0===n.length||0===r.length||!this.nl(f))return!1;var y=new e.f,ea=Array(8),z,aa,da=new e.b;
da.zc();var ba,fa=new e.g;fa.zc();var za=[],ca=!1;for(aa=this.Cc.Lt();!aa.Na(da);aa=aa.Cf())if(aa.fc(y),y.normalize(),!h.Gu(y)){var va=[null,null],ta=[null,null],ya=-1,pa=!0;for(ba=aa.Ec();!ba.Na(fa);ba=ba.ef())if(ba.Rd(ea),y.Ro(ea),!h.Gu(y)){var ha=ba.zh();var Ca=ba.Hb(),Aa=za.length;if(0<ha&&0<Aa){ca&&("\n"!==za[0]&&(this.Yw(za[Aa-1])?za[Aa-1]="\n":za.push("\n")),ca=!1);for(w=0;w<za.length;++w)this.yb+=za[w];Object(x.b)(za)}Aa=0;var Ea=Array(8),Da=Array(8),Ja=!1,Na=!1;for(z=0;z<ha;++z){var wa=Ca+
z;if(wa<this.Aa.length){w=Array(8);var Fa=new e.f;ba.ue(z,w);Fa.Ro(w);if(h.Gu(Fa))0===Aa?Ja=!0:Na=!0;else{ya=wa;Aa++;if(1===Aa){if(pa){va[0]=wa;for(w=pa=0;w<n.length;w++)if(n[w].ge===f){pa+=wa;break}else n[w].ge<f&&(pa+=n[w].$g.length);ta[0]=r.substring(Math.max(0,pa-100),pa);pa=!1}Ja&&ba.ue(z,Ea)}ba.ue(z,Da);z<ha?this.yb+=this.Aa.charAt(wa):za.push(this.Aa.charAt(wa))}}}"\n"!=za[ha]&&za.push(" ");0<Aa&&(Ja&&this.Sm(ea,Ea,!0),Na&&this.Sm(ea,Da,!1),y.Ro(ea),ha=y.ia-y.ha,Ca=y.fa-y.ea,this.wi(ea,Math.sqrt(ha*
ha+Ca*Ca)/Aa*3))}ca=!0;if(-1!==ya){va[1]=ya;for(w=ba=0;w<n.length;w++)if(n[w].ge===f){ba+=ya;break}else n[w].ge<f&&(ba+=n[w].$g.length);ta[1]=r.substr(ba+1,100)}null!==va[0]&&null!==va[1]&&this.ax.push(va);null!==ta[0]&&null!==ta[1]&&this.bx.push(ta)}return 0<this.eb.length};h.prototype.Y2=function(e,f,h){for(var n=[],r=-1,w="",x=0;x<f.length;x++){var y=this.o3(e,f[x][0],f[x][1]);if(y.status)-1!==r||void 0===y.nm||null===y.nm||isNaN(y.nm)||(r=y.nm),y.nm===r&&Array.prototype.push.apply(n,y.value),
w+=this.yb;else break}-1===r&&(r=0);return 0===n.length||w.replace(/( |\n)/gm,"")!==h.replace(/( |\n)/gm,"")?{status:!1}:{status:!0,value:n,nm:r}};h.prototype.o3=function(e,f,r){if(20>=f.length||20>=r.length)return{status:!1};var n=[],h="",w=[],x=!0,y=0,ea,z;for(ea=e-1;ea<e+2;ea++)if(this.nl(ea))if(n.push({ge:ea,$g:this.Aa}),h+=this.Aa,null!==this.Wf[ea].text.tp){for(z=0;z<this.Wf[ea].text.tp.length;z++)w.push(this.Wf[ea].text.tp[z]+y);y+=this.Aa.length}else x=!1;if(0===n.length||0===h.length)return{status:!1};
y=[];ea=0;x?(e=h.replace(/( |\n)/gm,""),f=f.replace(/( |\n)/gm,"")):e=h;for(;!(0===e.length||e.length<f.length||(z=e.indexOf(f),0>z));)y.push(ea+z+f.length),e=e.substr(z+1),ea+=z+1;if(0===y.length)return{status:!1};f=[];ea=y[0]+1;x?(e=h.replace(/( |\n)/gm,"").substring(y[0]+1),r=r.replace(/( |\n)/gm,"")):e=h.substring(y[0]+1);for(;!(0===e.length||e.length<r.length||(z=e.indexOf(r),0>z));)f.push(ea+z),e=e.substr(z+1),ea+=z+1;if(0===f.length)return{status:!1};r=[];for(ea=0;ea<y.length;ea++)for(e=0;e<
f.length;e++)if(y[ea]+1<=f[e]&&(z=[],z.push(y[ea]),z.push(f[e]),r.push(z)),1<r.length)return{status:!1};if(1!==r.length)return{status:!1};if(x){for(ea=0;ea<w.length&&!(r[0][0]<w[ea]);ea++)r[0][0]++;for(ea=0;ea<w.length&&!(r[0][1]<w[ea]);ea++)r[0][1]++}x=[0,0];w=-1;for(ea=y=0;ea<n.length;ea++){f=n[ea].$g;if(r[0][0]>=y&&r[0][0]<y+f.length){w=n[ea].ge;x[0]=r[0][0]-y;break}y+=f.length}if(-1===w)return{status:!1};e=-1;for(ea=y=0;ea<n.length;ea++){f=n[ea].$g;if(r[0][1]>=y&&r[0][1]<y+f.length){e=n[ea].ge;
x[1]=r[0][1]-y;break}y+=f.length}if(-1===e)return{status:!1};if(w===e)return h=this.cF(w,x[0],x[1]-1),h.status?(h.nm=w,h):{status:!1};for(ea=0;ea<n.length&&n[ea].ge!==w;ea++);n=this.cF(w,x[0],n[ea].$g.length-1);this.yb=h.substring(r[0][0],r[0][1]);return n.status?(n.nm=w,n):{status:!1}};h.prototype.Z2=function(e,f,r){for(var n=[],h="",w=0;w<f.length;w++){var x=Number(f[w][0]),y=Number(f[w][1]);if(isNaN(x)||isNaN(y))return Object(ba.h)("getRectangularSelectionFromTextIndices: could not parse index-based selectors as numbers."),
{status:!1};x=this.cF(e,x,y);if(x.status)Array.prototype.push.apply(n,x.value),h+=this.yb;else return{status:!1}}return 0===n.length||h.replace(/( |\n)/gm,"")!==r.replace(/( |\n)/gm,"")?{status:!1}:{status:!0,value:n}};h.prototype.cF=function(f,r,h){if(!this.nl(f))return{status:!1};var n=new e.g;n.zc();f=new e.b;f.zc();this.yb=this.Aa.substring(r,Math.min(h+1,this.Aa.length));for(var w=0,x,y;;){if(w>=this.xb.length)return{status:!1};x=this.xb[w].ui;y=this.xb[w].Bj;if(y.ee().Hb()+y.ee().ad()>=r&&x.Ec().Hb()<=
r)break;w++}for(var ea=this.xb[w],z=ea.ui;;){if(z.Na(f))return{status:!1};if(this.Ej(z.Gi())){if(z.ee().Hb()+z.ee().ad()>=r&&z.Ec().Hb()<=r)break;if(z.Na(ea.Bj)||z.Na(f))return{status:!1};z=z.Cf()}}for(var ia=z.Ec();;){if(ia.Na(n))return{status:!1};if(ia.Hb()+ia.ad()>=r&&ia.Hb()<=r)break;ia=ia.ef()}for(var aa=0;;){if(aa>=this.xb.length)return{status:!1};x=this.xb[aa].ui;y=this.xb[aa].Bj;if(y.ee().Hb()+y.ee().ad()>=h&&x.Ec().Hb()<=h)break;aa++}for(var ba=this.xb[aa].ui;;){if(ba.Na(f))return{status:!1};
if(this.Ej(ba.Gi())){if(ba.ee().Hb()+ba.ee().ad()>=h&&ba.Ec().Hb()<=h)break;if(ba.Na(ea.Bj))return{status:!1};ba=ba.Cf()}}for(ea=ba.Ec();;){if(ea.Na(n))return{status:!1};if(ea.Hb()+ea.ad()>=h&&ea.Hb()<=h)break;ea=ea.ef()}n=[];for(var da=Array(4),fa=w;fa<=aa;fa++)if(x=this.xb[fa].ui,y=this.xb[fa].Bj,fa===w&&fa!==aa)for(x=z;!x.Na(f);x=x.Cf()){if(this.Ej(x.Gi())){var ca=Array(8);x.Na(z)?ia.sq(Math.min(r-ia.Hb(),ia.ad()-1),ca):(x.Ec().fc(da),ca[0]=da[0],ca[1]=da[3],ca[6]=da[0],ca[7]=da[1]);x.ee().fc(da);
ca[2]=da[2];ca[3]=da[3];ca[4]=da[2];ca[5]=da[1];n.push(ca);if(x.Na(y))break}}else if(fa!==w&&fa===aa)for(;;x=x.Cf()){if(x.Na(f))return{status:!1};if(this.Ej(x.Gi())&&(ca=Array(8),x.Na(ba)?ea.sq(Math.min(h-ea.Hb(),ea.ad()-1),ca):(x.ee().fc(da),ca[2]=da[2],ca[3]=da[3],ca[4]=da[2],ca[5]=da[1]),x.Ec().fc(da),ca[0]=da[0],ca[1]=da[3],ca[6]=da[0],ca[7]=da[1],n.push(ca),x.Na(ba)))break}else if(fa===w&&fa===aa)for(x=z;;x=x.Cf()){if(x.Na(f))return{status:!1};if(this.Ej(x.Gi())&&(ca=Array(8),x.Na(z)&&!x.Na(ba)?
(ia.sq(Math.min(r-ia.Hb(),ia.ad()-1),ca),x.ee().fc(da),ca[2]=da[2],ca[3]=da[3],ca[4]=da[2],ca[5]=da[1]):!x.Na(z)&&x.Na(ba)?(ea.sq(Math.min(h-ea.Hb(),ea.ad()-1),ca),x.Ec().fc(da),ca[0]=da[0],ca[1]=da[3],ca[6]=da[0],ca[7]=da[1]):x.Na(z)&&x.Na(ba)?(ia.sq(Math.min(r-ia.Hb(),ia.ad()-1),ca),da[0]=ca[6],da[1]=ca[7],da[2]=ca[2],da[3]=ca[3],ea.sq(Math.min(h-ea.Hb(),ea.ad()-1),ca),ca[0]=da[0],ca[1]=da[3],ca[6]=da[0],ca[7]=da[1]):(x.Ec().fc(da),ca[0]=da[0],ca[1]=da[3],ca[6]=da[0],ca[7]=da[1],x.ee().fc(da),ca[2]=
da[2],ca[3]=da[3],ca[4]=da[2],ca[5]=da[1]),n.push(ca),x.Na(ba)))break}else for(;!(x.Na(f)||this.Ej(x.Gi())&&(ca=Array(8),x.Ec().fc(da),ca[0]=da[0],ca[1]=da[3],ca[6]=da[0],ca[7]=da[1],x.ee().fc(da),ca[2]=da[2],ca[3]=da[3],ca[4]=da[2],ca[5]=da[1],n.push(ca),x.Na(y)));x=x.Cf());return{status:!0,value:n}};h.prototype.oS=function(f,r){Object(x.b)(this.eb);this.yb="";for(var n=[],h="",w=f-1;w<f+2;w++)this.nl(w)&&(n.push({ge:w,$g:this.Aa}),h+=this.Aa);if(0===n.length||0===h.length||!this.nl(f))return!1;
var y;w=Array(8);var ea=Array(8),z=new e.f,da=new e.b,fa=new e.b;da.zc();fa.zc();var na=this.EC,ca=this.EC,za=new e.b;za.zc();var sa=new e.g;sa.zc();var va=new e.e;va.init(r.ha,r.ea);var ta=new e.e;ta.init(r.ia,r.fa);va=this.LW(va,ta,da,fa);da=va.lK;fa=va.EK;if(da.Na(za)||fa.Na(za))return!1;var ya=new e.g;va=new e.g;ya.zc();va.zc();var pa=y=aa.a.MAX;for(var ha=da.Ec();!ha.Na(sa);ha=ha.ef()){ha.fc(w);if(na){var Ca=r.ha;ta=r.ea}else ta=w[0],w[0]=w[1],w[1]=ta,ta=w[2],w[2]=w[3],w[3]=ta,Ca=r.ea,ta=r.ha;
var Aa=(w[3]+w[1])/2;if(w[2]<=Ca){var Ea=w[2]-Ca;Aa-=ta;Aa=Ea*Ea+Aa*Aa}else w[0]>=Ca?(Ea=w[0]-Ca,Aa-=ta,Aa=Ea*Ea+Aa*Aa):(Aa-=ta,Aa*=Aa);Aa<y&&(y=Aa,ya=ha)}for(ha=fa.Ec();!ha.Na(sa);ha=ha.ef())ha.fc(w),ca?(Ca=r.ia,ta=r.fa):(ta=w[0],w[0]=w[1],w[1]=ta,ta=w[2],w[2]=w[3],w[3]=ta,Ca=r.fa,ta=r.ia),Aa=(w[3]+w[1])/2,w[2]<=Ca?(Ea=w[2]-Ca,Aa-=ta,Aa=Ea*Ea+Aa*Aa):w[0]>=Ca?(Ea=w[0]-Ca,Aa-=ta,Aa=Ea*Ea+Aa*Aa):(Aa-=ta,Aa*=Aa),Aa<pa&&(pa=Aa,va=ha);if(ya.Na(sa)||va.Na(sa))return!1;ta=ha=0;pa=y=aa.a.MAX;var Da=ya.ad();
for(Ca=0;Ca<Da;++Ca)ya.ue(Ca,w),Ea=(w[0]+w[2]+w[4]+w[6])/4,Aa=(w[1]+w[3]+w[5]+w[7])/4,Ea-=r.ha,Aa-=r.ea,Aa=Ea*Ea+Aa*Aa,Aa<y&&(y=Aa,ha=Ca);Da=va.ad();for(Ca=0;Ca<Da;++Ca)va.ue(Ca,w),Ea=(w[0]+w[2]+w[4]+w[6])/4,Aa=(w[1]+w[3]+w[5]+w[7])/4,Ea-=r.ia,Aa-=r.fa,Aa=Ea*Ea+Aa*Aa,Aa<pa&&(pa=Aa,ta=Ca);y=ha+ya.Hb();pa=ta+va.Hb();pa<y&&(Ca=y,y=pa,pa=Ca);this.ax.push([y,pa]);Aa=[null,null];for(Ca=Ea=0;Ca<n.length;Ca++)if(n[Ca].ge===f){Ea+=y;break}else n[Ca].ge<f&&(Ea+=n[Ca].$g.length);Aa[0]=h.substring(Math.max(0,
Ea-100),Ea);for(Ca=y=0;Ca<n.length;Ca++)if(n[Ca].ge===f){y+=pa;break}else n[Ca].ge<f&&(y+=n[Ca].$g.length);Aa[1]=h.substr(y+1,100);null!==Aa[0]&&null!==Aa[1]&&this.bx.push(Aa);h=da.qc;pa=fa.qc;f=ya.qc;n=va.qc;if(h===pa){f>n&&(h=ya,ya=va,va=h,h=ha,ha=ta,ta=h);da.fc(z);if(f===n&&ha===ta&&(h=new e.f,!h.xz(z,r)))return!1;f===n?(ta<ha&&(h=ha,ha=ta,ta=h),h=ta):h=ya.zh();ya.ue(ha,w);Object(ba.a)(na===ca);ca=ya.Hb();Object(ba.a)(ha<=h);for(na=ha;na<=h;++na)ca+na<this.Aa.length&&(this.yb+=this.Aa.charAt(ca+
na));0<=h&&(ya.Rd(ea),na=ea[0]-ea[2],ca=ea[1]-ea[3],na=Math.sqrt(na*na+ca*ca),na=na/(h+1)*3,this.Sm(ea,w,!0),f===n&&(r=Array(8),va.ue(ta,r),this.Sm(ea,r,!1)),this.wi(ea,na));for(ha=ya=ya.ef();!ha.Na(sa)&&ha.qc<va.qc;ha=ha.ef()){h=ha.zh();r=ha.Hb();for(na=0;na<=h;++na)r+na<this.Aa.length&&(this.yb+=this.Aa.charAt(r+na));0<h&&(ha.Rd(ea),na=ea[0]-ea[2],ca=ea[1]-ea[3],na=Math.sqrt(na*na+ca*ca),na=na/h*3,this.wi(ea,na))}va.ue(ta,w);h=va.zh();if(f!==n){sa=va.Hb();Object(ba.a)(ta<=h);for(na=0;na<=ta;++na)sa+
na<this.Aa.length&&(this.yb+=this.Aa.charAt(sa+na));0<h&&(va.Rd(ea),na=ea[0]-ea[2],ca=ea[1]-ea[3],na=Math.sqrt(na*na+ca*ca),na=na/h*3,this.Sm(ea,w,!1),this.wi(ea,na))}}else{h>pa&&(na=da,da=fa,fa=na,h=ya,ya=va,va=h,h=ha,ha=ta,ta=h);da.fc(z);h=new e.f;h.xz(z,r)||(ya=da.Ec(),ha=0);ya.ue(ha,w);h=ya.zh();ca=ya.Hb();Object(ba.a)(ha<=h);for(na=ha;na<=h;++na)ca+na<this.Aa.length&&(this.yb+=this.Aa.charAt(ca+na));0<h&&(ya.Rd(ea),na=ea[0]-ea[2],ca=ea[1]-ea[3],na=Math.sqrt(na*na+ca*ca),na=na/h*3,this.Sm(ea,
w,!0),this.wi(ea,na));for(ha=ya=ya.ef();!ha.Na(sa);ha=ha.ef()){h=ha.zh();ya=ha.Hb();for(na=0;na<=h;++na)ya+na<this.Aa.length&&(this.yb+=this.Aa.charAt(ya+na));0<h&&(ha.Rd(ea),na=ea[0]-ea[2],ca=ea[1]-ea[3],na=Math.sqrt(na*na+ca*ca),na=na/h*3,this.wi(ea,na))}for(da=da.Cf();!da.Na(fa)&&!da.Na(za);da=da.Cf())if(this.Ej(da.Gi()))for(da.fc(z),ha=da.Ec();!ha.Na(sa);ha=ha.ef()){h=ha.zh();ya=ha.Hb();for(na=0;na<=h;++na)ya+na<this.Aa.length&&(this.yb+=this.Aa.charAt(ya+na));0<h&&(ha.Rd(ea),na=ea[0]-ea[2],ca=
ea[1]-ea[3],na=Math.sqrt(na*na+ca*ca),na=na/h*3,this.wi(ea,na))}fa.fc(z);h=new e.f;h.xz(z,r)||(va=fa.OO(fa.Hi()-1),ta=va.ad()-1);for(ha=fa.Ec();!ha.Na(sa)&&!ha.Na(va);ha=ha.ef()){h=ha.zh();r=ha.Hb();for(na=0;na<=h;++na)r+na<this.Aa.length&&(this.yb+=this.Aa.charAt(r+na));0<h&&(ha.Rd(ea),na=ea[0]-ea[2],ca=ea[1]-ea[3],na=Math.sqrt(na*na+ca*ca),na=na/h*3,this.wi(ea,na))}va.ue(ta,w);h=va.zh();ca=va.Hb();Object(ba.a)(ta<=h);for(na=0;na<=ta;++na)ca+na<this.Aa.length&&(this.yb+=this.Aa.charAt(ca+na));0<
h&&(va.Rd(ea),na=ea[0]-ea[2],ca=ea[1]-ea[3],na=Math.sqrt(na*na+ca*ca),na=na/h*3,this.Sm(ea,w,!1),this.wi(ea,na))}return 0<this.eb.length};h.prototype.nl=function(e){if(0>e||e>=this.Wf.length)return!1;if(0>=this.$w||this.$w!==e){var f=this.Wf[e].text;if(null==f||!f.ready())return!1;this.Cc=f;this.Aa=this.Cc.Db;this.xW();this.wW();this.$w=e}return!0};h.prototype.wi=function(e,f){var n=this.eb.length/8;if(n){var h=Array(8);n=8*(n-1);for(r=0;8>r;++r)h[r]=this.eb[n+r];if(fa.a.gx(h,e,!0,f))for(r=0;8>r;++r)this.eb[n+
r]=h[r];else for(r=0;8>r;++r)this.eb.push(e[r])}else for(var r=0;8>r;++r)this.eb.push(e[r])};h.prototype.Sm=function(f,h,r){var n=new e.e;n.init(f[0],f[1]);var w=new e.e;w.init(f[2],f[3]);var x=e.e.Kh(w,n);x.normalize()&&(r?(w=new e.e,w.init(h[0],h[1]),h=e.e.Kh(w,n).Ab(x),x=e.e.multiply(x,h),f[0]+=x.x,f[1]+=x.y,f[6]+=x.x,f[7]+=x.y):(n=new e.e,n.init(h[2],h[3]),h=e.e.Kh(n,w).Ab(x),x=e.e.multiply(x,h),f[2]+=x.x,f[3]+=x.y,f[4]+=x.x,f[5]+=x.y))};h.prototype.sK=function(e){var f=da.a.pm(0),n=da.a.pm(1.570796325),
h=da.a.pm(3.14159265),r=da.a.pm(3.14159265*1.5);switch(parseInt(e/90+.1)){case 0:return f;case 1:return n;case 2:return h;case 3:return r;case 4:return f;default:return f}};h.prototype.Ej=function(){return!0};h.prototype.mL=function(e,f){f=this.sK(f);var n=new y.a(e.ha,e.ea);n=f.ka(n);e.ha=n.x;e.ea=n.y;n=new y.a(e.ia,e.fa);n=f.ka(n);e.ia=n.x;e.fa=n.y;e.normalize()};h.prototype.wW=function(){Object(x.b)(this.xb);var f,h=new e.b;h.zc();var r=new e.f,w=new z.a,y=!1;for(f=this.Cc.Lt();!f.Na(h);f=f.Cf())if(this.Ej(f.Gi())){f.fc(r);
r.normalize();var aa=new e.f;aa.sk(r);this.mL(r,this.Jd);y?(this.xb.push(w),w=new z.a,w.cx.sk(aa),w.sg.sk(r),w.ui=f,w.Bj=f):(w.cx.sk(aa),w.sg.sk(r),w.ui=f,w.Bj=f,y=!0)}y&&this.xb.push(w)};h.prototype.iK=function(f,h){for(var n=aa.a.MAX,r=new e.f,w=f.ui,x=f.ui;;x=x.Cf()){if(!this.Ej(x.Gi()))if(x.Na(f.Bj))break;else continue;x.fc(r);this.mL(r,this.Jd);var y=(r.ea+r.fa)/2;Math.abs(y-h.y)<n&&(w=x,n=Math.abs(y-h.y));if(x.Na(f.Bj))break}return w};h.prototype.cw=function(f,h,r){var n=e.e.Kh(h,f),w=e.e.Kh(r,
f),x=w.Ab(n);if(0>=x)return w.Ab(w);w=n.Ab(n);if(w<=x)return r=e.e.Kh(r,h),r.Ab(r);f=e.e.gr(f,e.e.multiply(n,x/w));r=e.e.Kh(r,f);return r.Ab(r)};h.prototype.bw=function(f,r){var n=this.cw(new e.e(r.ha,r.ea),new e.e(r.ia,r.ea),f),h=this.cw(new e.e(r.ia,r.ea),new e.e(r.ia,r.fa),f),w=this.cw(new e.e(r.ia,r.fa),new e.e(r.ha,r.fa),f);f=this.cw(new e.e(r.ha,r.fa),new e.e(r.ha,r.ea),f);return Math.min(n,h,w,f)};h.prototype.LW=function(n,r,h,w){var x=-1,ea=-1,z=!1,aa=!1,ia=this.sK(this.Jd),da=new e.e,ka=
new e.e;da.vz(n);ka.vz(r);n=new y.a(da.x,da.y);n=ia.ka(n);da.x=n.x;da.y=n.y;n=new y.a(ka.x,ka.y);n=ia.ka(n);ka.x=n.x;ka.y=n.y;r=0;for(var fa=this.xb.length;r<fa;++r)ia=this.xb[r],0>x&&ia.sg.contains(da.x,da.y)&&(x=r,aa=!0),0>ea&&ia.sg.contains(ka.x,ka.y)&&(ea=r,z=!0);if(!aa||!z){ia=[];for(n=0;n<this.xb.length;++n)ia.push(0);n=Math.max(x,ea);var ca=new e.f;ca.cb(da.x,da.y,ka.x,ka.y);ca.q4();0<=n&&ca.union(this.xb[n].sg);var ha=new e.f;r=0;for(fa=this.xb.length;r<fa;++r){var va=new e.f;va.sk(this.xb[r].sg);
ha.xz(va,ca)&&(ia[r]=1)}fa=ia.indexOf(1);for(ca=r=ia.indexOf(1);-1!==r;){ca=r;r++;if(r>=ia.length)break;r=ia.indexOf(1,r)}if(0>fa)return new f.a(h,w);ia=r=!1;ha=Math.max.apply(Math,this.xb.map(function(e){return e.cx.fa}));va=this.Wf[this.$w];void 0!==va.ia&&void 0!==va.fa&&(r=Math.round(ka.x)>=Math.round(va.ia)&&Math.round(ka.y)>=Math.round(va.fa),ia=0===da.x&&0===da.y,ka.y>ha&&(r=!0));if(0>n)x=fa,ea=ca,aa=new e.f,aa.sk(this.xb[x].sg),z=(da.x-aa.ha)*(da.x-aa.ia),z=0<z?Math.min(Math.abs(da.x-aa.ha),
Math.abs(da.x-aa.ia)):0,n=(da.y-aa.ea)*(da.y-aa.fa),n=0<n?Math.min(Math.abs(da.y-aa.ea),Math.abs(da.y-aa.fa)):0,z=z*z+n*n,n=Math.min(Math.abs(ka.x-aa.ha),Math.abs(ka.x-aa.ia)),fa=(ka.y-aa.ea)*(ka.y-aa.fa),fa=0<fa?Math.min(Math.abs(ka.y-aa.ea),Math.abs(ka.y-aa.fa)):0,aa=n*n+fa*fa,r?ea=this.xb.length-1:!ia&&z>aa&&(aa=x,x=ea,ea=aa);else{va=new e.f;va.sk(this.xb[n].sg);ha=new e.e;aa?ha.vz(ka):ha.vz(da);Object(ba.a)(!(aa&&z)&&!(!aa&&!z));Object(ba.a)(!va.contains(ha.x,ha.y));var ta=va=void 0;n-fa>Math.max(ca-
n,0)?(va=Math.min(n,fa),ta=ca):(va=Math.max(n,ca),ta=fa);r&&!z?(ea=this.xb.length,va=ea-1):va!=n&&(z=Array(3),r=Array(3),z[0]=this.bw(ha,this.xb[ta].sg),z[1]=this.bw(ha,this.xb[va].sg),z[2]=this.bw(ha,this.xb[n].sg),z[3]=va?this.bw(ha,this.xb[va-1].sg):z[1],r[0]=ta,r[1]=va,r[2]=n,n=1,z[0]<z[1]&&(n=0),z[2]<z[n]&&(n=2),1!==n&&z[3]<z[n]&&(n=1),va=r[n]);aa?ea=va:x=va}x=ia?0:x}0<=x&&0<=ea&&(h=this.iK(this.xb[x],da),w=this.iK(this.xb[ea],ka));return new f.a(h,w)};return h}();ca.a=ha},function(ha,ca,h){var ba=
h(80),aa=h(78);ha=function(){function h(h){void 0===h&&(h=[]);this.nc=h||[]}Object.defineProperty(h.prototype,"length",{get:function(){return this.nc.length},enumerable:!1,configurable:!0});h.prototype.L1=function(h){return this.nc[this.nc.length-1-h]};h.prototype.vS=function(h,z){this.nc[this.nc.length-1-h]=z;return this};h.prototype.insertAt=function(h,z){this.nc.splice(this.nc.length-1-h,0,z);return this};h.prototype.push=function(h){this.nc.unshift(h);return this};h.prototype.pop=function(){this.nc.shift();
return this};h.prototype.translate=function(h,z){void 0===h&&(h=0);void 0===z&&(z=0);var y=new ba.a;y.ur(h,z);this.push(y);return this};h.prototype.Mv=function(h,z,y,f){h=new aa.a(h,z);y=(new aa.a(y,f)).subtract(h);f=new ba.a;f.ur(y.X,y.Y);this.push(f);return this};h.prototype.scale=function(h,z){if(null===h||void 0===h)h=1;if(null===z||void 0===z)z=h;var y=new ba.a;y.SH(h,z);this.push(y);return this};h.prototype.Haa=function(h,z){var y=new ba.a;y.TH(h,z);this.push(y);return this};h.prototype.rotate=
function(h,z){void 0===z&&(z=!1);var y=new ba.a;y.tv(h,z);this.push(y);return this};h.prototype.Uy=function(){return this.nc.reduce(function(h,z){return h.multiply(z)},ba.a.Identity)};h.prototype.clear=function(){delete this.nc;this.nc=[];return this};return h}();ca.a=ha},function(ha,ca,h){var ba=h(15),aa=h(6),fa=h(124);ha=function(){function h(){this.Cc=[];this.qc=-1;this.Jd=[];this.Dc=Array(8);this.dx=null;this.Aa="";this.eb=null}h.prototype.zc=function(){this.qc=this.Kd=-1;this.Jd=[]};h.prototype.Na=
function(h){return this.qc===h.qc};h.prototype.Hi=function(){return this.Cc.length};h.prototype.Ec=function(){return this.Cc.length?this.Cc[0]:new aa.g};h.prototype.ee=function(){return this.Cc.length?this.Cc[this.Cc.length-1]:new aa.g};h.prototype.OO=function(h){return 0>h||h>=this.Hi()?new aa.g:this.Cc[h]};h.prototype.Cf=function(){return null==this.dx?new h:this.dx};h.prototype.fc=function(h){h.Ro(this.Dc)};h.prototype.zs=function(h){this.qc=h};h.prototype.Gi=function(){if(this.Jd.length)return this.Jd[0];
var h=new aa.e,y=new aa.e;(new aa.g).zc();var f=this.Ec(),e=this.ee(),x=Array(8),r=Array(8);f.ue(0,x);h.x=(x[0]+x[2]+x[4]+x[6])/4;h.y=(x[1]+x[3]+x[5]+x[7])/4;e.ue(e.ad()-1,r);y.x=(r[0]+r[2]+r[4]+r[6])/4;y.y=(r[1]+r[3]+r[5]+r[7])/4;.01>Math.abs(h.x-y.x)&&.01>Math.abs(h.y-y.y)&&this.Jd.push(0);h=Math.atan2(y.y-h.y,y.x-h.x);h*=180/3.1415926;0>h&&(h+=360);this.Jd.push(h);return 0};h.prototype.HS=function(h){this.dx=h};h.prototype.DL=function(h){0<this.Cc.length&&this.Cc[this.Cc.length-1].B$(h);this.Cc.push(h);
var y=Object(fa.b)(this.Aa),f=Array(8);h.Rd(f);if(y)for(y=0;8>y;y++)this.Dc[y]=f[y];else this.Aa+=" ",ba.c.gx(this.Dc,f,!1,0);this.Aa+=h.Aa};return h}();ca.a=ha},function(ha,ca,h){var ba=h(1),aa=h(15),fa=h(6),da=h(124);ha=function(){function h(){this.Ge=[];this.qc=this.od=-1;this.Dc=Array(8);this.ex=null;this.Aa="";this.eb=null;this.vs=0}h.prototype.zc=function(){this.qc=this.od=-1};h.prototype.Na=function(h){return this.qc===h.qc};h.prototype.ad=function(){return this.Ge.length};h.prototype.zh=function(){return this.Aa.length};
h.prototype.Hb=function(){return this.vs};h.prototype.hL=function(h){this.vs=h};h.prototype.ef=function(){return null==this.ex?new h:this.ex};h.prototype.sq=function(h,f){if(this.Ge&&this.Ge[h]){var e=this.Ge[h][0],x=this.Ge[h][2],r=this.Ge[h][1];h=this.Ge[h][5];r<h?(f[1]=h,f[3]=h,f[5]=r,f[7]=r):(f[1]=r,f[3]=r,f[5]=h,f[7]=h);f[0]=e;f[2]=x;f[4]=x;f[6]=e}else Object(ba.h)("default","getGlyphQuadInWordQuadFormat: No glyph with index "+h+" found.")};h.prototype.ue=function(h,f){for(var e=0;8>e;e++)f[e]=
this.Ge[h][e]};h.prototype.Rd=function(h){for(var f=0;8>f;f++)h[f]=this.Dc[f]};h.prototype.fc=function(h){var f=new fa.f;f.Ro(this.Dc);h[0]=f.ha;h[1]=f.ea;h[2]=f.ia;h[3]=f.fa};h.prototype.zs=function(h){this.qc=this.od=h};h.prototype.yx=function(h,f){var e=Object(da.b)(this.Aa);this.Aa+=h;for(var x=Array(8),r=0;8>r;r++)x[r]=f[r];for(r=0;r<h.length;++r)this.Ge.push(x);if(e)for(r=0;8>r;r++)this.Dc[r]=x[r];else aa.c.gx(this.Dc,x,!1,0)};h.prototype.B$=function(h){this.ex=h};return h}();ca.a=ha},function(ha){function ca(){throw Error("setTimeout has not been defined");
}function h(){throw Error("clearTimeout has not been defined");}function ba(e){if(f===setTimeout)return setTimeout(e,0);if((f===ca||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(ia){try{return f.call(null,e,0)}catch(ka){return f.call(this,e,0)}}}function aa(f){if(e===clearTimeout)return clearTimeout(f);if((e===h||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(f);try{return e(f)}catch(ia){try{return e.call(null,f)}catch(ka){return e.call(this,f)}}}function fa(){r&&
w&&(r=!1,w.length?x=w.concat(x):n=-1,x.length&&da())}function da(){if(!r){var e=ba(fa);r=!0;for(var f=x.length;f;){w=x;for(x=[];++n<f;)w&&w[n].mg();n=-1;f=x.length}w=null;r=!1;aa(e)}}function z(e,f){this.v1=e;this.bD=f}function y(){}ha=ha.exports={};try{var f="function"===typeof setTimeout?setTimeout:ca}catch(ea){f=ca}try{var e="function"===typeof clearTimeout?clearTimeout:h}catch(ea){e=h}var x=[],r=!1,w,n=-1;ha.nQ=function(e){var f=Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)f[n-
1]=arguments[n];x.push(new z(e,f));1!==x.length||r||ba(da)};z.prototype.mg=function(){this.v1.apply(null,this.bD)};ha.title="browser";ha.ida=!0;ha.Xda={};ha.fda=[];ha.version="";ha.Hfa={};ha.on=y;ha.addListener=y;ha.once=y;ha.off=y;ha.removeListener=y;ha.removeAllListeners=y;ha.emit=y;ha.dfa=y;ha.efa=y;ha.listeners=function(){return[]};ha.binding=function(){throw Error("process.binding is not supported");};ha.yda=function(){return"/"};ha.mda=function(){throw Error("process.chdir is not supported");
};ha.Afa=function(){return 0}},function(ha,ca,h){function ba(h,y){return-1<(" "+h.className+" ").indexOf(" "+y+" ")}function aa(h,y){return 1E-6>Math.abs(h-y)}function fa(h,y,f){y.oZ=void 0;f.oZ=void 0;eval(h)}function da(h,y,f){function e(){for(;h();)if(100<Date.now()-x&&!f){x=Date.now();setTimeout(e,0);return}y()}var x=Date.now();e()}h.d(ca,"c",function(){return ba});h.d(ca,"b",function(){return aa});h.d(ca,"d",function(){return fa});h.d(ca,"a",function(){return da});ha=h(0);h.n(ha);h(1)},function(ha,
ca,h){var ba=h(3);ha=["pdf","jpg","jpeg","png"];h=["docx","xlsx","pptx","md"];var aa=Object(ba.e)(["xod"],ha,h);ba=Object(ba.e)(aa,"doc xls csv ppt htm html utl xhtml bmp tif tiff jp2 txt rtf odf odt odg odp ods xlsb xlt dwg dgn rvt rfa dxf dwf gif xltm xltx vsd vsdx xlt msg eml wmf emf".split(" "));ca.a={RI:ha,QI:h,OI:aa,hJ:ba}},function(ha,ca){ca.a=function(h,ba,aa,fa){ba.forEach(function(da){null===h||void 0===h?void 0:h.addEventListener(da,aa,fa)})}},function(ha,ca){function h(h){return h.replace(ba,
function(h,y){return y.toUpperCase()})}var ba=/-([a-z])/g,aa=/^[a-z]/,fa=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;ca.a=function(da,z){for(var y in z){var f=z[y];y=h(y);var e=da.style,x=y;if("number"===typeof f){var r=y;f=aa.test(r)&&fa.test(r[0].toUpperCase()+r.slice(1))?f+"px":""+f}e[x]=f}}},function(ha,ca){ca.a=function(h){h=h.getBoundingClientRect();return{top:h.top+window.pageYOffset,left:h.left+window.pageXOffset}}},
function(ha,ca){var h={button:!0,checkbox:!0,color:!0,file:!0,hidden:!0,image:!0,radio:!0,range:!0,reset:!0,submit:!0};ca.a=function(ba){var aa=!1;ba instanceof HTMLInputElement&&(aa=!h[ba.type]);ba="textarea"===ba.tagName.toLowerCase();return aa||ba}},function(ha,ca,h){var ba=h(18),aa=h(109);ca.a=function(h,da){if(Object(aa.b)()===aa.a&&0>da)if(ba.i)da=da+h.scrollWidth-h.clientWidth;else if(ba.h||ba.j)da=-da;h.scrollLeft=da}},function(ha,ca){function h(h){return[].some.call(document.getElementsByTagName("link"),
function(aa){return aa.id===h})}ca.a=function(ba){if(!h(ba)){var aa=document.createElement("link");aa.rel="stylesheet";aa.type="text/css";aa.href=ba;aa.id=ba;document.getElementsByTagName("head")[0].appendChild(aa)}}},function(ha,ca,h){var ba=h(3);ha=h(33);var aa=h(27),fa=h(37),da=h(162);h=function(h){function y(f,e,x,r){x=h.call(this,f,e,x,r)||this;if(!e)return x;e=f.gb();for(r=0;r<e.length;r++)if(r!==e.length-3){var w=e[r],n=w.x;w=w.y;f.NoResize||(n=new da.a(n,w,aa.a.handleWidth,aa.a.handleHeight,
r),x.dc.push(n))}return x}Object(ba.c)(y,h);y.prototype.testSelection=function(f,e,h,r){if(this.DK)return fa.a.qn(f,e,h,this.N.bd());var w=f.gb().slice(-2),n=w[0];w=w[1];return e<n.x||e>w.x||h<n.y||h>w.y?fa.a.tn(f,e,h,r):!0};return y}(ha.a);ca.a=h},function(ha,ca,h){var ba=h(3);ha=h(71);var aa=h(33),fa=h(37);h=function(h){function z(){return null!==h&&h.apply(this,arguments)||this}Object(ba.c)(z,h);z.prototype.getDimensions=function(h){return aa.a.prototype.getDimensions.apply(this,[h])};z.prototype.testSelection=
function(h,f,e){return fa.a.qn(h,f,e,this.N.bd())};return z}(ha.a);ca.a=h},function(ha,ca,h){var ba=h(3),aa=h(164),fa=h(27),da=h(37),z=h(33),y=h(107);ha=function(f){function e(e,h,w,n){h=f.call(this,e,h,w,n)||this;h.Xn=fa.a.handleWidth;h.Bh=fa.a.handleHeight;h.qH=fa.a.rotationHandleWidth;h.pH=fa.a.rotationHandleHeight;h.Mo=z.a.Mo;h.Vh(e);return h}Object(ba.c)(e,f);e.prototype.Vh=function(e){if(this.Pc()&&!this.xa.NoResize){e=e.gb();for(var f=0;f<e.length-1;f++)this.dc.push(new aa.a(e[f].x,e[f].y,
this.Xn,this.Bh,f));this.N.ta().lu()&&this.xa.cu()&&this.dc.push(new y.a(this.qH,this.pH,this.Mo,this.xa,this.N))}};e.prototype.testSelection=function(e,f,h,n){return this.isSelected()?da.a.t4(e,f,h,n):da.a.tn(e,f,h,n)};return e}(z.a);ca.a=ha},function(ha,ca,h){var ba=h(3);ha=h(71);var aa=h(167);h=function(h){function da(z,y,f,e){return h.call(this,z,y,f,e)||this}Object(ba.c)(da,h);da.prototype.nq=function(){return aa.a};return da}(ha.a);ca.a=h},function(ha,ca,h){var ba=h(3),aa=h(37);ha=h(33);var fa=
h(92),da=h(27),z=h(2),y=h(100),f=h(130);h=function(e){function h(f,h,n,x){h=e.call(this,f,h,n,x)||this;h.Xn=da.a.handleWidth;h.Bh=da.a.handleHeight;h.JP=!!f.IsText;if(h.JP&&(h.Ug=f.Qe(),!h.Ug))return h;h.Vh();return h}Object(ba.c)(h,e);h.prototype.Vh=function(){var e;this.dc=[];this.Pc()&&!this.xa.NoResize&&(this.JP?!this.xa.NoResize&&this.Ug[0]&&(this.dc.push(f.a.FO(this.Ug[0])),this.dc.push(f.a.HN(this.Ug[this.Ug.length-1]))):(this.dc=y.a.EN(this.nq()),this.xa.MaintainAspectRatio||(e=this.dc).push.apply(e,
y.a.IO(this.nq()))))};h.prototype.testSelection=function(e,f,n){return e.IsText?aa.a.nI(e,f,n):aa.a.qn(e,f,n,this.N.bd())};h.prototype.getDimensions=function(e){var f=e.IsText?2:0,n=e.X-f,h=e.Y-f;return new z.d(n,h,n+(e.Width+2*f),h+(e.Height+2*f))};h.prototype.nq=function(){return fa.a};return h}(ha.a);ca.a=h},function(ha,ca,h){function ba(e,f){this.Vx=e.flags.get(da.a.COMMIT_ON_SEL_CHANGE);fa.a.call(this,e,f)}var aa=h(0);h.n(aa);var fa=h(24),da=h(12),z=h(13),y=h(18),f=h(126),e=window;ba.FORCE_SELECT=
!1;ba.prototype={Vx:!1,Gm:"Ch",Vj:"choice",Kj:function(){fa.a.prototype.Kj.apply(this,arguments);this.IL()},nh:function(e){if(fa.a.prototype.nh.call(this,e)){var f=new da.a({mask:[da.a.COMBO]});f.deserialize(e);if(f.get(da.a.COMBO))return!0}return!1},deserialize:function(f,h,w){fa.a.prototype.deserialize.call(this,f,h,w);h=e.Annotations.ma;h.getAttribute(f,"Opt")&&(f=h.getAttribute(f,"Opt"),this.Ua.options=f.split(",").map(function(e){return{value:e,displayValue:e}}),this.Qb().Eh(this.ub()),this.Eh(this.Qb().ub()))},
Td:function(){var e=Object.assign(fa.a.prototype.Td.apply(this,arguments),{"overflow-y":"visible","overflow-x":"hide"}),f=e.height?e.height:0;(e["font-size"]?parseInt(e["font-size"],10):0)>f&&(e["font-size"]=f+"px");return e},md:function(e){return Object.assign(fa.a.prototype.md.apply(this,arguments),Object.assign({},{resize:"none","min-height":"",height:this.ez(e),width:this.fz(e)},Object(f.a)(this)),this.dk())},refresh:function(){var e=this;fa.a.prototype.refresh.apply(this,arguments);var f=this.innerElement;
if(f&&f!==document.activeElement){var h=this.XJ(!0);f.innerHTML=h.innerHTML;f.value=this.ub();h=rc(this.element.children);h.next();(h=Ac(h))&&h.forEach(function(f){e.element.removeChild(f)});(h=this.es)&&h.forEach(function(f){e.element.appendChild(f)});this.Dm(f)}},Li:function(){var e=this.innerElement;if(e)var f=e.value;return f},Dm:function(e){e.disabled=!!this.fieldFlags.get(da.a.READ_ONLY)},createInnerElement:function(){return this.XJ(!1)},XJ:function(f){function h(){w(50,fa.length,!0);ma.removeEventListener("mousedown",
h);ma.removeEventListener("touchend",h)}function w(e,f,h){h=void 0===h?!1:h;for(var r=document.createDocumentFragment();e<f;++e){var w=fa[e],y=Object(aa.isUndefined)(w.displayValue)?w.value:w.displayValue,ea=document.createElement("OPTION");ea.text=y;ea.value=w.value;r.appendChild(ea)}if(h){if(ka===x)var z=n.innerElement;else(h=n.es)&&0<h.length&&(z=h[0]);z&&z.childElementCount<f&&z.appendChild(r)}else ka.appendChild(r)}var n=this,x,ia=y.n&&(y.l&&12.1>=y.q||!y.l&&12>=y.q);if(!this.fieldFlags.get(da.a.EDIT)||
ia||9===y.h||ba.FORCE_SELECT)var ka=x=document.createElement("select");else x=document.createElement("input"),x.setAttribute("list",this.fieldName+"_list"),x.addEventListener("focusin",function(e){n.fieldFlags.get(da.a.READ_ONLY)||(e.stopImmediatePropagation(),x.value="")}),ka=document.createElement("datalist"),ka.id=this.fieldName+"_list",this.P9([ka]);ia=this.md(e.Annotations.za.Zk);this.Jj(x,ia);this.Dm(x);var fa=this.options,ma=f?this.innerElement:x;f=fa.findIndex(function(e){return e.value===
n.ub()});50<fa.length&&50>f?(w(0,50),Object(z.a)(ma,["mousedown","touchend"],h)):w(0,fa.length);x.addEventListener("change",function(){var f=n.Li(),h=n.options.find(function(e){return e.value===f});h=h&&h.displayValue;Object(aa.isUndefined)(h)&&(h=f);h=e.Annotations.da.kc.wb.qa.create("Keystroke",n.Ua,{value:f,change:h,changeEx:f,willCommit:!1,selStart:-1,selEnd:-1});n.Ua.Of("K",h);n.trigger(ba.Events.CHANGE,f)});return x}};ba.prototype=Object.assign(Object.create(fa.a.prototype),ba.prototype);ba.Events=
{CHANGE:"change"};Object.defineProperties(ba.prototype,{options:{get:function(){return this.Ua.options}}});ca.a=ba},function(ha,ca,h){function ba(f,e){da.a.call(this,f,e)}var aa=h(0);h.n(aa);var fa=h(12),da=h(24),z=h(126),y=window;ba.prototype={Gm:"Ch",Vj:"list",refresh:function(){da.a.prototype.refresh.apply(this,arguments);var f=this.innerElement;if(f){var e=this.ub(),h=this.createInnerElement();f.innerHTML=h.innerHTML;if(f.multiple)for(f=f.options,h=0;h<f.length;h++){var r=f[h];-1!==e.indexOf(r.value)?
r.setAttribute("selected","selected"):r.removeAttribute("selected")}else f.value=e}},nh:function(f){if(da.a.prototype.nh.call(this,f)){var e=new fa.a({mask:fa.a.COMBO});e.deserialize(f);if(!e.get(fa.a.COMBO))return!0}return!1},deserialize:function(f,e,h){da.a.prototype.deserialize.call(this,f,e,h);e=y.Annotations.ma;e.getAttribute(f,"Opt")&&(f=e.getAttribute(f,"Opt"),this.Ua.options=f.split(",").map(function(e){return{value:e,displayValue:e}}),this.Qb().Eh(this.ub()),this.Eh(this.Qb().ub()))},Td:function(){return Object.assign(da.a.prototype.Td.apply(this,
arguments),{"overflow-y":"auto","overflow-x":"hidden"})},Li:function(){var f=this.innerElement;if(f){if(f.multiple){for(var e=f.options,h=[],r=0;r<f.length;r++){var w=e[r];w.selected&&h.push(w.value||w.text)}return h}return f.value}return null},md:function(){return Object.assign(da.a.prototype.md.apply(this,arguments),Object.assign({},{"overflow-y":"scroll","overflow-x":"hidden"},Object(z.a)(this)),this.dk())},createInnerElement:function(){var f=this,e=document.createElement("select");e.name=this.fieldName.replace(/\.|\s/g,
"_");e.setAttribute("size",this.options.length);this.options.forEach(function(f){var h=Object(aa.isUndefined)(f.displayValue)?f.value:f.displayValue,w=document.createElement("option");w.value=f.value;w.innerHTML=h;e.appendChild(w)});this.fieldFlags.get(fa.a.READ_ONLY)&&(e.disabled=!0);this.fieldFlags.get(fa.a.MULTI_SELECT)&&(e.multiple=!0);e.addEventListener("change",function(){var e=f.Li();f.trigger(ba.Events.CHANGE,e)});return e},WO:function(){}};ba.prototype=Object.assign(Object.create(da.a.prototype),
ba.prototype);ba.Events={CHANGE:"change"};Object.defineProperties(ba.prototype,{options:{get:function(){return this.Ua.options}}});ca.a=ba},function(ha,ca,h){function ba(e,f){da.a.call(this,e,f);this.Xw=void 0;this.pp=this.annot=null}var aa=h(0);h.n(aa);var fa=h(2),da=h(24),z=h(13),y=h(10),f=h(12),e=window;ba.prototype={Gm:"Sig",Vj:"signature",deserialize:function(e,f,h){da.a.prototype.deserialize.call(this,e,f,h);e=e.getElementsByTagName("imagedata");0<e.length&&(this.appearances._DEFAULT={Normal:e[0].textContent})},
bU:function(){this.pp&&(this.fieldFlags.get(f.a.READ_ONLY)?(this.pp.style.background="darkgrey",this.pp.style.color="lightgrey"):(this.pp.style.background=this.lW,this.pp.style.color=this.mW))},refresh:function(){da.a.prototype.refresh.call(this);this.bU()},Td:function(){var e=da.a.prototype.Td.apply(this,arguments);this.$c()&&!this.GE()&&(e["background-color"]="transparent",e["border-style"]="none",e["border-color"]=null,e["border-width"]=null,e["border-radius"]=null);return e},md:function(){var e=
da.a.prototype.md.apply(this,arguments);e=Object.assign(e,{width:e.width,height:e.height},this.dk());this.$c()&&!this.dk()&&(e["background-color"]="transparent");return e},createInnerElement:function(e){var f=this,h=document.createElement("div");this.VF().then(function(n){if(n)Object(aa.isNil)(f.$c().objnum)&&Object(aa.isNil)(f.$c().gennum)&&(n=new Image,n.src=f.cO(),n.style.maxWidth="100%",n.style.maxHeight="100%",h.appendChild(n));else{var r=e.N.zq("AnnotationCreateSignature");n=f.createSignHereElement(r);
f.mW=n.style.color;f.lW=n.style.background;r=f.MZ(n,r,e);f.pp=n;f.bU();h.appendChild(r);f.ZY(e,n);f.S8(e,n)}});return h},cO:function(){var e=this.appearances[this.appearance],f="";e&&(e=e.Normal)&&e.data&&(f=e.data);return f},VF:function(){var e=this;return new Promise(function(f){if(void 0!==e.Xw)f(e.Xw);else{var h=new Image;h.src=e.cO();h.onload=function(){e.Xw=!e.Q4(h);f(e.Xw)}}})},e5:function(){return this.VF()},Q4:function(e){var f=document.createElement("canvas"),h=f.getContext("2d"),n=5;if(15>
e.height||15>e.width)n=0;f.width=e.width-2*n;f.height=e.height-2*n;h.drawImage(e,n,n,f.width,f.height,0,0,f.width,f.height);e=!0;f=h.getImageData(0,0,f.width,f.height).data;for(h=0;h<f.length;h+=4)if(0!==f[h+3]){e=!1;break}return e},ZY:function(e,f){var h=this;e.Yb().forEach(function(e){h.HF(e)&&(h.annot=e,f.style.display="none")})},S8:function(e,f){var h=this;e.on(y.a.ANNOTATION_CHANGED,function(n,r,w){w.imported&&"add"===r&&n.forEach(function(e){h.HF(e)&&(h.annot=e,f.style.display="none")});"modify"===
r&&n.forEach(function(f){f===h&&h.aS(e)});"delete"===r&&(1===n.length&&n[0]===h.annot?(h.annot=null,f.style.display="block"):n.includes(h)&&h.annot&&e.Rc(h.annot))})},jF:function(e,f,h){this.annot&&h.Rc(this.annot);e.style.display="none";this.annot=f;this.aS(h)},aS:function(e){if(this.annot){var f=this.annot,h=this.OE(),n=Math.min(h.Ca()/f.Height,h.Fa()/f.Width);h=90===this.rotation?new fa.d(h.x1,h.y2-f.Height*n,h.x1+f.Width*n,h.y2):180===this.rotation?new fa.d(h.x2-f.Width*n,h.y2-f.Height*n,h.x2,
h.y2):270===this.rotation?new fa.d(h.x2-f.Width*n,h.y1,h.x2,h.y1+f.Height*n):new fa.d(h.x1,h.y1,h.x1+f.Width*n,h.y1+f.Height*n);f.resize(h);e.sb(f)}},NZ:function(e){var f=document.createElement("div");Object(z.b)(f,{position:"absolute",maxHeight:"100%",maxWidth:"100%",left:"0px",top:"0px",padding:"3px",background:"darkblue",color:"white"});f.innerHTML=e.il();return f},MZ:function(e,h,w){var n=this,r=document.createElement("div");Object(z.b)(r,{height:"100%",width:"100%"});r.addEventListener("click",
function(r){n.annot||n.fieldFlags.get(f.a.READ_ONLY)||w.XE()||(h.off("signatureReady.sigWidget").Ng("signatureReady.sigWidget",function(f){var r=w.N.Tc(f.PageNumber);h.fS(f,h.location,90*-r+n.rotation);n.W4(f)&&n.jF(e,f,w)}),h.mouseLeftDown(r),h.mouseLeftUp(r,n))});r.appendChild(e);return r},W4:function(e){var f=this.OE();e=e.pb();return!(f.x1>e.x2||e.x1>f.x2||f.y1>e.y2||e.y1>f.y2)},HF:function(f){if(!(f instanceof e.Annotations.FreeHandAnnotation||f instanceof e.Annotations.Bc)||this.Ba()!==f.Ba())return!1;
var h=this.OE(),w=f.pb();if(90===this.rotation){var n="x1";var x="y2"}else 180===this.rotation?(n="x2",x="y2"):(n=270===this.rotation?"x2":"x1",x="y1");f=Math.max(f.getRectPadding(),1E-4);return Math.abs(w[n]-h[n])<=f&&Math.abs(w[x]-h[x])<=f},OE:function(){var e=new fa.d(this.pb());if(90===this.rotation||270===this.rotation)e.x2=e.x1+this.Height,e.y2=e.y1+this.Width;return e}};ba.prototype=Object.assign(Object.create(da.a.prototype),ba.prototype);ca.a=ba},function(ha,ca,h){function ba(f,e){aa.a.call(this,
f,e);this.fieldFlags.set(z.a.PUSH_BUTTON);this.fieldFlags.get("Hidden")&&this.nf(!1)}var aa=h(45),fa=h(24),da=h(126),z=h(12),y=window;ba.prototype={Ps:"P",Vj:"pButton",Td:function(){var f=fa.a.prototype.Td.apply(this,arguments);this.$c()&&!this.GE()&&(f["background-color"]="transparent",f["border-style"]="none",f["border-color"]=null,f["border-width"]=null,f["border-radius"]=null);return f},md:function(){var f=Object.assign(aa.a.prototype.md.apply(this,arguments),Object.assign({},{"background-color":"transparent",
"text-align":"center"},Object(da.a)(this)),this.dk());this.$c()&&!this.dk()&&(f.color="transparent");return f},deserialize:function(f,e,h){var r=y.Annotations.ma;aa.a.prototype.deserialize.call(this,f,e,h);(f=r.getAttribute(f,"ButtonLabel"))&&(this.captions.Normal=f)},Li:function(){return null},createInnerElement:function(f){var e=document.createElement("button");e.setAttribute("tabindex",0);this.captions.Normal&&e.appendChild(document.createTextNode(this.captions.Normal));this.Dm(e);this.Da=f;return e},
i8:function(){this.Da&&this.Da.ld(this.PageNumber)},nf:function(){this.$c()&&this.i8();return aa.a.prototype.nf.apply(this,arguments)},refresh:function(){fa.a.prototype.refresh.apply(this,arguments);var f=this.innerElement;f&&(f.innerText=this.captions.Normal)}};ba.prototype=Object.assign(Object.create(aa.a.prototype),ba.prototype);ca.a=ba},function(ha,ca,h){function ba(h,y){var f=this;fa.a.call(this,h,y);this.iT(!1);this.dU=!0;this.on(ba.Events.CLICK,function(){"Off"===f.ub()?f.trigger(aa.a.Events.CHANGE,
f.gk()):f.trigger(aa.a.Events.CHANGE,"Off")})}var aa=h(24),fa=h(45),da=window;ba.prototype={Ps:"C",Vj:"checkBox",refresh:function(){aa.a.prototype.refresh.call(this);var h=this.innerElement;h&&(h.checked=this.ub()===this.gk(),this.Jj(h,this.md(da.Annotations.za.Zk)),this.Dm(h))},Yh:function(h){h===this.gk()?(this.appearance=h,fa.a.prototype.Yh.call(this,h)):(this.appearance="Off",fa.a.prototype.Yh.call(this,"Off"))},md:function(){var h=fa.a.prototype.md.apply(this,arguments);h.left=Math.round(h.left);
h.top=Math.round(h.top);this.lS(h);return Object.assign(h,{border:"none",margin:0},this.dk())},Li:function(){var h=this.innerElement;if(h)return h.checked?this.gk():"Off"},createInnerElement:function(){var h=this,y=document.createElement("input");y.type="checkbox";y.setAttribute("tabindex",0);this.Dm(y);y.addEventListener("click",function(){h.trigger(ba.Events.CLICK)});return y},deserialize:function(h,y,f){var e=da.Annotations.ma.getAttribute(h,"N");e&&(this.appearances.Off={},this.appearances[e]=
{});fa.a.prototype.deserialize.call(this,h,y,f)}};ba.prototype=Object.assign(Object.create(fa.a.prototype),ba.prototype);Object.defineProperties(ba.prototype,{buttonName:{set:function(h){this.rW=h},get:function(){return this.rW}}});ba.Events={CLICK:"click"};ca.a=ba},function(ha,ca,h){function ba(e){e=e.toLocaleLowerCase();return-1<e.indexOf("h:mm tt")||-1<e.indexOf("hh:mm")}function aa(f,h,r){f=Object(y.a)(f,h);return(r=e(f,r))?r.toDate():null}var fa=h(3),da=h(24);ha=h(168);var z=h(47),y=h(83),f=
h(13),e=h(63);h.n(e);var x=h(12),r=new RegExp(/["'](.*?)["']/),w={setDefaultDate:!0,keyboardInput:!1};ha=function(n){function y(e,f){e=n.call(this,e,f)||this;e.Gm="Tx";e.Vj="date";f="";try{var h=e.Qb().ak();h.F?f=h.F[0].javascript:h.K&&(f=h.K[0].javascript)}catch(la){throw la;}h=null;try{var w=f.match(r);w&&(h=w[1])}catch(la){throw la;}e.p7=h||"m/d/yy";return e}Object(fa.c)(y,n);y.prototype.createInnerElement=function(){var r=this,ea=n.prototype.createInnerElement.call(this);(function(){return Object(fa.b)(r,
void 0,void 0,function(){var n,r,ia,ja,ka,ra,na,ca=this;return Object(fa.d)(this,function(fa){switch(fa.label){case 0:return n=this.fieldFlags,r=n.get(x.a.READ_ONLY),ia=this.p7,(ja=z.d[ia])||(ja=ia.toLocaleUpperCase()),this.ub()&&(ka=aa(this.ub(),ia,ja)),r||ea.setAttribute("placeholder",ia),r&&ea.setAttribute("disabled","disabled"),Object(f.f)(window.kb.Ef()+"external/pikaday.css"),[4,h.e(18).then(h.t.bind(null,362,7))];case 1:return ra=fa.la(),na=Object.assign({},w,y.GD),this.Fk=new ra.default({field:ea,
format:ja,defaultDate:ka,onOpen:function(){var e=aa(ca.value,ia,ja);ca.Fk.setDate(e,!0);ca.CX()},onClose:function(){},onSelect:function(f){ba(ia)&&(f.setHours(ca.eW||0),f.setMinutes(ca.fW||0));ca.Tb(e(f).format(ja));ca.trigger(da.a.Events.COMMIT)},toString:function(f,n){return e(f).format(n)},parse:function(f,n){f=e(f,n);if(f.isValid())return ba(ia)&&(ca.eW=f.hour(),ca.fW=f.minutes()),f.toDate()}}),this.Fk.setMoment(e()),this.Fk.config(na),[2]}})})})();return ea};y.prototype.Z1=function(){return this.Fk};
y.prototype.j8=function(){var e=Object.assign({},w,y.GD);this.Fk.config(e);this.Fk.isVisible()&&(this.Fk.hide(),this.Fk.show())};y.prototype.CX=function(){var e=this.innerElement;e&&(e.readOnly=!!this.fieldFlags.get(x.a.READ_ONLY),e.readOnly&&this.Fk.hide())};y.GD={firstDay:1,isRTL:!1,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:"January February March April May June July August September October November December".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" ")}};return y}(ha.a);ca.a=ha},function(ha,ca,h){function ba(e,h){aa.a.call(this,e);this.gm=null;this.Fh="AnnotationEditTool";this.name=h||f.g.EDIT}var aa=h(16),fa=h(20),da=h(65),z=h(21),y=h(14),f=h(4);ba.prototype=Object.assign(new aa.a,{switchIn:function(){Object(y.d)(this.N,"default");this.N.To("auto")},switchOut:function(e){fa.a.prototype.switchOut.call(this,e);this.N.To("none")},mouseLeftDown:function(e){aa.a.prototype.mouseLeftDown.call(this,
e);if(!this.isSelecting()){this.mouseDown=!0;this.state=aa.a.oc.NONE;e=this.N.na;var f=this.Pe(this.Jb);f&&(this.Vp=f.pageNumber,e.be(),this.state=aa.a.oc.hw)}},mouseMove:function(e){aa.a.prototype.mouseMove.call(this,e);if(this.state===aa.a.oc.hw&&(e=this.pageCoordinates[1])&&this.Vp===e.pageNumber){var f=e.x,h=e.y;e=0>f-this.zp?f:this.zp;var w=0>h-this.Ap?h:this.Ap;f=Math.abs(f-this.zp);h=Math.abs(h-this.Ap);Object(da.b)([this.Ud,this.Jb],this.pageCoordinates,this.N);this.gm=z.a.aQ(e,w,f,h)}},mouseLeftUp:function(e){if(this.state!==
aa.a.oc.hw)aa.a.prototype.mouseLeftUp.call(this,e);else{var f=this;this.mouseDown=!1;var h=function(){f.gm=null;f.state=aa.a.oc.NONE;Object(da.a)()};if(!this.gm||!this.N.rt){h();return}if(this.gm.ha===this.gm.ia&&this.gm.ea===this.gm.fa)aa.a.prototype.mouseLeftUp.call(this,e);else{var w=this.NW(this.Vp,this.gm);this.N.ta().KA(w)}h()}if(h=this.pageCoordinates[1])w=this.N.na,this.$T(w,h),this.ZT(w,e)},NW:function(e,f){for(var h,w=[],n=this.N.ta().zb.filter(function(f){return f.Ba()===e&&f.isVisible()}),
x=0;x<n.length;x++){h=n[x];var y=1;!0===h.NoZoom&&(y=this.N.mc(h.Ba()));z.a.f8(f,z.a.aQ(h.Eg(),h.Gg(),h.Fa()/y,h.Ca()/y))&&w.push(h)}return w}});ca.a=ba},function(ha,ca,h){function ba(h,z){aa.a.call(this,h);this.name=z||fa.g.ARROW;this.IT="LineArrow"}var aa=h(82),fa=h(4);ba.prototype=Object.assign(new aa.a,{mouseLeftDown:function(h){aa.a.prototype.mouseLeftDown.call(this,h);this.annotation&&(this.annotation.Qo("OpenArrow"),this.annotation.IT=this.IT)}});ca.a=ba},function(ha,ca,h){function ba(e,h){aa.a.call(this,
e,r.Annotations.Ja,r.Annotations.Ja.Hd.FreeTextCallout);this.defaults.TextColor=new z.a(255,0,0);this.defaults.FontSize="12pt";this.defaults.Font="Helvetica";this.defaults.TextAlign="left";this.defaults.Width=150;this.defaults.Height=30;this.Fh="CalloutCreateTool";this.name=h||f.g.CALLOUT;this.eN=!1}var aa=h(19),fa=h(70),da=h(20),z=h(8),y=h(2),f=h(4),e=h(21),x=h(59),r=window;ba.uv=function(e){ba.prototype.il=e};ba.prototype=Object.assign(new fa.a,{lineCount:2,initialText:"Insert text here",il:function(){return this.initialText},
Z9:function(e){this.eN=e},Ri:function(){var e=this.N.ta().Ry().kq,f=e?document.body.contains(e.Fi()):!1;return!!e&&f},mouseLeftDown:function(e){if(this.Ri())this.annotation=null;else{if(!this.annotation&&(fa.a.prototype.mouseLeftDown.call(this,e),1!==this.lineCount||!this.annotation))return;this.annotation.CalloutLineCount=this.lineCount;this.annotation.setContents(this.il());this.annotation.NA(this.eN?x.a.fw:void 0);this.annotation.Rotation=90*this.N.Tc(this.annotation.PageNumber);this.annotation.TextAlign=
this.defaults.TextAlign;this.annotation.Font=this.defaults.Font;var f=this.defaults.TextColor;this.annotation.TextColor=new z.a(f.R,f.G,f.B,f.A);this.annotation.FontSize=this.defaults.FontSize;this.annotation.gb().length===this.lineCount+1+2?(this.finish(),e.preventDefault()):fa.a.prototype.mouseLeftDown.call(this,e)}},mouseMove:function(e){fa.a.prototype.mouseMove.call(this,e);if(this.annotation&&!this.isSelecting()){var f=this.pageCoordinates[1];null!==f&&null!==f.x&&null!==f.y&&f.pageNumber===
this.annotation.Ba()&&(e=this.annotation.gb(),e.length>this.annotation.CalloutLineCount&&(this.annotation.So(e.slice(0,this.annotation.CalloutLineCount)),this.annotation.sc(f.x,f.y),f=e[e.length-1],this.annotation.Kq()&&(this.annotation.kn=f.x,this.annotation.ln=f.y),this.annotation.ck()===x.a.fw?(f=this.DN(this.defaults.Width,.005),e=e[e.length-1],this.annotation.kn=e.x,this.annotation.ln=e.y):f=this.DN(this.defaults.Width,this.defaults.Height),this.annotation.sc(f.x1,f.y1),this.annotation.sc(f.x2,
f.y2),this.N.na.sb(this.annotation)))}},mouseDoubleClick:function(e){this.annotation||da.a.prototype.mouseDoubleClick.call(this,e)},mouseRightDown:function(){null!==this.annotation&&(this.Tx(),this.N.na.Rc(this.annotation),this.annotation=null)},contextMenu:function(e){e.preventDefault()},DN:function(f,h){var n=this.annotation.PageNumber,r=90*this.N.Tc(n);if(90===r||270===r)h=rc([h,f]),f=h.next().value,h=h.next().value;r=this.annotation.gb()[this.annotation.CalloutLineCount];f=[new y.d(r.x+.001,r.y-
h/2,r.x+f+.001,r.y+h/2),new y.d(r.x-f-.001,r.y-h/2,r.x-.001,r.y+h/2),new y.d(r.x-f/2,r.y-h-.001,r.x+f/2,r.y-.001),new y.d(r.x-f/2,r.y+.001,r.x+f/2,r.y+h+.001)];r=this.N.getDocument();h=r.Ii(n);n=r.Gb(n);var w=n.width,x=n.height;if(90===h||270===h)n=rc([x,w]),w=n.next().value,x=n.next().value;f.forEach(function(e){return e.Di(new y.d(0,0,w,x))});var z=[];n=this.annotation.gb();for(h=0;h<n.length-1;h++)z.push({start:n[h],end:n[h+1]});return f.find(function(f){return z.every(function(h){return!e.a.Math.s5(h.start,
h.end,f)})})||f[0]},Yl:function(){return!0}});ca.a=ba},function(ha,ca,h){function ba(h,y){var f=da.call(this,h)||this;f.defaults.Icon="Check";f.name=y||aa.g.COUNT_MEASUREMENT;f.on(fa.a.Events.ANNOTATION_CREATED,function(){f.annotation.me("trn-is-count",!0)});return f}h.d(ca,"a",function(){return ba});var aa=h(4),fa=h(144),da=fa.a;rf(ba,da)},function(ha,ca,h){function ba(e,h){var r=this;aa.a.call(this,e);this.name=h||z.g.CROP;this.defaults.StrokeColor=new fa.a(0,165,228);this.defaults.StrokeThickness=
1;this.defaults.Opacity=.9;this.fo=!1;this.ae=null;this.Sp=f.SINGLE_PAGE;this.hn=[];this.uu=null;e.on(y.c.DOCUMENT_UNLOADED,function(){r.reset()})}var aa=h(101),fa=h(8),da=h(16),z=h(4),y=h(10),f={SINGLE_PAGE:"SINGLE_PAGE",ALL_PAGES:"ALL_PAGES"};ba.FU=f;ba.prototype=Object.assign(new aa.a,{S9:function(e){if(!e||!Object.values(f).some(function(f){return f===e}))throw Error("You must set the crop mode to one of "+Object.values(f).join(", ")+" ");this.Sp!==e&&(e===f.SINGLE_PAGE?this.qD():e===f.ALL_PAGES&&
this.fo&&this.AT(),this.Sp=e)},V1:function(){return this.Sp},RN:function(){return[this.ae].concat(Cd(this.Sp===f.ALL_PAGES?this.hn:[]))},qD:function(){var e=this.N.na;this.hn.forEach(function(f){f&&e.Rc(f)});this.hn=[];this.uu=null},reset:function(){this.ae&&(this.N.ta().Rc(this.ae),this.ae=null,this.fo=!1)},switchIn:function(){var e=this;aa.a.prototype.switchIn.apply(this,arguments);var h=this.N.ta();h.on(y.b.zU,function(h){h&&e.Sp===f.ALL_PAGES&&(e.uu=h[0])});h.on(y.b.II,function(f,w){var n=f.find(function(f){return e.ae===
f||e.hn.includes(f)});if(n)if("delete"===w)e.ae&&(h.Rc(e.ae),e.ae=null),e.fo=!1,e.qD();else if("modify"===w){var r=n.pb();[e.ae].concat(Cd(e.hn)).forEach(function(f){if(f!==n){var w=e.N.getDocument().Gb(f.Ba());r.uN(w.width,w.height);f.Wd(r);h.sb(f)}})}})},AT:function(){for(var e=this.N.ta(),f=this.N.getDocument(),h=f.gc(),w=this.ae,n=0;n<h;n++)if(n!==w.Ba()-1){var y=f.Gb(n+1),z=e.Rl(w),aa=z.pb();aa.uN(y.width,y.height);z.Wd(aa);z.rv(n+1);z.ToolName="CropPage";this.UL(z);this.hn.push(z);e.Ld(z);e.sb(z)}},
switchOut:function(){aa.a.prototype.switchOut.apply(this,arguments);var e=this.N.ta();this.reset();e.off(y.b.II)},K9:function(e){e.FillColor=new fa.a(255,255,255);e.Opacity=.1},UL:function(e){var f=this.N.getDocument(),h=e.Ba(),w=f.Gb(h),n=f.Ii(h);this.K9(e);var y=e.draw;e.draw=function(f){var h=e.pb(),r=90===n||270===n;f.save();f.beginPath();r?(f.rect(0,0,w.height,h.y1),f.rect(0,h.y1,h.x1,w.width),f.rect(0,h.y2,w.height,w.width),f.rect(h.x2,0,w.height,w.width)):(f.rect(0,0,w.width,h.y1),f.rect(0,
h.y1,h.x1,w.height),f.rect(0,h.y2,w.width,w.height),f.rect(h.x2,0,w.width,w.height));f.clip();f.fillStyle="rgba(0, 0, 0, 0.3)";r?f.fillRect(0,0,w.height,w.width):f.fillRect(0,0,w.width,w.height);f.restore();y.apply(e,arguments)}},mouseLeftUp:function(){var e=this.N.ta();if(this.fo)da.a.prototype.mouseLeftUp.apply(this,arguments);else if(this.ae=this.annotation,aa.a.prototype.mouseLeftUp.apply(this,arguments),this.ae&&e.Hg(this.ae)){this.fo=!0;var h=this.ae;this.uu=h;this.UL(h);this.Sp===f.ALL_PAGES&&
0===this.hn.length&&this.AT();this.RN().forEach(function(f){e.Hg(f)||(e.Ld(f),e.sb(f))})}this.ae&&e.Hg(this.ae)&&this.uu&&e.lj(this.uu)},mouseLeftDown:function(){this.fo?da.a.prototype.mouseLeftDown.apply(this,arguments):aa.a.prototype.mouseLeftDown.apply(this,arguments)},kY:function(e){var f=this,h=this.N.getDocument(),w=e.Ba(),n=h.Ii(w),y=h.Gb(w),z=y.width;y=y.height;var aa=e.pb();e=aa.x1;var da=aa.x2,fa=aa.y1;aa=aa.y2;var ca=0,ja=0,ua=0,ra=0;switch(n){case 90:ca=Math.max(0,e);ja=y-Math.max(0,da);
ua=z-Math.max(0,fa);ra=Math.max(0,aa);break;case 180:ca=y-Math.max(0,aa);ja=Math.max(0,fa);ua=z-Math.max(0,da);ra=Math.max(0,e);break;case 270:ca=y-Math.max(0,da);ja=Math.max(0,e);ua=Math.max(0,aa);ra=z-Math.max(0,fa);break;default:ca=Math.max(0,fa),ja=y-Math.max(0,aa),ua=Math.max(0,e),ra=z-Math.max(0,da)}return h.Bg([w],ca,ja,ua,ra).then(function(){f.trigger(ba.Events.CROP_APPLIED,[{Ac:w,top:ca,bottom:ja,left:ua,right:ra}])})},nY:function(){var e=this,f=this.RN();return Promise.all(f.map(this.kY.bind(this))).then(function(){e.N.ta().Rc(e.ae);
e.qD();e.ae=null;e.fo=!1})}});ba.Events={CROP_APPLIED:"cropApplied"};ca.a=ba},function(ha,ca,h){function ba(e,h){aa.a.call(this,e);Object(z.a)(this.defaults,new y.a(this));this.IT="LineDimension";this.Measure=Object(fa.a)(fa.b);this.name=h||f.g.DISTANCE_MEASUREMENT;this.Cz=this.gN=!1}var aa=h(82),fa=h(14),da=h(16),z=h(43),y=h(66),f=h(4),e=h(40);ba.prototype=Object.assign(new aa.a,{c$:function(e){this.gN=e},mouseLeftDown:function(f){this.Cz&&this.Af===e.a.HOLD_TO_DRAW?(this.finish(),this.Cz=!1):(aa.a.prototype.mouseLeftDown.call(this,
f),this.annotation&&(this.annotation.caption="yes",this.annotation["caption-style"]="Top",this.annotation.IT=this.IT,this.annotation.Measure=Object(fa.a)(this.Measure),this.annotation.mj("OpenArrow"),this.annotation.Qo("OpenArrow")))},mouseMove:function(f){da.a.prototype.mouseMove.call(this,f);var h=this.pageCoordinates[1];!this.isSelecting()&&this.annotation&&null!==h&&h.pageNumber===this.annotation.PageNumber&&(this.Cz&&this.Af===e.a.HOLD_TO_DRAW?(f=this.annotation.End,this.annotation.leaderLength=
Math.sqrt(Math.pow(h.x-f.x,2)+Math.pow(h.y-f.y,2))*Math.sin(this.annotation.bk()-Math.atan2(h.y-f.y,h.x-f.x)),this.annotation.adjustRect(),this.N.na.sb(this.annotation)):aa.a.prototype.mouseMove.call(this,f))},mouseLeftUp:function(f){da.a.prototype.mouseLeftUp.call(this,f);this.annotation&&(this.gN&&this.Af===e.a.HOLD_TO_DRAW?this.WF(this.annotation)?(this.N.ta().Rc(this.annotation),this.annotation=null):this.Cz=!0:aa.a.prototype.mouseLeftUp.call(this,f))}});ca.a=ba},function(ha,ca,h){function ba(e,
h){e=f.call(this,e)||this;Object(fa.a)(e.defaults,new da.a(e));e.Measure=Object(z.a)(z.b);e.name=h||aa.g.ELLIPSE_MEASUREMENT;e.IT="EllipseDimension";return e}var aa=h(4),fa=h(43),da=h(66),z=h(14),y=h(128),f=y.a;rf(ba,f);ba.prototype.mouseLeftDown=function(e){y.a.prototype.mouseLeftDown.call(this,e);this.annotation&&(this.annotation.Measure=Object(z.a)(this.Measure),this.annotation.IT=this.IT)};ba.prototype.mouseMove=function(e){y.a.prototype.mouseMove.call(this,e);this.annotation&&this.annotation.Hj()};
ca.a=ba},function(ha,ca,h){function ba(e,h){var r=this;fa.a.call(this,e,f.Annotations.FreeHandAnnotation);this.Jc=0;this.Zx=null;this.mouseDown=!1;this.pointerType=null;delete this.defaults.FillColor;this.name=h||z.g.FREEHAND;e.on(y.c.DOCUMENT_UNLOADED,function(){r.annotation=null;r.DA()})}var aa=h(0);h.n(aa);var fa=h(19),da=h(16),z=h(4),y=h(10),f=window;ba.prototype=Object.assign(new fa.a,{createDelay:1500,simplifyPen:!1,mouseLeftDown:function(e){var f=0<this.N.ta().fe().length;fa.a.prototype.mouseLeftDown.call(this,
e);if(!(this.isSelecting()||!this.pageCoordinates[0]||this.Vb&&!this.overrideSelection||f)&&(this.type||(this.type=e.type),this.type===e.type)){this.mouseDown=!0;if(this.pageCoordinates[0].pageNumber===this.annotation.PageNumber){f=this.pageCoordinates[0].x;var h=this.pageCoordinates[0].y,w=!1,n=this.annotation.gb(this.Jc);n&&0<n.length&&(n=n[n.length-1],n.x===f&&n.y===h&&(w=!0));w||this.annotation.sc(f,h,this.Jc)}else{var y=this;this.complete(!0).then(function(){ba.prototype.mouseLeftDown.call(y,
e)})}clearTimeout(this.Zx)}},complete:function(e){var f=this;if(this.mouseDown&&!e)return Promise.resolve();if(this.annotation&&0<this.annotation.Df().length)return this.N.na.sb(this.annotation).then(function(){f.annotation&&(f.annotation.finish(),fa.a.prototype.mouseLeftUp.call(f,null),f.JC())});f.JC();this.annotation=null;return Promise.resolve()},WF:function(){return!1},mouseRightDown:function(){this.complete()},switchOut:function(e){var f=this;this.complete().then(function(){fa.a.prototype.switchOut.call(f,
e)})},mouseLeftUp:function(){da.a.prototype.mouseLeftUp.apply(this,arguments);if(!this.isSelecting()&&(this.mouseDown=!1,this.annotation)){var e=this.N.na,f=this.annotation.gb(this.Jc);f&&f.length&&("pen"===this.pointerType&&this.simplifyPen&&(this.annotation.shouldSimplifyPath=!0,this.annotation.Gaa(.75)),e.sb(this.annotation),this.Jc++,this.Zx=setTimeout(Object(aa.bind)(this.complete,this),this.createDelay));0===this.annotation.Df().length&&(this.complete(),clearTimeout(this.Zx))}},mouseMove:function(e){da.a.prototype.mouseMove.call(this,
e);if(!this.isSelecting()&&!1!==this.mouseDown){if(this.annotation&&null!==this.pageCoordinates&&null!==this.pageCoordinates[1]){if(this.pageCoordinates[0].pageNumber!==this.pageCoordinates[1].pageNumber)return;this.annotation.sc(this.pageCoordinates[1].x,this.pageCoordinates[1].y,this.Jc);this.N.na.sb(this.annotation)}this.annotation&&e.touches&&1<e.touches.length&&this.complete()}},JC:function(){this.Jc=0;this.mouseDown=!1;this.type=null;clearTimeout(this.Zx)},DA:function(){this.JC();da.a.prototype.DA.call(this)},
contextMenu:function(e){e.preventDefault()}});ca.a=ba},function(ha,ca,h){function ba(e,f){da.a.call(this,e,w.FreeHandAnnotation);this.name=f||x.g.ERASER;this.defaults={StrokeColor:new z.a(205,205,205),StrokeThickness:20,Opacity:.25};this.Az=!1;this.fB=[];this.overrideSelection=!0}var aa=h(20),fa=h(14),da=h(19),z=h(8),y=h(2),f=h(16),e=h(65),x=h(4),r=h(10),w=window.Annotations;ba.prototype=Object.assign(new da.a,{mouseLeftDown:function(e){this.Az=!0;da.a.prototype.mouseLeftDown.call(this,e);this.annotation&&
this.annotation.sc(this.pageCoordinates[1].x,this.pageCoordinates[1].y);Object(fa.d)(this.N,"crosshair");this.tw=[]},complete:function(){var e=this;if(this.annotation&&0<this.annotation.Df().length){var f=this.fB.map(function(f){return e.N.ta().Pd(f)}),h=new Map,w=this.defaults.StrokeThickness/2;this.annotation.Df().forEach(function(n){for(var r=1,x=n.length;r<x;r++)for(var y=n[r-1],z=n[r],ea=0;ea<f.length;ea++){var aa=f[ea];e.gK(aa.Df(),y,z,w);aa.Df()&&0===aa.Df().length?(e.N.na.Rc(aa),h.delete(aa.Id)):
(aa.Va(),h.set(aa.Id,aa))}});this.N.na.Rc(this.annotation);h.size&&this.N.na.trigger(r.a.ANNOTATION_CHANGED,[Array.from(h.values()),"modify",{}])}this.Az=!1;this.fB=[];this.tw=this.zb=this.annotation=null},mouseRightDown:function(){this.complete()},switchIn:function(){aa.a.ENABLE_ANNOTATION_HOVER_CURSORS=!1;aa.a.ENABLE_AUTO_SWITCH=!1;Object(fa.d)(this.N,"crosshair")},switchOut:function(e){aa.a.ENABLE_ANNOTATION_HOVER_CURSORS=!0;aa.a.ENABLE_AUTO_SWITCH=!0;this.complete();da.a.prototype.switchOut.call(this,
e)},mouseLeftUp:function(){this.Az=!1;this.annotation&&(this.annotation.sc(this.pageCoordinates[1].x,this.pageCoordinates[1].y),this.complete())},mouseMove:function(h){f.a.prototype.mouseMove.call(this,h);if(this.annotation&&null!==this.pageCoordinates&&null!==this.pageCoordinates[1]){if(this.pageCoordinates[0].pageNumber!==this.pageCoordinates[1].pageNumber)return;this.annotation.sc(this.pageCoordinates[1].x,this.pageCoordinates[1].y);this.N.na.sb(this.annotation)}if(this.Az&&this.annotation){var n=
this.annotation.gb(),r=n.length;if(1<r){var x=this.SW(this.annotation.Ba());h=n[r-2];n=n[r-1];r=this.defaults.StrokeThickness/3;for(var z=[],aa=0,da=x.length,ja={};aa<da;ja={jc:ja.jc,Yv:ja.Yv},aa++)if(ja.jc=x[aa],!(this.tw&&this.tw.some(function(e){return function(f){return f===e.jc}}(ja))||!this.N.ta().Pc(ja.jc))){var fa=[];if(ja.jc instanceof w.pg||ja.jc instanceof w.Uf)fa.push(ja.jc.gb());else if(ja.jc instanceof w.fd)fa.push([ja.jc.Sn(),ja.jc.pq()]);else if(ja.jc instanceof w.FreeHandAnnotation)fa=
ja.jc.Df().map(function(e){return e.slice()});else if(ja.jc instanceof w.Yd){var ra=this.N.bd(),na=w.Yd.SIZE;ra=new y.d(ja.jc.X,ja.jc.Y,ja.jc.X+na/ra,ja.jc.Y+na/ra);fa.push([new y.b(ra.x1,ra.y1),new y.b(ra.x2,ra.y1),new y.b(ra.x2,ra.y2),new y.b(ra.x1,ra.y2),new y.b(ra.x1,ra.y1)])}else ra=ja.jc.pb(),fa.push([new y.b(ra.x1,ra.y1),new y.b(ra.x2,ra.y1),new y.b(ra.x2,ra.y2),new y.b(ra.x1,ra.y2),new y.b(ra.x1,ra.y1)]);ra=!1;ra=ja.jc.FillColor&&0!==ja.jc.FillColor.A?Object(e.d)(n,fa[0]):this.gK(fa.concat(),
h,n,r);fa=!(ja.jc instanceof w.FreeHandAnnotation);na=-1===this.fB.indexOf(ja.jc.Id);ra&&(fa||na)&&(ja.Yv=!1,this.trigger(ba.Events.ERASING_ANNOTATION,{annotation:ja.jc,skipAnnotation:function(e){return function(){e.Yv=!0}}(ja)}),ja.Yv?this.tw.push(ja.jc):fa?(this.N.ta().Rc(ja.jc),z.push(aa)):na&&this.fB.push(ja.jc.Id))}0<z.length&&z.forEach(function(e){x.splice(e,1)})}}},SW:function(e){this.zb||(this.zb=this.N.ta().Yb().filter(function(f){return f.Ba()===e&&!(f instanceof w.WidgetAnnotation)}));
return this.zb},gK:function(f,h,r,w){var n=!1;if(!f||!Array.isArray(f))return n;for(var x=f.length-1;0<=x;--x){var y=Object(e.c)(h,r,w),z=f[x],ea=z.length;if(!z||!Array.isArray(z))break;if(!z.length)break;if(1===ea&&Object(e.d)({x:z[0].x,y:z[0].y},y))f.splice(x,1),n=!0;else for(ea=z.length-1;0<ea;--ea){var aa=z[ea-1],ia=z[ea],da=Object(e.d)(aa,y),ba=Object(e.d)(ia,y);!da&&ba?(n=Object(e.e)(y,ia,aa),z.pop(),z.push(n[0]),n=!0):da&&ba?(z.pop(),n=!0):da&&!ba?(aa=Object(e.e)(y,aa,ia),ea===z.length-1?z.pop():
(n=Object(e.f)(f,ea-1,x),n.unshift(aa[0]),f.push(n),1===z.length&&f.splice(x,1),n=!0)):da||ba||(aa=Object(e.e)(y,aa,ia))&&2===aa.length&&(n=Object(e.f)(f,ea-1,x),z.push(aa[0]),n.unshift(aa[1]),f.push(n),n=!0)}}return n}});ba.Events={ERASING_ANNOTATION:"erasingAnnotation"};ca.a=ba},function(ha,ca,h){function ba(h,r){aa.a.call(this,h,e.Annotations.Ja);this.defaults.StrokeThickness=0;this.defaults.TextColor=new z.a(255,0,0);this.defaults.Font="Helvetica";this.defaults.TextAlign="left";this.defaults.FontSize=
"12pt";this.name=r||f.g.FREETEXT}var aa=h(19),fa=h(16),da=h(2),z=h(8),y=h(59),f=h(4),e=window;ba.uv=function(e){ba.prototype.il=e};ba.prototype=Object.assign(new aa.a,{initialText:"Insert text here",il:function(){return this.initialText},Ri:function(){var e=this.N.ta().Ry().kq,f=e?document.body.contains(e.Fi()):!1;return!!e&&f},mouseLeftDown:function(f){var h=0<this.N.ta().fe().length;aa.a.prototype.mouseLeftDown.call(this,f);this.isSelecting()||(this.Ri()||h?this.annotation=null:this.annotation&&
(this.annotation.StrokeThickness=this.defaults.StrokeThickness,this.annotation.FillColor=new z.a(200,220,250,.2),this.annotation.sr(e.Annotations.Ja.Hd.FreeText),this.annotation.setContents(this.il()),this.annotation.Rotation=90*this.N.Tc(this.annotation.PageNumber),f=this.defaults.TextColor,this.annotation.TextColor=new z.a(f.R,f.G,f.B,f.A),this.annotation.FontSize=this.defaults.FontSize,this.annotation.TextAlign=this.defaults.TextAlign,this.annotation.Font=this.defaults.Font))},mouseMove:function(e){fa.a.prototype.mouseMove.call(this,
e);if(!this.isSelecting()&&!this.Ri()&&this.annotation&&"undefined"!==typeof this.pageCoordinates){var f=this.pageCoordinates[0],h=this.pageCoordinates[1];null!==h&&null!==f&&f.pageNumber===h.pageNumber&&(f=new da.d(f.x,f.y,h.x,h.y),f.normalize(),this.annotation.Wd(f),this.annotation.tr(new da.d(0,0,0,0)),this.N.na.sb(this.annotation),this.Mp(e))}},mouseLeftUp:function(e){var f=this,h,n,x,aa,ka,oa,ma,ca,ja,ua;return $h(function(r){if(1==r.ra){fa.a.prototype.mouseLeftUp.call(f,e);if(f.isSelecting())return r.return();
if(!f.overrideSelection&&f.Vb&&f.annotation&&(h=f.annotation.Fa(),n=f.annotation.Ca(),x=2*(f.annotation.getRectPadding()+1),h<=x||n<=x)||f.Ri())return f.annotation=null,r.return();if(!f.annotation){r.ra=0;return}aa=f.annotation.Fa();ka=f.annotation.Ca();oa=2*(f.annotation.getRectPadding()+1);if((ma=aa<=oa||ka<=oa)&&!f.N.ta().eU())return f.annotation=null,r.return();ma&&(f.annotation.XA(0),f.annotation.qr(0),f.annotation.Rotation=90*f.N.Tc(f.annotation.PageNumber),f.annotation.NA(y.a.Rr),f.annotation.kn=
f.annotation.X,f.annotation.ln=f.annotation.Y);ca=f.defaults.FillColor;f.annotation.FillColor=new z.a(ca.R,ca.G,ca.B,ca.A);ja=f.annotation.getRectPadding();f.annotation.tr(new da.d(ja,ja,ja,ja));if(!ma){r.ra=3;return}ua=f.N.ta().Ry();return vf(r,ua.CF(f.annotation),4)}3!=r.ra&&ua.mH(f.annotation);f.N.na.sb(f.annotation);f.N.na.Ld(f.annotation);f.trigger(ba.Events.ANNOTATION_ADDED,[f.annotation]);f.annotation=null;r.ra=0})}});ba.Events={ANNOTATION_ADDED:"annotationAdded"};ca.a=ba},function(ha,ca,h){function ba(f,
e){aa.a.call(this,f);this.name=e||y.g.MARQUEE;this.ll=!0}var aa=h(20),fa=h(14),da=h(65),z=h(13),y=h(4);ba.paa=function(f){ba.prototype.oK=f};ba.w$=function(f){ba.prototype.fx=f};ba.y$=function(f){ba.prototype.hx=f};ba.prototype=Object.assign(new aa.a,{hx:Number.MIN_VALUE,fx:Number.MAX_VALUE,switchIn:function(){aa.a.ENABLE_ANNOTATION_HOVER_CURSORS=!1;aa.a.ENABLE_AUTO_SWITCH=!1;Object(fa.d)(this.N,"zoom-in");this.N.To("auto")},switchOut:function(){aa.a.prototype.switchOut.call(this);aa.a.ENABLE_ANNOTATION_HOVER_CURSORS=
!0;aa.a.ENABLE_AUTO_SWITCH=!0;this.N.To("none")},keyDown:function(f){if(f.metaKey||f.ctrlKey)this.ll=!1,Object(fa.d)(this.N,"zoom-out")},QP:function(){this.ll=!0;Object(fa.d)(this.N,"zoom-in")},mouseLeftDown:function(f){aa.a.prototype.mouseLeftDown.call(this,f);f=this.N.bd();!this.pageCoordinates[0]||!this.ll&&f<=this.hx||this.ll&&f>=this.fx||(this.SF=!0,this.ll?Object(fa.d)(this.N,"zoom-in"):Object(fa.d)(this.N,"zoom-out"))},mouseMove:function(f){aa.a.prototype.mouseMove.call(this,f);f=this.pageCoordinates;
this.SF&&this.ll&&f[0].pageNumber===f[1].pageNumber&&(this.P0=this.pageCoordinates[1],Object(da.b)([this.Ud,this.Jb],f,this.N))},mouseLeftUp:function(f){aa.a.prototype.mouseLeftUp.call(this,f);if(this.SF){this.SF=!1;var e=Math.abs(this.Jb.x-this.Ud.x),h=Math.abs(this.Jb.y-this.Ud.y);f=this.N.bd();15>e&&15>h?(e=this.oK(f),this.ll||(e-=2*(e-f)),e=Math.max(this.hx,Math.min(this.fx,e)),this.N.xU(e,0,0)):this.ll&&(e=f*this.VW(e,h),e=Math.max(this.hx,Math.min(this.fx,e)),this.N.Xv(e),f=this.TW([this.pageCoordinates[0],
this.P0]),e=Object(z.c)(this.N.Zb()),this.N.scrollTo(f.x-e.left,f.y-e.top));Object(da.a)()}},oK:function(f){var e={"0.075":[Number.MIN_VALUE,.8],"0.25":[.8,1.5],1:[1.5,3.5],2:[3.5,8],4:[8,32],8:[32,64],16:[64,Number.MAX_VALUE]},h=Object.keys(e),r;for(r=0;r<h.length;r++){var w=e[h[r]];if(f>=w[0]&&f<=w[1]){var n=h[r];break}}return f+parseFloat(n)},VW:function(f,e){var h=this.N.Zb().getBoundingClientRect();return Math.min(h.width/f,h.height/e)},TW:function(f){var e=f[1].pageNumber,h=this.N.Tc(e),r;0===
h?r={x:Math.min(f[0].x,f[1].x),y:Math.min(f[0].y,f[1].y)}:1===h?r={x:Math.min(f[0].x,f[1].x),y:Math.max(f[0].y,f[1].y)}:2===h?r={x:Math.max(f[0].x,f[1].x),y:Math.max(f[0].y,f[1].y)}:3===h&&(r={x:Math.max(f[0].x,f[1].x),y:Math.min(f[0].y,f[1].y)});return this.N.Sl().vc().Mh(r,e)}});ca.a=ba},function(ha,ca,h){function ba(e,f){z.a.call(this,e);this.NC={x:0,y:0};this.qs=!1;this.cursor=fa();this.Fh="PanTool";this.previousStylusTool=null;this.name=f||y.g.PAN}function aa(){return"url("+Object(da.c)()+"dragginghand.cur), url("+
Object(da.c)()+"dragginghand.png), pointer"}function fa(){return"url("+Object(da.c)()+"hand.cur), url("+Object(da.c)()+"hand.png), pointer"}var da=h(14),z=h(16),y=h(4),f=h(13);ba.prototype=Object.assign(new z.a,{switchIn:function(){this.qs=!1;this.cursor=fa();Object(da.d)(this.N,this.cursor)},mouseLeftDown:function(e){z.a.prototype.mouseLeftDown.call(this,e);this.isSelecting()||(this.NC=this.xh(e),this.qs=!0,this.cursor=aa(),Object(da.d)(this.N,this.cursor))},mouseLeftUp:function(e){this.previousStylusTool&&
(this.previousStylusTool.annotation=null,this.previousStylusTool.pageCoordinates=[],this.N.vv(this.previousStylusTool),this.previousStylusTool=null);z.a.prototype.mouseLeftUp.call(this,e);this.isSelecting()||(this.cursor=fa(),Object(da.d)(this.N,this.cursor),this.qs=!1)},mouseMove:function(e){z.a.prototype.mouseMove.call(this,e);if(!this.isSelecting()){var h=e.touches&&1<e.touches.length;if(this.qs&&!h){h=this.N.Zb();var r=this.xh(e);e=this.NC.x-r.x;r=this.NC.y-r.y;this.N.scrollTo(Object(f.d)(h)+
e,(h.scrollTop||0)+r);Object(da.d)(this.N,aa())}}},mouseLeave:function(){this.qs=!1;Object(da.d)(this.N,this.cursor)}});ca.a=ba},function(ha,ca,h){function ba(h,z){aa.a.call(this,h,z)}var aa=h(19),fa=h(20);ba.prototype=new aa.a;ba.prototype.mouseLeftDown=function(h){aa.a.prototype.mouseLeftDown.call(this,h);this.annotation&&(this.annotation.sc(this.pageCoordinates[0].x,this.pageCoordinates[0].y),this.annotation.Author=this.N.na.ct)};ba.prototype.mouseLeftUp=function(h){this.annotation&&this.annotation.finish();
aa.a.prototype.mouseLeftUp.call(this,h)};ba.prototype.mouseMove=function(h){fa.a.prototype.mouseMove.call(this,h);this.annotation&&null!==this.pageCoordinates&&null!==this.pageCoordinates[1]&&this.pageCoordinates[0].pageNumber===this.pageCoordinates[1].pageNumber&&(this.annotation.sc(this.pageCoordinates[1].x,this.pageCoordinates[1].y),this.N.na.sb(this.annotation))}},function(ha,ca,h){function ba(e,h){aa.a.call(this,e,f.Annotations.De);this.Fh="RedactCreateTool";this.name=h||z.g.REDACTION;this.YL=
!0;this.eI=!1;this.defaults={StrokeColor:new da.a(255,0,0),FillColor:new da.a(0,0,0,1),TextColor:new da.a(255,0,0,1),StrokeThickness:1.5,Opacity:1,FontSize:"18pt",OverlayText:""}}ha=h(0);h.n(ha);var aa=h(42),fa=h(19),da=h(8),z=h(4),y=h(2),f=window;ba.prototype=Object(ha.extend)(new fa.a,new aa.a,{e$:function(e){this.YL=e},L0:function(){this.eI=!0},x_:function(){this.eI=!1},mouseMove:function(e){"text"===this.cursor?aa.a.prototype.mouseMove.call(this,e):fa.a.prototype.mouseMove.call(this,e)},mouseLeftDown:function(e){"text"===
this.cursor?(aa.a.prototype.mouseLeftDown.call(this,e),this.annotation&&(this.annotation.IsText=!0)):(fa.a.prototype.mouseLeftDown.call(this,e),this.annotation&&(this.annotation.IsText=!1,this.annotation.NoMove=!1));this.annotation&&this.defaults&&(this.defaults.TextColor&&(e=this.defaults.TextColor,this.annotation.TextColor=new da.a(e.R,e.G,e.B,e.A)),this.defaults.FontSize&&(this.annotation.FontSize=this.defaults.FontSize),this.defaults.TextAlign&&(this.annotation.TextAlign=this.defaults.TextAlign),
this.defaults.OverlayText&&(this.annotation.OverlayText=this.defaults.OverlayText),null!==this.defaults.StrokeColor&&(e=this.defaults.StrokeColor,this.annotation.StrokeColor=new da.a(e.R,e.G,e.B,e.A)),null!==this.defaults.StrokeThickness&&(this.annotation.StrokeThickness=this.defaults.StrokeThickness),null!==this.defaults.FillColor&&(e=this.defaults.FillColor,this.annotation.FillColor=new da.a(e.R,e.G,e.B,e.A)))},mouseLeftUp:function(e){var f=this,h,w,n,z,ia,da,ba,ma;return $h(function(r){switch(r.ra){case 1:if(!f.annotation||
!f.annotation.IsText){fa.a.prototype.mouseLeftUp.call(f,e);r.ra=0;break}f.YL&&(n=(w=(h=f.annotation.Quads)&&h.length?h.map(function(e){return e.y1-e.y3}):null)?w.sort(function(e,f){return e-f})[0]:null,z=f.N.bd(),n&&(f.annotation.FontSize=Math.floor(n/z)-1+"px"));if(!f.eI||f.Ud.x!==f.Jb.x||f.Ud.y!==f.Jb.y){r.ra=3;break}f.annotation.IsText=!1;if(f.N.na.Ql(e))return f.annotation=null,r.return();ia=f.pageCoordinates[0];if(!ia){r.ra=4;break}da=f;ba=f.annotation;return vf(r,f.N.BO(ia.pageNumber,ia),5);
case 5:ma=r.Vc;if(!ma||"string"===typeof ma||!Object.keys(ma).length)return r.return();ba.Wd(new y.d(ma.boundingBox.x1,ma.boundingBox.y1,ma.boundingBox.x2,ma.boundingBox.y2));da.text=ma.text;ba.ux=da.text;ba.setContents(da.text);ba.rv(ia.pageNumber);aa.a.prototype.mouseLeftUp.call(da,e);da.N.na.sb(ba);case 4:return r.return();case 3:aa.a.prototype.mouseLeftUp.call(f,e),r.ra=0}})}});ca.a=ba},function(ha,ca,h){function ba(h,n){fa.a.call(this,h);this.xa=null;this.defaults={Opacity:1};this.cursor="crosshair";
this.name=n||e.g.RUBBER_STAMP;this.As=Object.keys(f.a.sI);this.jp=[]}function aa(e){e.MaintainAspectRatio=!0;if("SBRejected"===e.Icon)e.Width=23,e.Height=23;else if("SHAccepted"===e.Icon)e.Width=23,e.Height=20;else if(0===e.Icon.indexOf("SH"))e.Width=100,e.Height=30;else{var f=e.Av;n=n||document.createElement("canvas");var h=n.getContext("2d");h.font="bold 40px sans-serif";f=h.measureText(f).width;e.Width=f;e.Height=49}}var fa=h(20),da=h(14),z=h(2),y=h(13),f=h(49),e=h(4),x=h(63);h.n(x);var r=h(8),
w=window,n=document.createElement("canvas");ba.prototype=Object.assign(new fa.a,{s1:function(e){return x(new Date).format(e)},switchIn:function(){fa.a.ENABLE_ANNOTATION_HOVER_CURSORS=!1;Object(da.d)(this.N,this.cursor)},switchOut:function(e){fa.a.prototype.switchOut.call(this,e);fa.a.ENABLE_ANNOTATION_HOVER_CURSORS=!0;this.du()},mouseLeftUp:function(e){e.preventDefault();fa.a.prototype.mouseLeftUp.apply(this,arguments);var f=this.pageCoordinates[1];f&&(this.location=f,this.CL())},a2:function(){return Object.keys(f.a.sI)},
l3:function(){return this.As.concat()},Z$:function(e){this.As=e;this.trigger(ba.Events.STAMPS_UPDATED,this.As)},X1:function(){return this.jp.concat()},X9:function(e){this.jp=e;this.trigger(ba.Events.STAMPS_UPDATED,this.jp)},T$:function(e,f){e instanceof w.Annotations.Bc&&(this.xa=this.yw(e,f))},yw:function(e,h){var n=new w.Annotations.Bc,r=this.N.ta(),x=f.a.HO(e.Icon);n.Author=r.wh();n.Opacity=this.defaults.Opacity;n.Subject=x||w.Annotations.za.Zc("stamp");n.ToolName=this.name;n.Icon=e.Icon;n.X=0;
n.Y=0;n.VS(h);e.YB?(h=document.createElement("canvas"),r={canvas:h,title:e.kW||e.Av,color:e.FillColor,subtitle:e.jW,width:300,height:100},x=this.UD(r),n.Width=x/2,n.FillColor=e.FillColor,n.Height=r.height/2,n.ImageData=h.toDataURL(),n.YB=!0,n.me("trn-custom-stamp",e.gW)):e.image?(n.image=e.image,n.Width=e.image.width,n.Height=e.image.height):aa(n);return n},V9:function(e){if("function"!==typeof e)throw Error("setCustomDrawFunction needs to be invoked with a function that takes a single parameter, assumed to be typed as an instance of CanvasRenderingContext2D");
if(2<e.length)throw Error("The number of named arguments for the callback function given to setCustomDrawFunction does not match what is expected. Please pass a callback function that only takes at most two parameters, the first a required instance of CanvasRenderingContext2D, and the second an optional instance of Annotations.Annotation where thecallback function can opt to process specific annotations");this.lN=e},CL:function(){if(!this.tP()){n=n||document.createElement("canvas");n.width=Math.ceil(3.125*
this.xa.Fa());n.height=Math.ceil(3.125*this.xa.Ca());var e=n.getContext("2d");e.scale(3.125,3.125);var f=this.N.wc(1);this.xa.draw(e,f);f=new Image;this.lN?(this.lN(e,this.xa),e=n.toDataURL(),this.xa.ImageData=e,f.src=e):f.src=n.toDataURL();this.xa.H9(f);e=this.N.ta();f=this.location.pageNumber;var h=this.N.Tc(f);this.rX(this.xa,this.location,90*h);this.ys(this.xa,this.location);h=this.location.x;var r=this.location.y,w=this.xa.Fa(),x=this.xa.Ca();this.xa.PageNumber=f;this.xa.wv(h-w/2);this.xa.xv(r-
x/2);e.Ld(this.xa);e.sb(this.xa);this.trigger(ba.Events.ANNOTATION_ADDED,[this.xa]);this.location=this.xa=null}},rX:function(e,f,h){e.Rotation=(e.Rotation||0)+h;h=Math.abs(h);90!==h&&270!==h||e.Wd(new z.d(f.x-e.Height/2,f.y-e.Width/2,f.x+e.Height/2,f.y+e.Width/2))},ys:function(e,f){f=this.N.getDocument().Gb(f.pageNumber);var h=e.pb();h.Di(new z.d(0,0,f.width,f.height));e.resize(h)},Ut:function(e,h){if(!e||!e.Width||!e.Height)throw Error("getPreview is called without passing an annotation or the annotation passed to it has width or height 0");
if(!h.canvasHeight||!h.canvasWidth)throw Error("getPreview is called without addition canavas parameters");h.text&&e.VS(h.text);var r=h.canvasHeight-e.Ca(),w=r/2;e.wv(w);e.xv(w);r=h.canvasWidth-r;w=e.Fa();e.XA(w<r?w:r);r=this.N.getDocument();if(r){var x=r.wc(1);this.ys(e,{pageNumber:1,x:0,y:0})}if(e.YB)return e.ImageData;n=n||document.createElement("canvas");n.width=Math.ceil(3.125*h.canvasWidth);n.height=Math.ceil(3.125*h.canvasHeight);h=n.getContext("2d");e.image?f.a.m1(h,n.width,n.height,e.image):
(h.scale(3.125,3.125),e.draw(h,x));return n.toDataURL()},cI:function(){this.lg||(this.lg=this.iC());var e=this.xa.pb();this.lg.querySelector("img").src=this.Ut(this.xa,{canvasWidth:e.Fa(),canvasHeight:e.Ca()});var f=this.N.bd();Object(y.b)(this.lg,{display:"block",width:e.Fa()*f,height:e.Ca()*f})},iC:function(){var e=document.createElement("div");e.id="rubberstamp-preview";Object(y.b)(e,{position:"absolute",border:"1px solid #00A4E4","z-index":85,"pointer-events":"none"});document.body.appendChild(e);
var f=document.createElement("img");Object(y.b)(f,{width:"100%",height:"100%"});e.appendChild(f);f=this.N.Mi();f.addEventListener("mousemove",this.oX.bind(this,e));f.addEventListener("mouseleave",this.nX.bind(this,e));return e},oX:function(e,f){var h=e.getBoundingClientRect();Object(y.b)(e,{left:f.clientX-h.width/2,top:f.clientY-h.height/2})},nX:function(e){Object(y.b)(e,{left:-9999,top:-9999})},du:function(){if(this.lg){this.lg.style.display="none";var e=document.getElementById("rubberstamp-preview");
e.parentNode.removeChild(e);this.lg=null}},tP:function(){return!(this.xa instanceof w.Annotations.Bc)},k3:function(){var e=this,h,n,r,w;return $h(function(x){h=[];n={};r=0;for(w=e.As.length;r<w;n={Jm:n.Jm},r++)n.Jm=e.As[r],f.a.sI[n.Jm]?h.push(new Promise(function(e){return function(f){var h=new Annotations.Bc;h.Icon=e.Jm;h.Opacity=1;h.Rotation=0;aa(h);f(h)}}(n))):"string"===typeof n.Jm&&h.push(new Promise(function(e){return function(h,n){var r=new Image;r.crossOrigin="anonymous";r.onload=function(){var e=
new Annotations.Bc;e.Width=r.width;e.Height=r.height;e.ImageData=f.a.Y1(r);h(e)};r.onerror=function(){n(Error('Image "'+e.Jm+'" cannot be loaded'))};r.src=e.Jm}}(n)));return x.return(Promise.all(h))})},JX:function(e){e={title:e.title,subtitle:e.subtitle,color:e.color};this.jp.push(e);this.trigger(ba.Events.STAMPS_UPDATED,[e])},DM:function(e){var f=document.createElement("canvas"),h=e.color||new r.a(ba.FILL_COLORS[0]),n={color:h,canvas:f,title:e.title,subtitle:e.subtitle||"",width:300,height:100},
w=this.UD(n),x=new Annotations.Bc;x.Width=w/2;x.Height=n.height/2;x.ImageData=f.toDataURL();x.FillColor=h;x.kW=e.title;x.jW=e.subtitle;x.Qca=e.color;x.YB=!0;x.gW=e;return x},UD:function(e){var h=this.N.ta(),n=e.canvas,w=e.title;h=e.subtitle?this.s1(e.subtitle.replace("$currentUser",h.HE({Author:h.wh()}))):"";var x=e.color||new r.a(ba.FILL_COLORS[0]),y=e.width,z=e.height,ea=e.canvasParent?e.canvasParent.offsetWidth-30:520;e=n.getContext("2d");var aa="string"===typeof h&&0<h.length,da=f.a.hM({ctx:e,
title:w,fontSize:2*(aa?.3:.5)*z,yM:ea});ea=f.a.hM({ctx:e,title:h,fontSize:.35*z,yM:ea});y=Math.max(da.Ar,ea.Ar,2*y);n.width=y;n.height=2*z;n.style.width=y/2+"px";n.style.height=z+"px";e.clearRect(0,0,n.width,n.height);f.a.U_({ctx:e,Ar:y,color:x,gI:z});f.a.V_({ctx:e,fontSize:da.fontSize,color:x,Ar:y,gI:z,title:w,X3:aa});aa&&(e.font="".concat(.35*z,"px Arial"),e.fillText(h,y/2,1.5*z));return y/2},W1:function(){var e=this,f,h,n,r;return $h(function(w){f=[];h={};n=0;for(r=e.jp.length;n<r;h={tB:h.tB},
n++)h.tB=e.jp[n],f.push(new Promise(function(f){return function(h){var n=e.DM(f.tB);h(n)}}(h)));return w.return(Promise.all(f))})}});ba.Events={ANNOTATION_ADDED:"annotationAdded",STAMPS_UPDATED:"stampsUpdated"};ba.FILL_COLORS=["#4F9964","#2A85D0","#D65656"];ba.TIMESTAMP_CHOICHES=[{id:"1",value:"DD/MM/YYYY, h:mm a"},{id:"2",value:"[By $currentUser at] h:mm a, MMMM D, YYYY"},{id:"3",value:"[By $currentUser on] MMMM Do, YYYY"},{id:"4",value:"MMMM D, YYYY, h:mm a"},{id:"5",value:"other"}];ca.a=ba},function(ha,
ca,h){function ba(h,w){var n=this;fa.a.call(this,h);this.yr=[];this.annot=this.location=null;this.ot=!1;this.Jc=0;this.lg=this.ctx=null;this.name=w||e.g.SIGNATURE;this.defaults={StrokeColor:new f.a(0,0,0),StrokeThickness:1,Opacity:1};document.addEventListener("mouseup",function(){n.jK()})}var aa=h(0);h.n(aa);var fa=h(20),da=h(14),z=h(2),y=h(13),f=h(8),e=h(4),x=window;ba.uv=function(e){ba.prototype.il=e};ba.prototype={switchIn:function(){Object(da.d)(this.N,"crosshair")},switchOut:function(){this.du()},
qK:function(e){var f=e.target.getBoundingClientRect();if(e&&e.touches){e=0===e.touches.length?e.changedTouches[0]:e.touches[0];var h=e.clientX;e=e.clientY}else h=e.clientX,e=e.clientY;return{x:h-f.left,y:e-f.top}},UJ:function(){this.ctx.setTransform(1,0,0,1,0,0);this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height)},mZ:function(){this.UJ();this.annot=null;this.ot=!1},jK:function(){this.ot&&this.Jc++;this.ot=!1},il:function(){return"Sign Here"},o9:function(){if(this.ctx){var e=this.ctx.canvas,
f=e.getBoundingClientRect(),h=f.width,x=f.height;f=h/e.width;var y=x/e.height;e.width=h;e.height=x;if(e=this.annot)h=this.annot.getRectPadding(),this.annot.resize(new z.d(e.RU()*f-h,e.UU()*y-h,e.TU()*f+h,e.PU()*y+h));this.NF()||this.oC()}},oC:function(){this.UJ();this.ctx.save();var e=this.N.wc(1),f=this.annot.StrokeThickness;this.annot.StrokeThickness*=3;this.annot.draw(this.ctx,e);this.annot.StrokeThickness=f;this.ctx.restore()},Gw:function(e){var f=new x.Annotations.FreeHandAnnotation;this.yw(f);
f.StrokeColor=this.defaults.StrokeColor;f.StrokeThickness=this.defaults.StrokeThickness;e=Object(aa.cloneDeep)(e);for(var h=0;h<e.length;++h){for(var r=0;r<e[h].length;++r)e[h][r]=new z.b(e[h][r].x,e[h][r].y);f.So(e[h],h)}return f},jC:function(e){var f=new x.Annotations.Bc;this.yw(f);f.ImageData=e;return f},yw:function(e){e.Author=this.N.ta().wh();e.Opacity=this.defaults.Opacity;e.Subject=x.Annotations.za.Zc("signature");e.ToolName=this.name;e.MaintainAspectRatio=!0},jS:function(e){Array.isArray(e)||
(e=[e]);this.yr=this.yr.concat(e);this.trigger(ba.Events.SIGNATURE_SAVED,[e])},g3:function(){return this.yr},l_:function(e){var f=this.yr[e];this.yr.splice(e,1);this.trigger(ba.Events.SIGNATURE_DELETED,[f,e])},l4:function(e){var f=this;Array.isArray(e)||(e=[e]);e=e.map(function(e){var h;"string"===typeof e&&(h=f.jC(e));Array.isArray(e)&&(h=f.Gw(e));return h});this.jS(e)},W0:function(){return this.yr.map(function(e){var f;e instanceof x.Annotations.FreeHandAnnotation&&(f=e.Df());e instanceof x.Annotations.Bc&&
(f=e.ImageData);return f})},X$:function(e){e instanceof x.Annotations.FreeHandAnnotation&&(this.annot=this.Gw(e.Df()));Array.isArray(e)&&(this.annot=this.Gw(e));e instanceof x.Annotations.Bc&&(this.annot=this.jC(e.ImageData));"string"===typeof e&&e&&(this.annot=this.jC(e));e||(this.annot=null)},gZ:function(){this.location=null},V3:function(){return!!this.location},Ut:function(e){var f=this,h,r,y,z,aa,da,ba,ja;return $h(function(n){if(1==n.ra)return e instanceof x.Annotations.Bc?n=vf(n,e.hj(),3):(n.ra=
2,n=void 0),n;2!=n.ra&&(h=e.image,r=h.width,y=h.height,e.Width=r,e.Height=y);if(!e||!e.Width||!e.Height)return n.return(Promise.reject("getPreview is called without passing an annotation or the annotation passed to it has width or height 0"));z=f.N.wc(1);aa={pageNumber:1,x:0,y:0};f.ys(e,aa);da=e.pb();ba=document.createElement("canvas");ba.width=da.Fa();ba.height=da.Ca();ja=ba.getContext("2d");e.draw(ja,z);return n.return(ba.toDataURL())})},cI:function(){var e=this,f,h,x,z;return $h(function(n){if(1==
n.ra)return e.lg||(e.lg=e.iC()),f=e.annot,h=e.lg.querySelector("img"),vf(n,e.Ut(f),2);h.src=n.Vc;x=e.N.bd();z=f.pb();Object(y.b)(e.lg,{display:"block",width:z.Fa()*x,height:z.Ca()*x});n.ra=0})},iC:function(){var e=document.createElement("div");e.id="signature-preview";Object(y.b)(e,{position:"absolute",border:"1px solid #00A4E4","z-index":85,"pointer-events":"none"});document.body.appendChild(e);var f=document.createElement("img");Object(y.b)(f,{width:"100%",height:"100%"});e.appendChild(f);f=this.N.Mi();
f.addEventListener("mousemove",function(f){var h=e.getBoundingClientRect();Object(y.b)(e,{left:f.clientX-h.width/2,top:f.clientY-h.height/2})});f.addEventListener("mouseleave",function(){Object(y.b)(e,{left:-9999,top:-9999})});return e},du:function(){this.lg&&(this.lg.style.display="none")},VX:function(){var e=this,f,h,y,z,aa,da,fa;return $h(function(n){if(1==n.ra)return e.NF()?n=n.return():e.annot instanceof x.Annotations.Bc?n=vf(n,e.annot.hj(),3):(n.ra=2,n=void 0),n;2!=n.ra&&(f=e.annot.image,h=
f.width,y=f.height,e.annot.Width=h,e.annot.Height=y);z=e.N.ta();aa=e.location.pageNumber;e.annot.PageNumber=aa;da=e.N.Tc(aa);fa=z.Rl(e.annot);e.fS(fa,e.location,90*da);e.ys(fa,e.location);e.trigger(ba.Events.SIGNATURE_READY,[fa]);z.Ld(fa);z.sb(fa);e.trigger(ba.Events.ANNOTATION_ADDED,[e.annot]);e.annot=null;e.location=null;n.ra=0})},fS:function(e,f,h){e instanceof x.Annotations.FreeHandAnnotation&&e.rotate(-h*Math.PI/180,f);e instanceof x.Annotations.Bc&&(e.Rotation=(e.Rotation||0)+h,h=Math.abs(h),
90!==h&&270!==h||e.Wd(new z.d(f.x-e.Height/2,f.y-e.Width/2,f.x+e.Height/2,f.y+e.Width/2)))},ys:function(e,f){var h=e.Width,r=e.Height;if(h>r){var w=f.x-100;var x=f.y-r/h*100;var y=f.x+100;h=f.y+r/h*100}else w=f.x-h/r*100,x=f.y-100,y=f.x+h/r*100,h=f.y+100;r=this.N.getDocument();var aa=f.pageNumber;f=r.Ii(aa);aa=r.Gb(aa);r=aa.width;aa=aa.height;if(90===f||270===f)f=rc([r,aa]),aa=f.next().value,r=f.next().value;w=new z.d(w,x,y,h);w.Di(new z.d(0,0,r,aa));e.resize(w)},NF:function(){var e=!0;this.annot instanceof
x.Annotations.FreeHandAnnotation&&(e=0===this.annot.Df().length);this.annot instanceof x.Annotations.Bc&&(e=!this.annot.ImageData);return e},Y$:function(e){var f=this;e.style.touchAction="none";this.ctx=e.getContext("2d");Object(y.a)(e,["mousedown","touchstart"],function(e){if(1===e.which||0===e.which)f.annot||(f.annot=f.Gw([]),f.Jc=0),f.annot instanceof x.Annotations.FreeHandAnnotation&&(e=f.qK(e),f.annot.sc(e.x,e.y,f.Jc),f.oC(),f.ot=!0)});e.addEventListener("touchmove",function(e){e.preventDefault()});
Object(y.a)(e,["mousemove","touchmove"],Object(aa.throttle)(function(e){f.ot&&f.annot instanceof x.Annotations.FreeHandAnnotation&&(e=f.qK(e),f.annot.sc(e.x,e.y,f.Jc),f.oC())},20));Object(y.a)(e,["mouseup","touchend"],function(){f.jK()})},mouseLeftDown:function(e){e.preventDefault();fa.a.prototype.mouseLeftDown.apply(this,arguments);this.N.na.be()},mouseLeftUp:function(e,f){e.preventDefault();fa.a.prototype.mouseLeftUp.apply(this,arguments);var h=this.pageCoordinates[1];h&&(this.location=h,this.trigger(ba.Events.LOCATION_SELECTED,
[h,f]))}};ba.prototype=Object.assign(new fa.a,ba.prototype);ba.Events={LOCATION_SELECTED:"locationSelected",SIGNATURE_READY:"signatureReady",ANNOTATION_ADDED:"annotationAdded",SIGNATURE_DELETED:"signatureDeleted",SIGNATURE_SAVED:"signatureSaved"};ca.a=ba},function(ha,ca,h){function ba(e,f){fa.a.call(this,e);this.annotation=null;this.defaults={Opacity:1};this.cursor="crosshair";this.name=f||y.g.STAMP}var aa=h(1),fa=h(20),da=h(14),z=h(2),y=h(4),f=h(187),e=window;ba.ACCEPTED_IMAGE_TYPES=".jpg,.jpeg,.png";
ba.prototype=Object.assign(new fa.a,{switchIn:function(){fa.a.ENABLE_ANNOTATION_HOVER_CURSORS=!1;Object(da.d)(this.N,this.cursor)},switchOut:function(e){fa.a.prototype.switchOut.call(this,e);fa.a.ENABLE_ANNOTATION_HOVER_CURSORS=!0},mouseLeftDown:function(h){var r=this;if(!this.annotation){fa.a.prototype.mouseLeftDown.call(this,h);var w=this.N.ta();w.be();var n=this.pageCoordinates[0];if(n){var x=this.Pe(this.Jb).pageNumber;(h=document.querySelector(".stamp-create-tool-file-uploader"))&&h.parentNode.removeChild(h);
var y=document.createElement("input");y.classList.add("stamp-create-tool-file-uploader");y.setAttribute("type","file");y.setAttribute("accept",ba.ACCEPTED_IMAGE_TYPES);y.style.display="none";y.onchange=function(){if(y.files&&y.files[0]){var h=y.files[0];if("image/png"!==h.type&&"image/jpeg"!==h.type)Object(aa.h)("Invalid file type. Please choose a png/jpg/jpeg file.");else{var ea=new FileReader;ea.onload=function(){var y,aa,ea;return $h(function(ia){if(1==ia.ra)return r.annotation=new e.Annotations.Bc,
r.annotation.X=n.x,r.annotation.Y=n.y,r.annotation.PageNumber=n.pageNumber,r.annotation.Author=w.wh(),vf(ia,Object(f.c)(h,{mimeType:f.a.JPEG}),2);y=ia.Vc;r.annotation.ImageData=y;aa=r.N.Tc(r.annotation.PageNumber);r.annotation.Rotation=90*aa;ea=new Image;ea.onload=function(){var e=ea.width,f=ea.height;if(1===aa||3===aa){var h=e;e=f;f=h}var n=e/f;h=r.N.Ad(x);var y=r.N.zd(x);e=Math.min(e,h);f=Math.min(f,y);e/f!==n&&(f*n<e?e=f*n:f=e/n);r.annotation.Width=e;r.annotation.Height=f;r.annotation.X-=r.annotation.Width/
2;r.annotation.Y-=r.annotation.Height/2;e=r.annotation.pb();e.Di(new z.d(0,0,h,y));r.annotation.resize(e);r.annotation.ToolName=r.name;r.annotation.Opacity=r.defaults.Opacity;r.trigger(ba.Events.ANNOTATION_CREATED,[r.annotation]);w.Ld(r.annotation);r.trigger(ba.Events.ANNOTATION_ADDED,[r.annotation]);w.ld(r.annotation.PageNumber);r.annotation=null};ea.src=y;ia.ra=0})};ea.readAsDataURL(h);document.body.removeChild(y)}}};document.body.insertBefore(y,document.body.firstChild);y.click()}}}});ba.Events=
{ANNOTATION_ADDED:"annotationAdded",ANNOTATION_CREATED:"annotationCreated"};ca.a=ba},function(ha,ca,h){function ba(h,f){aa.a.call(this,h,z.Annotations.vj);this.defaults.StrokeColor=new fa.a(255,255,0);this.name=f||da.g.HIGHLIGHT}var aa=h(42),fa=h(8),da=h(4),z=window;ba.prototype=new aa.a;ca.a=ba},function(ha,ca,h){function ba(f,e){aa.a.call(this,f);this.vf={};this.fK=this.iL=this.ip=null;this.Fh="TextSelectTool";this.name=e||da.g.TEXT_SELECT}var aa=h(67),fa=h(14),da=h(4),z=h(105),y=h(10);ba.prototype=
Object.assign(new aa.a,{select:function(){var f=this,e=this.N.ca.RE();this.N.tM();this.vf={};aa.a.prototype.select.apply(this,arguments);var h=this.N.ca.RE();e.forEach(function(e){-1===h.indexOf(e)&&f.N.na.ld(e+1)})},mouseLeftDown:function(f){this.ip=null;var e=this.Pe(this.xh(f));if(e){var h=e.pageNumber,r=this.PW(h),w=this;r.Qe=function(){return w.vf[h]};var n=!1,y=!1,ia=this.tC();0<ia.length&&(h===ia[0]&&(n=!0),h===ia[ia.length-1]&&(y=!0));if(e=(new z.a(r,!0,!1,this.N,n,y)).Hv(r,this.N.mc(h),e.x,
e.y))this.ip=e,this.ip.Si?this.iL=this.UW():this.fK=this.QW()}this.ip||(aa.a.prototype.mouseLeftDown.apply(this,arguments),this.vf={});this.mouseDown=!0},mouseMove:function(f){if(this.mouseDown&&this.ip){f.preventDefault();var e=this.Pe(this.xh(f));if(e){if(this.ip.Si)var h=this.iL;else h=e,e=this.fK;this.vf={};this.select(h,e)}}else aa.a.prototype.mouseMove.apply(this,arguments)},mouseLeftUp:function(){aa.a.prototype.mouseLeftUp.apply(this,arguments);0<Object.keys(this.vf).length?(Object(fa.d)(this.N,
"default"),this.nL()):0===this.N.ta().fe().length&&Object(fa.d)(this.N,this.cursor)},textSelected:function(f,e,h){this.N.tA(f,e,h);0<e.length&&(Object(fa.d)(this.N,"default"),this.vf[f]=e);this.mouseDown||this.nL()},mouseDoubleClick:function(f){var e=this.N.ta();this.Vb=e.Ql(f);if(this.oz())e.trigger(y.a.ANNOTATION_DOUBLE_CLICKED,this.Vb);else if(f=this.pageCoordinates[0]){var h=this;this.N.pS(f.pageNumber,f,function(e,f,n){h.textSelected(e,f,n)})}},Ys:function(){this.vf={}},nL:function(){var f=this.rK();
f.quad&&this.trigger(ba.Events.SELECTION_COMPLETE,[f,this.vf])},tC:function(){return Object.keys(this.vf).map(function(f){return parseInt(f,10)}).sort(function(f,e){return f-e})},rK:function(){var f=this.tC()[0],e=this.vf[f];return{quad:e?e[0]:null,pageNumber:f}},UW:function(){var f=this.rK(),e=f.quad;return{x:e.x1,y:(e.y1+e.y3)/2,pageNumber:f.pageNumber}},QW:function(){var f=this.tC();f=f[f.length-1];var e=this.vf[f];e=e[e.length-1];return{x:e.x3,y:(e.y1+e.y3)/2,pageNumber:f}},PW:function(f){var e=
Infinity,h=Infinity,r=0,w=0;if(f=this.vf[f])for(var n=0;n<f.length;++n){var y=f[n];e=Math.min(e,y.x1,y.x2,y.x3,y.x4);h=Math.min(h,y.y1,y.y2,y.y3,y.y4);r=Math.max(r,y.x1,y.x2,y.x3,y.x4);w=Math.max(w,y.y1,y.y2,y.y3,y.y4)}return{X:e,Y:h,Width:r-e,Height:w-h}}});ba.Events={SELECTION_COMPLETE:"selectionComplete"};ca.a=ba},function(ha,ca,h){function ba(h,y){aa.a.call(this,h,da.Annotations.$o);this.name=y||fa.g.SQUIGGLY}var aa=h(42),fa=h(4),da=window;ba.prototype=new aa.a;ca.a=ba},function(ha,ca,h){function ba(h,
y){aa.a.call(this,h,da.Annotations.ap);this.name=y||fa.g.STRIKEOUT}var aa=h(42),fa=h(4),da=window;ba.prototype=Object.assign(new aa.a,{mouseLeftUp:function(){aa.a.prototype.mouseLeftUp.apply(this,arguments);if(!this.isSelecting()){var h=this.annotation,y=this.N.na;h&&y.Hg(h)&&y.sb(h)}}});ca.a=ba},function(ha,ca,h){function ba(h,y){aa.a.call(this,h,da.Annotations.bp);this.name=y||fa.g.UNDERLINE}var aa=h(42),fa=h(4),da=window;ba.prototype=new aa.a;ca.a=ba},function(ha,ca,h){function ba(e,h){e=x.call(this,
e)||this;e.annotation=null;e.defaults={Opacity:1,StrokeColor:new f.a("#000000")};e.cursor="crosshair";e.name=h||y.g.FILEATTACHMENT;e.ACCEPTED_FILE_TYPES=null;e.ACCEPTED_FILE_SIZE=null;return e}var aa=h(0);h.n(aa);var fa=h(20),da=h(14),z=h(2),y=h(4),f=h(8),e=window,x=fa.a;rf(ba,x);ba.prototype.switchIn=function(){fa.a.ENABLE_ANNOTATION_HOVER_CURSORS=!1;Object(da.d)(this.N,this.cursor)};ba.prototype.switchOut=function(e){fa.a.prototype.switchOut.call(this,e);fa.a.ENABLE_ANNOTATION_HOVER_CURSORS=!0};
ba.prototype.mouseLeftDown=function(f){var h=this;if(!this.annotation){x.prototype.mouseLeftDown.call(this,f);var n=this.N.ta();n.be();var r=this.pageCoordinates[0];if(r){var y=this.Pe(this.Jb).pageNumber;(f=document.querySelector(".file-attachment-create-tool-file-input"))&&f.parentNode.removeChild(f);var da=document.createElement("input");da.setAttribute("type","file");da.classList.add("file-attachment-create-tool-file-input");da.style.display="none";this.ACCEPTED_FILE_TYPES&&da.setAttribute("accept",
this.ACCEPTED_FILE_TYPES);da.onchange=function(){if(da.files&&da.files[0]){var f=Number(h.ACCEPTED_FILE_SIZE);Object(aa.isNumber)(f)&&0<f&&da.files[0].size>f?h.trigger(ba.Events.FILE_REJECTED,[{reason:"size",maxSize:h.ACCEPTED_FILE_SIZE,size:da.files[0].size}]):(f=new FileReader,f.onload=function(f){var w,x,aa,ea,ia;return $h(function(ja){if(1==ja.ra)return w=f.target.result,x=da.files[0],h.annotation=new e.Annotations.ki,h.annotation.X=r.x,h.annotation.Y=r.y,h.annotation.PageNumber=r.pageNumber,
h.annotation.Author=n.wh(),vf(ja,h.annotation.DS(w,x.type,x.name),2);aa=h.N.Ad(y);ea=h.N.zd(y);ia=h.annotation.pb();ia.Di(new z.d(0,0,aa,ea));h.annotation.resize(ia);h.annotation.ToolName=h.name;h.annotation.StrokeColor=h.defaults.StrokeColor;h.annotation.Opacity=h.defaults.Opacity;h.trigger(ba.Events.ANNOTATION_CREATED,[h.annotation]);n.Ld(h.annotation);h.trigger(ba.Events.ANNOTATION_ADDED,[h.annotation]);n.sb(h.annotation);h.annotation=null;ja.ra=0})},f.readAsArrayBuffer(da.files[0]));document.body.removeChild(da)}};
document.body.insertBefore(da,document.body.firstChild);da.click()}}};ba.Events={FILE_REJECTED:"fileRejected",ANNOTATION_CREATED:"annotationCreated",ANNOTATION_ADDED:"annotationAdded"};ca.a=ba},function(ha,ca,h){function ba(h){return h===aa.c.E_0||h===aa.c.E_180}h.d(ca,"a",function(){return ba});var aa=h(4)},function(ha,ca,h){var ba=h(135);ca.a=function(h){return h?new Promise(function(aa,da){try{var z=new XMLHttpRequest;z.onreadystatechange=function(){if(z.readyState===XMLHttpRequest.HEADERS_RECEIVED||
z.readyState===XMLHttpRequest.DONE)return 200>z.status||300<=z.status?da():aa(Object(ba.e)(z))};z.timeout=1E3;z.onerror=function(){return da()};z.ontimeout=function(){return da()};z.open("HEAD",h);z.send()}catch(y){return da(y.message)}}):Promise.reject("No input provided")}},function(ha,ca){ca.a=function(h){var ba={};decodeURIComponent(h.slice(1)).split("&").forEach(function(h){h=h.split("=",2);ba[h[0]]=h[1]});return ba}},function(ha,ca,h){function ba(e,f,h,r){var n=null;y||da();if(e.constructor==
String&&(16==e.length||24==e.length||32==e.length))e=z.Wo.createBuffer(e);else if(e.constructor==Array&&(16==e.length||24==e.length||32==e.length)){var w=e;e=z.Wo.createBuffer();for(var x=0;x<w.length;++x)e.fR(w[x])}if(e.constructor!=Array&&(w=e,e=[],x=w.length(),16==x||24==x||32==x)){x>>>=2;for(var ea=0;ea<x;++ea)e.push(w.getInt32())}if(e.constructor==Array&&(4==e.length||6==e.length||8==e.length)){var ia=fa(e,r),ba,ka,ca,za,ha,va;n={output:null,update:function(e){va||ba.I7(e);for(e=r&&!va?32:16;ba.length()>=
e;){if(r)for(var f=0;4>f;++f)ca[f]=ba.getInt32();else for(f=0;4>f;++f)ca[f]=ha[f]^ba.getInt32();aa(ia,ca,za,r);if(r){for(f=0;4>f;++f)ka.gR(ha[f]^za[f]);ha=ca.slice(0)}else{for(f=0;4>f;++f)ka.gR(za[f]);ha=za}}},finish:function(e){var f=!0;if(!r)if(e)f=e(16,ba,r);else{var h=16==ba.length()?16:16-ba.length();ba.h1(h,h)}f&&(va=!0,n.update());r&&(f=0===ba.length())&&(e?f=e(16,ka,r):(e=ka.length(),e=ka.at(e-1),16<e?f=!1:ka.truncate(e)));return f},start:function(e,f){e=e||ha.slice(0);if(e.constructor==String&&
16==e.length)e=z.Wo.createBuffer(e);else if(e.constructor==Array&&16==e.length){var h=e;e=z.Wo.createBuffer();for(var r=0;16>r;++r)e.fR(h[r])}e.constructor!=Array&&(h=e,e=Array(4),e[0]=h.getInt32(),e[1]=h.getInt32(),e[2]=h.getInt32(),e[3]=h.getInt32());ba=z.Wo.createBuffer();ka=f||z.Wo.createBuffer();ha=e.slice(0);ca=Array(4);za=Array(4);va=!1;n.output=ka}};null!==f&&n.start(f,h)}return n}function aa(h,x,y,z){var n=h.length/4-1;if(z){var aa=w[0];var ea=w[1];var ia=w[2];var da=w[3];var ba=e}else aa=
r[0],ea=r[1],ia=r[2],da=r[3],ba=f;var ka=x[0]^h[0];var fa=x[z?3:1]^h[1];var ca=x[2]^h[2];x=x[z?1:3]^h[3];for(var ha=3,va=1;va<n;++va){var ta=aa[ka>>>24]^ea[fa>>>16&255]^ia[ca>>>8&255]^da[x&255]^h[++ha];var ya=aa[fa>>>24]^ea[ca>>>16&255]^ia[x>>>8&255]^da[ka&255]^h[++ha];var pa=aa[ca>>>24]^ea[x>>>16&255]^ia[ka>>>8&255]^da[fa&255]^h[++ha];x=aa[x>>>24]^ea[ka>>>16&255]^ia[fa>>>8&255]^da[ca&255]^h[++ha];ka=ta;fa=ya;ca=pa}y[0]=ba[ka>>>24]<<24^ba[fa>>>16&255]<<16^ba[ca>>>8&255]<<8^ba[x&255]^h[++ha];y[z?3:
1]=ba[fa>>>24]<<24^ba[ca>>>16&255]<<16^ba[x>>>8&255]<<8^ba[ka&255]^h[++ha];y[2]=ba[ca>>>24]<<24^ba[x>>>16&255]<<16^ba[ka>>>8&255]<<8^ba[fa&255]^h[++ha];y[z?1:3]=ba[x>>>24]<<24^ba[ka>>>16&255]<<16^ba[fa>>>8&255]<<8^ba[ca&255]^h[++ha]}function fa(e,h){e=e.slice(0);for(var n,r=1,y=e.length,z=4*(y+6+1),aa=y;aa<z;++aa)n=e[aa-1],0===aa%y?(n=f[n>>>16&255]<<24^f[n>>>8&255]<<16^f[n&255]<<8^f[n>>>24]^x[r]<<24,r++):6<y&&4===aa%y&&(n=f[n>>>24]<<24^f[n>>>16&255]<<16^f[n>>>8&255]<<8^f[n&255]),e[aa]=e[aa-y]^n;if(h){n=
w[0];r=w[1];y=w[2];aa=w[3];var ea=e.slice(0);z=e.length;for(var da=0,ba=z-4;da<z;da+=4,ba-=4)if(0===da||da===z-4)ea[da]=e[ba],ea[da+1]=e[ba+3],ea[da+2]=e[ba+2],ea[da+3]=e[ba+1];else for(var fa=0;4>fa;++fa)h=e[ba+fa],ea[da+(3&-fa)]=n[f[h>>>24]]^r[f[h>>>16&255]]^y[f[h>>>8&255]]^aa[f[h&255]];e=ea}return e}function da(){y=!0;x=[0,1,2,4,8,16,32,64,128,27,54];for(var h=Array(256),z=0;128>z;++z)h[z]=z<<1,h[z+128]=z+128<<1^283;f=Array(256);e=Array(256);r=Array(4);w=Array(4);for(z=0;4>z;++z)r[z]=Array(256),
w[z]=Array(256);for(var aa=z=0,da,ba,fa,ca,ja,ua=0;256>ua;++ua){ca=aa^aa<<1^aa<<2^aa<<3^aa<<4;ca=ca>>8^ca&255^99;f[z]=ca;e[ca]=z;ja=h[ca];da=h[z];ba=h[da];fa=h[ba];ja^=ja<<24^ca<<16^ca<<8^ca;ba=(da^ba^fa)<<24^(z^fa)<<16^(z^ba^fa)<<8^z^da^fa;for(var ra=0;4>ra;++ra)r[ra][z]=ja,w[ra][ca]=ba,ja=ja<<24|ja>>>8,ba=ba<<24|ba>>>8;0===z?z=aa=1:(z=da^h[h[h[da^fa]]],aa^=h[h[aa]])}}ha=h(262);"undefined"!==typeof window&&((window.r1=window.r1||{}).wl={});var z={wl:{}};z.Wo=ha.a;var y=!1,f,e,x,r,w;z.wl.sfa=function(e,
f,h){return ba(e,f,h,!1)};z.wl.rda=function(e){return ba(e,null,null,!1)};z.wl.Maa=function(e,f){return ba(e,f,void 0,!0)};z.wl.qda=function(e){return ba(e,null,null,!0)};z.wl.Vca=function(e,f){y||da();return fa(e,f)};z.wl.ada=aa;ca.a=z},function(ha,ca){function h(e,f,h){var n=null;"undefined"===typeof h&&(h=["web","flash"]);var r=!1,w=null,x;for(x in h){var y=h[x];try{if("flash"===y||"both"===y){if(null===f[0])throw{message:"Flash local storage not available."};n=e.apply(this,f);r="flash"===y}if("web"===
y||"both"===y)f[0]=localStorage,n=e.apply(this,f),r=!0}catch(la){w=la}if(r)break}if(!r)throw w;return n}function ba(e,f){y(e,f,null)}function aa(e,f,h){var n=z(e,f);if(null!==n&&h in n){delete n[h];h=!0;for(var r in tmp){h=!1;break}h&&(n=null);y(e,f,n)}}function fa(e,f,h){e=z(e,f);null!==e&&(e=h in e?e[h]:null);return e}function da(e,f,h,x){var n=z(e,f);null===n&&(n={});n[h]=x;y(e,f,n)}function z(e,h){if(!e)throw{message:"WebStorage not available."};h=e.getItem(h);if(e.init)if(null===h.IA){if(h.error)throw h.error;
h=null}else h=h.IA;null!==h&&(h=JSON.parse(f.ID(h)));return h}function y(e,h,n){if(!e)throw{message:"WebStorage not available."};null===n?e=e.removeItem(h):(n=f.ZD(JSON.stringify(n)),e=e.setItem(h,n));if("undefined"!==typeof e&&!0!==e.IA)throw e.error;}var f={rd:function(e){this.data=e||"";this.read=0}};f.rd.prototype.length=function(){return this.data.length-this.read};f.rd.prototype.isEmpty=function(){return 0===this.data.length-this.read};f.rd.prototype.fR=function(e){this.data+=String.fromCharCode(e)};
f.rd.prototype.h1=function(e,f){e=String.fromCharCode(e);for(var h=this.data;0<f;)f&1&&(h+=e),f>>>=1,0<f&&(e+=e);this.data=h};f.rd.prototype.gR=function(e){this.data+=String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(e&255)};f.rd.prototype.I7=function(e){this.data+=e.O1()};f.rd.prototype.getInt16=function(){var e=this.data.charCodeAt(this.read)<<8^this.data.charCodeAt(this.read+1);this.read+=2;return e};f.rd.prototype.getInt32=function(){var e=
this.data.charCodeAt(this.read)<<24^this.data.charCodeAt(this.read+1)<<16^this.data.charCodeAt(this.read+2)<<8^this.data.charCodeAt(this.read+3);this.read+=4;return e};f.rd.prototype.O1=function(){if(e){var e=Math.min(this.length(),e);var f=this.data.slice(this.read,this.read+e);this.read+=e}else 0===e?f="":(f=0===this.read?this.data:this.data.slice(this.read),this.clear());return f};f.rd.prototype.Dl=function(e){return"undefined"===typeof e?this.data.slice(this.read):this.data.slice(this.read,this.read+
e)};f.rd.prototype.at=function(e){return this.data.charCodeAt(this.read+e)};f.rd.prototype.vS=function(e,f){this.data=this.data.substr(0,this.read+e)+String.fromCharCode(f)+this.data.substr(this.read+e+1)};f.rd.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)};f.rd.prototype.copy=function(){var e=f.createBuffer(this.data);e.read=this.read;return e};f.rd.prototype.compact=function(){0<this.read&&(this.data=this.data.slice(this.read),this.read=0)};f.rd.prototype.clear=function(){this.data=
"";this.read=0};f.rd.prototype.truncate=function(e){e=Math.max(0,this.length()-e);this.data=this.data.substr(this.read,e);this.read=0};f.rd.prototype.cba=function(){for(var e="",f=this.read;f<this.data.length;++f){var h=this.data.charCodeAt(f);16>h&&(e+="0");e+=h.toString(16)}return e};f.rd.prototype.toString=function(){return f.a_(this.Dl())};f.createBuffer=function(e,h){void 0!==e&&"utf8"===(h||"raw")&&(e=f.M0(e));return new f.rd(e)};f.$da=function(e,f){for(var h="";0<f;)f&1&&(h+=e),f>>>=1,0<f&&
(e+=e);return h};f.Jfa=function(e,f,h){for(var n="",r,w="",x=0,y=0;0<h;--h,++x)r=e.charCodeAt(x)^f.charCodeAt(x),10<=y&&(n+=w,w="",y=0),w+=String.fromCharCode(r),++y;return n+w};f.qea=function(e){var f="",h=0;e.length&1&&(h=1,f+=String.fromCharCode(parseInt(e[0],16)));for(;h<e.length;h+=2)f+=String.fromCharCode(parseInt(e.substr(h,2),16));return f};f.kda=function(e){return f.createBuffer(e).cba()};f.Aea=function(e){return String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>
8&255)+String.fromCharCode(e&255)};var e=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51];f.ZD=function(e){for(var f="",h,r,x,y=0;y<e.length;)h=e.charCodeAt(y++),r=e.charCodeAt(y++),x=e.charCodeAt(y++),f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(h>>2),f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt((h&
3)<<4|r>>4),isNaN(r)?f+="==":(f+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt((r&15)<<2|x>>6),f+=isNaN(x)?"=":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(x&63));return""+f};f.ID=function(f){f=f.replace(/[^A-Za-z0-9\+\/=]/g,"");for(var h="",n,r,x,y,z=0;z<f.length;)n=e[f.charCodeAt(z++)-43],r=e[f.charCodeAt(z++)-43],x=e[f.charCodeAt(z++)-43],y=e[f.charCodeAt(z++)-43],h+=String.fromCharCode(n<<2|r>>4),64!==x&&(h+=String.fromCharCode((r&15)<<
4|x>>2),64!==y&&(h+=String.fromCharCode((x&3)<<6|y)));return h};f.M0=function(e){return unescape(encodeURIComponent(e))};f.a_=function(e){return decodeURIComponent(escape(e))};f.it=function(e,h,n){h=f.ID(e.it(f.ZD(h)).IA);n&&(e=2,h.charCodeAt(1)&32&&(e=6),h=h.substring(e,h.length-4));return h};f.rk=function(e,h){e=e.rk(f.ZD(h)).IA;return null===e?null:f.ID(e)};f.setItem=function(e,f,n,x,y){h(da,arguments,y)};f.getItem=function(e,f,n,x){return h(fa,arguments,x)};f.removeItem=function(e,f,n,x){h(aa,
arguments,x)};f.nda=function(e,f,n){h(ba,arguments,n)};f.Vea=function(e){var f=/^(https?):\/\/([^:&^\/]*):?(\d*)(.*)$/g;f.lastIndex=0;f=f.exec(e);if(e=null===f?null:{full:e,scheme:f[1],host:f[2],port:f[3],path:f[4]})e.Et=e.host,e.port?80!==e.port&&"http"===e.scheme?e.Et+=":"+e.port:443!==e.port&&"https"===e.scheme&&(e.Et+=":"+e.port):"http"===e.scheme?e.port=80:"https"===e.scheme&&(e.port=443),e.full=e.scheme+"://"+e.Et;return e};var x=null;f.X2=function(e){function f(e){var f={};e=e.split("&");for(var h=
0;h<e.length;h++){var n=e[h].indexOf("=");if(0<n){var r=e[h].substring(0,n);n=e[h].substring(n+1)}else r=e[h],n=null;r in f||(f[r]=[]);null!==n&&f[r].push(unescape(n))}return f}"undefined"===typeof e?(null===x&&(x="undefined"===typeof window?{}:f(window.location.search.substring(1))),e=x):e=f(e);return e};f.K6=function(e){var h=e,n="",r=e.indexOf("?");0<r&&(h=e.substring(0,r),n=e.substring(r+1));e=h.split("/");0<e.length&&""==e[0]&&e.shift();r=""==n?{}:f.X2(n);return{o7:h,J7:n,path:e,query:r}};f.Iea=
function(e){var h=f.K6(e),n={path:h.o7,query:h.J7,gb:function(e){return"undefined"===typeof e?h.path:h.path[e]},getQuery:function(e,f){"undefined"===typeof e?e=h.query:(e=h.query[e])&&"undefined"!==typeof f&&(e=e[f]);return e},mea:function(e,f){return(e=n.getQuery(e))?e[e.length-1]:f}};return n};f.Hea=function(e,f,h){e=jQuery.isArray(e)?e.join("/"):e;f=jQuery.param(f||{});h=h||"";return e+(0<f.length?"?"+f:"")+(0<h.length?"#"+h:"")};f.So=function(e,f,h){if("object"===typeof e&&null!==e)for(var n=
0,r=f.length;n<r;){var w=f[n++];if(n==r)e[w]=h;else{var x=w in e;if(!x||x&&"object"!==typeof e[w]||x&&null===e[w])e[w]={};e=e[w]}}};f.gb=function(e,f,h){for(var n=0,r=f.length,w=!0;w&&n<r&&"object"===typeof e&&null!==e;){var x=f[n++];(w=x in e)&&(e=e[x])}return w?e:h};f.Fda=function(e,f){if("object"===typeof e&&null!==e)for(var h=0,r=f.length;h<r;){var w=f[h++];if(h==r)delete e[w];else{if(!(w in e)||"object"!==typeof e[w]||null===e[w])break;e=e[w]}}};f.isEmpty=function(e){for(var f in e)if(e.hasOwnProperty(f))return!1;
return!0};f.format=function(e){var f=/%./g,h,r,x=0,y=[];for(r=0;h=f.exec(e);)switch(r=e.substring(r,f.lastIndex-2),0<r.length&&y.push(r),r=f.lastIndex,h=h[0][1],h){case "s":case "o":x<arguments.length?y.push(arguments[x++ +1]):y.push("<?>");break;case "%":y.push("%");break;default:y.push("<%"+h+"?>")}y.push(e.substring(r));return y.join("")};f.Ct=function(e,f,h,x){var n=isNaN(f=Math.abs(f))?2:f;f=void 0===h?",":h;x=void 0===x?".":x;h=0>e?"-":"";var r=""+parseInt(e=Math.abs(+e||0).toFixed(n),10),w=
3<r.length?r.length%3:0;return h+(w?r.substr(0,w)+x:"")+r.substr(w).replace(/(\d{3})(?=\d)/g,"$1"+x)+(n?f+Math.abs(e-r).toFixed(n).slice(2):"")};f.cea=function(e){return e=1073741824<=e?f.Ct(e/1073741824,2,".","")+" GiB":1048576<=e?f.Ct(e/1048576,2,".","")+" MiB":1024<=e?f.Ct(e/1024,0)+" KiB":f.Ct(e,0)+" bytes"};ca.a=f},function(ha,ca,h){function ba(h,y,f){f.Module.instantiateWasm=function(e,f){return Object(fa.a)(h+"Wasm.wasm",e,y["Wasm.wasm"]).then(function(e){f(e.instance,e.module)})};Object(aa.b)(h+
"Wasm.js",y["Wasm.js"],!0,!1).then(function(e){var x=Object(aa.b)(h+"Wasm.js.mem",y["Wasm.js.mem"],!0,!0);f.Module.memoryInitializerRequest=new da(x);e=new Blob([e],{type:"application/javascript"});f.Module.mainScriptUrlOrBlob=e;Object(fa.b)(URL.createObjectURL(e),"failed to load threaded wasm",f)})}h.d(ca,"a",function(){return ba});var aa=h(103),fa=h(131);h(18);var da=function(){function h(h){var f=this;this.promise=h.then(function(e){f.response=e;f.status=200})}h.prototype.addEventListener=function(h,
f){this.promise.then(f)};return h}()},function(ha,ca,h){var ba=h(1),aa=h(60),fa=h(265);ha=function(){function h(h,y,f){var e=this;this.cj=[];this.gq={};window.createPromiseCapability();this.CI=new Promise(function(x,r){if("undefined"!==typeof Worker)try{if(e.Ka)x();else{var w=new fa.a("main",h);w.Ho=y;e.Ka=w;w.on("test",function(e){if(e.ready){var f=e&&e.supportTypedArray;e&&e.info&&Object(ba.b)("load","Office worker info: "+e.info);f?(e.supportTransfers||(w.Ho=!1),x()):r(new aa.a("Typed arrays are not supported. Can't start a worker.",
"error.WorkerInitError"))}else r("License Key Error: "+e.license)});var n={array:new Uint8Array([255])};try{f&&(n=Object.assign({},n,f)),w.send("test",n)}catch(ea){w.Ho=!1,n.array[0]=0,w.send("test",n)}}return}catch(ea){r(new aa.a("The worker has been disabled. This may be the result of using an unsupported browser.","error.SupportError"))}r(new aa.a("Can't start a worker","error.WorkerInitError"))})}h.prototype.Pz=function(h){return this.Ka.Bb("loadDocument",h,this.Ch)};h.prototype.zx=function(h){this.Ka.zx(h)};
h.prototype.RC=function(h,y){this.Ka.RC(h,y)};h.prototype.dv=function(h){this.Ka.dv(h)};h.prototype.ey=function(h){this.Ka.dv(h);return this.Ka.Bb("unloadDocument",{docId:h},this.Be)};h.prototype.Ss=function(h){this.Ka.lM(h)};h.prototype.c2=function(h){return this.Ka.Bb("getDocBuffer",{docId:h},this.Ch)};h.prototype.OA=function(h){this.Ka.send("setCustomFontURL",{fontURL:h})};return h}();ca.a=ha},function(ha,ca,h){var ba=h(3),aa=h(1);ha=function(h){function da(z,y){z=h.call(this,z,y)||this;z.Wj={};
z.fv={};z.Ek=[];return z}Object(ba.c)(da,h);da.prototype.zx=function(h){this.Ek.push(h)};da.prototype.RC=function(h,y){h in this.Wj?this.Wj[h].push(y):this.Wj[h]=[y];h in this.fv&&delete this.fv[h]};da.prototype.dv=function(h){h in this.Wj&&delete this.Wj[h];this.fv[h]=h;this.Ek=[]};da.prototype.VO=function(h){var y=this,f=h.data,e=this.ul;h=this.Mj;if("object"===typeof f){if("type"in f&&0<this.Ek.length&&"onloaddocument"===f.type){var x=this.Ek.slice();this.Ek=[];for(this.dv(f.data.docId);0<x.length;)this.RC(f.data.docId,
x.shift())}if("callbackId"in f)e=f.callbackId,e in h?(x=h[e],delete h[e],"type"in f&&"error"===f.type?x.reject(f):x.resolve(f.data)):Object(aa.b)("Cannot resolve callback "+e);else if(f.action in e){var r=e[f.action];f.callbackId?Promise.resolve().then(function(){return r[0].call(r[1],f.data)}).then(function(e){y.postMessage({isReply:!0,callbackId:f.callbackId,data:e})},function(e){y.uH(e)}):r[0].call(r[1],f.data)}else if(f.type)if("page"===f.type)h=f.meta.docId,this.Wj[h]?this.Wj[h].forEach(function(e){e(f)}):
0<this.Ek.length&&!(h in this.fv)?this.Ek.forEach(function(e){e(f)}):Object(aa.c)("load","No doc listeners for this docId: "+JSON.stringify(f));else{if("documentComplete"===f.type||"error"===f.type)h=f.docId,this.Wj[h]?this.Wj[h].forEach(function(e){e(f)}):0<this.Ek.length&&!(h in this.fv)?this.Ek.forEach(function(e){e(f)}):Object(aa.c)("load","No doc listeners for this docId: "+JSON.stringify(f))}else Object(aa.e)("Unknown action from worker: "+f.action)}};return da}(h(140).a);ca.a=ha},function(ha,
ca,h){function ba(h,z,y){return new Promise(function(f){fetch(window.kb.Ef()+"assets/mime-types/test."+h).then(function(e){var x;404===e.status?x="Your server does not have a MIME type set for extension "+h+". Please see http://r.pdftron.com/mimetypes for more information.":"xod"!==z&&(fa.f.QI.includes(z)?x="Failed to find Office worker files. This project is not set up to work with Office files.":fa.f.RI.includes(z)&&(x="Failed to find PDF worker files. This project is not set up to work with PDF files."));
x=x||y;Object(aa.e)(x);f(x)})})}var aa=h(1),fa=h(4);ca.a=function(h,z){return new Promise(function(y){"string"===typeof h&&h.startsWith("Error retrieving file:")&&h.includes(".xod")?ba("xod",z,h).then(y):"The worker has encountered an error"===h?(ba("mem",z,h).then(y),ba("wasm",z,h).then(y)):"Couldn't fetch resource file."===h?ba("res",z,h).then(y):y(h)})}},function(ha,ca,h){function ba(h,y){return Object(fa.b)(void 0,void 0,void 0,function(){var f,e;return Object(fa.d)(this,function(x){switch(x.label){case 0:return[4,
aa(h)];case 1:f=x.la();e=y;switch(h){case "ASCII85Decode":e=f.decode(e);break;case "FlateDecode":try{e=f.rk(e);break}catch(r){da.e(r.message);break}default:throw Error("We don't yet support the "+h+" method of file compression at this time.");}return[2,e]}})})}function aa(z){return Object(fa.b)(void 0,void 0,void 0,function(){var y,f,e;return Object(fa.d)(this,function(x){switch(x.label){case 0:y=z;switch(y){case "ASCII85Decode":return[3,1];case "FlateDecode":return[3,3]}return[3,5];case 1:return[4,
Promise.all([h.e(1),h.e(19)]).then(h.t.bind(null,361,7))];case 2:return f=x.la().BU,[2,new f];case 3:return[4,h.e(20).then(h.t.bind(null,204,7))];case 4:return e=x.la().default,[2,e];case 5:throw Error("We don't yet support decompression of "+z+" compressed files");}})})}h.d(ca,"a",function(){return ba});var fa=h(3),da=h(1)},function(ha,ca,h){function ba(z,y,f,e){return Object(aa.b)(this,void 0,void 0,function(){var x,r,w,n;return Object(aa.d)(this,function(aa){switch(aa.label){case 0:x={calculationOrder:[],
widgets:[],fields:{},pages:[],documentActions:{},custom:[]};r=z.Oa();if("pdf-info"!==r)return Object(da.h)("pdf-info missing. found: "+r),f(x),[2];w=z.ba("version");return"1"!==w?[3,2]:[4,h.e(12).then(h.bind(null,363))];case 1:return n=aa.la().parse,n(z,y,f,e),[3,3];case 2:"2"===w?Object(fa.a)(z,y,f,e):(Object(da.h)("PDFInfo version is incorrect: "+w),f(x)),aa.label=3;case 3:return[2]}})})}h.d(ca,"a",function(){return ba});var aa=h(3),fa=h(269),da=h(1)},function(ha,ca,h){function ba(f,h){var n=f.ba("name"),
w={type:f.ba("type"),maxLen:f.ba("max-len")||-1,tooltipName:f.ba("tooltip-name")},x=f.ba("flags");Object(ka.isString)(x)&&(w.flags=x.split(" "));for(f.Ia();f.advance();)switch(x=f.Oa(),x){case "actions":w.actions=e(f,["C","F","K","V"],function(){return h});break;case "default-value":w.defaultValue=da(f);break;case "font":w.font=r(f,h);break;case "options":w.options=ea(f);break;default:Object(ua.h)("unknown field child: "+x)}f.Za();return new Ba.Annotations.da.qa(n,w)}function aa(e,f){switch(e.type){case "Tx":try{if(Object(ra.c)(e.actions))return new ja.a.DatePickerWidgetAnnotation(e,
f)}catch(va){Object(ua.h)(va)}return new ja.a.TextWidgetAnnotation(e,f);case "Ch":return e.flags.get(na.WidgetFlags.COMBO)?new ja.a.ChoiceWidgetAnnotation(e,f):new ja.a.ListWidgetAnnotation(e,f);case "Btn":return e.flags.get(na.WidgetFlags.PUSH_BUTTON)?new ja.a.PushButtonWidgetAnnotation(e,f):e.flags.get(na.WidgetFlags.RADIO)?new ja.a.RadioButtonWidgetAnnotation(e,f):new ja.a.CheckButtonWidgetAnnotation(e,f);case "Sig":return new ja.a.SignatureWidgetAnnotation(e,f);default:Object(ua.h)("Unrecognised field type: "+
e.type)}return null}function fa(f,h,n,y){var ea=[],ja=[],da={};f.Ia();var ka=[],fa={},na=[];Object(oa.a)(function(){if(f.advance()){var n=f.Oa();switch(n){case "calculation-order":ka="calculation-order"===f.Oa()?z(f):[];break;case "document-actions":fa=e(f,["Init","Open"],h);break;case "pages":n=[];for(f.Ia();f.advance();){var y=f.Oa();switch(y){case "page":n.push(ia(f,h));break;default:Object(ua.h)("unrecognised page child: "+y)}}f.Za();na=n;break;case "ffield":y=ba(f,h(1));da[y.name]=y;break;case "widget":n=
{border:{style:"Solid",width:1},backgroundColor:[],fieldName:f.ba("field"),page:f.ba("page"),index:f.ba("index")||0,rotation:f.ba("rotation")||0,quadding:f.ba("quadding")||"Left-justified",flags:[],isImporting:!0};(y=f.ba("appearance"))&&(n.appearance=y);(y=f.ba("flags"))&&(n.flags=y.split(" "));if(y=f.ba("modified-date"))n.originalDateModifiedText=y,n.dateModified=Ba.Annotations.ma.iy(y),n.originalDateModifiedTime=n.dateModified.getTime();for(f.Ia();f.advance();)switch(y=f.Oa(),y){case "rect":var ma=
f,ca=h(Number(n.page));y=ca.ka({x:ma.ba("x1")||0,y:ma.ba("y1")||0});ma=ca.ka({x:ma.ba("x2")||0,y:ma.ba("y2")||0});y=new la.d(y.x,y.y,ma.x,ma.y);y.normalize();n.rect={x1:y.x1,y1:y.y1,x2:y.x2,y2:y.y2};break;case "border":y=f;ma={style:y.ba("style")||"Solid",width:y.ba("width")||1,color:[0,0,0]};for(y.Ia();y.advance();)switch(ca=y.Oa(),ca){case "color":ma.color=x(y);break;default:Object(ua.h)("unrecognised border child: "+ca)}y.Za();n.border=ma;break;case "background-color":n.backgroundColor=x(f);break;
case "actions":n.actions=e(f,"E X D U Fo Bl PO PC PV PI".split(" "),h);break;case "appearances":y=f;ma=Object(ra.b)(n,"appearances");for(y.Ia();y.advance();)if(ca=y.Oa(),"aappearance"===ca){ca=y.ba("name");var oa=Object(ra.b)(ma,ca);ca=y;for(ca.Ia();ca.advance();){var za=ca.Oa();switch(za){case "Normal":Object(ra.b)(oa,"Normal").data=ca.current.textContent;break;default:Object(ua.h)("unexpected appearance state: ",za)}}ca.Za()}else Object(ua.h)("unexpected appearances child: "+ca);y.Za();break;case "apref":Object(ra.a)(f,
n,h(Number(n.page)));break;case "extra":y=f;ma=h;ca={};for(y.Ia();y.advance();)switch(oa=y.Oa(),oa){case "font":ca.font=r(y,ma(1));break;default:Object(ua.h)("unrecognised extra child: "+oa)}y.Za();y=ca;y.font&&(n.font=y.font);break;case "captions":ma=f;y={};(ca=ma.ba("Normal"))&&(y.Normal=ca);(ca=ma.ba("Rollover"))&&(y.Rollover=ca);(ma=ma.ba("Down"))&&(y.Down=ma);n.captions=y;break;case "trn-custom-data":n["trn-custom-data"]=JSON.parse(f.ba("bytes"));break;default:Object(ua.h)("unrecognised widget child: "+
y)}f.Za();(y=da[n.fieldName])?(n=aa(y,n),ea.push(n)):Object(ua.h)("ignoring widget with no corresponding field data: "+n.fieldName);break;case "custom":ja.push(w(f,h));break;default:Object(ua.h)("Unknown element encountered in PDFInfo: "+n)}return!0}return!1},function(){f.Za();n({calculationOrder:ka,widgets:ea,fields:da,documentActions:fa,pages:na,custom:ja})},y)}function da(e){e.Ia();e.advance();var f=e.current.textContent;e.Za();return f}function z(e){var f=[];for(e.Ia();e.advance();){var h=e.Oa();
"ffield"===h?f.push(String(e.ba("name"))):Object(ua.h)("unrecognised field list element: "+h)}e.Za();return f}function y(e,f){return f?"false"!==e:"true"===e}function f(e,f){var h=e.Oa();switch(h){case "javascript":return{name:"JavaScript",javascript:e.current.textContent};case "uri":return{name:"URI",uri:e.ba("uri")};case "goto":h=null;e.Ia();if(e.advance()){var n=e.ba("fit");h={page:e.ba("page"),fit:n};if("0"===h.page)Object(ua.h)("null page encountered in dest");else switch(f=f(Number(h.page)),
n){case "Fit":case "FitB":break;case "FitH":case "FitBH":h.top=f.ka({x:0,y:e.ba("top")||0}).y;break;case "FitV":case "FitBV":h.left=f.ka({x:e.ba("left")||0,y:0}).x;break;case "FitR":n=f.ka({x:e.ba("left")||0,y:e.ba("top")||0});f=f.ka({x:e.ba("right")||0,y:e.ba("bottom")||0});f=new la.d(n.x,n.y,f.x,f.y);h.top=f.ea;h.left=f.ha;h.bottom=f.fa;h.right=f.ia;break;case "XYZ":n=f.ka({x:e.ba("left")||0,y:e.ba("top")||0});h.top=n.y;h.left=n.x;h.zoom=e.ba("zoom")||0;break;default:Object(ua.h)("unknown dest fit: "+
n)}h={name:"GoTo",dest:h}}else Object(ua.h)("missing dest in GoTo action");e.Za();return h;case "submit-form":h={name:"SubmitForm",url:e.ba("url"),format:e.ba("format"),method:e.ba("method")||"POST",exclude:y(e.ba("exclude"),!1)};f=e.ba("flags");h.flags=f?f.split(" "):[];for(e.Ia();e.advance();)switch(f=e.Oa(),f){case "fields":h.fields=z(e);break;default:Object(ua.h)("unrecognised submit-form child: "+f)}e.Za();return h;case "reset-form":h={name:"ResetForm",exclude:y(e.ba("exclude"),!1)};for(e.Ia();e.advance();)switch(f=
e.Oa(),f){case "fields":h.fields=z(e);break;default:Object(ua.h)("unrecognised reset-form child: "+f)}e.Za();return h;case "hide":h={name:"Hide",hide:y(e.ba("hide"),!0)};for(e.Ia();e.advance();)switch(f=e.Oa(),f){case "fields":h.fields=z(e);break;default:Object(ua.h)("unrecognised hide child: "+f)}e.Za();return h;case "named":return{name:"Named",action:e.ba("name")};default:Object(ua.h)("Encountered unexpected action type: "+h)}return null}function e(e,h,n){var r={};for(e.Ia();e.advance();){var w=
e.Oa();switch(w){case "action":w=e.ba("trigger");if(h?-1!==h.indexOf(w):1){r[w]=[];for(e.Ia();e.advance();){var x=f(e,n);Object(ka.isNull)(x)||r[w].push(x)}e.Za()}else Object(ua.h)("encountered unexpected trigger on field: "+w);break;default:Object(ua.h)("encountered unknown action child: "+w)}}e.Za();return r}function x(e){return new ma.a(e.ba("r")||0,e.ba("g")||0,e.ba("b")||0,e.ba("a")||1)}function r(e,f){var h=e.ba("name"),n=e.ba("type")||"Type1",r=e.ba("size"),w=f.ka({x:0,y:0});r=f.ka({x:Number(r),
y:0});f=w.x-r.x;w=w.y-r.y;h={name:h,type:n,size:Math.sqrt(f*f+w*w)||0,strokeColor:[0,0,0],fillColor:[0,0,0]};(n=e.ba("horizontal-scaling"))&&(h["horizontal-scaling"]=parseFloat(n));for(e.Ia();e.advance();)switch(n=e.Oa(),n){case "stroke-color":h.strokeColor=x(e);break;case "fill-color":h.fillColor=x(e);break;default:Object(ua.h)("unrecognised font child: "+n)}e.Za();return h}function w(e,f){var h=e.ba("page");f=f(1+Number(h));h={page:h,rect:Ba.Annotations.ma.jy(e.ba("rect"),f)};for(e.Ia();e.advance();){var n=
e.Oa();switch(n){case "apref":Object(ra.a)(e,h,f);break;default:Object(ua.h)("unrecognised custom tag: "+n)}}e.Za();return new Ba.Annotations.Zr(h)}function n(e){return{value:e.ba("value"),displayValue:e.ba("display-value")||void 0}}function ea(e){var f=[];for(e.Ia();e.advance();){var h=e.Oa();switch(h){case "option":f.push(n(e));break;default:Object(ua.h)("unrecognised options child: "+h)}}e.Za();return f}function ia(f,h){var n={number:f.ba("number")};for(f.Ia();f.advance();){var r=f.Oa();switch(r){case "actions":n.actions=
e(f,["O","C"],h);break;case "viewport":break;default:Object(ua.h)("unrecognised page child: "+r)}}f.Za();return n}h.d(ca,"a",function(){return fa});var ka=h(0);h.n(ka);var oa=h(30),ma=h(8),la=h(2),ja=h(94),ua=h(1),ra=h(81),na=h(22),Ba=window},function(ha,ca,h){var ba=h(10);ca.a=function(){return function(h,fa){this.Da=h;this.N=fa;this.Da=h;this.N=fa;this.N.on(ba.d.aV,function(aa){aa=h.Ql(aa);var z=h.Yb().filter(function(h){return h.IsHovering});z.forEach(function(h){h.IsHovering=!1});aa&&aa.Listable&&
aa.IsHoverable&&(aa.IsHovering=!0,z.push(aa));h.Ne(z)})}}()},function(ha,ca,h){var ba=h(26),aa=h(10);ca.a=function(){return function(h,da){this.Da=h;this.N=da;this.Da=h;this.N=da;this.N.on(aa.c.PAGE_COMPLETE,function(z){Object(ba.f)("multiply")&&h.Yb().some(function(h){return h.PageNumber===z&&h.BlendMode})&&h.ld(z)})}}()},function(ha,ca){ha=function(){function h(h){this.Da=h;this.Oo=[];this.Da=h}h.prototype.lj=function(h){this.Dx(h)||this.Oo.push(h)};h.prototype.Jl=function(h){this.Oo=this.Oo.filter(function(aa){return aa!==
h})};h.prototype.hy=function(h){var aa=this;h.forEach(function(h){return aa.Jl(h)})};h.prototype.be=function(){this.Oo=[]};h.prototype.Dx=function(h){for(var aa=0;aa<this.Oo.length;aa++)if(h===this.Oo[aa])return!0;return!1};h.prototype.fe=function(){return this.Oo.slice()};return h}();ca.a=ha},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(274),fa=h(182),da=function(){function h(h){this.rows=h.rows;this.wo=h.wo;this.Sk=h.Sk;this.oe=h.oe;this.Yq=h.Yq;this.Sj=h.Sj;this.aa=h.aa;this.ij=h.ij;h=this.rows;
this.width=this.Sj.reduce(function(f,e){return f+e},2*this.Sk*this.wo);this.height=h.reduce(function(f,e){return f+e.Ca()},this.rows.length*this.Sk*2)}h.prototype.yc=function(){return this.aa};h.prototype.Fa=function(){return this.width};h.prototype.Ca=function(){return this.height};h.prototype.wO=function(h){return this.rows[h]};return h}();ca.a=function(h){var y=h.Nba,f=h.Sk,e={width:0,height:0},x={width:0,height:0};y&&0<y.length&&(e={width:y[0].width,height:y[0].height,zoom:y[0].zoom},x={width:y[y.length-
1].width,height:y[y.length-1].height,zoom:y[y.length-1].zoom});var r=h.Kaa||0,w=[],n;for(n=0;n<r;++n)w.push(fa.a.BM(n,e));w=w.concat(y.map(function(e){return new fa.a(e.id,e)}));var z=h.wo;z>w.length&&(z=w.length);y=h.oe||0;e=Math.ceil(w.length/h.wo);Object(ba.isUndefined)(h.Yq)||(e=h.Yq<e?h.Yq:e);var ia=Array(z);r=w.reduce(function(e,f,h){if(0===e.length){var n=[];e.push(n)}else n=e[e.length-1];n.length===z&&(n=[],e.push(n));n.push(f);if(h===w.length-1&&(f=z-n.length,0<f))for(var r=0;r<f;++r)n.push(fa.a.BM(h+
r+1,x));return e},[]).slice(y,y+e).map(function(e,f){e=new aa.a(f,e);e.yc().forEach(function(e,f){ia[f]=ia[f]?e.NE()>ia[f]?e.NE():ia[f]:e.NE()});return e});return new da({rows:r,Sk:f,wo:z,oe:y,Yq:e,Sj:ia,aa:w,ij:h.ij})}},function(ha,ca){ha=function(){function h(h,aa){this.aa=aa;this.index=h;this.height=aa.reduce(function(h,aa){return aa.Ca()>h?aa.Ca():h},0);this.width=aa.reduce(function(h,aa){return h+aa.Fa()},0)}h.prototype.yc=function(){return this.aa};h.prototype.Ca=function(){return this.height};
h.prototype.Fa=function(){return this.width};h.prototype.getIndex=function(){return this.index};h.prototype.RF=function(h){var aa=h.yc();return this.aa.length!==h.yc().length||this.aa.some(function(h,da){return h.RF(aa[da])})};h.prototype.c5=function(h){var aa=h.yc();return this.aa.length===h.yc().length&&this.aa.every(function(h,da){return h.b5(aa[da])})};return h}();ca.a=ha},function(ha,ca,h){function ba(e,f,h){if(f)for(f=e-1;0<=f;--f)h(f);else for(f=0;f<e;++f)h(f)}function aa(e,f,h){var n=document.createElement("div");
n.id="pageContainer"+e.Ac;2===h?0===f?n.style.marginLeft="auto":1===f&&(n.style.marginRight="auto"):(n.style.marginLeft="auto",n.style.marginRight="auto");n.className="pageContainer";return n}function fa(e,f,h){var n=document.createElement("div");n.id="pageSection"+e.Ac;n.style.cssFloat="left";n.style.position="relative";n.className="pageSection";n.appendChild(aa(e,f,h));return n}function da(e,f,h){var n=document.createDocumentFragment(),r=e.yc();ba(r.length,h,function(e){n.appendChild(fa(r[e],e,
f))});e=document.createElement("div");e.style.clear="both";n.appendChild(e);return n}function z(e,f){if(f.Vd){var h=f.Vd,r=parseFloat(h.style.width),w=parseFloat(h.style.height),x=parseFloat(e.style.width)/r,y=h.id;if(y&&0<=y.indexOf("hrthumb")){y=f.rotation;if(y===n.c.E_90||y===n.c.E_270)x=parseFloat(e.style.width)/w;var z=f.zoom;y=f.rotation;var aa=f.width*z;f=f.height*z;z=null;y===n.c.E_90||y===n.c.E_270?(z="rotate("+90*y+"deg)",z=y===n.c.E_90?" translate("+aa+"px, 0)  "+z:" translate(0,"+f+"px)  "+
z,Object(ea.b)(h,{height:aa,width:f})):(y===n.c.E_180&&(z="translate("+aa+"px,"+f+"px) scale(-1,-1)"),Object(ea.b)(h,{width:aa,height:f}));null!==z&&Object(ea.b)(h,{position:"absolute",transform:z,transformOrigin:"top left","ms-transform":z,"ms-transform-origin":"top left","-moz-transform":z,"-moz-transform-origin":"top left","-webkit-transform-origin":"top left","-webkit-transform":z,"-o-transform":z,"-o-transform-origin":"top left"})}Object(ea.b)(h,{top:parseFloat(h.style.top)*x,width:r*x,height:w*
x});e.appendChild(h)}}function y(e,f,h){var n=Math.floor(f.Ca())+"px";e.style.width=Math.floor(f.Fa())+"px";e.style.height=n;e.style.top=Math.floor(h-f.Ca())/2+"px";for([].forEach.call(e.querySelectorAll("canvas"),function(e){Object(ia.a)().Kn(e)});e.firstChild;)e.removeChild(e.firstChild);z(e,f)}function f(e,f,h,n,r,w){var x=f.yc(),z=e;ba(x.length,r,function(e){if(!z)throw Error("Tried to update non-existent page section");var r=z,aa=x[e],ea=f.Ca();r.style.width=Math.floor(h[e])+"px";r.style.height=
Math.floor(ea)+"px";r.style.margin=n+"px";w||y(r.firstChild,aa,ea);z=z.nextSibling});return z=z.nextSibling}function e(e,f,h){var n=f.yc(),r=e;ba(n.length,h,function(e){if(!r)throw Error("Tried to skip non-existent page section");z(r.firstChild,n[e]);r=r.nextSibling});return r=r.nextSibling}function x(e){for(e=e.querySelector(".pageContainer");e&&e.firstChild;)e.removeChild(e.firstChild)}function r(e,f,h){var n=f.yc().length,r=e;x(r);f=document.createRange();ba(n,h,function(){if(!r)throw Error("Tried to remove non-existent page section");
r=r.nextSibling;x(r)});h=r.nextSibling;f.setStartBefore(e);f.setEndAfter(r);f.deleteContents();return h}var w=h(1),n=h(4),ea=h(13),ia=h(25),ka=function(){function h(e){this.Pj=[];this.state=e}h.prototype.qo=function(e,f,h){this.Pj.push({rG:e,args:{kj:f,k6:h}})};h.prototype.lY=function(e){var f=this,h=e.firstChild,n=[];e.style.width=Math.ceil(this.state.Fa())+"px";this.Pj.forEach(function(r){switch(r.rG){case "addRow":n=n.concat(r.args.kj.yc());h=f.BL(h,r.args,e);break;case "updateRow":n=n.concat(r.args.kj.yc());
h=f.Cba(h,r.args);break;case "updateColumns":h=f.uba(h,r.args);break;case "skipRow":h=f.Jaa(h,r.args);break;case "replaceRow":n=n.concat(r.args.kj.yc());h=f.e9(h,r.args,e);break;case "removeRow":h=f.VR(h,r.args);break;default:Object(w.h)("Unsupported layout change operation:",r.rG)}});if(h&&"selectionrect"!==h.id)throw Error("Nodes left after applying changes");return{AG:n.filter(function(e){return!e.kl}).map(function(e){return e.Ac})}};h.prototype.N2=function(){var e=[];this.Pj.forEach(function(f){switch(f.rG){case "updateRow":e=
e.concat(f.args.kj.yc())}});return e.filter(function(e){return!e.kl}).map(function(e){return e.Ac})};h.prototype.BL=function(e,h,n){h=h.kj;var r=da(h,this.state.Sj.length,this.state.ij);f(r.firstChild,h,this.state.Sj,this.state.Sk,this.state.ij);e?n.insertBefore(r,e):n.appendChild(r);return e};h.prototype.Cba=function(e,h){return f(e,h.kj,this.state.Sj,this.state.Sk,this.state.ij)};h.prototype.Jaa=function(f,h){return e(f,h.kj,this.state.ij)};h.prototype.e9=function(e,f,h){e=this.VR(e,f);return this.BL(e,
f,h)};h.prototype.VR=function(e,f){return r(e,f.k6,this.state.ij)};h.prototype.uba=function(e,h){return f(e,h.kj,this.state.Sj,this.state.Sk,this.state.ij,!0)};return h}();ca.a=function(e,f){var h=new ka(f);if(!e)return f.rows.forEach(function(e){h.qo("addRow",e,null)}),h;var n=e.rows;e=e.Sj;var r=f.Sj;var w=e.length===r.length?e.every(function(e,f){return e===r[f]}):!1;f=f.rows;f.forEach(function(e){var f=n[e.getIndex()];f?f.c5(e)?f.RF(e)?h.qo("updateRow",e,f):w?h.qo("skipRow",e,f):h.qo("updateColumns",
e,f):h.qo("replaceRow",e,f):h.qo("addRow",e,f)});if(f.length<n.length)for(f=f.length;f<n.length;++f)h.qo("removeRow",null,n[f]);return h}},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(25),da=h(277),z=h(196),y=h(30),f=h(4),e=h(26),x=h(35),r=h(7),w=h(10);ha=function(){function h(e){this.fU=!0;this.ku=this.BA=this.gT=this.og=!1;this.Ce=[];this.sd={};this.dl={};this.He=.5;this.N=e;this.O=null;this.yA=Promise.resolve();this.Fz=!1;this.hr=null;this.paused=!1;this.iG=null}h.prototype.init=function(){this.Xs();
this.O=this.N.getDocument()};h.prototype.ce=function(){this.ku=!0;this.Bv();return this.yA};h.prototype.Xs=function(){this.Bv();Object.keys(this.sd).forEach(this.zz.bind(this))};h.prototype.jZ=function(){Object.keys(this.sd).forEach(this.pP.bind(this))};h.prototype.Us=function(e){function f(f){Object.keys(f).forEach(function(n){if(-1<h.indexOf(n)){var r=e[n],w=f[n];w.Og&&(w.Og=r);delete f[n];f[r]=w}})}var h=Object.keys(e);f(this.sd);f(this.dl)};h.prototype.W$=function(){this.gT=!0};h.prototype.oP=
function(e){Object(aa.b)("RenderingManager","invalidateCachedPage "+e);var f=this.sd[e];f&&(f.canvas&&(Object(fa.a)().Kn(f.canvas),f.canvas=null),f.ke&&(f.ke.Fd(),f.ke=null),f.lf=null);this.Dr(e)};h.prototype.pP=function(e){if(e=this.sd[e])e.Rh=!1};h.prototype.zz=function(e){this.oP(e);this.pP(e)};h.prototype.Kx=function(e){var f=this.N,h=f.Mn()-1;e=f.ca.ve(e).Sa-1;f=f.gc();h=e-h;0>h&&(h-=.5);return f-Math.abs(h)};h.prototype.YE=function(e){return this.dl[e]||null};h.prototype.AL=function(e,f){var h=
this;if(this.Qd(e).gj)return Object(aa.b)("RenderingManager","addRenderRequest Already Rendering "+e),this.YE(e);Object(aa.b)("RenderingManager","addRenderRequest Start New "+e);var n=new da.a(this,e);this.Dr(e);f=h.gT&&f?f.then(function(){if(!h.BA)return h.XR(e,function(){})}):this.XR(e,function(){});n.render(f);return this.dl[e]=n};h.prototype.P1=function(){var e=this;return Object.keys(this.sd).reduce(function(f,h){return f+e.Qd(h).Rt()},0)};h.prototype.YX=function(e,f){for(var h=this.Qd(f),n=
this,r=Object.keys(this.sd).sort(function(e,f){return n.Kx(e)-n.Kx(f)}),w=this.P1(),y=h.Rt(e)+w,z=Object(x.a)("CANVAS_CACHE_SIZE"),ea=0;y>z&&ea<r.length;)y-=this.Qd(r[ea]).Rt(),++ea;if(y<z){for(f=0;f<ea;++f)this.oP(r[f]);h.canvas=e}else Object(aa.h)("Could not fit "+f+" with size "+h.Rt(e)+" into cache of size "+w+" with max size "+z)};h.prototype.Qd=function(e){if(this.N.ca.TF(e)){this.sd[e]=this.sd[e]||new z.a(this.N.ca.ve(e));var f=this.N.ca.ve(e);this.sd[e].update(f);return this.sd[e]}return this.sd[e]?
this.sd[e]:new z.a({})};h.prototype.$ba=function(e){this.zz(e)};h.prototype.pu=function(e){return!!this.Qd(e).canvas};h.prototype.pause=function(){this.paused=!0};h.prototype.resume=function(){this.paused=!1;var e=this.sd;Object.keys(e).forEach(function(f){f=e[f];f.ke&&(f.ke.paused=!1,f.ke.resume&&f.ke.resume())})};h.prototype.Kr=function(e){this.Ce=e||this.N.sa.Te().map(function(e){return e-1})};h.prototype.rY=function(e){var f=this;return e.some(function(e){return-1===f.Ce.indexOf(e)})||f.Ce.some(function(f){return-1===
e.indexOf(f)})};h.prototype.e3=function(){var e=this;return Object.keys(this.sd).map(function(f){return{id:f,page:e.sd[f]}}).filter(function(e){return e.page.Rh}).map(function(f){return e.N.ca.ve(f.id).Sa-1})};h.prototype.YM=function(f){var h=this.N.ca.eg(f-1),n=this.Qd(h);if(this.og){h=n.ac;if(n.gj||!n.Rh||!h)return!0;n=this.N.sa;var r=this.He/2;return(f=n.Vn(f,n.jz(r,r)))&&!Object(e.a)(h,f.ac)}return!n.gj&&!n.Rh};h.prototype.SO=function(e){for(var f=[],h=[],n=e.length,r=0;r<n;++r){var w=e[r];this.YM(w+
1)?h.push(w):f.push(w)}return{GQ:f,AG:h}};h.prototype.nF=function(){var e=this;return e.ku?[]:e.N.sa.Te(e.He,e.He).some(function(f){return e.YM(f)})};h.prototype.bZ=function(){!this.hr&&this.nF()&&(Object(aa.b)("RenderingManager","checkRenderView passed"),this.RM())};h.prototype.RM=function(){var e=this;this.hr||(this.hr=setTimeout(function(){e.hr=null;var f=e.N.sa.Te(e.He,e.He).map(function(e){return e-1});Object(aa.b)("RenderingManager","delayedRenderView stop renders except "+f);e.Bv(f);e.Fz||
(e.yA=e.yA.then(function(){return e.YR()}).catch(function(f){Object(aa.e)(f);e.yA=Promise.resolve()}))},80))};h.prototype.s7=function(e){var f=this;return Promise.resolve().then(function(){var h=f.N.ca.ve(e).Sa,n=f.Qd(e);if(!n.canvas)throw Error("Tried to place uncached page from cache "+e);n.Rh=!0;f.N.Fx(n.canvas,h);f.Kl(h,n);f.N.trigger(w.c.PAGE_COMPLETE,[h,n.canvas])})};h.prototype.Tn=function(e){var f=this;return new Promise(function(h){var n=f.Qd(e),r=f.N.ca.ve(e).Sa;n.Fr||f.N.Z3(r)?h():n.Fr=
f.O.gG(r,function(h){f.Qd(e).Fr=null;var n=-1!==f.Ce.indexOf(r-1);f.N.TL(h,r,n,!1)},f.O.mz()?"embedded":null)})};h.prototype.r2=function(e){var h=this;return new Promise(function(n){var r=h.Qd(e),w=h.N.ca.ve(e).Sa;if(r.Zn||h.N.U3(w))n();else{var x=Object(y.e)(),z=r.width,aa=r.height,ea=z>aa?2E3/z:2E3/aa;ea/=x;r.Zn=h.O.yu({pageNumber:w,getZoom:function(){return ea},getPageRotation:function(){return f.c.E_0},drawComplete:function(e){h.O.Gl(r.Zn);r.Zn=null;var f=-1!==h.Ce.indexOf(w-1);h.N.TL(e,w,f,!0);
n()},useProgress:!1,isInternalRender:!0,xP:!0})}})};h.prototype.YR=function(){var f=this;return this.ku?Promise.resolve():Promise.resolve().then(function(){var h=f.N.sa.Te(f.He,f.He).map(function(e){return e-1});Object(e.m)(h,f.O.Sy());var n=f.SO(h);f.Bv(h);f.UR(n.GQ);f.Fz=!0;f.N.trigger(w.c.BEGIN_RENDERING);var r=Promise.resolve();!f.O.qk()&&Object(fa.a)().useCache||h.forEach(function(e){e=f.N.ca.eg(e);f.Tn(e)});f.BA=!1;return Promise.all(n.AG.map(function(e){e=f.N.ca.eg(e);return f.pu(e)&&!f.og?
f.s7(e):r=f.AL(e,r).WE()}))}).then(function(){f.BA=!1;f.Fz=!1;var e=f.nF();f.N.trigger(w.c.FINISHED_RENDERING,e);if(!f.ku)return new Promise(function(e,h){window.requestAnimationFrame(function(){try{var n=void 0;if(f.nF())return Object(aa.b)("RenderingManager","still has pages to render"),n=f.YR(),e(n);f.Y4()&&(Object(aa.b)("RenderingManager","Begin Prerendering"),f.w7());e()}catch(la){h(la)}})})}).catch(function(e){f.Fz=!1;Object(aa.e)(e);throw e;})};h.prototype.Y4=function(){var e=Object(x.a)("maxPagesBefore"),
f=Object(x.a)("maxPagesAhead");return Object(fa.a)().useCache&&(0!==e||0!==f)};h.prototype.NY=function(){var e=this;if(e.N.getDocument())return Object(ba.range)(e.N.gc()).map(function(f){return e.N.ca.eg(f)}).sort(function(f,h){return e.Kx(h)-e.Kx(f)})};h.prototype.gM=function(){var e=this,f=Object(ba.min)(e.Ce),h=Object(ba.max)(e.Ce),n=f-Object(x.a)("maxPagesBefore"),r=h+Object(x.a)("maxPagesAhead");if(e.N.getDocument()){f=this.NY().filter(function(f){f=e.N.ca.ve(f).Sa-1;return n<f&&r>f});if(e.og)return[f[0]];
h=[];for(var w=f.length,y=0,z=0;z<w;++z){var aa=e.Qd(f[z]);y+=aa.Rt(!0);if(y<Object(x.a)("CANVAS_CACHE_SIZE"))h.push(f[z]);else break}return h}};h.prototype.PY=function(){var e=this;return e.ku?[]:e.gM().filter(function(f){return!e.Qd(f).isValid()})};h.prototype.w7=function(){var e=this;Promise.resolve().then(function(){return e.og?Promise.all(e.Ce.map(function(f){f=e.N.ca.eg(f);return e.r2(f)})):Promise.all(e.PY().map(function(f){return e.AL(f).WE()})).catch(function(e){Object(aa.e)("error pre-rendering - "+
e);throw e;})})};h.prototype.XR=function(e,f){f=f||function(){};var h=this;return new Promise(function(n){h.c9(e,function(e){!e||e.type&&"cancelled"!==e.type||Object(aa.h)(e);n()},f)})};h.prototype.UR=function(e){var f=this,h=this.gM();e||(e=f.N.sa.Te(f.He,f.He).map(function(e){return e-1}),e=f.SO(e).GQ);e&&e.length&&(e=e.map(function(e){return f.N.ca.eg(e)}),h=h.concat(e));Object.keys(this.sd).forEach(function(e){var n=f.Qd(e);if(f.N.ca.TF(e)){var r=f.N.ca.ve(e).Sa;Object(fa.a)().useCache?-1===h.indexOf(e)&&
(f.XT(e),n.Rh&&(f.N.Z8(r),n.Rh=!1)):(r=-1!==f.Ce.indexOf(r-1),!n.Rh&&!n.dD||r||(n.dD=!1,n.Rh=!1,f.XT(e)))}})};h.prototype.c9=function(e,f,h){var n=this,x=this.Qd(e),y;f=f||function(){};h=h||function(){};if(x.gj)Object(aa.h)("renderPage: Another request for page ID",e),f("renderPage: Another request for page ID "+e);else{var z=n.N.ca.ve(e);Object(aa.b)("render","Render Page "+z.Sa);var ea=z.zoom,ia=z.rotation;if(n.O!==n.N.getDocument())f("Document changed");else{var da=!0,ka=!1,ca=n.N.sa.xq(z.Sa);
if(n.og||ca&&ca.viewportRender){ca=n.N.sa;var ha=ca.Vn(z.Sa,ca.jz(n.He,n.He));if(null===ha){f("Page "+z.Sa+" no longer visible");return}ha&&ha.ac&&(ca=ha.ac,ha.ac.rect=[ca.ha,ca.ea,ca.ia,ca.fa],x.j6=x.ac,x.ac=ha.ac)}this.iG=window.setTimeout(function(){var e=document.getElementById("pageContainer"+z.Sa);e&&e.classList.add("loading")},300);var va=function(e,f){try{var h=n.N.ca.ve(e)}catch(Ha){Object(aa.c)(Ha),h=n.N.ca.ve(f)}return h};ca={pageNumber:this.N.ca.ve(e).Sa,getZoom:function(){var f=n.N.getDocument().hk(x.Sa-
1);return va(e,f).zoom},getPageRotation:function(){var f=n.N.getDocument().hk(x.Sa-1);return va(e,f).rotation},finishedLoading:function(h,r){if(n.O!==n.N.getDocument())return f(Error("Document changed")),!1;if(h)return Object(aa.h)("Error loading page "+e),f(Error("Error loading page "+e)),!1;da=null===x.ke;x.ke=r;n.paused&&x.ke.pause();return!0},acquireResources:function(){return da},resourcesLoaded:function(){if(n.O!==n.N.getDocument())return f(Error("Document changed")),!1;if(!1===x.gj)return!1;
var h=n.N.getDocument().hk(x.Sa-1);h=va(e,h);ea===h.zoom&&ia===h.rotation||n.Kl(h.Sa,x);return!0},drawComplete:function(h,r,ea){n.O!==n.N.getDocument()||Object(ba.isNull)(h)?f(Error("Document or zoom changed while rendering")):(z=va(e,y),x.gj=!1,x.Rh=!!ka,x.lf=ea,x.ac=ha?ha.ac:null,ka&&n.N.trigger(w.c.PAGE_COMPLETE,[r,h]),Object(fa.a)().useCache&&!n.og&&n.N.ca.TF(z.id)&&n.YX(h,z.id),n.O.Gl(x.request),clearTimeout(n.iG),(h=document.getElementById("pageContainer"+z.Sa))&&h.classList.remove("loading"),
r=-1!==n.Ce.indexOf(r-1),n.O.io()&&r&&n.Kl(z.Sa,x),Object(aa.b)("render","Completed Page "+z.Sa),f())},drawProgressive:function(r,x){if(n.O!==n.N.getDocument())f(Error("Document changed"));else{y=e;x&&(e=x);var z=va(e,y);x=z.Sa-1;ea===z.zoom?(Object(ba.isUndefined)(ha)||(r.style.top=ha.gB.y+"px",r.style.left=ha.gB.x+"px"),ka=!!n.N.Fx(r,z.Sa)):Object(aa.c)("zoom changed while rendering page "+x);(z=document.getElementById("pageContainer"+z.Sa))&&z.classList.remove("loading");n.N.trigger(w.d.qV,[x,
r]);h(x)}},getPageTransform:function(){return n.N.sa.xq(z.Sa)},onError:function(e){f(e)},useProgress:!n.og&&Object(r.b)(),renderRect:Object(ba.isUndefined)(ha)?void 0:ha.ac,isInternalRender:!0};x.request=-1;x.gj=!0;x.request=n.O.yu(ca);n.Kl(z.Sa,x)}}};h.prototype.Kl=function(e,f){var h=Date.now();this.N.Kl(e);f.dD=!0;Object(aa.b)("render","Auxiliary Render Took "+(Date.now()-h))};h.prototype.AZ=function(){for(var e=[],f=0;f<this.N.gc();++f){var h=this.N.ca.eg(f);e.push(h)}this.WT(e);this.Bv()};h.prototype.WT=
function(e){var f=this;Object.keys(this.sd).forEach(function(h){if(-1===e.indexOf(h)){var n=f.dl[h];n&&(n.cancel(),n.VT(),delete f.dl[h]);delete f.sd[h]}else f.sd[h].Rh=!1})};h.prototype.wI=function(e){this.O&&((this.og=this.fU&&e>this.O.C2())&&1<Object(y.e)()?this.He=0:this.He=.5)};h.prototype.Bv=function(f){var h=this;Object(aa.b)("RenderingManager","stopCurrentRenders and keep "+f);var n={};if("undefined"!==typeof f&&(f.forEach(function(e){n[h.N.ca.eg(e)]=!0}),this.og&&1===f.length&&void 0!==f[0])){var r=
f[0];f=this.N.ca.eg(r);if(f=this.Qd(f).ac){var w=this.N.Sl(),x=this.He/2;if(r=w.Vn(r+1,w.jz(x,x)))r=Object(e.c)(r.ac,f),.7>(r.ia-r.ha)*(r.fa-r.ea)/((f.ia-f.ha)*(f.fa-f.ea))&&(n={})}}var y={};Object.keys(this.dl).forEach(function(e){e in n&&Object(fa.a)().useCache?y[e]=h.dl[e]:h.Dr(e)});this.dl=y;this.BA=!0;clearTimeout(this.hr);this.hr=null};h.prototype.Dr=function(e){var f=this.YE(e);clearTimeout(this.iG);if(f){if(this.Qd(e).gj){var h=this.N.ca.ve(e).Sa;if(h=document.getElementById("pageContainer"+
h)){var n=h.querySelector(".progressive");n&&h.removeChild(n)}Object(aa.b)("RenderingManager","Cancelled page "+this.N.ca.ve(e).Sa)}f.cancel();Object(aa.b)("RenderingManager","Clearing "+this.N.ca.ve(e).Sa)}};h.prototype.XT=function(e){(e=this.YE(e))&&e.VT()};h.prototype.XH=function(e){this.fU=!!e;this.wI()};h.prototype.OS=function(){};return h}();ca.a=ha},function(ha,ca){ha=function(){function h(h,aa){this.bb=h;this.Og=aa;this.QG=window.createPromiseCapability()}h.prototype.cancel=function(){var h=
this.bb.Qd(this.Og);try{if(h.gj){h.ke&&(h.ke.kM(),h.ke.abort&&h.ke.abort());if(h.request)try{this.bb.O.Nj(h.request),h.ac=h.j6}finally{h.request=null,h.ke=null}if(h.Fr)try{this.bb.O.zg(h.Fr)}finally{h.Fr=null}if(h.Zn)try{this.bb.O.Nj(h.Zn)}finally{h.Zn=null}}}finally{h.gj=!1,h.fT=!0,this.QG.resolve("canceled")}};h.prototype.VT=function(){this.cancel();var h=this.bb.Qd(this.Og);h.ke&&(h.ke.Fd(void 0,this.bb.N.ca.ve(this.Og).Sa-1),h.ke=null)};h.prototype.render=function(h){var aa=this;h.then(function(){aa.QG.resolve("complete")})};
h.prototype.WE=function(){return this.QG.promise};return h}();ca.a=ha},function(ha,ca,h){var ba=h(0);h.n(ba);ha=function(){function h(h,aa){this.handlers=h;this.state=Object(ba.isUndefined)(aa)?null:aa;this.Pj=[];this.UG=!0}h.prototype.Jk=function(h){this.Pj.push(h)};h.prototype.hT=function(){return 0<this.Pj.length};h.prototype.eT=function(){return this.UG||0<this.Pj.length};h.prototype.read=function(){this.state=this.handlers.read(this.state);this.UG=!1};h.prototype.write=function(){var h=this.Pj;
this.handlers.consolidateChanges&&(h=this.handlers.consolidateChanges(h));this.Pj=[];this.state=this.handlers.write(this.state,h);this.UG=!0};return h}();ca.a=ha},function(ha,ca,h){var ba=h(3);ha=h(280);var aa=h(129),fa=h(177);h=function(h){function z(y){var f=h.call(this)||this;f.index=0;f.data={functions:[],$f:[],done:!1};f.kd=[];f.Pea=[];f.wt=new aa.a(y);f.ya=y;return f}Object(ba.c)(z,h);z.prototype.EM=function(h){return new fa.a(this.ya,h)};z.prototype.clone=function(){var h=new z(this.ya);h.data=
this.data;h.index=0;return h};z.prototype.mg=function(h,f){var e=this.data.functions[this.index];this.index++;-1===this.kd.indexOf(h)&&this.kd.push(h);return e?(this.wt.kr(e,h,f),!1):!0};return z}(ha.a);ca.a=h},function(ha,ca,h){var ba=h(178),aa=h(110);ha=function(){function h(){this.index=0;this.data={functions:[],$f:[],done:!1};this.kd=[]}h.prototype.clone=function(){var aa=new h;aa.data=this.data;aa.index=0;return aa};h.prototype.cancel=function(){for(var h=0;h<this.kd.length;h++){for(var z=0;z<
this.kd[h].No;z++)this.kd[h].restore();this.kd[h].No=0}this.kd=[];this.Ky&&this.Ky.cancel()};h.prototype.EM=function(h){return new ba.a(h)};h.prototype.generate=function(h,z){function y(){f.Ky.generate(function(e){e?(f.data.functions=f.data.functions.concat(e),aa.a.setImmediate(y)):(f.data.done=!0,f.Ky=null,z());e=f.data.$f.length;if(0<e){for(var h=0;h<e;++h)f.data.$f[h]();f.data.$f=[]}})}this.data.done=!1;var f=this;this.Ky=this.EM(h);f.data.functions=[];y();this.index=0};h.prototype.$q=function(){var h=
this;return new Promise(function(z){h.data.done||h.index<h.data.functions.length?z():h.data.$f.push(z)})};h.prototype.mg=function(h,z,y){-1===this.kd.indexOf(h)&&this.kd.push(h);if(this.index<this.data.functions.length){y=Date.now()+y;var f=this.data.functions[this.index];do++this.index,f(h,z),f=this.data.functions[this.index];while(f&&y>Date.now());return!1}return!0};return h}();ca.a=ha},function(ha,ca){ca.a=function(){window._indexedDB=window._indexedDB||window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||
window.msIndexedDB;window._IDBTransaction=window._IDBTransaction||window.IDBTransaction||window.webkitIDBTransaction;window._IDBTransaction&&!window._IDBTransaction.dJ&&(window._IDBTransaction.dJ="readwrite")}},function(ha,ca,h){var ba=h(0);h.n(ba);ha=h(36);var aa=h(129),fa=h(44),da=h(102),z=function(){return function(e,f){this.Ac=e;this.vb={};this.ec=null;this.lb=f}}(),y=function(){function e(){}e.prototype.sE=function(e){var f=this;this.functions=[];e.forEach(function(e){f.functions.push(new Function("c",
"t",e))});this.index=0};e.prototype.mg=function(e,f,h){var n=this.functions[this.index];h&&this.index++;return n?(n(e,f),!1):!0};e.prototype.clone=function(){var f=new e;f.functions=this.functions;f.index=0;return f};e.prototype.$q=function(){return Promise.resolve()};e.prototype.cancel=function(){};return e}(),f=function(){function e(e){this.index=0;this.data={functions:e,$f:[],done:!1};this.wt=new aa.a(0)}e.prototype.sE=function(e){var f=this;this.functions=[];e.forEach(function(e){f.functions.push(new Function("c",
"t",e))});this.index=0};e.prototype.mg=function(e,f,h){var n=this.data.functions[this.index];h&&this.index++;return n?(this.wt.kr(n,e,f),!1):!0};e.prototype.clone=function(){var f=new e(this.data.functions);f.index=0;return f};e.prototype.$q=function(){return Promise.resolve()};e.prototype.cancel=function(){};return e}();h=function(){function e(e){this.Zz=!1;this.hc=[];this.Kv={};this.Hx={};this.cy={};this.Jy=[];this.Nl={};this.vb={};this.Hf=e}e.prototype.dF=function(e,h){e+=1;if(e in this.hc){e=
this.hc[e];var r=Object.assign({},e);if(!e.ec){var n=null;e.bm?(n=new y,n.sE(e.bm)):e.$s&&(n=new f(e.$s));e.ec=n}r.ec=e.ec.clone();h(null,r)}else h(Error("The page "+e+" does not exist yet."))};e.prototype.TE=function(e,h,w){var n=this;e+=1;if(e in this.hc){e=this.hc[e];var r=Object.assign({},e);e.ec||(h=null,e.bm?(h=new y,h.sE(e.bm)):e.$s&&(h=new f(e.$s)),e.ec=h);r.ec=e.ec.clone();r.vb=Object(ba.cloneDeep)(r.vb);Object.keys(r.vb).forEach(function(e){var f=r.vb[e];if("jpg"===f.type)r.vb[e].data=Object(da.d)(f.data.type,
f.data.data);else{if(fa.a.q1){var h=Object(da.d)(f.data.type,f.data.data);h=new fa.a.FontFace(f.name,"","sfnt",h)}else{h="";for(var w=new Uint8Array(f.data.data),x=w.byteLength,y=0;y<x;y++)h+=String.fromCharCode(w[y]);h=new fa.a.FontFace(f.name,h,"sfnt",void 0)}n.Hf.PF(f.name)||h.insert();r.vb[e].data=h}});w(null,r)}else w(Error("The page "+e+" does not exist yet."))};e.prototype.TX=function(e){var f=this,h=e.meta.page,n=new z(h,this),x=e.img,y=e.text_structure,aa={},da={};Object.keys(x).forEach(function(e){x[e]&&
x[e].data?(da={data:x[e],type:"jpg",name:e},aa[e]=da,f.vb[e]=da):aa[e]=f.vb[e]});var ba=e.embeddedFonts;Object.keys(ba).forEach(function(e){var h=ba[e];h&&h.data?(da={data:h,type:"font",name:e},aa[e]=da,f.vb[e]=da):aa[e]=f.vb[e]});n.bm=e.js;if(e.arguments){var fa=e.arguments;e=e.commands;n.$s=[];for(var ja=0;ja<e.length;ja++)n.$s.push({operators:e[ja],data:fa[ja]})}n.vb=aa;n.text=y;this.hc[h]=n};e.prototype.kD=function(){};return e}();Object(ha.b)(h);ca.a=h},function(ha,ca,h){function ba(){return null}
var aa=h(3);ca.a=function(h,da){var z=da.n6,y=void 0===z?ba:z,f=da.getState;return function(e){function h(){for(var h=[],w=0;w<arguments.length;w++)h[w]=arguments[w];h=e.apply(this,h)||this;h.iW=new Map;h.GJ=y;h.hW=f;return h}Object(aa.c)(h,e);h.prototype.getState=function(){return Object(aa.b)(this,void 0,void 0,function(){return Object(aa.d)(this,function(e){switch(e.label){case 0:return[4,this.hW(this)];case 1:return[2,e.la()]}})})};h.prototype.s9=function(e){"symbol"===typeof e?(e=this.iW.get(e))&&
this.GJ(this,e):this.GJ(this,e)};return h}(h)}},function(ha,ca,h){function ba(e){e=null==e?la:e;this.output="";null!=e.output?(this.output=e.output,this.write=this.writeToStream):this.output="";this.generator=null!=e.generator?e.generator:ma;this.expressionsPrecedence=null!=e.expressionsPrecedence?e.expressionsPrecedence:r;this.indent=null!=e.indent?e.indent:"  ";this.lineEnd=null!=e.lineEnd?e.lineEnd:"\n";this.indentLevel=null!=e.startingIndentLevel?e.startingIndentLevel:0;this.writeComments=e.comments?
e.comments:!1;null!=e.sourceMap&&(this.write=null==e.output?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=e.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split("\n").length-1,this.mapping={original:null,generated:this,name:void 0,source:e.sourceMap.file||e.sourceMap._file})}function aa(e,f){var h=e.generator;e.write("(");if(null!=f&&0<f.length){h[f[0].type](f[0],e);for(var n=f.length,r=1;r<n;r++){var w=f[r];e.write(", ");h[w.type](w,e)}}e.write(")")}function fa(e,f,
h,n){var r=e.expressionsPrecedence[f.type];if(17===r)return!0;e=e.expressionsPrecedence[h.type];return r!==e?!n&&15===r&&14===e&&"**"===h.operator||r<e:13!==r&&14!==r?!1:"**"===f.operator&&"**"===h.operator?!n:n?x[f.operator]<=x[h.operator]:x[f.operator]<x[h.operator]}function da(e,f,h,n){var r=e.generator;if(fa(e,f,h,n))e.write("("),r[f.type](f,e),e.write(")");else r[f.type](f,e)}function z(e,f,h,n){for(var r=f.length,w=0;w<r;w++){var x=f[w];e.write(h);"L"===x.type[0]?e.write("// "+x.value.trim()+
"\n",x):e.write(""+n)}}function y(e,f){var h=e.generator,n=f.declarations;e.write(f.kind+" ");f=n.length;if(0<f){h.VariableDeclarator(n[0],e);for(var r=1;r<f;r++)e.write(", "),h.VariableDeclarator(n[r],e)}}function f(e,f){f=new ba(f);f.generator[e.type](e,f);return f.output}h.d(ca,"a",function(){return f});var e=JSON.stringify;if(!String.prototype.repeat)throw Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");
var x={"||":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},r={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,
UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1},w,n,ea,ia,ka,oa,ma={Program:function(e,f){var h=f.indent.repeat(f.indentLevel),n=f.lineEnd,r=f.writeComments;r&&null!=e.comments&&z(f,e.comments,h,n);for(var w=e.body,x=w.length,y=0;y<x;y++){var aa=w[y];r&&null!=aa.comments&&z(f,aa.comments,h,n);f.write(h);this[aa.type](aa,f);f.write(n)}r&&null!=e.trailingComments&&z(f,e.trailingComments,h,
n)},BlockStatement:oa=function(e,f){var h=f.indent.repeat(f.indentLevel++),n=f.lineEnd,r=f.writeComments,w=h+f.indent;f.write("{");var x=e.body;if(null!=x&&0<x.length){f.write(n);r&&null!=e.comments&&z(f,e.comments,w,n);for(var y=x.length,aa=0;aa<y;aa++){var ea=x[aa];r&&null!=ea.comments&&z(f,ea.comments,w,n);f.write(w);this[ea.type](ea,f);f.write(n)}f.write(h)}else r&&null!=e.comments&&(f.write(n),z(f,e.comments,w,n),f.write(h));r&&null!=e.trailingComments&&z(f,e.trailingComments,w,n);f.write("}");
f.indentLevel--},ClassBody:oa,EmptyStatement:function(e,f){f.write(";")},ExpressionStatement:function(e,f){var h=f.expressionsPrecedence[e.expression.type];if(17===h||3===h&&"O"===e.expression.left.type[0])f.write("("),this[e.expression.type](e.expression,f),f.write(")");else this[e.expression.type](e.expression,f);f.write(";")},IfStatement:function(e,f){f.write("if (");this[e.test.type](e.test,f);f.write(") ");this[e.consequent.type](e.consequent,f);null!=e.alternate&&(f.write(" else "),this[e.alternate.type](e.alternate,
f))},LabeledStatement:function(e,f){this[e.label.type](e.label,f);f.write(": ");this[e.body.type](e.body,f)},BreakStatement:function(e,f){f.write("break");null!=e.label&&(f.write(" "),this[e.label.type](e.label,f));f.write(";")},ContinueStatement:function(e,f){f.write("continue");null!=e.label&&(f.write(" "),this[e.label.type](e.label,f));f.write(";")},WithStatement:function(e,f){f.write("with (");this[e.object.type](e.object,f);f.write(") ");this[e.body.type](e.body,f)},SwitchStatement:function(e,
f){var h=f.indent.repeat(f.indentLevel++),n=f.lineEnd,r=f.writeComments;f.indentLevel++;var w=h+f.indent,x=w+f.indent;f.write("switch (");this[e.discriminant.type](e.discriminant,f);f.write(") {"+n);e=e.cases;for(var y=e.length,aa=0;aa<y;aa++){var ea=e[aa];r&&null!=ea.comments&&z(f,ea.comments,w,n);ea.test?(f.write(w+"case "),this[ea.test.type](ea.test,f),f.write(":"+n)):f.write(w+"default:"+n);ea=ea.consequent;for(var ia=ea.length,da=0;da<ia;da++){var ba=ea[da];r&&null!=ba.comments&&z(f,ba.comments,
x,n);f.write(x);this[ba.type](ba,f);f.write(n)}}f.indentLevel-=2;f.write(h+"}")},ReturnStatement:function(e,f){f.write("return");e.argument&&(f.write(" "),this[e.argument.type](e.argument,f));f.write(";")},ThrowStatement:function(e,f){f.write("throw ");this[e.argument.type](e.argument,f);f.write(";")},TryStatement:function(e,f){f.write("try ");this[e.block.type](e.block,f);if(e.handler){var h=e.handler;null==h.param?f.write(" catch "):(f.write(" catch ("),this[h.param.type](h.param,f),f.write(") "));
this[h.body.type](h.body,f)}e.finalizer&&(f.write(" finally "),this[e.finalizer.type](e.finalizer,f))},WhileStatement:function(e,f){f.write("while (");this[e.test.type](e.test,f);f.write(") ");this[e.body.type](e.body,f)},DoWhileStatement:function(e,f){f.write("do ");this[e.body.type](e.body,f);f.write(" while (");this[e.test.type](e.test,f);f.write(");")},ForStatement:function(e,f){f.write("for (");if(null!=e.init){var h=e.init;if("V"===h.type[0])y(f,h);else this[h.type](h,f)}f.write("; ");if(e.test)this[e.test.type](e.test,
f);f.write("; ");if(e.update)this[e.update.type](e.update,f);f.write(") ");this[e.body.type](e.body,f)},ForInStatement:w=function(e,f){f.write("for "+(e.ZL?"await ":"")+"(");var h=e.left;if("V"===h.type[0])y(f,h);else this[h.type](h,f);f.write("I"===e.type[3]?" in ":" of ");this[e.right.type](e.right,f);f.write(") ");this[e.body.type](e.body,f)},ForOfStatement:w,DebuggerStatement:function(e,f){f.write("debugger;",e)},FunctionDeclaration:n=function(e,f){f.write((e.async?"async ":"")+(e.generator?"function* ":
"function ")+(e.id?e.id.name:""),e);aa(f,e.params);f.write(" ");this[e.body.type](e.body,f)},FunctionExpression:n,VariableDeclaration:function(e,f){y(f,e);f.write(";")},VariableDeclarator:function(e,f){this[e.id.type](e.id,f);null!=e.init&&(f.write(" = "),this[e.init.type](e.init,f))},ClassDeclaration:function(e,f){f.write("class "+(e.id?e.id.name+" ":""),e);if(e.superClass){f.write("extends ");var h=e.superClass,n=h.type,r=f.expressionsPrecedence[n];if("C"===n[0]&&"l"===n[1]&&"E"===n[5]||!(17===
r||r<f.expressionsPrecedence.ClassExpression))this[h.type](h,f);else f.write("("),this[e.superClass.type](h,f),f.write(")");f.write(" ")}this.ClassBody(e.body,f)},ImportDeclaration:function(e,f){f.write("import ");var h=e.specifiers,n=h.length,r=0;if(0<n){for(;r<n;){0<r&&f.write(", ");var w=h[r],x=w.type[6];if("D"===x)f.write(w.local.name,w),r++;else if("N"===x)f.write("* as "+w.local.name,w),r++;else break}if(r<n){for(f.write("{");;)if(w=h[r],x=w.imported.name,f.write(x,w),x!==w.local.name&&f.write(" as "+
w.local.name),++r<n)f.write(", ");else break;f.write("}")}f.write(" from ")}this.Literal(e.source,f);f.write(";")},ImportExpression:function(e,f){f.write("import(");this[e.source.type](e.source,f);f.write(")")},ExportDefaultDeclaration:function(e,f){f.write("export default ");this[e.declaration.type](e.declaration,f);null!=f.expressionsPrecedence[e.declaration.type]&&"F"!==e.declaration.type[0]&&f.write(";")},ExportNamedDeclaration:function(e,f){f.write("export ");if(e.declaration)this[e.declaration.type](e.declaration,
f);else{f.write("{");var h=e.specifiers,n=h.length;if(0<n)for(var r=0;;){var w=h[r],x=w.local.name;f.write(x,w);x!==w.exported.name&&f.write(" as "+w.exported.name);if(++r<n)f.write(", ");else break}f.write("}");e.source&&(f.write(" from "),this.Literal(e.source,f));f.write(";")}},ExportAllDeclaration:function(e,f){null!=e.exported?f.write("export * as "+e.exported.name+" from "):f.write("export * from ");this.Literal(e.source,f);f.write(";")},MethodDefinition:function(e,f){e.jI&&f.write("static ");
var h=e.kind[0];"g"!==h&&"s"!==h||f.write(e.kind+" ");e.value.async&&f.write("async ");e.value.generator&&f.write("*");if(e.computed)f.write("["),this[e.key.type](e.key,f),f.write("]");else this[e.key.type](e.key,f);aa(f,e.value.params);f.write(" ");this[e.value.body.type](e.value.body,f)},ClassExpression:function(e,f){this.ClassDeclaration(e,f)},ArrowFunctionExpression:function(e,f){f.write(e.async?"async ":"",e);var h=e.params;null!=h&&(1===h.length&&"I"===h[0].type[0]?f.write(h[0].name,h[0]):aa(f,
e.params));f.write(" => ");if("O"===e.body.type[0])f.write("("),this.ObjectExpression(e.body,f),f.write(")");else this[e.body.type](e.body,f)},ThisExpression:function(e,f){f.write("this",e)},Super:function(e,f){f.write("super",e)},RestElement:ea=function(e,f){f.write("...");this[e.argument.type](e.argument,f)},SpreadElement:ea,YieldExpression:function(e,f){f.write(e.delegate?"yield*":"yield");e.argument&&(f.write(" "),this[e.argument.type](e.argument,f))},AwaitExpression:function(e,f){f.write("await ",
e);da(f,e.argument,e)},TemplateLiteral:function(e,f){var h=e.quasis;e=e.expressions;f.write("`");for(var n=e.length,r=0;r<n;r++){var w=e[r],x=h[r];f.write(x.value.raw,x);f.write("${");this[w.type](w,f);f.write("}")}h=h[h.length-1];f.write(h.value.raw,h);f.write("`")},TemplateElement:function(e,f){f.write(e.value.raw,e)},TaggedTemplateExpression:function(e,f){this[e.tag.type](e.tag,f);this[e.quasi.type](e.quasi,f)},ArrayExpression:ka=function(e,f){f.write("[");if(0<e.elements.length){e=e.elements;
for(var h=e.length,n=0;;){var r=e[n];if(null!=r)this[r.type](r,f);if(++n<h)f.write(", ");else{null==r&&f.write(", ");break}}}f.write("]")},ArrayPattern:ka,ObjectExpression:function(e,f){var h=f.indent.repeat(f.indentLevel++),n=f.lineEnd,r=f.writeComments,w=h+f.indent;f.write("{");if(0<e.properties.length){f.write(n);r&&null!=e.comments&&z(f,e.comments,w,n);for(var x=","+n,y=e.properties,aa=y.length,ea=0;;){var ia=y[ea];r&&null!=ia.comments&&z(f,ia.comments,w,n);f.write(w);this[ia.type](ia,f);if(++ea<
aa)f.write(x);else break}f.write(n);r&&null!=e.trailingComments&&z(f,e.trailingComments,w,n);f.write(h+"}")}else r?null!=e.comments?(f.write(n),z(f,e.comments,w,n),null!=e.trailingComments&&z(f,e.trailingComments,w,n),f.write(h+"}")):null!=e.trailingComments?(f.write(n),z(f,e.trailingComments,w,n),f.write(h+"}")):f.write("}"):f.write("}");f.indentLevel--},Property:function(e,f){if(e.method||"i"!==e.kind[0])this.MethodDefinition(e,f);else{if(!e.shorthand){if(e.computed)f.write("["),this[e.key.type](e.key,
f),f.write("]");else this[e.key.type](e.key,f);f.write(": ")}this[e.value.type](e.value,f)}},ObjectPattern:function(e,f){f.write("{");if(0<e.properties.length){e=e.properties;for(var h=e.length,n=0;;)if(this[e[n].type](e[n],f),++n<h)f.write(", ");else break}f.write("}")},SequenceExpression:function(e,f){aa(f,e.expressions)},UnaryExpression:function(e,f){if(e.prefix){var h=e.operator,n=e.argument,r=e.argument.type;f.write(h);(e=fa(f,n,e))||!(1<h.length)&&("U"!==r[0]||"n"!==r[1]&&"p"!==r[1]||!n.prefix||
n.operator[0]!==h||"+"!==h&&"-"!==h)||f.write(" ");if(e)f.write(1<h.length?" (":"("),this[r](n,f),f.write(")");else this[r](n,f)}else this[e.argument.type](e.argument,f),f.write(e.operator)},UpdateExpression:function(e,f){e.prefix?(f.write(e.operator),this[e.argument.type](e.argument,f)):(this[e.argument.type](e.argument,f),f.write(e.operator))},AssignmentExpression:function(e,f){this[e.left.type](e.left,f);f.write(" "+e.operator+" ");this[e.right.type](e.right,f)},AssignmentPattern:function(e,f){this[e.left.type](e.left,
f);f.write(" = ");this[e.right.type](e.right,f)},BinaryExpression:ia=function(e,f){var h="in"===e.operator;h&&f.write("(");da(f,e.left,e,!1);f.write(" "+e.operator+" ");da(f,e.right,e,!0);h&&f.write(")")},LogicalExpression:ia,ConditionalExpression:function(e,f){var h=e.test,n=f.expressionsPrecedence[h.type];if(17===n||n<=f.expressionsPrecedence.ConditionalExpression)f.write("("),this[h.type](h,f),f.write(")");else this[h.type](h,f);f.write(" ? ");this[e.consequent.type](e.consequent,f);f.write(" : ");
this[e.alternate.type](e.alternate,f)},NewExpression:function(e,f){f.write("new ");var h=f.expressionsPrecedence[e.callee.type];if(!(h=17===h||h<f.expressionsPrecedence.CallExpression))a:{for(h=e.callee;null!=h;){var n=h.type;if("C"===n[0]&&"a"===n[1]){h=!0;break a}if("M"===n[0]&&"e"===n[1]&&"m"===n[2])h=h.object;else{h=!1;break a}}h=void 0}if(h)f.write("("),this[e.callee.type](e.callee,f),f.write(")");else this[e.callee.type](e.callee,f);aa(f,e.arguments)},CallExpression:function(e,f){var h=f.expressionsPrecedence[e.callee.type];
if(17===h||h<f.expressionsPrecedence.CallExpression)f.write("("),this[e.callee.type](e.callee,f),f.write(")");else this[e.callee.type](e.callee,f);e.optional&&f.write("?.");aa(f,e.arguments)},ChainExpression:function(e,f){this[e.expression.type](e.expression,f)},MemberExpression:function(e,f){var h=f.expressionsPrecedence[e.object.type];if(17===h||h<f.expressionsPrecedence.MemberExpression)f.write("("),this[e.object.type](e.object,f),f.write(")");else this[e.object.type](e.object,f);e.computed?(e.optional&&
f.write("?."),f.write("["),this[e.property.type](e.property,f),f.write("]")):(e.optional?f.write("?."):f.write("."),this[e.property.type](e.property,f))},MetaProperty:function(e,f){f.write(e.meta.name+"."+e.property.name,e)},Identifier:function(e,f){f.write(e.name,e)},Literal:function(f,h){null!=f.raw?h.write(f.raw,f):null!=f.regex?this.RegExpLiteral(f,h):null!=f.bigint?h.write(f.bigint+"n",f):h.write(e(f.value),f)},RegExpLiteral:function(e,f){var h=e.regex;f.write("/"+h.pattern+"/"+h.flags,e)}},
la={};ba.prototype.write=function(e){this.output+=e};ba.prototype.writeToStream=function(e){this.output.write(e)};ba.prototype.writeAndMap=function(e,f){this.output+=e;this.map(e,f)};ba.prototype.writeToStreamAndMap=function(e,f){this.output.write(e);this.map(e,f)};ba.prototype.map=function(e,f){if(null!=f){var h=f.type;if("L"===h[0]&&"n"===h[2]){this.column=0;this.line++;return}if(null!=f.loc){var n=this.mapping;n.original=f.loc.start;n.name=f.name;this.sourceMap.addMapping(n)}if("T"===h[0]&&"E"===
h[8]||"L"===h[0]&&"i"===h[1]&&"string"===typeof f.value){f=e.length;h=this.column;n=this.line;for(var r=0;r<f;r++)"\n"===e[r]?(h=0,n++):h++;this.column=h;this.line=n;return}}f=e.length;h=this.lineEnd;0<f&&(0<this.lineEndSize&&(1===h.length?e[f-1]===h:e.endsWith(h))?(this.line+=this.lineEndSize,this.column=0):this.column+=f)};ba.prototype.toString=function(){return this.output}},function(ha,ca,h){var ba=h(3),aa=h(28),fa=h(146),da=h(102),z=h(1),y=window;ha=function(){function f(e){this.wC={};this.cache=
new fa.a(y.aw,!1);this.ol={};this.Bs={};this.source=e}f.prototype.init=function(){return Object(ba.b)(this,void 0,void 0,function(){var e,f;return Object(ba.d)(this,function(h){switch(h.label){case 0:return e={cacheHint:aa.a.NO_HINT},f=this,[4,Object(aa.c)(aa.b.HttpPartRetriever,this.source,e)];case 1:return f.YK=h.la(),[2]}})})};f.prototype.pz=function(e){var f=this.ol[e.id],h=3<e.rotation?e.rotation/90:e.rotation;return f&&f.width===e.width&&f.height===e.height&&f.rotation===h};f.prototype.mD=function(e){this.Bs[e]&&
(this.Bs[e].tF(),this.$K(e))};f.prototype.clear=function(){this.cache.clear()};f.prototype.T6=function(e,f,h){return Object(ba.b)(this,void 0,Promise,function(){var r,n,x,y,z,aa=this;return Object(ba.d)(this,function(w){switch(w.label){case 0:return r={start:f,stop:f+h},[4,new Promise(function(f,h){return aa.YK.em(e,r,function(e,n){if(e)return h(e);f(n)})})];case 1:n=w.la();x=String.fromCharCode.apply(null,new Uint8Array(n));try{y=JSON.parse(x)}catch(la){throw Error("Optimization is not currently supported for encrypted PDF files.");
}z=y.thumbs;Object.keys(z).forEach(function(e){if(z.hasOwnProperty(e)){var f=z[e];aa.ol[f.page_objnum?f.page_objnum+"-0":parseInt(e,10)-1]={start:f.start,stop:f.start+f.size}}});return[2,y]}})})};f.prototype.Tn=function(e,f,h){var r=this,n=!1,x=this.WJ(e,f.width,f.height,f.rotation);f=this.dX(this.source,this.ol[e],x,e,function(e){var f=e.error,w=e.data;n=e.qh;r.$K(x);h(f,w)});n||(this.Bs[x]={qU:f.qU,tF:f.tF,Dd:e});return x};f.prototype.b9=function(e){var f=e.id;e=this.WJ(f,e.width,e.height,e.rotation);
this.ol[f]&&(delete this.ol[f],this.cache.removeItem(e))};f.prototype.x7=function(e){var f=20;void 0===f&&(f=20);var h=Object.keys(this.ol);f=h.length<=f?h.length:f;for(var w=0;w<f;w++){var n=e[h[w]];if(n){var y=Object.assign({},this.ol[n.id],{width:n.width,height:n.height,rotation:3<n.rotation?n.rotation/90:n.rotation});this.ol[n.id]=y;this.Tn(h[w],y,function(){})}else Object(z.g)("Page with id "+h[w]+" is not found.")}};f.prototype.SY=function(e,f){return(e=this.wC[e.id])?f<Math.max(e.h,e.w):!0};
f.prototype.WJ=function(e,f,h,w){return e+"_"+f+"_"+h+"_"+(3<w?w/90:w)};f.prototype.RW=function(e,f){if(!this.wC[e]){var h=new Image,w=this;h.onload=function(){w.wC[e]={w:h.width,h:h.height}};h.src=f}};f.prototype.dX=function(e,f,h,w,n){var r=this,x=this.cache.getItem(h);if(x)n({data:x.data,qh:!0,error:null});else{var y=function(e,f){n({error:e,data:f,qh:!1})};e=this.YK.em(e,f,function(e,n){if(e)y(e);else{var x=r.cache.getItem(h);x?n=x.data:(n=Object(da.c)("jpg",n),r.RW(w,n),r.cache.setItem({key:h,
data:n,size:f.stop-f.start,Ke:function(e){URL.revokeObjectURL(e.Qc)}}));y(e,n);return y}});return{qU:y,tF:e}}};f.prototype.$K=function(e){this.Bs[e]&&delete this.Bs[e]};return f}();ca.a=ha},function(ha,ca,h){function ba(){return Object(aa.b)(void 0,void 0,void 0,function(){return Object(aa.d)(this,function(){return[2]})})}h.d(ca,"a",function(){return ba});var aa=h(3)},function(ha,ca,h){var ba=h(7),aa=h(74),fa=h(288),da=h(175),z=h(191);ca.a=function(){ba.a.cv("xod",aa.b);ba.a.cv("blackbox",fa.a);ba.a.cv("office",
da.a);ba.a.cv("pdf",z.a)}},function(ha,ca,h){function ba(e,f,h){var n=f.split(".").slice(-2,-1)[0].split("_");return{AD:h,url:f,Qk:e,zA:(5<n.length?parseInt(n[5],10):1)/parseInt(n[0],10),tU:parseInt(n[1],10),wU:parseInt(n[2],10),sU:parseInt(n[3],10),vU:parseInt(n[4],10),getName:function(){return Object(la.d)("tile_"+f.substring(f.lastIndexOf("/")+1),h)},bN:function(e){var f=this.zA*this.Qk*this.sU,h=this.zA*this.Qk*this.vU,n=this.zA*this.tU,r=this.zA*this.wU,w=this.getName();e.Sba=!0;e.Z5=!0;e.a6=
!0;e.i4="high";e.wF=!0;window.ci[w]&&e.I(window.ci[w],0,0,this.tU,this.wU,f,h,n,r)}}}var aa=h(3),fa=h(0);h.n(fa);var da=h(1),z=h(28),y=h(74),f=h(116),e=h(64),x=h(69),r=h(53),w=h(38),n=h(77),ea=h(18),ia=h(23),ka=h(136),oa=h(7),ma=h(9),la=h(17),ja=h(199),ua=h(289),ra=h(184),na=h(55);h(35);var Ba=window,za=0,sa={Ha:!0},va={Le:!0,unloadResources:!0,zg:!0,yq:!0,It:!0,getFileData:!0,extractXFDF:!0,um:!0,Pl:!0,Ui:!0,dg:!0,Jg:!0,Zi:!0,Qh:!0,Qi:!0,Sh:!0,Bi:!0,Bg:!0,getLayersArray:!0,qm:!0,Zj:!0,getNewAppearanceDocument:!0,
getBookmarks:!0};ha=function(h){function ca(e){var f=h.call(this,e)||this;f.yg=[];f.Le={};f.Hc={};f.er={};f.a4=!1;f.Pi={};f.qf={};f.Bt={};f.ya=null;f.hc=[];f.Gr={};f.$h={};f.aa=[];f.page=[];f.Nd=null;f.zo={};f.Rv=window.createPromiseCapability();f.jA=window.createPromiseCapability();f.Rg=null;f.sA=[];f.et=null;f.Fv=!0;f.bB=!0;f.o5=0;f.$aa=1;f.Ks=null;f.cB=!1;f.ZM=!1;f.AA=[];f.ly=!1;f.uM=window.createPromiseCapability();f.Gp=null;f.XO=!1;f.lI=!1;f.gD=null;f.Po=!1;f.CK=!1;f.oW=[];f.Hf=new n.a.mw;f.xp=
f.Hf;f.id=e;f.Xu=f.aa;f.AD=za++;return f.lb=f}Object(aa.c)(ca,h);ca.prototype.b4=function(e){return e.PO().then(function(e){return Promise.resolve(!!e.url)})};ca.prototype.QZ=function(e){return e.i9()};ca.prototype.zg=function(e){2===this.$h[e]?(delete this.$h[e],this.Rj.zg(e)):this.$h[e]&&delete this.$h[e]};ca.prototype.loadThumbnailAsync=function(e,f){--e;if(!this.aa||this.aa.length<e)throw Error("Document is not initialized!");var h=this,n=h,r=null,w=h.hk(e);h.Gr[w]?r=Promise.resolve(h.Gr[w]):
this.Rj||(r=h.Nd.CA(e));if(r){var x=h.GM();n.$h[x]=1;r.then(function(e){var r=new Image;h.Gr[w]=e;r.onload=function(){URL.revokeObjectURL(e.url);n.$h[x]&&(f(r),delete n.$h[x]);r=r.onload=null};r.src=e.url})}else{h=this.Rj;r=h.aa[e];e=Object(na.b)({pageNumber:e+1,zoom:r.width>r.height?450/r.width:450/r.height,drawComplete:function(e){e.style.backgroundColor="white";n.$h[x]&&(h.Jr(x),f(e),delete n.$h[x])},pageCanvas:!0});var y=Object(na.c)(h.Gb(e.pageNumber),e);e.getZoom=function(){return y};x=h.loadCanvasAsync(e);
n.$h[x]=2}return x};ca.prototype.aI=function(){return!0===this.ly?!1:this.bB&&(ea.h||ea.j||!this.Fv||ea.m)};ca.prototype.UY=function(){return!ea.m||this.ly};ca.prototype.Ui=function(){return!this.ly};ca.prototype.cq=function(e){this.Po=e};ca.prototype.zT=function(e){function h(f){sa[f]&&(e[f]=x[f]);va[f]||("function"===typeof e[f]?(Object(da.b)("load","Redirected function name "+f),x[f]=w(f)):(Object(da.b)("load","Redirected property name "+f),Object.defineProperty(x,f,{get:n(f),set:r(f)})))}function n(e){return function(){return x.Rj[e]}}
function r(e){return function(f){x.Rj[e]=f}}function w(e){return function(){return x.Rj[e].apply(x.Rj,arguments)}}var x=this;if(null===e)return Object(da.b)("load","Not switching backends because the server gave us nothing to use"),!1;var z=this.aI();Object(da.b)("load","Switching backend XOD: "+z);var aa=z?y.b.prototype:f.a.prototype;this.cB=z;this.Xu=this.aa.slice();if(this.Rg&&this.cB&&(z=this.Rg.bg().ta().Yb())){this.sA=[];for(var ea=0;ea<z.length;++ea)this.sA.push(z[ea])}this.Rj=e;for(var ia in e)(e.hasOwnProperty(ia)||
aa.hasOwnProperty(ia))&&h(ia);this.kB();e.cA||(e.cA=e.Zu);e.Ha=this.Ha;e.Zu=function(f){"documentComplete"===f.type&&(x.lI=!0);if("pagesUpdated"===f.type){var h=f.data.pageDimensions,n=Object.keys(h);if(!x.CK){for(var r={},w=[],y=0,z=n.length;y<z;y++){var aa=n[y],ea=h[aa].id;r[parseInt(aa,10)-1]=ea;w.push(ea)}x.vh({type:"changePageIds",data:r});x.oW=w;x.CK=!0;x.Raa(r)}n.forEach(function(e){var f=parseInt(e,10)-1;e=h[e];e.id||(e.id=""+f);e.contentChanged&=!x.AA[f];x.AA[f]=0;if(!x.lI&&x.Xu[f]){f=x.Xu[f];
var n=f.Xa;e.rotation=f.rotation/90;e.width=f.width;e.height=f.height;e.matrix=[n.m_a,n.m_b,n.m_c,n.m_d,n.m_h,n.m_v]}})}e.cA(f)};e.By=this.By;try{localStorage.setItem("isCached",!0)}catch(Ma){Object(da.b)("load","Couldn't add the loaded marker to localStorage")}this.uM.resolve(e);return!0};ca.prototype.Aaa=function(e){return this.aI()?this.b4(e):e.QN().then(function(f){return e.jT?(Object(da.h)("Server failed health check. Single server mode ignoring check."),Promise.resolve(!1)):Promise.resolve(f.unhealthy)})};
ca.prototype.CM=function(e,h,n){return Object(aa.b)(this,void 0,void 0,function(){var x,ea,ia,da,ba,ja=this;return Object(aa.d)(this,function(){x=function(e,f){return new Promise(function(h,r){f.lP&&f.lP(ja.aa);f.loadAsync(e,function(e){e?r(e):h(f);return ja.Rg},n)})};ea=h.Wn();if(this.aI())return window.kb.tS(!0),ia=function(f){return Object(aa.b)(ja,void 0,void 0,function(){var h,n;return Object(aa.d)(this,function(r){switch(r.label){case 0:return f.flat||!f.url?[2,Promise.resolve(null)]:[4,Object(z.c)(z.b.HttpPartRetriever,
f.url)];case 1:return h=r.la(),h.vr(ea),n=new y.b(e),[2,x(h,n)]}})})},n.$O?[2,ia(n.$O)]:[2,this.QZ(h).then(ia)];if(!this.UY())return[2,Promise.resolve(null)];ba=n.workerHandlers?n.workerHandlers:{};da=n.backendType?Object(w.e)(n.backendType,ba,n.l):Object(r.c)().then(function(e){return Object(w.e)(e,ba,n.l)});return[2,Promise.all([h.ZR(),da]).then(function(h){return Object(aa.b)(ja,void 0,void 0,function(){var r,w,y,ia,ba=this;return Object(aa.d)(this,function(aa){switch(aa.label){case 0:return r=
h[0],w=2E3>this.aa.length,[4,Object(z.c)(z.b.ExternalPdfPartRetriever,r.url,{useDownloader:w,withCredentials:ea})];case 1:return y=aa.la(),ia=new f.a(e),this.Po&&ia.cq(this.Po),ia.cA=ia.Zu,ia.Zu=function(e){"documentComplete"===e.type&&(ba.lI=!0);ia.cA(e)},n.workerTransportPromise=da,n.extension="pdf",[2,x(y,ia)]}})})})]})})};ca.prototype.SC=function(e){if(0!==e.length){for(var f=0;f<e.length;++f)for(var h=e[f],n=Math.min(this.aa.length,h.i-1),r=h.i+h.n-2;r>=n;--r){var w=this.$v(h);this.aa[r]=w;w=
r;this.aa[r].pageNum=r+1;this.aa[r].id=w;this.er[w]=this.aa[r]}this.maxViewportZoom=this.Lp();this.vh({type:"pagesUpdated",data:this.aa.slice()})}};ca.prototype.IX=function(f){function h(f){var n=[];f.children.forEach(function(e){n.push(h(e))});return new e.a(n,f.name,f.pageNumber,f.parent,f.verticalOffset,f.horizontalOffset,f.url)}for(var n=0;n<f.length;++n)this.yg.push(h(f[n]))};ca.prototype.zE=function(){var e=this;return this.Ks?this.Ks:this.Ks=this.Nd.J1().then(function(f){e.XO=!!f.SL;return f},
function(f){Object(da.b)("load","Error loading annots xfdf from server: "+f);return{EI:Object(la.b)(e.aa&&0<e.aa.length?e.aa[0].height:792)}})};ca.prototype.loadAsync=function(e,f,h){var n=this;this.Nd=this.Fb=e;var r=h.getPassword;this.aa=[];this.ly=h.forceClientSideInit;this.lb=this;Object(da.b)("load","Request Document");this.Nd.t$(function(){n.z4()},null);this.Nd.QN().then(function(w){n.Fv&=w.hasPDF;n.bB&=w.hasXOD;"tileScale"in w&&(n.$aa=w.tileScale);n.Nd.K$(r);h.getPassword=function(e){n.Nd.H3(e)};
n.Nd.Eba().then(function(){n.Nd.hv(h.extension).then(function(r){Object(da.b)("load","Document response received.");r&&("pages"in r&&n.SC(r.pages),"bookmarks"in r&&(n.yg=[],n.IX(r.bookmarks)));n.zE();n.Aaa(e).then(function(r){Object(da.b)("load","Should we use client side rendering? "+r);if(r)"object"===typeof r&&(h.$O=r),n.CM(n.id,e,h).then(function(e){n.zT(e);n.kB().then(function(){n.Rg=f();n.jA.resolve(n.Rg)})});else{n.kB().then(function(){n.Rg=f();n.jA.resolve(n.Rg)});if(n.Fv||n.bB)Object(da.b)("load",
"Load client side document"),n.Rv.resolve(!0),n.Rv.promise.then(function(){n.CM(n.id,e,h).then(function(e){var f=Math.round(n.aa[0].height);n.zT(e)&&n.jA.promise.then(function(e){if(e=e.bg()){for(var h=n.aa.length,r=0;r<h;r++)n.aa[r].Wh(e);var w=!1;r=Math.round(n.aa[0].height);var x=(r|0)===(f|0),y=f/r,z=e.ca.Te();if(h!==z.length){try{e.ca.O&&(e.ca.aH(),e.ca.bH())}catch(Qa){Object(da.g)(Qa)}Object(da.e)("Page length mismatch - Server/Client: "+h+"/"+z.length+". There may have been an issue reading page info from the file. Please check your document for any signs of corruption.")}else{for(r=
0;r<z.length;r++)!x&&e.ca.L2(z[r].Sa-1)&&(w=!0,e.ca.UA(z[r].Sa-1,z[r].zoom*y),e.Ft(z[r].Sa));e.bb.Xs();x||e.ca.Pk(e.ca.jk*y);w||x||!n.Fv||(e.fj(),e.sa.ai());e.trigger(ma.a.Xe.MI)}}})})});n.Yc=new Promise(function(e){n.on(oa.a.Events.DOCUMENT_COMPLETE,function(){n.off(oa.a.Events.DOCUMENT_COMPLETE);e()})})}})},function(e){f(e)})})},function(e){f(e)})};ca.prototype.loadTextData=function(e,f){--e;e in this.hc&&this.hc[e].text?f(this.hc[e].text):this.dF(e,f)};ca.prototype.Dg=function(e,f){if(this.Ui())throw Error('Client side document is not instantiated. Please pass the "forceClientSideInit: true" option into the WebViewer constructor or loadAsync.');
return this.uM.promise.then(function(h){return e(h).apply(h,f)})};ca.prototype.dg=function(){return this.Dg(function(e){return e.dg},arguments).catch(function(e){throw e;})};ca.prototype.Jg=function(){return this.Dg(function(e){return e.Jg},arguments)};ca.prototype.Zi=function(){return this.Dg(function(e){return e.Zi},arguments)};ca.prototype.Qh=function(){return this.Dg(function(e){return e.Qh},arguments)};ca.prototype.Qi=function(){return this.Dg(function(e){return e.Qi},arguments)};ca.prototype.Sh=
function(){return this.Dg(function(e){return e.Sh},arguments)};ca.prototype.Bi=function(){return this.Dg(function(e){return e.Bi},arguments)};ca.prototype.Bg=function(){return this.Dg(function(e){return e.Bg},arguments)};ca.prototype.getLayersArray=function(){return this.Dg(function(e){return e.getLayersArray},arguments)};ca.prototype.qm=function(){return this.Dg(function(e){return e.qm},arguments)};ca.prototype.Zj=function(){return this.Dg(function(e){return e.Zj},arguments)};ca.prototype.Uj=function(e){return e};
ca.prototype.TE=function(e,f,h){var n=this;if(e in this.aa){this.o5=e;this.hc[e]=this.hc[e]||new ja.a(e,this);var r=this.hc[e],w=null,x=null;r.ec?w=Promise.resolve(r):(Object(da.b)("load","blackbox(pgi: "+e+") request image"),w=void 0,w=0!==e?this.Rv.promise.then(function(){return n.Nd.CA(e)}):this.Nd.CA(e),w=w.then(function(f){r.Uo=new ua.a(e,n.aa[e].width,n.aa[e].height,ra.a);n.aa[e].pk=Object(la.d)(f.name,n.AD);r.ec=new ra.b;r.vb[n.aa[e].pk]={data:f.url,type:"jpg",name:n.aa[e].pk};return r},function(f){x=
f;Object(da.b)("load","blackbox(pgi "+e+") error requesting image: "+f);r.vb.img_error={data:"",type:"jpg",name:"img_error"};r.ec=new ra.b;r.ec.create(e,"img_error",n.aa[e],null,null);return r}));var y=function(e,f,h,w){var x=r.Uo.v3(h,f);return x&&0===x.missing?Promise.resolve(x):n.Nd?n.Nd.h9(e,f,h,w).then(function(e){for(var f=e.tiles,h=0;h<f.length;h++)f[h]=ba(e.size,f[h],n.AD);return Promise.resolve(e)}):Promise.resolve(null)};w.then(function(r){Object(da.b)("load","blackbox(pg "+e+") has image URL");
var w=null,z=n.AA[e];n.AA[e]=z?z+1:1;r.ec.create(e,n.aa[e].pk,n.aa[e],y,function(e,h,x){if(f in n.Le&&!r.ec.eo){var y=e.tiles,z=n.Le[f].Mg,aa=!("missing"in e),ea=[],ia=0;for(;ia<y.length;ia++){var ba=y[ia];var ja=ba.getName();w.vb[ja]||(ba={data:ba.url,type:"jpg",name:ja},ea.push(ba),w.vb[ja]=ba)}aa&&r.Uo.XX(y,e.z);r.vb=JSON.parse(JSON.stringify(w.vb));h.jaa(y);r.ec=h.clone();z.fG(function(){n.Rv.resolve();x()},ea,!0);aa&&Object(da.b)("load","Server took "+e.runTime+"ms to generate "+y.length+" tiles")}});
w=r.clone();n.zo[f]=w.ec;Object(da.b)("load","blackbox(pg "+e+") calling resource load callback");h(x,w)},function(e){Object(da.h)("Error creating resources for page: "+e);h(e)})}else h(Error("The page "+(e+1)+" does not exist."))};ca.prototype.dF=function(e,f){var h=this;if(e in this.aa){this.hc[e]=this.hc[e]||new ja.a(e,this);var n=this.hc[e],r=null;r=n.text?Promise.resolve(n):h.Nd.g9(e).then(function(f){var r=new ka.a;r.Tu({m_Struct:f.struct,m_Str:f.str,m_Offsets:f.offsets,m_Quads:f.quads,m_Ready:!0});
h.aa[e].text=r;h.correctQuadsForPageRotation(e,r);n.text=r;return n},function(f){Object(da.h)("Error retrieving text for page: "+f);f=new ka.a;f.Tu({m_Struct:[],m_Str:"",m_Offsets:[],m_Quads:[],m_Ready:!0});h.aa[e].text=f;n.text=f;return n});r.then(function(e){f(e.text)})}else f(Error("The page "+(e+1)+" does not exist."))};ca.prototype.kD=function(e,f){f in this.zo&&(this.Rv.resolve(),this.zo[f].cancel(),delete this.zo[f])};ca.prototype.z4=function(){this.hc&&Object(fa.each)(this.hc,function(e){e.Uo&&
e.Uo.nZ()})};ca.prototype.io=function(){return!1};ca.prototype.Zl=function(){return!1};ca.prototype.extractXFDF=function(){var e=this;return this.kB().then(function(){return e.Ks.then(function(f){return{external:!0,xfdfString:f.EI,pages:Object(fa.range)(1,e.aa.length+1)}})})};ca.prototype.Dba=function(){var e=this,f=this.Rg&&this.Rg.bg();f&&this.cB&&f.Pn().forEach(function(f){var h=f.pageNum-1,n=new ia.a;n.Dh(e.aa[h].Xa);h=e.Xu[h].Xa.inverse();n.concat(h);f.quads=f.quads.map(function(e){var f=n.ka({x:e.x1,
y:e.y1}),h=n.ka({x:e.x2,y:e.y2}),r=n.ka({x:e.x3,y:e.y3});e=n.ka({x:e.x4,y:e.y4});return{x1:f.x,y1:f.y,x2:h.x,y2:h.y,x3:r.x,y3:r.y,x4:e.x,y4:e.y}})})};ca.prototype.kB=function(){var e=this,f=this.zE();this.Dba();return f.then(function(f){f=f.EI;if(e.cB&&!e.ZM){f=Ba.Annotations.ma.lz(f);e.FK(f,!0);var h=[];e.sA.forEach(function(f){var n=f.IsModified,r=f.Ba()-1;if(!h[r]){var w=e.Xu[r].Xa;h[r]=new ia.a;h[r].Dh(e.aa[r].Xa);h[r].concat(w.inverse())}w=f.isImporting;f.isImporting=!0;f.rj(h[r]);f.isImporting=
w;f.IsModified=n});e.sA=[];e.ZM=!0}})};ca.prototype.Raa=function(e){for(var f=Object.keys(e),h=0,n=f.length;h<n;h++){var r=f[h],w=e[r],x=this.Gr[r];delete this.Gr[r];this.Gr[w]=x}};ca.prototype.My=function(e,f){return this.gD?Promise.resolve(this.gD):this.getNewAppearanceDocument(e,f)};ca.prototype.getNewAppearanceDocument=function(){var e=this;return e.Gp?e.Gp:this.zE().then(function(f){if(e.Gp)return e.Gp;e.Gp=new Promise(function(h,n){return Object(aa.b)(this,void 0,void 0,function(){var r,w;return Object(aa.d)(this,
function(x){switch(x.label){case 0:return r=new y.b,[4,Object(z.c)(z.b.HttpPartRetriever,f.SL)];case 1:return w=x.la(),w.vr(e.Nd.Wn()),r.loadAsync(w,function(f){f?n(f):(e.gD=r,h(r))}),[2]}})})});return e.Gp})};ca.prototype.uq=function(){return!1};ca.prototype.tq=function(){return[]};ca.prototype.getPageCount=function(){return this.aa.length};ca.prototype.Gb=function(e){var f={};f.width=this.aa[e-1].width;f.height=this.aa[e-1].height;return f};ca.prototype.Gl=function(e){e in this.Le&&this.Le[e]&&
delete this.Le[e];e in this.zo&&delete this.zo[e]};ca.prototype.unloadResources=function(){var e=this;Object.keys(Ba.ci).forEach(function(e){(e.startsWith("tile_t")||e.startsWith("pageimg"))&&delete Ba.ci[e]});y.b.prototype.unloadResources.call(this);return e.Nd&&e.Nd.vM().then(function(){e.hc=[];e.$h={};e.zo={};e.lb=null;e.Rj&&e.Rj.unloadResources()})};ca.prototype.Hw=function(){};ca.prototype.$v=function(e){var f=new x.a(e.w,e.h),h=e.mtx;f.Xa=new ia.a;f.Xa.cb(h[0],h[1],h[2],h[3],h[4],h[5]);var n=
this.El(f.Xa);f.Xa=this.lba(h,{w:e.w,h:e.h});f.rotation=n;return f};ca.prototype.lba=function(e,f){var h=new ia.a;h.cb(e[0],e[1],e[2],e[3],e[4],e[5]);e=this.Kp(h,f);h.cb(1,0,0,-1,-e.x1,e.y2);return h};ca.prototype.getBookmarks=function(){return Promise.resolve(this.yg)};ca.prototype.getFileData=function(e){if(!this.Ui())return this.Dg(function(e){return e.getFileData},arguments);if(this.et)return this.et.promise;var f=this.et=createPromiseCapability(),h=this,n={};e.xfdfString&&(n.annots=e.xfdfString);
this.IE(n).then(function(e){var n=new XMLHttpRequest;n.open("GET",e.url,!0);n.withCredentials=!0;n.responseType="arraybuffer";n.setRequestHeader("X-Requested-With","XMLHttpRequest");n.onreadystatechange=function(){if(4===n.readyState){h.et=null;try{200===n.status?f.resolve(n.response):f.reject("Unable to download PDF data: "+n.status)}catch(Ja){f.reject("Unable to download PDF data: "+Ja)}}};n.send()},function(e){f.reject("Unable to download PDF data: "+e)});return f.promise};ca.prototype.yq=function(){return this.IE({print:!0})};
ca.prototype.It=function(e){if(!this.Ui())return null;e=e||{};var f=this;return this.IE(e).then(function(h){var n=f.$N({downloadName:e.downloadName||e.filename,url:h.url});h.url=n;return Promise.resolve(h)})};ca.prototype.$N=function(e){var f=e.downloadName||e.filename,h=e.url.lastIndexOf(".pdf");f=f?"&dlname="+encodeURIComponent(f):"";return e.url.substring(0,0<h?h:e.url.length)+"?attach=pdf"+f};ca.prototype.Pl=function(e,f){if(this.XO)return y.b.prototype.Pl.call(this,e,f);e=e.length;f=Array(e);
for(var h=0;h<e;++h)f[h]=Promise.reject("BlackBoxDocument does not support appearances");return f};ca.prototype.IE=function(e){var f=this;return this.jA.promise.then(function(h){var n=h.bg();return(n?n.fF():Promise.resolve(f.Ha)).then(function(h){var r=createPromiseCapability(),w=createPromiseCapability();h?f.JO().toBlob(function(e){r.resolve(e)}):r.resolve(null);h=n?n.ta():null;h=e.annots||(h?h.In():null);e.annots=null;w.resolve(h);return Promise.all([w.promise,r.promise]).then(function(h){var n=
JSON.parse(JSON.stringify(e||{}));n.annots=h[0];n.watermark=h[1];return f.Nd.jO(n)})})})};ca.prototype.Ev=function(e,f){var h=this;e=Ba.Annotations.oi.i3(e,f);return h.Nd.jO(e).then(function(e){var f=h.$N(e);e.url=f;return e})};ca.prototype.qk=function(){return!1};ca.prototype.nO=function(e){return this.aa[e-1].links};ca.prototype.ym=function(){return!0};return ca}(y.b);ca.a=ha},function(ha,ca){ha=function(){function h(h,aa,fa,da){this.w=aa;this.h=fa;this.Dd=h;this.Qk=da;this.Or={}}h.prototype.nZ=
function(){this.Or={}};h.prototype.XX=function(h,aa){var ba=Math.ceil(this.w*aa/this.Qk)|0;this.Or[aa]=this.Or[aa]||[];aa=this.Or[aa];for(var da=0;da<h.length;da++)aa[h[da].vU*ba+h[da].sU]=h[da]};h.prototype.v3=function(h,aa){var ba=Math.max(Math.min(30,Math.round(3*aa)|0),1),da=ba/aa;aa=Math.ceil(this.w*ba/this.Qk)|0;if(!(ba in this.Or))return null;var z=[],y={tiles:z,p:this.Dd,z:ba,missing:0},f=Math.floor(h[0]*da/this.Qk)|0,e=Math.ceil(h[2]*da/this.Qk)|0,x=Math.ceil(h[3]*da/this.Qk)|0;ba=this.Or[ba];
for(da=Math.floor(h[1]*da/this.Qk)|0;da<x;da++)for(h=f;h<e;h++)ba[da*aa+h]?z.push(ba[da*aa+h]):y.missing+=1;return y};return h}();ca.a=ha},function(ha,ca,h){var ba=h(291),aa=h(292),fa=h(293),da=h(294),z=h(295),y=h(200),f=h(296),e=h(297),x=h(298),r=h(299),w=h(300);ca.a=function(h){void 0===h&&(h=!1);h||(Object(ba.a)(),Object(aa.a)(),Object(fa.a)(),Object(y.a)(),Object(e.a)(),Object(x.a)(),Object(r.a)());Object(da.a)();Object(y.a)();Object(z.a)(h?self:window);Object(f.a)();Object(w.a)()}},function(ha,
ca){ca.a=function(){"FileReader"in window&&!FileReader.prototype.readAsBinaryString&&(FileReader.prototype.readAsBinaryString=function(h){var ba="",aa=this;aa.content="";var fa=new FileReader;fa.onload=function(){for(var h=new Uint8Array(fa.result),z=h.byteLength,y=0;y<z;y++)ba+=String.fromCharCode(h[y]);aa.content=ba;if(aa.onload)aa.onload();if(aa.onloadend)aa.onloadend()};fa.readAsArrayBuffer(h)})}},function(ha,ca){ca.a=function(){if(!String.fromCodePoint){var h=function(){try{var h={},z=Object.defineProperty;
var y=z(h,h,h)&&z}catch(f){}return y}(),ba=String.fromCharCode,aa=Math.floor,fa=function(){var h=[],z=-1,y=arguments.length;if(!y)return"";for(var f="";++z<y;){var e=Number(arguments[z]);if(!isFinite(e)||0>e||1114111<e||aa(e)!==e)throw RangeError("Invalid code point: "+e);if(65535>=e)h.push(e);else{e-=65536;var x=(e>>10)+55296;e=e%1024+56320;h.push(x,e)}if(z+1===y||16384<h.length)f+=ba.apply(void 0,h),h.length=0}return f};h?h(String,"fromCodePoint",{value:fa,configurable:!0,writable:!0}):String.fromCodePoint=
fa}}},function(ha,ca){ca.a=function(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(h,ba){ba=ba||window;for(var aa=0;aa<this.length;aa++)h.call(ba,this[aa],aa,this)})}},function(ha,ca){ca.a=function(){String.prototype.startsWith||(String.prototype.startsWith=function(h,ba){return this.substr(!ba||0>ba?0:+ba,h.length)===h});String.prototype.endsWith||(String.prototype.endsWith=function(h,ba){if(void 0===ba||ba>this.length)ba=this.length;return this.substring(ba-
h.length,ba)===h});String.prototype.gv=function(h,ba){ba=ba||"";return this.split(h).join(ba)};String.prototype.matchAll||(String.prototype.matchAll=function(h){for(var ba=[],aa;null!==(aa=h.exec(this));)ba.push(aa);return ba})}},function(ha,ca){ca.a=function(h){h.Uint8ClampedArray||(h.Uint8ClampedArray=h.Uint8Array);Array.prototype.fill||Object.defineProperty(Array.prototype,"fill",{value:function(h,aa,fa){if(null==this)throw new TypeError("this is null or not defined");var da=Object(this),z=da.length>>>
0;aa>>=0;aa=0>aa?Math.max(z+aa,0):Math.min(aa,z);fa=void 0===fa?z:fa>>0;for(z=0>fa?Math.max(z+fa,0):Math.min(fa,z);aa<z;)da[aa]=h,aa++;return da}})}},function(ha,ca){ca.a=function(){"undefined"===typeof Object.defineProperties&&(Object.defineProperty=function(h,ba,aa){aa.get&&h.__defineGetter__(ba,aa.get);aa.set&&h.__defineSetter__(ba,aa.set)},Object.defineProperties=function(h,ba){Object.keys(ba).forEach(function(aa){ba.hasOwnProperty(aa)&&Object.defineProperty(h,aa,ba[aa])})})}},function(ha,ca,
h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(23);ca.a=function(){function h(e,f,h){function n(e,f){var h=f<<1;return 128>f?e*(h+(e*(255-h)>>8))>>8:e*(511-h)+Math.sqrt(e<<8)*(h-255)>>8}function r(e,f){return 128>e?e*f>>7:255-((255-f)*(255-e)>>7)}function w(e,f){return 255==f&&0==e?255:Math.min(255,(e<<8)/(255-f))}function x(e,f){return 255==f&&0==e?0:255-Math.min(255,(255-e<<8)/f)}function y(e,f,h){return{r:.299*e+.587*f+.114*h,de:-.1687*e-.3313*f+.5*h,Md:.5*e-.4187*f-.0813*h}}function z(e,f,h){return{r:e+
1.402*h,de:e-.3441*f-.7141*h,Md:e+1.772*f}}function aa(e,f,h){e=y(e,f,h);return{h:Math.atan2(e.de,e.Md),s:Math.sqrt(e.de*e.de+e.Md*e.Md),Qv:e.r}}function ia(e,f,h){return z(h,f*Math.sin(e),f*Math.cos(e))}var ba={};for(da in ea)ea.hasOwnProperty(da)&&(ba[da]=h&&h[da]||ea[da]);"auto"==ba.width&&(ba.width=this.canvas.width);"auto"==ba.height&&(ba.height=this.canvas.height);ba.width=Math.min(ba.width,this.canvas.width-ba.mT,e.canvas.width-ba.x);ba.height=Math.min(ba.height,this.canvas.height-ba.nT,e.canvas.height-
ba.y);var da=this.getImageData(ba.mT,ba.nT,ba.width,ba.height);h=e.getImageData(ba.x,ba.y,ba.width,ba.height);da=da.data;for(var fa=h.data,ka,ca,oa=fa.length,ha,Aa,Ea,Da,Ja,Na,wa,Fa,Ma,qa,Ia,Pa,xa,La,Ga=0;Ga<oa;Ga+=4)if(ka=da[Ga+3]/255,ca=fa[Ga+3]/255,wa=ka+ca-ka*ca,fa[Ga+3]=255*wa,0!=ka)if(0==ca)fa[Ga]=da[Ga],fa[Ga+1]=da[Ga+1],fa[Ga+2]=da[Ga+2];else{Fa=fa[Ga];Ma=fa[Ga+1];qa=fa[Ga+2];Ia=da[Ga];Pa=da[Ga+1];xa=da[Ga+2];ha=Ia/255*ka;Da=Fa/255*ca;Aa=Pa/255*ka;Ja=Ma/255*ca;Ea=xa/255*ka;Na=qa/255*ca;La=
255/wa;wa=ca*ka;var Qa=ca-wa,Ta=ka-wa,Ra=void 0,ib=void 0;Ra=void 0;switch(f){case "normal":case "src-over":fa[Ga]=(ha+Da-Da*ka)*La;fa[Ga+1]=(Aa+Ja-Ja*ka)*La;fa[Ga+2]=(Ea+Na-Na*ka)*La;break;case "screen":fa[Ga]=(ha+Da-ha*Da)*La;fa[Ga+1]=(Aa+Ja-Aa*Ja)*La;fa[Ga+2]=(Ea+Na-Ea*Na)*La;break;case "multiply":fa[Ga]=(ha*Da+ha*(1-ca)+Da*(1-ka))*La;fa[Ga+1]=(Aa*Ja+Aa*(1-ca)+Ja*(1-ka))*La;fa[Ga+2]=(Ea*Na+Ea*(1-ca)+Na*(1-ka))*La;break;case "difference":fa[Ga]=(ha+Da-2*Math.min(ha*ca,Da*ka))*La;fa[Ga+1]=(Aa+Ja-
2*Math.min(Aa*ca,Ja*ka))*La;fa[Ga+2]=(Ea+Na-2*Math.min(Ea*ca,Na*ka))*La;break;case "src-in":wa=ka*ca;La=255/wa;fa[Ga]=ha*ca*La;fa[Ga+1]=Aa*ca*La;fa[Ga+2]=Ea*ca*La;fa[Ga+3]=255*wa;break;case "plus":case "add":fa[Ga]=Math.min(ha+Da,1)*La;fa[Ga+1]=Math.min(Aa+Ja,1)*La;fa[Ga+2]=Math.min(Ea+Na,1)*La;break;case "overlay":fa[Ga]=wa*r(Fa,Ia)+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*r(Ma,Pa)+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*r(qa,xa)+Qa*qa+Ta*xa;break;case "hard-light":fa[Ga]=wa*r(Ia,Fa)+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*r(Pa,Ma)+Qa*Ma+Ta*Pa;
fa[Ga+2]=wa*r(xa,qa)+Qa*qa+Ta*xa;break;case "color-dodge":case "dodge":fa[Ga]=wa*w(Fa,Ia)+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*w(Ma,Pa)+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*w(qa,xa)+Qa*qa+Ta*xa;break;case "color-burn":case "burn":fa[Ga]=wa*x(Fa,Ia)+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*x(Ma,Pa)+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*x(qa,xa)+Qa*qa+Ta*xa;break;case "darken":case "darker":fa[Ga]=wa*(Fa<Ia?Fa:Ia)+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*(Ma<Pa?Ma:Pa)+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*(qa<xa?qa:xa)+Qa*qa+Ta*xa;break;case "lighten":case "lighter":fa[Ga]=(ha<Da?Da:ha)*
La;fa[Ga+1]=(Aa<Ja?Ja:Aa)*La;fa[Ga+2]=(Ea<Na?Na:Ea)*La;break;case "exclusion":fa[Ga]=(Da+ha-2*Da*ha)*La;fa[Ga+1]=(Ja+Aa-2*Ja*Aa)*La;fa[Ga+2]=(Na+Ea-2*Na*Ea)*La;break;case "soft-light":fa[Ga]=wa*n(Fa,Ia)+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*n(Ma,Pa)+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*n(qa,xa)+Qa*qa+Ta*xa;break;case "luminosity":Ra=y(Fa,Ma,qa);ib=y(Ia,Pa,xa);Ra=z(ib.r,Ra.de,Ra.Md);fa[Ga]=wa*Ra.r+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*Ra.de+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*Ra.Md+Qa*qa+Ta*xa;break;case "color":Ra=y(Fa,Ma,qa);ib=y(Ia,Pa,xa);Ra=z(Ra.r,
ib.de,ib.Md);fa[Ga]=wa*Ra.r+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*Ra.de+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*Ra.Md+Qa*qa+Ta*xa;break;case "hue":Ra=aa(Fa,Ma,qa);ib=aa(Ia,Pa,xa);Ra=ia(ib.h,Ra.s,Ra.Qv);fa[Ga]=wa*Ra.r+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*Ra.de+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*Ra.Md+Qa*qa+Ta*xa;break;case "saturation":Ra=aa(Fa,Ma,qa);ib=aa(Ia,Pa,xa);Ra=ia(Ra.h,ib.s,Ra.Qv);fa[Ga]=wa*Ra.r+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*Ra.de+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*Ra.Md+Qa*qa+Ta*xa;break;case "lighter-color":Ra=0<2.623*(Fa-Ia)+5.15*(Ma-Pa)+qa-xa?{r:Fa,de:Ma,
Md:qa}:{r:Ia,de:Pa,Md:xa};fa[Ga]=wa*Ra.r+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*Ra.de+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*Ra.Md+Qa*qa+Ta*xa;break;case "darker-color":Ra=0>2.623*(Fa-Ia)+5.15*(Ma-Pa)+qa-xa?{r:Fa,de:Ma,Md:qa}:{r:Ia,de:Pa,Md:xa};fa[Ga]=wa*Ra.r+Qa*Fa+Ta*Ia;fa[Ga+1]=wa*Ra.de+Qa*Ma+Ta*Pa;fa[Ga+2]=wa*Ra.Md+Qa*qa+Ta*xa;break;default:ka=Ga/4%this.canvas.width,ca=Math.floor(Ga/4/this.canvas.width),ka=4>ka%8&&4>ca%8||3<ka%8&&3<ca%8,fa[Ga]=fa[Ga+3]=255,fa[Ga+1]=ka?255:0,fa[Ga+2]=ka?0:255}}e.putImageData(h,ba.x,ba.y)}!HTMLCanvasElement.prototype.toBlob&&
HTMLCanvasElement.prototype.msToBlob&&(HTMLCanvasElement.prototype.toBlob=function(e){e(HTMLCanvasElement.prototype.msToBlob.call(this))});var z=CanvasRenderingContext2D.prototype,y=CanvasRenderingContext2D.prototype.transform,f=CanvasRenderingContext2D.prototype.translate,e=CanvasRenderingContext2D.prototype.scale,x=CanvasRenderingContext2D.prototype.rotate,r=CanvasRenderingContext2D.prototype.setTransform,w=CanvasRenderingContext2D.prototype.save,n=CanvasRenderingContext2D.prototype.restore;Object(ba.extend)(z,
{Un:function(){var e=this.canvas.Cu;e&&e.length||(e=this.canvas.Cu=[new fa.a(1,0,0,1,0,0)]);return e[e.length-1]},getTransform:function(){var e=new fa.a;e.Dh(this.Un());e.a=e.m_a;e.b=e.m_b;e.c=e.m_c;e.d=e.m_d;e.e=e.m_h;e.f=e.m_v;return e},T9:function(e){this.canvas.Cu[this.canvas.Cu.length-1]=e},transform:function(e,f,h,n,r,w){this.Un().concat(new fa.a(e,f,h,n,r,w));return y.apply(this,arguments)},translate:function(e,h){this.Un().concat(new fa.a(1,0,0,1,e,h));return f.apply(this,arguments)},scale:function(f,
h){this.Un().concat(new fa.a(f,0,0,h,0,0));return e.apply(this,arguments)},rotate:function(e){this.Un().concat(new fa.a.pm(-1*e));return x.apply(this,arguments)},setTransform:function(e,f,h,n,w,x){this.Un();this.T9(new fa.a(e,f,h,n,w,x));return r.apply(this,arguments)},save:function(){var e=this.Un(),f=new fa.a;f.Dh(e);this.canvas.Cu.push(f);return w.apply(this,arguments)},restore:function(){var e=this.canvas.Cu;e&&e.length&&e.pop();return n.apply(this,arguments)}});Object.defineProperties(z,{w:{set:function(e){this.lineWidth=
e}},c:{set:function(e){this.lineCap=e}},s:{set:function(e){this.strokeStyle=e}},f:{set:function(e){this.fillStyle=e}},a:{set:function(e){this.globalAlpha=e}},n:{set:function(e){this.font=e}},i:{set:function(e){this.miterLimit=e}},j:{set:function(e){this.lineJoin=e}},g:{set:function(e){this.globalCompositeOperation=e}}});Object(ba.extend)(z,{S:function(){"undefined"===typeof this.No&&(this.No=0);this.No++;this.save()},r:function(){this.No--;this.restore()},t:z.transform,T:z.translate,ro:z.rotate,L:z.createLinearGradient,
R:z.createRadialGradient,P:z.createPattern,b:z.beginPath,z:z.closePath,F:z.fill,X:z.stroke,C:z.clip,M:z.moveTo,m:z.measureText,l:z.lineTo,q:z.quadraticCurveTo,B:z.bezierCurveTo,x:z.fillText,fillTextCustom:function(){},xc:function(){},tm:function(){},cgb:function(){},cge:function(){},xw:function(e,f,h){this.fillText(e,f,h)},xcw:function(){},I:function(e){"undefined"!==typeof e&&this.drawImage.apply(this,arguments)},Z:z.setTransform,d:z.getImageData,D:z.putImageData,e:z.scale,cr:function(e,f,h,n){this.beginPath();
this.rect(e,f,h,n);this.clip()},createCanvas:function(){return document.createElement("canvas")}});z="undefined"===typeof window.CanvasGradient?document.createElement("canvas").getContext("2d").createLinearGradient(0,0,0,0).__proto__:CanvasGradient.prototype;Object(ba.extend)(z,{yU:z.addColorStop});var ea={x:0,y:0,mT:0,nT:0,width:"auto",height:"auto"};(function(e){if(!e||"function"!==typeof e.getImageData)return Object(aa.e)("context blender called without a valid context prototype");Object.defineProperty(e,
"bO",{value:h});for(var f=h.vfa="normal src-over screen multiply difference src-in plus add overlay hardlight colordodge dodge colorburn burn darken darker lighten lighter exclusion softlight luminosity color hue saturation lightercolor darkercolor".split(" "),n=h.supports={},r=f.length;r--;)n[f[r]]=!0;h.cda={"src-over":"normal",gr:"add",Nda:"colordodge",jda:"colorburn",zda:"darken",Fea:"lighten"};return e})(CanvasRenderingContext2D&&CanvasRenderingContext2D.prototype)}},function(ha,ca){ca.a=function(){Object.defineProperty(TextMetrics.prototype,
"W",{get:function(){return this.width}})}},function(ha,ca){ca.a=function(){var h="bubbles touches targetTouches changedTouches ctrlKey metaKey shiftKey".split(" "),ba="bubbles clientX clientY screenX screenY pageX pageY ctrlKey metaKey shiftKey".split(" ");(new (function(){function aa(){}aa.prototype.init=function(){this.Br=null;this.ru=!1;this.u7();document.addEventListener("mousedown",this.tQ.bind(this));document.addEventListener("mouseup",this.bj.bind(this));document.addEventListener("touchstart",
this.tQ.bind(this),{passive:!1});document.addEventListener("touchend",this.bj.bind(this));document.addEventListener("touchcancel",this.l6.bind(this))};aa.prototype.tQ=function(h){this.qQ(h);!h.touches&&1!==h.which||this.ru||(this.Br=h,this.ru=!0)};aa.prototype.bj=function(h){this.qQ(h);if(this.ru){var aa=Math.max(h.pageX-this.Br.pageX,h.pageY-this.Br.pageY);400>h.timeStamp-this.Br.timeStamp&&10>aa&&(!this.Br.touches||1===this.Br.touches.length)&&(aa=this.OZ(h),h.target.dispatchEvent(aa));this.ru=
!1}};aa.prototype.l6=function(h){h.preventDefault();this.ru=!1};aa.prototype.u7=function(){try{new MouseEvent("test")}catch(da){var h=function(h,y){y=y||{bubbles:!1,cancelable:!1};var f=document.createEvent("MouseEvent");f.initMouseEvent(h,y.bubbles,y.cancelable,window,0,y.screenX||0,y.screenY||0,y.clientX||0,y.clientY||0,y.ctrlKey||!1,y.altKey||!1,y.shiftKey||!1,y.metaKey||!1,y.button||0,y.relatedTarget||null);return f};h.prototype=Object.create(Event.prototype);window.MouseEvent=h}};aa.prototype.OZ=
function(aa){var da={};if(aa.touches){h.forEach(function(h){da[h]=aa[h]});var z=new TouchEvent("tap",da)}else ba.forEach(function(h){da[h]=aa[h]}),z=new MouseEvent("tap",da);z.preventDefault=function(){aa.preventDefault()};return z};aa.prototype.qQ=function(h){if(h.touches)try{var aa=h.changedTouches[0];h.pageX=aa.pageX;h.pageY=aa.pageY}catch(z){}};return aa}())).init()}},function(ha,ca){ca.a=function(){ArrayBuffer.prototype.slice||(ArrayBuffer.prototype.slice=function(h,ba){void 0===h&&(h=0);void 0===
ba&&(ba=this.byteLength);h=Math.floor(h);ba=Math.floor(ba);0>h&&(h+=this.byteLength);0>ba&&(ba+=this.byteLength);h=Math.min(Math.max(0,h),this.byteLength);ba=Math.min(Math.max(0,ba),this.byteLength);if(0>=ba-h)return new ArrayBuffer(0);var aa=new ArrayBuffer(ba-h),fa=new Uint8Array(aa);h=new Uint8Array(this,h,ba-h);fa.set(h);return aa})}},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1);ca.a=function(h,da){function z(){for(var y=[],f=0;f<arguments.length;f++)y[f]=arguments[f];Object(aa.h)(da);h.apply(this,
y)}z.prototype=Object(ba.extend)(z.prototype,h.prototype);return z}},function(ha,ca){function h(){var h=window.location.href,aa=h.indexOf("#");return 0<=aa?h.substring(aa+1):""}ca.a=function(ba,aa){var fa=typeof aa,da=h().split("&").reduce(function(h,y){y=y.split("=");h[decodeURIComponent(y[0])]=decodeURIComponent(y[1]);return h},{});if("boolean"===fa&&"undefined"!==typeof da[ba]){fa=da[ba];if("true"===fa||"1"===fa)return!0;if("false"===fa||"0"===fa)return!1}return da[ba]||aa}},function(ha,ca,h){function ba(e){fa(e,
{PA:"setCustomHeaders",vr:"setWithCredentials",BS:"setErrorCallback"})}function aa(e){fa(e,{on:"on",off:"off",Ng:"one",trigger:"trigger"})}function fa(e,f){Object.keys(f).forEach(function(h){e.prototype[f[h]]=e.prototype[h]})}h.d(ca,"a",function(){return aa});h.d(ca,"b",function(){return ba});var da=h(1),z=h(28),y=h(50),f=h(11),e=h(90),x=h(25),r=h(108),w=h(56),n=h(32),ea=h(132),ia=h(91),ka=h(69),oa=h(7),ma=h(64),la=h(9),ja=h(134),ua=h(41),ra=h(2),na=h(8),Ba=h(118),za=h(85),sa=h(26),va=h(302),ta=h(15),
ya=h(61),pa=h(5),Ha=h(22),Ca=h(98),Aa=h(39),Ea=h(37),Da=h(38),Ja=h(46),Na=h(62),wa=h(29),Fa=h(53),Ma=h(145),qa=h(179),Ia=h(117),Pa=h(14),xa=h(68),La=h(4),Ga=h(106),Qa=h(89),Ta=h(120),Ra=h(18),ib=h(58),Lb=h(6),Mb=h(96),Db=h(174),ub=h(84);(function(h){h.CoreControls=function(){};h.PDFNet||(h.PDFNet=function(){},h.PDFNet.hasFullAPI=!1,h.PDFNet.hasFullApi=!1,window.Proxy&&(h.PDFNet=new window.Proxy(h.PDFNet,{get:function(e,f){if(f in e)return e[f];if(!Object(wa.j)())throw Error('Full version of PDFNetJS has not been loaded. Please pass the "fullAPI: true" option in your WebViewer constructor to use the PDFNet APIs.');
}})));h.getPageMatrix=ib.a;h.CoreControls.disableLogs=da.d;h.CoreControls.getCanvasManager=x.a;h.CoreControls.setWorkerPath=h.kb.naa;h.CoreControls.getWorkerPath=h.kb.Ef;h.CoreControls.setPDFWorkerPath=wa.o;h.CoreControls.getPDFWorkerPath=wa.f;h.CoreControls.setPDFResourcePath=wa.n;h.CoreControls.getPDFResourcePath=wa.e;h.CoreControls.setPDFAsmPath=wa.m;h.CoreControls.getPDFAsmPath=wa.d;h.CoreControls.createDocument=xa.a;h.CoreControls.setLocalWorkerPath=wa.l;h.CoreControls.getLocalWorkerPath=wa.c;
h.CoreControls.setOfficeWorkerPath=Na.j;h.CoreControls.getOfficeWorkerPath=Na.d;h.CoreControls.setOfficeResourcePath=Na.i;h.CoreControls.getOfficeResourcePath=Na.c;h.CoreControls.setResourcesPath=Pa.e;h.CoreControls.getResourcesPath=Pa.c;h.CoreControls.setExternalPath=wa.k;h.CoreControls.getExternalPath=wa.b;h.CoreControls.setOfficeAsmPath=Na.h;h.CoreControls.getOfficeAsmPath=Na.b;h.CoreControls.setAdvancedImageScaling=h.kb.tS;h.CoreControls.setProgressiveTime=h.kb.N$;h.CoreControls.preloadPDFWorker=
Da.f;h.CoreControls.initPDFWorkerTransports=Da.e;h.CoreControls.forceBackendType=Fa.a;h.CoreControls.getDefaultBackendType=Fa.c;h.CoreControls.getDefaultPdfBackendType=Fa.c;h.CoreControls.getCurrentPDFBackendType=Fa.b;h.CoreControls.getCurrentOfficeBackendType=Na.a;h.CoreControls.resetWorker=Da.h;h.CoreControls.resetOfficeWorker=Na.g;h.CoreControls.isDemoMode=ya.d;h.CoreControls.setEmscriptenHeapSize=Da.j;h.CoreControls.setCustomFontURL=Da.i;h.CoreControls.disableEmbeddedJavaScript=h.kb.t_;h.CoreControls.enableFullPDF=
wa.a;h.CoreControls.isFullPDFEnabled=wa.j;h.CoreControls.preloadOfficeWorker=Na.f;h.CoreControls.initOfficeWorkerTransports=Na.e;h.CoreControls.setWorkerTransportPromise=Da.k;h.CoreControls.getVersion=qa.b;h.CoreControls.getBuild=qa.a;h.CoreControls.Search=function(){};h.CoreControls.Search.Mode=function(){};h.CoreControls.Search.Mode.CASE_SENSITIVE=ta.e.xB;h.CoreControls.Search.Mode.WHOLE_WORD=ta.e.TB;h.CoreControls.Search.Mode.SEARCH_UP=ta.e.nw;h.CoreControls.Search.Mode.PAGE_STOP=ta.e.KB;h.CoreControls.Search.Mode.HIGHLIGHT=
ta.e.IB;h.CoreControls.Search.Mode.AMBIENT_STRING=ta.e.uB;h.CoreControls.Search.Mode.WILD_CARD=ta.e.VB;h.CoreControls.Search.Mode.REGEX=ta.e.LB;h.CoreControls.Search.ResultCode=ta.d;h.CoreControls.Search.ResultCode.DONE=ta.d.DONE;h.CoreControls.Search.ResultCode.PAGE=ta.d.$r;h.CoreControls.Search.ResultCode.FOUND=ta.d.Xo;h.CoreControls.getBlackBoxAnnotationManager=ja.b;h.CoreControls.BlackBoxAnnotationManager=ja.a;h.CoreControls.BlackBoxAnnotationManager.prototype.initiateCollaboration=ja.a.prototype.zea;
h.CoreControls.BlackBoxAnnotationManager.prototype.disableCollaboration=ja.a.prototype.Lda;h.CoreControls.BlackBoxAnnotationManager.prototype.preloadAnnotations=ja.a.prototype.cfa;aa(h.CoreControls.BlackBoxAnnotationManager);h.XODText=h.qJ;h.XODText.Quad=ta.c;h.XODText.Quad.prototype.getPoints=ta.c.prototype.ik;h.XODText.Quad.prototype.getNormalizedPoints=ta.c.prototype.D2;h.XODText.Matrix2D=ta.a;h.XODText.Matrix2D.prototype.initMatrix=ta.a.prototype.Dh;h.XODText.Matrix2D.prototype.initCoordinates=
ta.a.prototype.cb;h.XODText.Matrix2D.prototype.mult=ta.a.prototype.ka;h.XODText.Point2D=ta.b;h.XODText.SelectionInfo=Lb.d;h.XODText.SelectionInfo.prototype.parseFromOld=Lb.d.prototype.Tu;h.CoreControls.Encryption={};h.CoreControls.Encryption.decrypt=r.a;h.CoreControls.Encryption.decryptSynchronous=r.b;h.CoreControls.Bookmark=ma.a;h.CoreControls.Bookmark.prototype.getName=ma.a.prototype.getName;h.CoreControls.Bookmark.prototype.getVPos=ma.a.prototype.I3;h.CoreControls.Bookmark.prototype.getHPos=ma.a.prototype.q2;
h.CoreControls.Bookmark.prototype.getPageNumber=ma.a.prototype.Ba;h.CoreControls.Bookmark.prototype.getURL=ma.a.prototype.F3;h.CoreControls.Bookmark.prototype.getParent=ma.a.prototype.getParent;h.CoreControls.Bookmark.prototype.getChildren=ma.a.prototype.FE;h.CoreControls.Bookmark.prototype.getIndex=ma.a.prototype.getIndex;h.CoreControls.Bookmark.prototype.isValid=ma.a.prototype.isValid;h.CoreControls.BaseDocument=ia.a;aa(h.CoreControls.BaseDocument);h.CoreControls.BaseDocument.prototype.calculateBoundingBox=
ia.a.prototype.Kp;h.CoreControls.BaseDocument.prototype.calculateMaxViewportZoom=ia.a.prototype.Lp;h.CoreControls.BaseDocument.prototype.addPage=ia.a.prototype.SX;h.CoreControls.BaseDocument.prototype.setPage=ia.a.prototype.D$;h.CoreControls.BaseDocument.prototype.getPage=ia.a.prototype.vq;h.PageInfo=ka.a;h.PageInfo.prototype.setFromPageData=ka.a.prototype.ES;h.CoreControls.Document=oa.a;h.CoreControls.Document.registerDocumentType=oa.a.cv;h.CoreControls.Document.unregisterDocumentType=oa.a.pba;h.CoreControls.Document.prototype.getType=
oa.a.prototype.au;h.CoreControls.Document.prototype.getFileSize=oa.a.prototype.k2;aa(h.CoreControls.Document);h.CoreControls.Document.prototype.isWebViewerServerDocument=oa.a.prototype.Ui;h.CoreControls.Document.prototype.getMetadata=oa.a.prototype.getMetadata;h.CoreControls.Document.prototype.getBookmarks=oa.a.prototype.FN;h.CoreControls.Document.prototype.getLayers=oa.a.prototype.jea;h.CoreControls.Document.prototype.getLinks=oa.a.prototype.tq;h.CoreControls.Document.prototype.loadThumbnailAsync=
oa.a.prototype.gG;h.CoreControls.Document.prototype.includesThumbnails=oa.a.prototype.qk;h.CoreControls.Document.prototype.loadPageText=oa.a.prototype.YP;h.CoreControls.Document.prototype.refreshTextData=oa.a.prototype.zR;h.CoreControls.Document.prototype.getTextPosition=oa.a.prototype.CO;h.CoreControls.Document.prototype.extractXFDF=oa.a.prototype.iE;h.CoreControls.Document.prototype.loadCanvasAsync=oa.a.prototype.yu;h.CoreControls.Document.prototype.updateRasterizerOptions=oa.a.prototype.vI;h.CoreControls.Document.prototype.pauseLoadCanvas=
oa.a.prototype.qA;h.CoreControls.Document.prototype.resumeLoadCanvas=oa.a.prototype.EA;h.CoreControls.Document.prototype.cancelLoadCanvas=oa.a.prototype.Nj;h.CoreControls.Document.prototype.cancelLoadThumbnail=oa.a.prototype.zg;h.CoreControls.Document.prototype.unloadCanvasResources=oa.a.prototype.Jr;h.CoreControls.Document.prototype.getPageInfo=oa.a.prototype.Gb;h.CoreControls.Document.prototype.getPageMatrix=oa.a.prototype.wc;h.CoreControls.Document.prototype.getPageCount=oa.a.prototype.gc;h.CoreControls.Document.prototype.getPageRotation=
oa.a.prototype.Ii;h.CoreControls.Document.prototype.getPDFCoordinates=oa.a.prototype.Ul;h.CoreControls.Document.prototype.getXODCoordinates=oa.a.prototype.kz;h.CoreControls.Document.prototype.getViewerCoordinates=oa.a.prototype.iz;h.CoreControls.Document.prototype.loadAsync=oa.a.prototype.Qq;h.CoreControls.Document.prototype.unloadResources=oa.a.prototype.Fd;h.CoreControls.Document.prototype.initOfflineDB=oa.a.prototype.Jq;h.CoreControls.Document.prototype.storeOffline=oa.a.prototype.Dv;h.CoreControls.Document.prototype.isDownloaded=
oa.a.prototype.Zl;h.CoreControls.Document.prototype.getOfflineModeEnabled=oa.a.prototype.uq;h.CoreControls.Document.prototype.setOfflineModeEnabled=oa.a.prototype.qv;h.CoreControls.Document.prototype.cancelOfflineModeDownload=oa.a.prototype.Rs;h.CoreControls.Document.prototype.getPrintablePDF=oa.a.prototype.yq;h.CoreControls.Document.prototype.getFilename=oa.a.prototype.JE;h.CoreControls.Document.prototype.getDownloadLink=oa.a.prototype.It;h.CoreControls.Document.prototype.submitRedactions=oa.a.prototype.Ev;
h.CoreControls.Document.prototype.getFileData=oa.a.prototype.getFileData;h.CoreControls.Document.prototype.onJSCompletion=oa.a.prototype.m6;h.CoreControls.Document.prototype.insertPages=oa.a.prototype.Jg;h.CoreControls.Document.prototype.getPDFDoc=oa.a.prototype.dg;h.CoreControls.Document.prototype.getLayersArray=oa.a.prototype.On;h.CoreControls.Document.prototype.setLayersArray=oa.a.prototype.qm;h.CoreControls.Document.prototype.setOverprintPreviewMode=oa.a.prototype.TA;h.CoreControls.Document.prototype.extractPDFNetLayersContext=
oa.a.prototype.Zj;h.CoreControls.Document.prototype.insertBlankPages=oa.a.prototype.Qi;h.CoreControls.Document.prototype.removePages=oa.a.prototype.Qh;h.CoreControls.Document.prototype.movePages=oa.a.prototype.Zi;h.CoreControls.Document.prototype.rotatePages=oa.a.prototype.Sh;h.CoreControls.Document.prototype.extractPages=oa.a.prototype.Bi;h.CoreControls.Document.prototype.mergeDocument=oa.a.prototype.Tz;h.CoreControls.Document.prototype.cropPages=oa.a.prototype.Bg;h.CoreControls.Document.prototype.print=
oa.a.prototype.print;h.CoreControls.Document.prototype.documentCompletePromise=oa.a.prototype.Yc;h.CoreControls.Document.prototype.setWatermark=oa.a.prototype.sm;h.CoreControls.Document.prototype.requirePage=oa.a.prototype.Nk;h.CoreControls.Document.prototype.supportsExtraSelectorPositioning=oa.a.prototype.ym;h.CoreControls.Document.prototype.getOfficeDocInfo=oa.a.prototype.kea;h.CoreControls.Document.prototype.getOfficeResources=oa.a.prototype.lea;h.CoreControls.Document.prototype.enableColorSeparations=
oa.a.prototype.cq;h.CoreControls.Document.prototype.getColorSeparations=oa.a.prototype.Py;h.CoreControls.Document.prototype.enableSeparation=oa.a.prototype.zy;h.CoreControls.Document.prototype.isLinearized=oa.a.prototype.T4;h.CoreControls.Document.prototype.getDocumentId=oa.a.prototype.oq;h.CoreControls.PageRotation=La.c;h.CoreControls.FontStyles=La.a;h.CoreControls.SupportedFileFormats=La.f;h.CoreControls.SupportedFileFormats.CLIENT=La.f.OI;h.CoreControls.SupportedFileFormats.SERVER=La.f.hJ;h.CoreControls.OverprintPreviewMode=
ua.a;h.CoreControls.OverprintPreviewMode.OFF=ua.a.cV;h.CoreControls.OverprintPreviewMode.ON=ua.a.eV;h.CoreControls.OverprintPreviewMode.PDFX_ON=ua.a.sV;h.CoreControls.SaveOptions=ua.c;h.CoreControls.SaveOptions.INCREMENTAL=ua.c.WU;h.CoreControls.SaveOptions.REMOVE_UNUSED=ua.c.wV;h.CoreControls.SaveOptions.HEX_STRINGS=ua.c.VU;h.CoreControls.SaveOptions.OMIT_XREF=ua.c.dV;h.CoreControls.SaveOptions.LINEARIZED=ua.c.$U;h.CoreControls.SaveOptions.COMPATIBILITY=ua.c.DU;h.CoreControls.DocumentViewer=la.a;
aa(h.CoreControls.DocumentViewer);h.CoreControls.DocumentViewer.prototype.loadAsync=la.a.prototype.Qq;h.CoreControls.DocumentViewer.prototype.loadDocument=la.a.prototype.Pz;h.CoreControls.DocumentViewer.prototype.dispose=la.a.prototype.ce;h.CoreControls.DocumentViewer.prototype.FitMode=function(){};h.CoreControls.DocumentViewer.prototype.FitMode.FitWidth=la.a.prototype.li.UI;h.CoreControls.DocumentViewer.prototype.FitMode.FitPage=la.a.prototype.li.HB;h.CoreControls.DocumentViewer.prototype.FitMode.Zoom=
la.a.prototype.li.Zoom;h.CoreControls.DocumentViewer.prototype.displayLastPage=la.a.prototype.E_;h.CoreControls.DocumentViewer.prototype.displayFirstPage=la.a.prototype.D_;h.CoreControls.DocumentViewer.prototype.setCurrentPage=la.a.prototype.Lf;h.CoreControls.DocumentViewer.prototype.getCurrentPage=la.a.prototype.Mn;h.CoreControls.DocumentViewer.prototype.setRightToLeftPages=la.a.prototype.R$;h.CoreControls.DocumentViewer.prototype.getRightToLeftPages=la.a.prototype.$E;h.CoreControls.DocumentViewer.prototype.getZoom=
la.a.prototype.bd;h.CoreControls.DocumentViewer.prototype.getPageCount=la.a.prototype.gc;h.CoreControls.DocumentViewer.prototype.setFitMode=la.a.prototype.KH;h.CoreControls.DocumentViewer.prototype.getFitMode=la.a.prototype.l2;h.CoreControls.DocumentViewer.prototype.zoomTo=la.a.prototype.Xv;h.CoreControls.DocumentViewer.prototype.zoomToMouse=la.a.prototype.xU;h.CoreControls.DocumentViewer.prototype.setToolMode=la.a.prototype.vv;h.CoreControls.DocumentViewer.prototype.getToolMode=la.a.prototype.$t;
h.CoreControls.DocumentViewer.prototype.getToolModeMap=la.a.prototype.eF;h.CoreControls.DocumentViewer.prototype.getTool=la.a.prototype.zq;h.CoreControls.DocumentViewer.prototype.setEnableStylusMode=la.a.prototype.d$;h.CoreControls.DocumentViewer.prototype.isStylusModeEnabled=la.a.prototype.IP;h.CoreControls.DocumentViewer.prototype.rotateClockwise=la.a.prototype.t9;h.CoreControls.DocumentViewer.prototype.rotateCounterClockwise=la.a.prototype.u9;h.CoreControls.DocumentViewer.prototype.textSearchInit=
la.a.prototype.oI;h.CoreControls.DocumentViewer.prototype.isInViewportRenderMode=la.a.prototype.R4;h.CoreControls.DocumentViewer.prototype.SearchMode=function(){};h.CoreControls.DocumentViewer.prototype.SearchMode.e_case_sensitive=ta.e.xB;h.CoreControls.DocumentViewer.prototype.SearchMode.e_whole_word=ta.e.TB;h.CoreControls.DocumentViewer.prototype.SearchMode.e_search_up=ta.e.nw;h.CoreControls.DocumentViewer.prototype.SearchMode.e_page_stop=ta.e.KB;h.CoreControls.DocumentViewer.prototype.SearchMode.e_highlight=
ta.e.IB;h.CoreControls.DocumentViewer.prototype.SearchMode.e_ambient_string=ta.e.uB;h.CoreControls.DocumentViewer.prototype.SearchMode.e_wild_card=ta.e.VB;h.CoreControls.DocumentViewer.prototype.SearchMode.e_regex=ta.e.LB;h.CoreControls.DocumentViewer.prototype.displayBookmark=la.a.prototype.C_;h.CoreControls.DocumentViewer.prototype.displayPageLocation=la.a.prototype.Wp;h.CoreControls.DocumentViewer.prototype.getDocument=la.a.prototype.getDocument;h.CoreControls.DocumentViewer.prototype.getSelectedText=
la.a.prototype.Xt;h.CoreControls.DocumentViewer.prototype.getSelectedTextQuads=la.a.prototype.bF;h.CoreControls.DocumentViewer.prototype.setTextHighlightColor=la.a.prototype.gaa;h.CoreControls.DocumentViewer.prototype.setSearchHighlightColors=la.a.prototype.V$;h.CoreControls.DocumentViewer.prototype.displaySearchResult=la.a.prototype.ND;h.CoreControls.DocumentViewer.prototype.displayAdditionalSearchResult=la.a.prototype.A_;h.CoreControls.DocumentViewer.prototype.displayAdditionalSearchResults=la.a.prototype.B_;
h.CoreControls.DocumentViewer.prototype.setActiveSearchResult=la.a.prototype.I9;h.CoreControls.DocumentViewer.prototype.getActiveSearchResult=la.a.prototype.C1;h.CoreControls.DocumentViewer.prototype.clearSearchResults=la.a.prototype.kZ;h.CoreControls.DocumentViewer.prototype.getPageSearchResults=la.a.prototype.Pn;h.CoreControls.DocumentViewer.prototype.getColorSeparationsAtPoint=la.a.prototype.S1;h.CoreControls.DocumentViewer.prototype.scrollViewUpdated=la.a.prototype.C9;h.CoreControls.DocumentViewer.prototype.closeDocument=
la.a.prototype.Ux;h.CoreControls.DocumentViewer.prototype.setOptions=la.a.prototype.mf;h.CoreControls.DocumentViewer.prototype.recalculateLayout=la.a.prototype.sR;h.CoreControls.DocumentViewer.prototype.refreshAll=la.a.prototype.wR;h.CoreControls.DocumentViewer.prototype.refreshPage=la.a.prototype.yR;h.CoreControls.DocumentViewer.prototype.getAnnotationsLoadedPromise=la.a.prototype.yE;h.CoreControls.DocumentViewer.prototype.printCurrentDocument=la.a.prototype.ffa;h.CoreControls.DocumentViewer.prototype.getRenderingPipeline=
la.a.prototype.rO;h.CoreControls.DocumentViewer.prototype.setWatermark=la.a.prototype.sm;h.CoreControls.DocumentViewer.prototype.getWatermark=la.a.prototype.fF;h.CoreControls.DocumentViewer.prototype.getViewerElement=la.a.prototype.Mi;h.CoreControls.DocumentViewer.prototype.setViewerElement=la.a.prototype.$S;h.CoreControls.DocumentViewer.prototype.getScrollViewElement=la.a.prototype.Zb;h.CoreControls.DocumentViewer.prototype.setScrollViewElement=la.a.prototype.SS;h.CoreControls.DocumentViewer.prototype.isAutomaticLinkingEnabled=
la.a.prototype.KF;h.CoreControls.DocumentViewer.prototype.setEnableAutomaticLinking=la.a.prototype.a$;h.CoreControls.DocumentViewer.prototype.getTextLineInformation=la.a.prototype.BO;h.CoreControls.RenderingPipeline={};h.CoreControls.RenderingPipeline.PipelineManager=Ia.a;h.CoreControls.RenderingPipeline.PipelineManager.prototype.registerHandlers=Ia.a.prototype.PR;h.CoreControls.RenderingPipeline.PipelineManager.prototype.pushChange=Ia.a.prototype.Jk;h.CoreControls.RenderingPipeline.PipelineManager.prototype.hasPipeline=
Ia.a.prototype.W3;h.CoreControls.SetCachingLevel=h.kb.jJ;h.CoreControls.SetPreRenderLevel=h.kb.lJ;h.CoreControls.DocumentViewer.prototype.getMargin=la.a.prototype.Yy;h.CoreControls.DocumentViewer.prototype.setMargin=la.a.prototype.v$;h.CoreControls.DocumentViewer.prototype.updateView=la.a.prototype.bi;h.CoreControls.DocumentViewer.prototype.updateVisiblePages=la.a.prototype.Kr;h.CoreControls.DocumentViewer.prototype.stopPageRender=la.a.prototype.Dr;h.CoreControls.DocumentViewer.prototype.drawSelection=
la.a.prototype.VD;h.CoreControls.DocumentViewer.prototype.clearSelection=la.a.prototype.Ys;h.CoreControls.DocumentViewer.prototype.removeContent=la.a.prototype.fj;h.CoreControls.DocumentViewer.prototype.select=la.a.prototype.select;h.CoreControls.DocumentViewer.prototype.getPageHeight=la.a.prototype.zd;h.CoreControls.DocumentViewer.prototype.getPageWidth=la.a.prototype.Ad;h.CoreControls.DocumentViewer.prototype.setPageZoom=la.a.prototype.UA;h.CoreControls.DocumentViewer.prototype.getPageZoom=la.a.prototype.mc;
h.CoreControls.DocumentViewer.prototype.getRotation=la.a.prototype.Sd;h.CoreControls.DocumentViewer.prototype.setRotation=la.a.prototype.tv;h.CoreControls.DocumentViewer.prototype.getCompleteRotation=la.a.prototype.Tc;h.CoreControls.DocumentViewer.prototype.getPageRotations=la.a.prototype.P2;h.CoreControls.DocumentViewer.prototype.setPageRotations=la.a.prototype.F$;h.CoreControls.DocumentViewer.prototype.getAnnotationManager=la.a.prototype.ta;h.CoreControls.DocumentViewer.prototype.getAnnotationHistoryManager=
la.a.prototype.H1;h.CoreControls.DocumentViewer.prototype.setAnnotationImportOptions=la.a.prototype.M9;h.CoreControls.DocumentViewer.prototype.setInternalAnnotationsTransform=la.a.prototype.o$;h.CoreControls.DocumentViewer.prototype.setPagesUpdatedInternalAnnotationsTransform=la.a.prototype.QH;h.CoreControls.DocumentViewer.prototype.setDocumentXFDFRetriever=la.a.prototype.GH;h.CoreControls.DocumentViewer.prototype.setLoadAnnotationsFromVisiblePages=la.a.prototype.u$;h.CoreControls.DocumentViewer.prototype.setPageVisibilityCallback=
la.a.prototype.J$;h.CoreControls.DocumentViewer.prototype.getDisplayModeManager=la.a.prototype.Sl;h.CoreControls.DocumentViewer.prototype.snapToNearest=la.a.prototype.lT;h.CoreControls.DocumentViewer.prototype.setViewportRenderMode=la.a.prototype.XH;h.CoreControls.DocumentViewer.prototype.getViewportRegionRect=la.a.prototype.J3;h.CoreControls.DocumentViewer.prototype.getExactViewportRegionRect=la.a.prototype.h2;h.CoreControls.DocumentViewer.prototype.setRenderBatchSize=la.a.prototype.OS;h.CoreControls.DisplayMode=
w.a;h.CoreControls.DisplayMode.prototype.setParameters=w.a.prototype.setParameters;h.CoreControls.DisplayMode.prototype.isContinuous=w.a.prototype.MF;h.CoreControls.DisplayMode.prototype.windowToPage=w.a.prototype.Uk;h.CoreControls.DisplayMode.prototype.windowToPageNoRotate=w.a.prototype.Uba;h.CoreControls.DisplayMode.prototype.pageToWindow=w.a.prototype.Mh;h.CoreControls.DisplayMode.prototype.pageToWindowNoRotate=w.a.prototype.xG;h.CoreControls.DisplayMode.prototype.getSelectedPages=w.a.prototype.Wt;
h.CoreControls.DisplayMode.prototype.getVisiblePages=w.a.prototype.Te;h.CoreControls.DisplayMode.prototype.getPageTransform=w.a.prototype.xq;h.CoreControls.DisplayMode.prototype.getPageOffset=w.a.prototype.SE;h.CoreControls.DisplayMode.prototype.createPageSections=w.a.prototype.sda;h.CoreControls.DisplayMode.prototype.setCustomFunctions=w.a.prototype.W9;h.CoreControls.DisplayMode.prototype.IsScrollable=w.a.prototype.Yk;h.CoreControls.DisplayModes=n.a;h.CoreControls.DisplayModes.Single=n.a.mJ;h.CoreControls.DisplayModes.Continuous=
n.a.Vr;h.CoreControls.DisplayModes.Facing=n.a.GB;h.CoreControls.DisplayModes.FacingContinuous=n.a.gw;h.CoreControls.DisplayModes.Cover=n.a.Wr;h.CoreControls.DisplayModes.CoverFacing=n.a.Xr;h.CoreControls.DisplayModes.Custom=n.a.hi;h.CoreControls.DisplayModeManager=ea.a;h.CoreControls.DisplayModeManager.prototype.setDisplayMode=ea.a.prototype.zS;h.CoreControls.DisplayModeManager.prototype.getDisplayMode=ea.a.prototype.vc;h.CoreControls.AnnotationManager=f.a;aa(h.CoreControls.AnnotationManager);h.CoreControls.AnnotationManager.prototype.addAnnotation=
f.a.prototype.Ld;h.CoreControls.AnnotationManager.prototype.addAnnotations=f.a.prototype.wg;h.CoreControls.AnnotationManager.prototype.deleteAnnotation=f.a.prototype.Rc;h.CoreControls.AnnotationManager.prototype.deleteAnnotations=f.a.prototype.zn;h.CoreControls.AnnotationManager.prototype.applyRedactions=f.a.prototype.$C;h.CoreControls.AnnotationManager.prototype.isApplyRedactionEnabled=f.a.prototype.GF;h.CoreControls.AnnotationManager.prototype.isCreateRedactionEnabled=f.a.prototype.G4;h.CoreControls.AnnotationManager.prototype.isAnnotationRedactable=
f.a.prototype.C4;h.CoreControls.AnnotationManager.prototype.enableRedaction=f.a.prototype.K0;h.CoreControls.AnnotationManager.prototype.selectAnnotation=f.a.prototype.lj;h.CoreControls.AnnotationManager.prototype.selectAnnotations=f.a.prototype.KA;h.CoreControls.AnnotationManager.prototype.deselectAnnotation=f.a.prototype.Jl;h.CoreControls.AnnotationManager.prototype.deselectAnnotations=f.a.prototype.hy;h.CoreControls.AnnotationManager.prototype.deselectAllAnnotations=f.a.prototype.be;h.CoreControls.AnnotationManager.prototype.isAnnotationSelected=
f.a.prototype.tk;h.CoreControls.AnnotationManager.prototype.getSelectedAnnotations=f.a.prototype.fe;h.CoreControls.AnnotationManager.prototype.updateCopiedAnnotations=f.a.prototype.vba;h.CoreControls.AnnotationManager.prototype.pasteCopiedAnnotations=f.a.prototype.n7;h.CoreControls.AnnotationManager.prototype.getAnnotationCopy=f.a.prototype.Rl;h.CoreControls.AnnotationManager.prototype.drawAnnotations=f.a.prototype.ld;h.CoreControls.AnnotationManager.prototype.redrawAnnotation=f.a.prototype.sb;h.CoreControls.AnnotationManager.prototype.drawAnnotationsFromList=
f.a.prototype.Ne;h.CoreControls.AnnotationManager.prototype.updateAnnotation=f.a.prototype.YT;h.CoreControls.AnnotationManager.prototype.jumpToAnnotation=f.a.prototype.m5;h.CoreControls.AnnotationManager.prototype.hasAnnotation=f.a.prototype.Hg;h.CoreControls.AnnotationManager.prototype.getAnnotationsList=f.a.prototype.Yb;h.CoreControls.AnnotationManager.prototype.setNoteContents=f.a.prototype.OH;h.CoreControls.AnnotationManager.prototype.getCurrentUser=f.a.prototype.wh;h.CoreControls.AnnotationManager.prototype.setCurrentUser=
f.a.prototype.FH;h.CoreControls.AnnotationManager.prototype.getIsAdminUser=f.a.prototype.gO;h.CoreControls.AnnotationManager.prototype.setIsAdminUser=f.a.prototype.MH;h.CoreControls.AnnotationManager.prototype.setReadOnly=f.a.prototype.O$;h.CoreControls.AnnotationManager.prototype.getReadOnly=f.a.prototype.XE;h.CoreControls.AnnotationManager.prototype.setFreeformRotationEnabled=f.a.prototype.i$;h.CoreControls.AnnotationManager.prototype.isFreeformRotationEnabled=f.a.prototype.lu;h.CoreControls.AnnotationManager.prototype.canModify=
f.a.prototype.Pc;h.CoreControls.AnnotationManager.prototype.setCustomAppearanceHandler=f.a.prototype.U9;h.CoreControls.AnnotationManager.prototype.getCopiedAnnotations=f.a.prototype.U1;h.CoreControls.AnnotationManager.prototype.canModifyContents=f.a.prototype.iD;h.CoreControls.AnnotationManager.prototype.setPermissionCheckCallback=f.a.prototype.L$;h.CoreControls.AnnotationManager.prototype.setSubmitFormActionCallback=f.a.prototype.faa;h.CoreControls.AnnotationManager.prototype.getAnnotCommand=f.a.prototype.vE;
h.CoreControls.AnnotationManager.prototype.exportAnnotCommand=f.a.prototype.eE;h.CoreControls.AnnotationManager.prototype.importAnnotCommand=f.a.prototype.Wl;h.CoreControls.AnnotationManager.prototype.exportAnnotations=f.a.prototype.In;h.CoreControls.AnnotationManager.prototype.importAnnotations=f.a.prototype.gP;h.CoreControls.AnnotationManager.prototype.importAnnotationsAsync=f.a.prototype.sea;h.CoreControls.AnnotationManager.prototype.useFreeTextEditing=f.a.prototype.eU;h.CoreControls.AnnotationManager.prototype.disableFreeTextEditing=
f.a.prototype.v_;h.CoreControls.AnnotationManager.prototype.disableStampVectorAppearance=f.a.prototype.y_;h.CoreControls.AnnotationManager.prototype.registerAnnotationType=f.a.prototype.T8;h.CoreControls.AnnotationManager.prototype.deregisterAnnotationType=f.a.prototype.o_;h.CoreControls.AnnotationManager.prototype.getRegisteredAnnotationTypes=f.a.prototype.d3;h.CoreControls.AnnotationManager.prototype.getAnnotationFromPopup=f.a.prototype.G1;h.CoreControls.AnnotationManager.prototype.getAnnotationByMouseEvent=
f.a.prototype.Ql;h.CoreControls.AnnotationManager.prototype.getAnnotationsByMouseEvent=f.a.prototype.xE;h.CoreControls.AnnotationManager.prototype.getAnnotationById=f.a.prototype.Pd;h.CoreControls.AnnotationManager.prototype.getRootAnnotation=f.a.prototype.Rn;h.CoreControls.AnnotationManager.prototype.createAnnotationReply=f.a.prototype.EZ;h.CoreControls.AnnotationManager.prototype.hideAnnotation=f.a.prototype.d4;h.CoreControls.AnnotationManager.prototype.hideAnnotations=f.a.prototype.rF;h.CoreControls.AnnotationManager.prototype.showAnnotation=
f.a.prototype.Baa;h.CoreControls.AnnotationManager.prototype.showAnnotations=f.a.prototype.bI;h.CoreControls.AnnotationManager.prototype.setRedrawThrottle=f.a.prototype.P$;h.CoreControls.AnnotationManager.prototype.getFieldManager=f.a.prototype.te;h.CoreControls.AnnotationManager.prototype.getEditBoxManager=f.a.prototype.Ry;h.CoreControls.AnnotationManager.prototype.getWidgetEditingManager=f.a.prototype.MO;h.CoreControls.AnnotationManager.prototype.setAnnotationStyles=f.a.prototype.N9;h.CoreControls.AnnotationManager.prototype.setAnnotationDisplayAuthorMap=
f.a.prototype.uS;h.CoreControls.AnnotationManager.prototype.getDisplayAuthor=f.a.prototype.HE;h.CoreControls.AnnotationManager.prototype.setAnnotationCanvasTransform=f.a.prototype.L9;h.CoreControls.AnnotationManager.prototype.groupAnnotations=f.a.prototype.R3;h.CoreControls.AnnotationManager.prototype.ungroupAnnotations=f.a.prototype.TT;h.CoreControls.AnnotationManager.prototype.getNumberOfGroups=f.a.prototype.E2;h.CoreControls.AnnotationManager.prototype.getGroupAnnotations=f.a.prototype.ME;h.CoreControls.AnnotationManager.prototype.updateAnnotationState=
f.a.prototype.sba;h.CoreControls.AnnotationManager.prototype.setOldStickyNoteRenderingDate=f.a.prototype.C$;h.CoreControls.AnnotationManager.prototype.bringToFront=f.a.prototype.HY;h.CoreControls.AnnotationManager.prototype.bringToBack=f.a.prototype.cM;h.CoreControls.AnnotationHistoryManager=e.a;h.CoreControls.AnnotationHistoryManager.prototype.undo=e.a.prototype.undo;h.CoreControls.AnnotationHistoryManager.prototype.redo=e.a.prototype.redo;h.CoreControls.AnnotationHistoryManager.prototype.clear=
e.a.prototype.clear;h.CoreControls.AnnotationHistoryManager.prototype.canUndo=e.a.prototype.TY;h.CoreControls.AnnotationHistoryManager.prototype.canRedo=e.a.prototype.RY;h.CoreControls.AnnotationHistoryManager.Events=e.a.wb;aa(h.CoreControls.AnnotationHistoryManager);h.CoreControls.EditBoxManager=Db.a;aa(h.CoreControls.EditBoxManager);h.CoreControls.WidgetEditingManager=ub.a;aa(h.CoreControls.WidgetEditingManager);h.CoreControls.WidgetEditingManager.prototype.startEditing=ub.a.prototype.Naa;h.CoreControls.WidgetEditingManager.prototype.endEditing=
ub.a.prototype.hN;h.CoreControls.WidgetEditingManager.prototype.isEditing=ub.a.prototype.Ri;h.CoreControls.WidgetEditingManager.prototype.getEditableAnnotation=ub.a.prototype.e2;h.CoreControls.WidgetEditingManager.prototype.getWidget=ub.a.prototype.L3;h.CoreControls.WidgetEditingManager.prototype.isEditableAnnotation=ub.a.prototype.Mq;h.CoreControls.WidgetEditingManager.prototype.setEditableAnnotationStyles=ub.a.prototype.Y9;h.CoreControls.WidgetEditingManager.prototype.getEditableAnnotationStyles=
ub.a.prototype.f2;h.Actions=Ja.a;h.Actions.GoTo=Ja.d;h.Actions.GoTo.Dest=Ja.b;h.Actions.GoToR=Ja.e;h.Actions.URI=Ja.k;h.Actions.Named=Ja.h;h.Actions.JavaScript=Ja.g;h.Actions.ResetForm=Ja.i;h.Actions.SubmitForm=Ja.j;h.Actions.Hide=Ja.f;h.Actions.Dispatcher=Ja.c;h.Annotations=h.Annotations;h.Annotations.LineEndType=Qa.a;h.Annotations.Color=na.a;h.Annotations.Color.prototype.toHexString=na.a.prototype.Hr;h.Annotations.Forms=h.Annotations.da;h.Annotations.Forms.FieldManager=h.Annotations.da.Tf;h.Annotations.Forms.FieldManager.prototype.getField=
h.Annotations.da.Tf.prototype.Qb;h.Annotations.Forms.FieldManager.prototype.addField=h.Annotations.da.Tf.prototype.Gs;h.Annotations.Forms.FieldManager.prototype.updateFieldName=h.Annotations.da.Tf.prototype.yba;h.Annotations.Forms.FieldManager.prototype.forEachField=h.Annotations.da.Tf.prototype.lq;h.Annotations.Forms.FieldManager.prototype.setAlertHandler=h.Annotations.da.Tf.prototype.J9;h.Annotations.Forms.FieldManager.prototype.setPrintHandler=h.Annotations.da.Tf.prototype.M$;h.Annotations.Forms.FieldManager.prototype.getOrCreateField=
h.Annotations.da.Tf.prototype.Tt;h.Annotations.Forms.FieldManager.prototype.getCalculationOrder=h.Annotations.da.Tf.prototype.KN;h.Annotations.Forms.FieldManager.prototype.setCalculationOrder=h.Annotations.da.Tf.prototype.wS;h.Annotations.Forms.Field=h.Annotations.da.qa;h.Annotations.Forms.Field.prototype.getValue=h.Annotations.da.qa.prototype.ub;h.Annotations.Forms.Field.prototype.setValue=h.Annotations.da.qa.prototype.Tb;h.Annotations.Forms.Field.prototype.setVisible=h.Annotations.da.qa.prototype.nf;
h.Annotations.Forms.Field.prototype.getActions=h.Annotations.da.qa.prototype.ak;h.Annotations.Forms.Field.prototype.isTerminal=h.Annotations.da.qa.prototype.XF;aa(h.Annotations.Forms.Field);h.Annotations.Forms.EmbeddedJS=h.Annotations.da.EB;h.Annotations.Forms.EmbeddedJS.update=h.Annotations.da.EB.update;h.Annotations.Forms.EmbeddedJS.getFinalKeypressValue=h.Annotations.da.EB.ek;h.Annotations.HTMLAnnotation=h.Annotations.HTMLAnnotation;h.Annotations.HTMLAnnotation.prototype.addAction=h.Annotations.HTMLAnnotation.prototype.xi;
h.Annotations.HTMLAnnotation.prototype.getActions=h.Annotations.HTMLAnnotation.prototype.ak;h.Annotations.HTMLAnnotation.prototype.triggerAction=h.Annotations.HTMLAnnotation.prototype.Of;h.Annotations.HTMLAnnotation.prototype.getInnerElement=h.Annotations.HTMLAnnotation.prototype.dO;h.Annotations.HTMLAnnotation.prototype.getElement=h.Annotations.HTMLAnnotation.prototype.VN;h.Annotations.WidgetAnnotation=Ha.WidgetAnnotation;h.Annotations.WidgetAnnotation.prototype.setValue=Ha.WidgetAnnotation.prototype.Tb;
h.Annotations.WidgetAnnotation.prototype.getValue=Ha.WidgetAnnotation.prototype.ub;h.Annotations.WidgetAnnotation.prototype.addAction=Ha.WidgetAnnotation.prototype.xi;h.Annotations.WidgetAnnotation.prototype.getField=Ha.WidgetAnnotation.prototype.Qb;h.Annotations.WidgetAnnotation.prototype.setField=Ha.WidgetAnnotation.prototype.CS;aa(h.Annotations.WidgetAnnotation);h.Annotations.DatePickerWidgetAnnotation=Ha.DatePickerWidgetAnnotation;h.Annotations.DatePickerWidgetAnnotation.prototype.getDatePicker=
Ha.DatePickerWidgetAnnotation.prototype.Z1;h.Annotations.DatePickerWidgetAnnotation.prototype.refreshDatePicker=Ha.DatePickerWidgetAnnotation.prototype.j8;h.Annotations.DatePickerWidgetAnnotation.datePickerOptions=Ha.DatePickerWidgetAnnotation.GD;h.Annotations.TextWidgetAnnotation=Ha.TextWidgetAnnotation;h.Annotations.ChoiceWidgetAnnotation=Ha.ChoiceWidgetAnnotation;h.Annotations.ListWidgetAnnotation=Ha.ListWidgetAnnotation;h.Annotations.ButtonWidgetAnnotation=Ha.ButtonWidgetAnnotation;h.Annotations.PushButtonWidgetAnnotation=
Ha.PushButtonWidgetAnnotation;h.Annotations.CheckButtonWidgetAnnotation=Ha.CheckButtonWidgetAnnotation;h.Annotations.RadioButtonWidgetAnnotation=Ha.RadioButtonWidgetAnnotation;h.Annotations.SignatureWidgetAnnotation=Ha.SignatureWidgetAnnotation;h.Annotations.SignatureWidgetAnnotation.prototype.createSignHereElement=Ha.SignatureWidgetAnnotation.prototype.NZ;h.Annotations.SignatureWidgetAnnotation.prototype.isSignedDigitally=Ha.SignatureWidgetAnnotation.prototype.VF;h.Annotations.SignatureWidgetAnnotation.prototype.isSignedInitially=
Ha.SignatureWidgetAnnotation.prototype.e5;h.Annotations.WidgetFlags=Ha.WidgetFlags;h.Annotations.WidgetFlags.prototype.get=Ha.WidgetFlags.prototype.get;h.Annotations.WidgetFlags.prototype.set=Ha.WidgetFlags.prototype.set;h.Annotations.Annotation=h.Annotations.Annotation;aa(h.Annotations.Annotation);h.Annotations.Annotation.prototype.getPageNumber=h.Annotations.Annotation.prototype.Ba;h.Annotations.Annotation.prototype.setPageNumber=h.Annotations.Annotation.prototype.rv;h.Annotations.Annotation.prototype.getX=
h.Annotations.Annotation.prototype.Fc;h.Annotations.Annotation.prototype.setX=h.Annotations.Annotation.prototype.wv;h.Annotations.Annotation.prototype.getY=h.Annotations.Annotation.prototype.Gc;h.Annotations.Annotation.prototype.setY=h.Annotations.Annotation.prototype.xv;h.Annotations.Annotation.prototype.getTop=h.Annotations.Annotation.prototype.Gg;h.Annotations.Annotation.prototype.getBottom=h.Annotations.Annotation.prototype.Ei;h.Annotations.Annotation.prototype.getLeft=h.Annotations.Annotation.prototype.Eg;
h.Annotations.Annotation.prototype.getRight=h.Annotations.Annotation.prototype.Ki;h.Annotations.Annotation.prototype.associateLink=h.Annotations.Annotation.prototype.cD;h.Annotations.Annotation.prototype.getAssociatedLinks=h.Annotations.Annotation.prototype.mq;h.Annotations.Annotation.prototype.unassociateLinks=h.Annotations.Annotation.prototype.mba;h.Annotations.Annotation.prototype.addCustomAppearance=h.Annotations.Annotation.prototype.en;h.Annotations.Annotation.prototype.removeCustomAppearance=
h.Annotations.Annotation.prototype.hH;h.Annotations.Annotation.prototype.getWidth=h.Annotations.Annotation.prototype.Fa;h.Annotations.Annotation.prototype.setWidth=h.Annotations.Annotation.prototype.XA;h.Annotations.Annotation.prototype.getHeight=h.Annotations.Annotation.prototype.Ca;h.Annotations.Annotation.prototype.setHeight=h.Annotations.Annotation.prototype.qr;h.Annotations.Annotation.prototype.setRichTextStyle=h.Annotations.Annotation.prototype.Q$;h.Annotations.Annotation.prototype.getRichTextStyle=
h.Annotations.Annotation.prototype.ZE;h.Annotations.Annotation.prototype.setCustomData=h.Annotations.Annotation.prototype.me;h.Annotations.Annotation.prototype.getCustomData=h.Annotations.Annotation.prototype.xd;h.Annotations.Annotation.prototype.deleteCustomData=h.Annotations.Annotation.prototype.jt;h.Annotations.Annotation.prototype.draw=h.Annotations.Annotation.prototype.draw;h.Annotations.Annotation.prototype.serialize=h.Annotations.Annotation.prototype.serialize;h.Annotations.Annotation.prototype.deserialize=
h.Annotations.Annotation.prototype.deserialize;h.Annotations.Annotation.prototype.setRect=h.Annotations.Annotation.prototype.Wd;h.Annotations.Annotation.prototype.getRect=h.Annotations.Annotation.prototype.pb;h.Annotations.Annotation.prototype.getRectPadding=h.Annotations.Annotation.prototype.getRectPadding;h.Annotations.Annotation.prototype.adjustRect=h.Annotations.Annotation.prototype.adjustRect;h.Annotations.Annotation.prototype.setContents=h.Annotations.Annotation.prototype.setContents;h.Annotations.Annotation.prototype.addReply=
h.Annotations.Annotation.prototype.vl;h.Annotations.Annotation.prototype.getContents=h.Annotations.Annotation.prototype.getContents;h.Annotations.Annotation.prototype.isReply=h.Annotations.Annotation.prototype.vk;h.Annotations.Annotation.prototype.isGrouped=h.Annotations.Annotation.prototype.Nq;h.Annotations.Annotation.prototype.getGroupedChildren=h.Annotations.Annotation.prototype.Ot;h.Annotations.Annotation.prototype.getReplies=h.Annotations.Annotation.prototype.Qn;h.Annotations.Annotation.prototype.isWidget=
h.Annotations.Annotation.prototype.am;h.Annotations.Annotation.prototype.isVisible=h.Annotations.Annotation.prototype.isVisible;h.Annotations.Annotation.prototype.isPrintVisible=h.Annotations.Annotation.prototype.EP;h.Annotations.Annotation.prototype.getInternal=h.Annotations.Annotation.prototype.eO;h.Annotations.Annotation.prototype.resourcesLoaded=h.Annotations.Annotation.prototype.hj;h.Annotations.Annotation.prototype.setModified=h.Annotations.Annotation.prototype.Va;h.Annotations.Annotation.prototype.setRotationControlEnabled=
h.Annotations.Annotation.prototype.S$;h.Annotations.Annotation.prototype.hasRotationControlEnabled=h.Annotations.Annotation.prototype.cu;h.Annotations.Annotation.prototype.selectionModel=h.Annotations.Annotation.prototype.selectionModel;h.Annotations.Annotation.prototype.elementName=h.Annotations.Annotation.prototype.elementName;h.Annotations.Annotation.prototype.getStatus=h.Annotations.Annotation.prototype.n3;h.Annotations.Point=ra.b;h.Annotations.Quad=ra.c;h.Annotations.Border=h.Annotations.Sr;
h.Annotations.Font=h.Annotations.uj;h.Annotations.Rect=ra.d;h.Annotations.Rect.prototype.getWidth=ra.d.prototype.Fa;h.Annotations.Rect.prototype.getHeight=ra.d.prototype.Ca;h.Annotations.Rect.prototype.translate=ra.d.prototype.translate;h.Annotations.Rect.prototype.fitTo=ra.d.prototype.Di;h.Annotations.Rect.prototype.normalize=ra.d.prototype.normalize;h.Annotations.Rect.prototype.exportNormalize=ra.d.prototype.fE;h.CoreControls.Math={};h.CoreControls.Math.Matrix=ra.a;h.CoreControls.Math.Matrix.multiply=
ra.a.multiply;h.CoreControls.Math.Matrix.createTransformWithRespectTo=ra.a.PZ;h.CoreControls.Math.Matrix.fromMatrix2D=ra.a.t1;h.CoreControls.Math.Matrix.prototype.get=ra.a.prototype.get;h.CoreControls.Math.Matrix.prototype.set=ra.a.prototype.set;h.CoreControls.Math.Matrix.prototype.setScale=ra.a.prototype.SH;h.CoreControls.Math.Matrix.prototype.setScaleX=ra.a.prototype.PS;h.CoreControls.Math.Matrix.prototype.setScaleY=ra.a.prototype.QS;h.CoreControls.Math.Matrix.prototype.setTranslate=ra.a.prototype.ur;
h.CoreControls.Math.Matrix.prototype.setTranslateX=ra.a.prototype.WS;h.CoreControls.Math.Matrix.prototype.setTranslateY=ra.a.prototype.XS;h.CoreControls.Math.Matrix.prototype.setSkew=ra.a.prototype.TH;h.CoreControls.Math.Matrix.prototype.setSkewX=ra.a.prototype.TS;h.CoreControls.Math.Matrix.prototype.setSkewY=ra.a.prototype.US;h.CoreControls.Math.Matrix.prototype.setRotation=ra.a.prototype.tv;h.CoreControls.Math.Matrix.prototype.multiply=ra.a.prototype.multiply;h.CoreControls.Math.Matrix.prototype.transpose=
ra.a.prototype.hba;h.CoreControls.Math.Matrix.prototype.toTransform=ra.a.prototype.Rk;h.CoreControls.Math.Matrix.prototype.clone=ra.a.prototype.clone;h.CoreControls.Math.Matrix.prototype.determinant=ra.a.prototype.s_;h.CoreControls.Math.Matrix.prototype.inverse=ra.a.prototype.inverse;h.CoreControls.Math.Point=ra.b;h.CoreControls.Math.Point.prototype.getX=ra.b.prototype.Fc;h.CoreControls.Math.Point.prototype.getY=ra.b.prototype.Gc;h.CoreControls.Math.Point.prototype.add=ra.b.prototype.add;h.CoreControls.Math.Point.prototype.subtract=
ra.b.prototype.subtract;h.CoreControls.Math.Point.prototype.dot=ra.b.prototype.Ab;h.CoreControls.Math.Point.prototype.cross=ra.b.prototype.SZ;h.CoreControls.Math.Point.prototype.distance=ra.b.prototype.th;h.CoreControls.Math.Point.prototype.angle=ra.b.prototype.angle;h.CoreControls.Math.Point.prototype.normalize=ra.b.prototype.normalize;h.CoreControls.Math.Point.prototype.reverse=ra.b.prototype.reverse;h.CoreControls.Math.Point.prototype.perpendicular=ra.b.prototype.r7;h.CoreControls.Math.Point.prototype.translate=
ra.b.prototype.translate;h.CoreControls.Math.Point.prototype.rotate=ra.b.prototype.rotate;h.CoreControls.Math.Point.prototype.scale=ra.b.prototype.scale;h.CoreControls.Math.Point.prototype.toMatrix=ra.b.prototype.MT;h.CoreControls.Math.Point.prototype.transform=ra.b.prototype.transform;h.CoreControls.Math.Point.prototype.equals=ra.b.prototype.fq;h.CoreControls.Math.Point.prototype.isParallelTo=ra.b.prototype.X4;h.CoreControls.Math.Point.prototype.clone=ra.b.prototype.clone;h.CoreControls.Math.Point.prototype.equalTo=
ra.b.prototype.cE;h.CoreControls.Math.Quad=ra.c;h.CoreControls.Math.Quad.prototype.toRect=ra.c.prototype.eba;h.CoreControls.Math.Rect=ra.d;h.CoreControls.Math.Rect.intersects=ra.d.yz;h.CoreControls.Math.Rect.contains=ra.d.contains;h.CoreControls.Math.Rect.createFromDimensions=ra.d.FZ;h.CoreControls.Math.Rect.prototype.getX=ra.d.prototype.Fc;h.CoreControls.Math.Rect.prototype.getY=ra.d.prototype.Gc;h.CoreControls.Math.Rect.prototype.getLeft=ra.d.prototype.Eg;h.CoreControls.Math.Rect.prototype.getRight=
ra.d.prototype.Ki;h.CoreControls.Math.Rect.prototype.getTop=ra.d.prototype.Gg;h.CoreControls.Math.Rect.prototype.getBottom=ra.d.prototype.Ei;h.CoreControls.Math.Rect.prototype.getWidth=ra.d.prototype.Fa;h.CoreControls.Math.Rect.prototype.getHeight=ra.d.prototype.Ca;h.CoreControls.Math.Rect.prototype.getCenter=ra.d.prototype.PN;h.CoreControls.Math.Rect.prototype.getTopLeft=ra.d.prototype.dz;h.CoreControls.Math.Rect.prototype.getTopRight=ra.d.prototype.GO;h.CoreControls.Math.Rect.prototype.getBottomLeft=
ra.d.prototype.GN;h.CoreControls.Math.Rect.prototype.getBottomRight=ra.d.prototype.DE;h.CoreControls.Math.Rect.prototype.translate=ra.d.prototype.translate;h.CoreControls.Math.Rect.prototype.fitTo=ra.d.prototype.Di;h.CoreControls.Math.Rect.prototype.equalTo=ra.d.prototype.cE;h.CoreControls.Math.Rect.prototype.normalize=ra.d.prototype.normalize;h.CoreControls.Math.Rect.prototype.exportNormalize=ra.d.prototype.fE;h.CoreControls.Math.Rect.prototype.intersects=ra.d.prototype.yz;h.CoreControls.Math.Rect.prototype.contains=
ra.d.prototype.contains;h.CoreControls.Math.Rect.prototype.transform=ra.d.prototype.transform;h.CoreControls.Math.Rect.prototype.toQuad=ra.d.prototype.dba;h.CoreControls.Math.TransformationBuilder=ra.e;h.CoreControls.Math.TransformationBuilder.prototype.getAt=ra.e.prototype.L1;h.CoreControls.Math.TransformationBuilder.prototype.setAt=ra.e.prototype.vS;h.CoreControls.Math.TransformationBuilder.prototype.push=ra.e.prototype.push;h.CoreControls.Math.TransformationBuilder.prototype.translate=ra.e.prototype.translate;
h.CoreControls.Math.TransformationBuilder.prototype.translateTo=ra.e.prototype.Mv;h.CoreControls.Math.TransformationBuilder.prototype.scale=ra.e.prototype.scale;h.CoreControls.Math.TransformationBuilder.prototype.skew=ra.e.prototype.Haa;h.CoreControls.Math.TransformationBuilder.prototype.rotate=ra.e.prototype.rotate;h.CoreControls.Math.TransformationBuilder.prototype.getFinalTransform=ra.e.prototype.Uy;h.CoreControls.Math.TransformationBuilder.prototype.clear=ra.e.prototype.clear;h.Annotations.Link=
h.Annotations.Ub;h.Annotations.Link.prototype.isAutomaticLink=h.Annotations.Ub.prototype.ao;h.Annotations.PopupAnnotation=h.Annotations.Mm;h.Annotations.PopupAnnotation.prototype.isOpen=h.Annotations.Mm.prototype.CP;h.Annotations.PopupAnnotation.prototype.setOpen=h.Annotations.Mm.prototype.JS;h.Annotations.MarkupAnnotation=h.Annotations.Ea;h.Annotations.MarkupAnnotation.prototype.setStyles=h.Annotations.Ea.prototype.Kc;h.Annotations.MarkupAnnotation.prototype.selectionModel=h.Annotations.Ea.prototype.selectionModel;
h.Annotations.MarkupAnnotation.prototype.getPopup=h.Annotations.Ea.prototype.qO;h.Annotations.MarkupAnnotation.prototype.setPopup=h.Annotations.Ea.prototype.LS;h.Annotations.IPathAnnotation=h.Annotations.Nc;h.Annotations.IPathAnnotation.prototype.addPathPoint=h.Annotations.Nc.prototype.sc;h.Annotations.IPathAnnotation.prototype.setPathPoint=h.Annotations.Nc.prototype.Yg;h.Annotations.IPathAnnotation.prototype.getPathPoint=h.Annotations.Nc.prototype.Ji;h.Annotations.IPathAnnotation.prototype.popPath=
h.Annotations.Nc.prototype.Go;h.Annotations.IPathAnnotation.prototype.getPath=h.Annotations.Nc.prototype.gb;h.Annotations.IPathAnnotation.prototype.rotate=h.Annotations.Nc.prototype.rotate;h.Annotations.LineAnnotation=h.Annotations.fd;h.Annotations.LineAnnotation.prototype.setStartPoint=h.Annotations.fd.prototype.VH;h.Annotations.LineAnnotation.prototype.getStartPoint=h.Annotations.fd.prototype.Sn;h.Annotations.LineAnnotation.prototype.setEndPoint=h.Annotations.fd.prototype.setEndPoint;h.Annotations.LineAnnotation.prototype.getEndPoint=
h.Annotations.fd.prototype.pq;h.Annotations.LineAnnotation.prototype.setStartStyle=h.Annotations.fd.prototype.mj;h.Annotations.LineAnnotation.prototype.getStartStyle=h.Annotations.fd.prototype.Re;h.Annotations.LineAnnotation.prototype.setEndStyle=h.Annotations.fd.prototype.Qo;h.Annotations.LineAnnotation.prototype.getEndStyle=h.Annotations.fd.prototype.cg;h.Annotations.LineAnnotation.prototype.getAngle=h.Annotations.fd.prototype.bk;h.Annotations.LineAnnotation.prototype.getLineLength=h.Annotations.fd.prototype.Wy;
h.Annotations.LineAnnotation.prototype.setLineLength=h.Annotations.fd.prototype.r$;h.Annotations.LineAnnotation.prototype.rotate=h.Annotations.fd.prototype.rotate;h.Annotations.RectangleAnnotation=h.Annotations.ni;h.Annotations.EllipseAnnotation=h.Annotations.Xk;h.Annotations.FreeHandAnnotation=h.Annotations.FreeHandAnnotation;h.Annotations.FreeHandAnnotation.prototype.addPathPoint=h.Annotations.FreeHandAnnotation.prototype.sc;h.Annotations.FreeHandAnnotation.prototype.setPathPoint=h.Annotations.FreeHandAnnotation.prototype.Yg;
h.Annotations.FreeHandAnnotation.prototype.getPathPoint=h.Annotations.FreeHandAnnotation.prototype.Ji;h.Annotations.FreeHandAnnotation.prototype.popPath=h.Annotations.FreeHandAnnotation.prototype.Go;h.Annotations.FreeHandAnnotation.prototype.getPath=h.Annotations.FreeHandAnnotation.prototype.gb;h.Annotations.FreeHandAnnotation.prototype.setPath=h.Annotations.FreeHandAnnotation.prototype.So;h.Annotations.FreeHandAnnotation.prototype.getPaths=h.Annotations.FreeHandAnnotation.prototype.Df;h.Annotations.FreeHandAnnotation.prototype.emptyPaths=
h.Annotations.FreeHandAnnotation.prototype.H0;h.Annotations.FreeHandAnnotation.prototype.shouldSimplifyPath=h.Annotations.FreeHandAnnotation.prototype.shouldSimplifyPath;h.Annotations.FreeHandAnnotation.prototype.rotate=h.Annotations.FreeHandAnnotation.prototype.rotate;h.Annotations.TextMarkupAnnotation=h.Annotations.tb;h.Annotations.TextMarkupAnnotation.prototype.setQuads=h.Annotations.tb.prototype.VA;h.Annotations.TextMarkupAnnotation.prototype.getQuads=h.Annotations.tb.prototype.Qe;h.Annotations.TextMarkupAnnotation.SurroundingTexts=
h.Annotations.tb.rca;h.Annotations.TextMarkupAnnotation.TextIndices=h.Annotations.tb.sca;h.Annotations.TextHighlightAnnotation=h.Annotations.vj;h.Annotations.TextUnderlineAnnotation=h.Annotations.bp;h.Annotations.TextStrikeoutAnnotation=h.Annotations.ap;h.Annotations.TextSquigglyAnnotation=h.Annotations.$o;h.Annotations.CaretAnnotation=h.Annotations.Ur;h.Annotations.StickyAnnotation=h.Annotations.Yd;h.Annotations.StickyAnnotation.prototype.getState=h.Annotations.Yd.prototype.getState;h.Annotations.StickyAnnotation.prototype.setState=
h.Annotations.Yd.prototype.$$;h.Annotations.StickyAnnotation.prototype.getStateModel=h.Annotations.Yd.prototype.m3;h.Annotations.StickyAnnotation.prototype.setStateModel=h.Annotations.Yd.prototype.aaa;h.Annotations.StampAnnotation=h.Annotations.Bc;h.Annotations.StampAnnotation.prototype.getImageData=h.Annotations.Bc.prototype.getImageData;h.Annotations.StampAnnotation.prototype.setImageData=h.Annotations.Bc.prototype.m$;h.Annotations.RedactionAnnotation=h.Annotations.De;h.Annotations.RedactionAnnotation.prototype.setRect=
h.Annotations.De.prototype.Wd;h.Annotations.PolylineAnnotation=h.Annotations.pg;h.Annotations.PolylineAnnotation.prototype.setStartStyle=h.Annotations.pg.prototype.mj;h.Annotations.PolylineAnnotation.prototype.getStartStyle=h.Annotations.pg.prototype.Re;h.Annotations.PolylineAnnotation.prototype.setEndStyle=h.Annotations.pg.prototype.Qo;h.Annotations.PolylineAnnotation.prototype.getEndStyle=h.Annotations.pg.prototype.cg;h.Annotations.PolygonAnnotation=h.Annotations.Uf;h.Annotations.PolygonAnnotation.prototype.isRectangularPolygon=
h.Annotations.Uf.prototype.UF;h.Annotations.FreeTextAnnotation=h.Annotations.Ja;h.Annotations.FreeTextAnnotation.prototype.getPadding=h.Annotations.Ja.prototype.az;h.Annotations.FreeTextAnnotation.prototype.setPadding=h.Annotations.Ja.prototype.tr;h.Annotations.FreeTextAnnotation.prototype.getIntent=h.Annotations.Ja.prototype.fk;h.Annotations.FreeTextAnnotation.prototype.setIntent=h.Annotations.Ja.prototype.sr;h.Annotations.FreeTextAnnotation.prototype.addPathPoint=h.Annotations.Ja.prototype.sc;h.Annotations.FreeTextAnnotation.prototype.setStartStyle=
h.Annotations.Ja.prototype.mj;h.Annotations.FreeTextAnnotation.prototype.getStartStyle=h.Annotations.Ja.prototype.Re;h.Annotations.FreeTextAnnotation.prototype.isAutoSized=h.Annotations.Ja.prototype.Kq;h.Annotations.FreeTextAnnotation.prototype.getEditor=h.Annotations.Ja.prototype.g2;h.Annotations.FreeTextAnnotation.prototype.fitText=h.Annotations.Ja.prototype.n1;h.Annotations.FreeTextAnnotation.prototype.disableEnterKeypress=h.Annotations.Ja.prototype.u_;h.Annotations.FreeTextAnnotation.prototype.enableEnterKeypress=
h.Annotations.Ja.prototype.J0;h.Annotations.FreeTextAnnotation.Intent=h.Annotations.Ja.Hd;h.Annotations.FreeTextAnnotation.RichTextEditor=Mb.a;h.Annotations.FileAttachmentAnnotation=h.Annotations.ki;h.Annotations.FileAttachmentAnnotation.prototype.getFileData=h.Annotations.ki.prototype.getFileData;h.Annotations.FileAttachmentAnnotation.prototype.setFileData=h.Annotations.ki.prototype.DS;h.Annotations.FileAttachmentAnnotation.prototype.getFileMetadata=h.Annotations.ki.prototype.ZN;h.Annotations.CustomAnnotation=
h.Annotations.Lm;h.Annotations.ControlHandle=Ca.c;h.Annotations.ControlHandle.prototype.testSelection=Ca.c.prototype.testSelection;h.Annotations.BoxControlHandle=Ca.a;h.Annotations.CalloutControlHandle=Ca.b;h.Annotations.LineControlHandle=Ca.d;h.Annotations.LineLeaderControlHandle=Ca.e;h.Annotations.PathControlHandle=Ca.f;h.Annotations.PolygonControlHandle=Ca.g;h.Annotations.TextControlHandle=Ca.h;h.Annotations.SelectionModel=Aa.j;h.Annotations.SelectionModel.prototype.testSelection=Aa.j.prototype.testSelection;
h.Annotations.SelectionModel.prototype.testControlHandles=Aa.j.prototype.Hv;h.Annotations.SelectionModel.prototype.getControlHandles=Aa.j.prototype.T1;h.Annotations.SelectionModel.prototype.canModify=Aa.j.prototype.Pc;h.Annotations.SelectionModel.prototype.draw=Aa.j.prototype.draw;h.Annotations.SelectionModel.prototype.isSelected=Aa.j.prototype.isSelected;h.Annotations.BoxSelectionModel=Aa.a;h.Annotations.CalloutSelectionModel=Aa.b;h.Annotations.FreeTextSelectionModel=Aa.d;h.Annotations.LineSelectionModel=
Aa.e;h.Annotations.PathSelectionModel=Aa.f;h.Annotations.PolygonSelectionModel=Aa.g;h.Annotations.RedactionSelectionModel=Aa.i;h.Annotations.StickySelectionModel=Aa.k;h.Annotations.TextSelectionModel=Aa.l;h.Annotations.FileAttachmentSelectionModel=Aa.c;h.Annotations.XfdfUtils=h.Annotations.ma;h.Annotations.XfdfUtils.serializePoint=h.Annotations.ma.yH;h.Annotations.XfdfUtils.deserializePoint=h.Annotations.ma.LD;h.Annotations.XfdfUtils.serializePointArray=h.Annotations.ma.pr;h.Annotations.XfdfUtils.deserializePointArray=
h.Annotations.ma.An;h.Annotations.XfdfUtils.serializeRect=h.Annotations.ma.zH;h.Annotations.XfdfUtils.deserializeRect=h.Annotations.ma.jy;h.Annotations.XfdfUtils.serializeFringeRect=h.Annotations.ma.wH;h.Annotations.XfdfUtils.deserializeFringeRect=h.Annotations.ma.TM;h.Annotations.XfdfUtils.serializeMeasure=h.Annotations.ma.nv;h.Annotations.XfdfUtils.deserializeMeasure=h.Annotations.ma.mt;h.Annotations.XfdfUtils.toXmlDate=h.Annotations.ma.eB;h.Annotations.XfdfUtils.parseDefaultAppearance=h.Annotations.ma.mA;
h.Annotations.SelectionAlgorithm=Ea.a;h.Annotations.SelectionAlgorithm.boundingRectTest=Ea.a.qn;h.Annotations.SelectionAlgorithm.canvasVisibilityTest=Ea.a.tn;h.Annotations.SelectionAlgorithm.textQuadTest=Ea.a.nI;h.Annotations.Utilities=h.Annotations.za;h.Annotations.Utilities.setExtraSelectors=h.Annotations.za.g$;h.Annotations.Utilities.setAnnotationSubjectHandler=h.Annotations.za.O9;h.Annotations.CanvasHelper=za.a;h.Annotations.CanvasHelper.prototype.clear=za.a.prototype.clear;h.Annotations.CanvasHelper.prototype.drawText=
za.a.prototype.aq;h.Annotations.CanvasHelper.prototype.drawLine=za.a.prototype.Ai;h.Annotations.CanvasHelper.prototype.drawLineXY=za.a.prototype.g0;h.Annotations.CanvasHelper.prototype.drawRectangle=za.a.prototype.o0;h.Annotations.CanvasHelper.prototype.drawCircle=za.a.prototype.$p;h.Annotations.CanvasHelper.prototype.drawCircleXY=za.a.prototype.Q_;h.Annotations.CanvasHelper.prototype.drawPolygon=za.a.prototype.m0;h.Annotations.CanvasHelper.prototype.drawClouds=za.a.prototype.R_;h.Annotations.CanvasHelper.prototype.measureText=
za.a.prototype.measureText;h.Annotations.setCustomSerializeHandler=Ba.f;h.Annotations.setCustomDeserializeHandler=Ba.d;h.Annotations.restoreSerialize=Ba.c;h.Annotations.restoreDeserialize=Ba.a;h.Annotations.setCustomDrawHandler=Ba.e;h.Annotations.restoreDraw=Ba.b;h.Tools={};h.Tools.ToolNames=La.g;h.Tools.Tool=pa.K;h.Tools.Tool.prototype.getDocumentViewer=pa.K.prototype.bg;h.Tools.Tool.prototype.getMouseLocation=pa.K.prototype.xh;h.Tools.Tool.prototype.setStyles=pa.K.prototype.Kc;h.Tools.Tool.prototype.setName=
pa.K.prototype.NH;aa(h.Tools.Tool);h.Tools.AnnotationSelectTool=pa.b;h.Tools.AnnotationSelectTool.prototype.setEnableImmediateActionOnAnnotationSelection=pa.b.prototype.b$;h.Tools.AnnotationSelectTool.setMinimumAnnotationSizeWhenResizing=pa.b.z$;h.Tools.TextTool=pa.I;h.Tools.GenericAnnotationCreateTool=pa.o;h.Tools.PanTool=pa.r;h.Tools.TextSelectTool=pa.F;h.Tools.AnnotationEditTool=pa.a;h.Tools.LineCreateTool=pa.p;h.Tools.LineCreateTool.prototype.setDrawMode=pa.p.prototype.IH;h.Tools.LineCreateTool.prototype.getDrawMode=
pa.p.prototype.Jt;h.Tools.LineCreateTool.DrawModes=pa.p.DB;h.Tools.LineCreateTool.prototype.setSnapMode=pa.p.prototype.UH;h.Tools.ArrowCreateTool=pa.d;h.Tools.CountMeasurementCreateTool=pa.f;h.Tools.DistanceMeasurementCreateTool=pa.h;h.Tools.DistanceMeasurementCreateTool.prototype.setEnableLeaderLines=pa.h.prototype.c$;h.Tools.PerimeterMeasurementCreateTool=pa.s;h.Tools.PerimeterMeasurementCreateTool.prototype.setSnapMode=pa.s.prototype.UH;h.Tools.AreaMeasurementCreateTool=pa.c;h.Tools.AreaMeasurementCreateTool.prototype.setSnapMode=
pa.c.prototype.UH;h.Tools.EllipseMeasurementCreateTool=pa.j;h.Tools.RectangularAreaMeasurementCreateTool=pa.x;h.Tools.RectangularAreaMeasurementCreateTool.prototype.setDrawMode=pa.x.prototype.IH;h.Tools.RectangularAreaMeasurementCreateTool.prototype.getDrawMode=pa.x.prototype.Jt;h.Tools.RectangleCreateTool=pa.w;h.Tools.RedactionCreateTool=pa.y;h.Tools.RedactionCreateTool.prototype.setEnableTextAutoSize=pa.y.prototype.e$;h.Tools.RedactionCreateTool.prototype.enableSingleClickToRedactLine=pa.y.prototype.L0;
h.Tools.RedactionCreateTool.prototype.disableSingleClickToRedactLine=pa.y.prototype.x_;h.Tools.EllipseCreateTool=pa.i;h.Tools.EllipseCreateTool.prototype.setDrawMode=pa.i.prototype.IH;h.Tools.EllipseCreateTool.prototype.getDrawMode=pa.i.prototype.Jt;h.Tools.EllipseCreateTool.DrawModes=pa.i.DB;h.Tools.FreeHandCreateTool=pa.m;h.Tools.EraserTool=pa.k;h.Tools.CropCreateTool=pa.g;h.Tools.CropCreateTool.prototype.applyCrop=pa.g.prototype.nY;h.Tools.CropCreateTool.prototype.setCropMode=pa.g.prototype.S9;
h.Tools.CropCreateTool.prototype.getCropMode=pa.g.prototype.V1;h.Tools.CropCreateTool.CropModes=pa.g.FU;h.Tools.MarqueeZoomTool=pa.q;h.Tools.MarqueeZoomTool.setZoomHandler=pa.q.paa;h.Tools.MarqueeZoomTool.setMaxZoomLevel=pa.q.w$;h.Tools.MarqueeZoomTool.setMinZoomLevel=pa.q.y$;h.Tools.SignatureCreateTool=pa.A;h.Tools.SignatureCreateTool.setTextHandler=pa.A.uv;h.Tools.SignatureCreateTool.prototype.setSignatureCanvas=pa.A.prototype.Y$;h.Tools.SignatureCreateTool.prototype.clearSignatureCanvas=pa.A.prototype.mZ;
h.Tools.SignatureCreateTool.prototype.saveSignatures=pa.A.prototype.jS;h.Tools.SignatureCreateTool.prototype.deleteSavedSignature=pa.A.prototype.l_;h.Tools.SignatureCreateTool.prototype.getSavedSignatures=pa.A.prototype.g3;h.Tools.SignatureCreateTool.prototype.importSignatures=pa.A.prototype.l4;h.Tools.SignatureCreateTool.prototype.exportSignatures=pa.A.prototype.W0;h.Tools.SignatureCreateTool.prototype.setSignature=pa.A.prototype.X$;h.Tools.SignatureCreateTool.prototype.hasLocation=pa.A.prototype.V3;
h.Tools.SignatureCreateTool.prototype.clearLocation=pa.A.prototype.gZ;h.Tools.SignatureCreateTool.prototype.addSignature=pa.A.prototype.VX;h.Tools.SignatureCreateTool.prototype.isEmptySignature=pa.A.prototype.NF;h.Tools.SignatureCreateTool.prototype.getPreview=pa.A.prototype.Ut;h.Tools.SignatureCreateTool.prototype.showPreview=pa.A.prototype.cI;h.Tools.SignatureCreateTool.prototype.hidePreview=pa.A.prototype.du;h.Tools.SignatureCreateTool.prototype.resizeCanvas=pa.A.prototype.o9;h.Tools.RubberStampCreateTool=
pa.z;h.Tools.RubberStampCreateTool.prototype.getPreview=pa.z.prototype.Ut;h.Tools.RubberStampCreateTool.prototype.showPreview=pa.z.prototype.cI;h.Tools.RubberStampCreateTool.prototype.hidePreview=pa.z.prototype.du;h.Tools.RubberStampCreateTool.prototype.addStamp=pa.z.prototype.CL;h.Tools.RubberStampCreateTool.prototype.setRubberStamp=pa.z.prototype.T$;h.Tools.RubberStampCreateTool.prototype.getDefaultStamps=pa.z.prototype.a2;h.Tools.RubberStampCreateTool.prototype.isEmptyStamp=pa.z.prototype.tP;h.Tools.RubberStampCreateTool.prototype.drawCustomStamp=
pa.z.prototype.UD;h.Tools.RubberStampCreateTool.prototype.addCustomStamp=pa.z.prototype.JX;h.Tools.RubberStampCreateTool.prototype.getStandardStampAnnotations=pa.z.prototype.k3;h.Tools.RubberStampCreateTool.prototype.getCustomStampAnnotations=pa.z.prototype.W1;h.Tools.RubberStampCreateTool.prototype.getStandardStamps=pa.z.prototype.l3;h.Tools.RubberStampCreateTool.prototype.setStandardStamps=pa.z.prototype.Z$;h.Tools.RubberStampCreateTool.prototype.getCustomStamps=pa.z.prototype.X1;h.Tools.RubberStampCreateTool.prototype.setCustomStamps=
pa.z.prototype.X9;h.Tools.RubberStampCreateTool.prototype.createCustomStampAnnotation=pa.z.prototype.DM;h.Tools.RubberStampCreateTool.prototype.setCustomDrawFunction=pa.z.prototype.V9;h.Tools.StickyCreateTool=pa.C;h.Tools.StickyCreateTool.prototype.setAllowCreationOverAnnotation=pa.C.prototype.BH;h.Tools.StickyCreateTool.prototype.setSaveViewState=pa.C.prototype.U$;h.Tools.TextAnnotationCreateTool=pa.D;h.Tools.TextHighlightCreateTool=pa.E;h.Tools.TextUnderlineCreateTool=pa.J;h.Tools.TextStrikeoutCreateTool=
pa.H;h.Tools.TextSquigglyCreateTool=pa.G;h.Tools.PolylineCreateTool=pa.v;h.Tools.PolylineCreateTool.prototype.setAllowCreationOverAnnotation=pa.v.prototype.BH;h.Tools.PolygonCreateTool=pa.u;h.Tools.PolygonCloudCreateTool=pa.t;h.Tools.PolygonCloudCreateTool.ArcDrawModes=pa.t.AU;h.Tools.PolygonCloudCreateTool.prototype.setArcDrawMode=pa.t.prototype.DH;h.Tools.PolygonCloudCreateTool.prototype.getArcDrawMode=pa.t.prototype.K1;h.Tools.CalloutCreateTool=pa.e;h.Tools.CalloutCreateTool.prototype.setEnableAutoSized=
pa.e.prototype.Z9;h.Tools.CalloutCreateTool.setTextHandler=pa.e.uv;h.Tools.FreeTextCreateTool=pa.n;h.Tools.FreeTextCreateTool.setTextHandler=pa.n.uv;h.Tools.StampCreateTool=pa.B;h.Tools.FileAttachmentCreateTool=pa.l;h.utils={};h.utils.isBlendModeSupported=sa.f;h.utils.getCanvasMultiplier=Ga.b;h.utils.setCanvasMultiplier=Ga.c;h.utils.unsetCanvasMultiplier=Ga.d;h.utils.setIsWindowsApp=Ra.r;h.utils.getScrollLeft=Ta.a;h.utils.getHashParam=va.a;h.CoreControls.PartRetrievers={};h.CoreControls.PartRetrievers.getPartRetriever=
z.c;h.CoreControls.PartRetrievers.getPartRetrieverConstructor=z.d;h.CoreControls.PartRetrievers.CacheHinting=y.a;h.CoreControls.PartRetrievers.Types=y.b;h.CoreControls.PartRetrievers.TYPES=y.b;h.PDFNet.Convert={};h.PDFNet.initialize=Ma.a;h.PDFNet.Convert.office2PDFBuffer=Ma.b;h.CoreControls.office2PDFBuffer=Ma.b})(window)},,function(ha,ca,h){h(306);ha.exports=h(348)},function(ha,ca,h){h.r(ca);h(307);h(308);h(309);ha=h(310);h.n(ha);ha=h(312);h.n(ha);h(186);h(140);h(94);h(145);h(341);h(57);h(342);h(44);
h(77);h(343);h(90);h(9);h(179);h(344);h(345);h(188);h(346);ha=h(172);h(108);h(347);ca=h(286);var ba=h(287),aa=h(290);h(303);Object(aa.a)();Object(ha.a)();Object(ca.a)();Object(ba.a)()},function(ha,ca,h){var ba=h(44),aa=h(1),fa=h(6),da=h(57);(function(){var h=window.qJ||{};window.qJ=h;h.uj=function(){this.SJ={};this.GC=1E3;this.IK=200};h.uj.prototype={JK:0,KK:0,GC:0,IK:0,CE:function(h){var f=new fa.f,e=this.SJ[h];"undefined"!==typeof e?f.sk(e):Object(aa.h)("Character "+h+" does not have bounding box.");
return f},yx:function(h,f,e){var x=new fa.f;x.set(f,this.JK,e,this.KK);this.SJ[h]=x},qr:function(h,f){this.JK=h;this.KK=f},ZS:function(h){this.GC=h}};h.VI=function(h){this.rE={};this.xe=!1;this.ya=h};Object.assign(h.VI.prototype,{xe:!1,Bea:function(){return this.xe},iea:function(){return this.rE},YG:function(h){try{var f=new da.a(h);Object(aa.a)("FontInfo"===f.Oa(),"Root element is incorrect.");"FontInfo"===f.Oa()&&(f.Ia(),this.lx(f))}catch(e){Object(aa.h)("Font Parser has encountered an error: "+
e.message);return}this.xe=!0},Qw:function(h){var f="",e=0;for(2<=h.length&&"{"===h.charAt(0)&&"}"===h.charAt(1)&&(h=h.substr(2));e<h.length;){var x=h.charCodeAt(e);if(128>x)f+=String.fromCharCode(x),e++;else if(191<x&&224>x){var r=h.charCodeAt(e+1);f+=String.fromCharCode((x&31)<<6|r&63);e+=2}else{r=h.charCodeAt(e+1);var w=h.charCodeAt(e+2);f+=String.fromCharCode((x&15)<<12|(r&63)<<6|w&63);e+=3}}return f},lX:function(h){h=h.ba("name");Object(aa.a)(42===h.length,"Font file name is incorrect.");Object(aa.a)(null!=
h,"Font file name is incorrect.");return ba.a.LE(this.ya,parseInt("0x"+h.substr(28,8)))},kX:function(h,f){Object(aa.a)(null!=f,"Font bbox file is corrupted.");h=h.ba("height");Object(aa.a)(null!=h,"Height attribute is missing.");h=h.split(":");f.qr(parseFloat(h[0]),parseFloat(h[1]))},mX:function(h,f){h=h.ba("units_per_em");null!=h&&f.ZS(parseInt(h))},jX:function(h,f){Object(aa.a)(null!=f,"Font bbox file is corrupted.");var e=h.ba("bbox");Object(aa.a)(null!=e,"Character width is missing.");var x=e.split(":");
e=parseFloat(x[0]);x=parseFloat(x[1]);h=this.Qw(h.current.textContent);Object(aa.a)(0<h.length,"Char value is empty.");f.yx(h,e,x)},lx:function(y){do{for(var f=null;y.advance();){var e=y.Oa();"Font"===e?(f=new h.uj,e=this.lX(y),this.kX(y,f),this.mX(y,f),this.rE[e]=f,y.Ia()):"c"===e?this.jX(y,f):Object(aa.h)("Font XML parser has encountered a tag it can't process.")}y.Za()}while(y.depth)}})})()},function(ha,ca,h){var ba=h(29),aa=h(26);(function(fa){function da(e){this.done=!1;this.worker=new Worker(Object(ba.c)()+
"Worker.js");var f=null,h=null,w=this;this.index=e;this.worker.addEventListener("message",function(e){switch(e.data.command){case "done":w.done=!0;h=null;break;case "nextChunk":f=e.data.resources;h=e.data.dataString;break;default:throw Error("Unknown message command "+e.data.command+" from worker");}w.done?(w.Sx(null,[]),w.finish()):f&&h&&(w.Sx(h,f),h=f=null)},!1);this.Vba()}var z=[],y=[],f="../core/";h.p=f;da.prototype={setData:function(e,f,h){this.Sx=f;this.done=!1;this.worker.postMessage({command:"data",
dataString:e,docId:h})},cancel:function(){this.worker.postMessage({command:"cancel"})},Vba:function(){this.worker.postMessage({command:"options",imageScaling:fa.kb.UC,specialBlendSupported:Object(aa.n)(),continueWithoutPrompt:0<fa.Yo})},Vz:function(){this.worker.postMessage({command:"nextChunk"})},finish:function(){this.done=!0;if(y.length){var e=y[0];y.shift();this.setData(e.data,e.Sx,e.ya);e.s4(this)}}};fa.N3=function(e,f,h,w){for(var n=z.length,r,x=0;x<n;++x)z[x].done&&(r=z[x]);r||4>n&&(r=z[n]=
new da(n));r?(r.setData(e,w,f),h(r)):y.push({s4:h,data:e,ya:f,Sx:w})};fa.kb=fa.kb||{};fa.kb.UC=!1;fa.kb.Ef=function(){return f};fa.kb.naa=function(e){e.lastIndexOf("/")!==e.length-1&&(e+="/");f=e;h.p=f}})(window)},function(ha,ca,h){var ba=h(140),aa=h(1),fa=h(172),da=h(60);(function(h){h.XV=function(){function y(f,e,x){var r=this;this.cj=[];this.gq={};this.bq={};createPromiseCapability();this.CI=new Promise(function(w,n){if("undefined"!==typeof Worker)try{var y=new ba.a("main",f);y.Ho=e;r.Ka=y;y.on("test",
function(e){e&&e.supportTypedArray?(e.supportTransfers||(y.Ho=!1),r.vaa(y),w()):n(new da.a("Typed arrays are not supported. Can't start a worker.","error.WorkerInitError"))});var z={array:new Uint8Array([255])};try{z.options=x?x:{},z.options.chunkMax=h.IU,y.send("test",z)}catch(ka){Object(aa.f)("Cannot use postMessage transfers"),y.Ho=!1,z.array[0]=0,y.send("test",z)}return}catch(ka){n(new da.a("The worker has been disabled. This may be the result of an unsupported browser.","error.SupportError"))}n(new da.a("Can't start a worker",
"error.WorkerInitError"))})}y.prototype={ir:0,ET:1,Be:2,Ch:3,vaa:function(f){this.Ka=f;f.on("event",this.gS,this)},gS:function(f){var e=f.docId;if(this.gq[e])this.gq[e](f);else e in this.bq?this.bq[e].push(f):this.bq[e]=[f]},addEventListener:function(f,e){if(null!==f)if(this.gq[f])Object(aa.e)("Event listener already set for "+f);else if(this.gq[f]=e,f in this.bq){e=this.bq[f];for(var h=0;h<e.length;++h)this.gS(e[h]);delete this.bq[f]}},rM:function(f){delete this.gq[f]},reset:function(){this.Ka&&
this.Ka.reset()},d1:function(f){return this.Ka.Bb("NewDoc",f,this.Ch)},$P:function(f,e){f={array:f,workerPath:h.kb.Ef()};e&&(f.l=e);return this.Ka.Bb("LoadRes",f,this.Ch)},A5:function(f,e){f={path:f};e&&(f.l=e);return this.Ka.Bb("LoadResFromPath",f,this.Ch)},LN:function(f,e,h,r,w,n,y,z){return"undefined"===typeof z?this.Ka.MA("GetCanvas",{docId:f,pageIndex:e,width:h,height:r,rotation:w,layers:n,renderOptions:y},this.ir):this.Ka.MA("GetCanvasPartial",{docId:f,pageIndex:e,width:h,height:r,rotation:w,
layers:n,bbox:[z.x1,z.y1,z.x2,z.y2],renderOptions:y},this.ir)},R1:function(f,e,h,r,w,n,y,z,aa){return"undefined"===typeof z?this.Ka.MA("GetCanvas",{docId:f,pageIndex:e,width:h,height:r,rotation:w,layers:n,filePath:aa,renderOptions:y},this.ir):this.Ka.MA("GetCanvasPartial",{docId:f,pageIndex:e,width:h,height:r,rotation:w,layers:n,bbox:[z.x1,z.y1,z.x2,z.y2],filePath:aa,renderOptions:y},this.ir)},MN:function(f,e){return"undefined"!==typeof e?this.Ka.Bb("GetCanvasProgressive",{callbackId:f,filePath:e},
this.ir):this.Ka.Bb("GetCanvasProgressive",{callbackId:f},this.ir)},Jh:function(f,e){return this.Ka.Bb("LoadText",{docId:f,pageIndex:e},this.ET)},w5:function(f){return this.Ka.Bb("LoadBookmarks",{docId:f},this.Ch)},u5:function(f,e){f={docId:f};e&&(f.pages=e);return this.Ka.Bb("LoadAnnotations",f,this.Ch)},iS:function(f){return this.Ka.Bb("SaveDoc",f,this.Be)},y9:function(f){return this.Ka.Bb("SaveDocFromFixedElements",f,this.Be)},z9:function(f){return this.Ka.Bb("SaveDocAs",f,this.Be)},Bba:function(f,
e){return this.Ka.Bb("UpdatePassword",{docId:f,password:e},this.Ch)},Qi:function(f,e,h,r){return this.Ka.Bb("InsertBlankPages",{docId:f,width:h,height:r,pageArray:e},this.Be)},Jg:function(f,e,h,r,w){return this.Ka.Bb("InsertPages",{docId:f,doc:e,pageArray:h,destPos:r,insertBookmarks:w},this.Be)},Zi:function(f,e,h){return this.Ka.Bb("MovePages",{docId:f,pageArray:e,destPos:h},this.Be)},Qh:function(f,e){return this.Ka.Bb("RemovePages",{docId:f,pageArray:e},this.Be)},Sh:function(f,e,h){return this.Ka.Bb("RotatePages",
{docId:f,pageArray:e,rotation:h},this.Be)},dg:function(f){return this.Ka.Bb("GetPDFDoc",{docId:f},this.Be)},Bi:function(f,e,h,r){return this.Ka.Bb("ExtractPages",{docId:f,pageArray:e,xfdfString:h,watermarks:r},this.Be)},Bg:function(f,e,h,r,w,n){return this.Ka.Bb("CropPages",{docId:f,pageArray:e,topMargin:h,botMargin:r,leftMargin:w,rightMargin:n},this.Be)},Ok:function(f,e){return this.Ka.Bb("DownloaderHint",{docId:f,hint:e},this.Be)},S4:function(f){return this.Ka.Bb("IsLinearized",{docId:f},this.Be)},
On:function(f){return this.Ka.Bb("GetLayers",{docId:f},this.Be)},Zj:function(f,e){return this.Ka.Bb("ExtractPDFNetLayersContext",{docId:f,layers:e},this.Be)},St:function(){return this.Ka.St()},ey:function(f){return this.Ka.Bb("DeleteDocument",{docId:f},this.Be)},OA:function(f){return this.Ka.Bb("SetCustomFontURL",{fontURL:f},this.Ch)},getWorkerType:function(){if(this.Ka.Tj&&"function"===typeof this.Ka.Tj.getWorkerType)return this.Ka.Tj.getWorkerType();if(Object(fa.b)(this.Ka.Tj))return"ems"},Nk:function(f,
e){return this.Ka.Bb("RequirePage",{docId:f,pageNum:e},this.Ch)},sendWithPromise:function(f,e,h){return this.Ka.Bb(f,e,h)},Ss:function(f){this.Ka.lM(f)},getMetadata:function(f){return this.Ka.Bb("GetMetadata",{docId:f},this.Ch)},My:function(f,e){return this.Ka.Bb("GetAnnotationAppearances",{docId:f,references:e},this.ET)},w_:function(f){return this.Ka.send("disableLogs",{disabled:void 0===f?!0:f})}};return y}()})(window)},function(ha,ca,h){(function(h,aa){var ba;(function(h){function z(){}function y(){for(var e=
0;e<za.length;e++)za[e][0](za[e][1]);za=[];sa=!1}function f(e,f){za.push([e,f]);sa||(sa=!0,Ba(y,0))}function e(e,f){function h(e){w(f,e)}function n(e){ea(f,e)}try{e(h,n)}catch(Ha){n(Ha)}}function x(e){var f=e.owner,h=f.state_;f=f.data_;var n=e[h];e=e.then;if("function"===typeof n){h=ra;try{f=n(f)}catch(Ha){ea(e,Ha)}}r(e,f)||(h===ra&&w(e,f),h===na&&ea(e,f))}function r(e,f){var h;try{if(e===f)throw new TypeError("A promises callback cannot return that same promise.");if(f&&("function"===typeof f||"object"===
typeof f)){var r=f.then;if("function"===typeof r)return r.call(f,function(r){h||(h=!0,f!==r?w(e,r):n(e,r))},function(f){h||(h=!0,ea(e,f))}),!0}}catch(Ha){return h||ea(e,Ha),!0}return!1}function w(e,f){e!==f&&r(e,f)||n(e,f)}function n(e,h){e.state_===ja&&(e.state_=ua,e.data_=h,f(da,e))}function ea(e,h){e.state_===ja&&(e.state_=ua,e.data_=h,f(fa,e))}function ia(e){var f=e.then_;e.then_=void 0;for(e=0;e<f.length;e++)x(f[e])}function da(e){e.state_=ra;ia(e)}function fa(e){e.state_=na;ia(e)}function ma(f){if("function"!==
typeof f)throw new TypeError("Promise constructor takes a function argument");if(!1===this instanceof ma)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this.then_=[];e(f,this)}h.createPromiseCapability=function(){var e={},f=new ma(function(f,h){e.resolve=f;e.reject=h});e.promise=f;return e};var la=h.Promise;h=la&&"resolve"in la&&"reject"in la&&"all"in la&&"race"in la&&function(){var e;new la(function(f){e=
f});return"function"===typeof e}();ca?(ca.Promise=h?la:ma,ca.Polyfill=ma):!(ba=h?la:ma,void 0!==ba&&(ha.exports=ba));var ja="pending",ua="sealed",ra="fulfilled",na="rejected",Ba="undefined"!==typeof aa?aa:setTimeout,za=[],sa;ma.prototype={constructor:ma,state_:ja,then_:null,data_:void 0,then:function(e,h){e={owner:this,then:new this.constructor(z),fulfilled:e,rejected:h};this.state_===ra||this.state_===na?f(x,e):this.then_.push(e);return e.then},"catch":function(e){return this.then(null,e)}};ma.all=
function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("You must pass an array to Promise.all().");return new this(function(f,h){function n(e){w++;return function(h){r[e]=h;--w||f(r)}}for(var r=[],w=0,x=0,y;x<e.length;x++)(y=e[x])&&"function"===typeof y.then?y.then(n(x),h):r[x]=y;w||f(r)})};ma.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("You must pass an array to Promise.race().");return new this(function(f,h){for(var n=
0,r;n<e.length;n++)(r=e[n])&&"function"===typeof r.then?r.then(f,h):f(r)})};ma.resolve=function(e){return e&&"object"===typeof e&&e.constructor===this?e:new this(function(f){f(e)})};ma.reject=function(e){return new this(function(f,h){h(e)})}})("undefined"!=typeof window?window:"undefined"!=typeof h?h:"undefined"!=typeof self?self:this)}).call(this,h(147),h(185).setImmediate)},function(ha,ca,h){(function(h,aa){(function(h,ba){function z(e){delete ia[e]}function y(e){if(da)setTimeout(y,0,e);else{var f=
ia[e];if(f){da=!0;try{var h=f.Ke,n=f.args;switch(n.length){case 0:h();break;case 1:h(n[0]);break;case 2:h(n[0],n[1]);break;case 3:h(n[0],n[1],n[2]);break;default:h.apply(ba,n)}}finally{z(e),da=!1}}}}function f(){ca=function(e){aa.nQ(function(){y(e)})}}function e(){if(h.postMessage&&!h.importScripts){var e=!0,f=h.onmessage;h.onmessage=function(){e=!1};h.postMessage("","*");h.onmessage=f;return e}}function x(){function e(e){e.source===h&&"string"===typeof e.data&&0===e.data.indexOf(f)&&y(+e.data.slice(f.length))}
var f="setImmediate$"+Math.random()+"$";h.addEventListener?h.addEventListener("message",e,!1):h.attachEvent("onmessage",e);ca=function(e){h.postMessage(f+e,"*")}}function r(){var e=new MessageChannel;e.port1.onmessage=function(e){y(e.data)};ca=function(f){e.port2.postMessage(f)}}function w(){var e=fa.documentElement;ca=function(f){var h=fa.createElement("script");h.onreadystatechange=function(){y(f);h.onreadystatechange=null;e.removeChild(h);h=null};e.appendChild(h)}}function n(){ca=function(e){setTimeout(y,
0,e)}}if(!h.setImmediate){var ea=1,ia={},da=!1,fa=h.document,ca,ha=Object.getPrototypeOf&&Object.getPrototypeOf(h);ha=ha&&ha.setTimeout?ha:h;"[object process]"==={}.toString.call(h.process)?f():e()?x():h.MessageChannel?r():fa&&"onreadystatechange"in fa.createElement("script")?w():n();ha.setImmediate=function(e){"function"!==typeof e&&(e=new Function(""+e));for(var f=Array(arguments.length-1),h=0;h<f.length;h++)f[h]=arguments[h+1];ia[ea]={Ke:e,args:f};ca(ea);return ea++};ha.clearImmediate=z}})("undefined"===
typeof self?"undefined"===typeof h?this:h:self)}).call(this,h(147),h(215))},function(){function ha(ca,h){ca&&(this.encoding=ca);h&&(this.version=h)}(function(){function ca(h){for(var aa=h.c.length;aa--;)"object"==typeof h.c[aa]&&ca(h.c[aa]);h.n=h.a=h.c=null}function h(ba,aa,fa,da){var z=aa+"<"+ba.n,y=ba.c.length,f,e=0;for(f in ba.a)z+=" "+f+'="'+ba.a[f]+'"';da.push(z+(y?">":" />"));if(y){do if(z=ba.c[e++],"string"==typeof z){if(1==y)return da.push(da.pop()+z+"</"+ba.n+">");da.push(aa+fa+z)}else"object"==
typeof z&&h(z,aa+fa,fa,da);while(e<y);da.push(aa+"</"+ba.n+">")}}window.XMLWriter=ha;ha.prototype={encoding:"ISO-8859-1",version:"1.0",formatting:"indented",indentChar:"\t",indentation:1,newLine:"\n",writeStartDocument:function(h){this.close();this.stack=[];this.standalone=h},writeEndDocument:function(){this.active=this.root;this.stack=[]},writeDocType:function(h){this.doctype=h},writeStartElement:function(h,aa){aa&&(h=aa+":"+h);aa=this.active;h={n:h,a:{},c:[]};aa?(aa.c.push(h),this.stack.push(aa)):
this.root=h;this.active=h},writeEndElement:function(){this.active=this.stack.pop()||this.root},writeAttributeString:function(h,aa){this.active&&(this.active.a[h]=aa)},writeString:function(h){this.active&&this.active.c.push(h)},writeElementString:function(h,aa,fa){this.writeStartElement(h,fa);this.writeString(aa);this.writeEndElement()},writeCDATA:function(h){this.writeString("<![CDATA["+h+"]]\x3e")},writeComment:function(h){this.writeString("\x3c!-- "+h+" --\x3e")},flush:function(){var ba="",aa=this.indentation,
fa="indented"==this.formatting.toLowerCase(),da='<?xml version="'+this.version+'" encoding="'+this.encoding+'"';this.stack&&this.stack[0]&&this.writeEndDocument();void 0!==this.standalone&&(da+=' standalone="'+!!this.standalone+'"');da=[da+" ?>"];this.doctype&&this.root&&da.push("<!DOCTYPE "+this.root.n+" "+this.doctype+">");if(fa)for(;aa--;)ba+=this.indentChar;this.root&&h(this.root,"",ba,da);return da.join(fa?this.newLine:"")},close:function(){this.root&&ca(this.root);this.active=this.root=this.stack=
null},getDocument:function(){return(new DOMParser).parseFromString(this.flush(),"text/xml")}}})()},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1);(function(h){h.Annotations=h.Annotations||{};var da=h.Annotations;da.oi={CN:function(h,y){var f=y.ta();y=y.getDocument();var e=[];if(!h||y&&y.Ui())e=f.Yb().filter(function(e){return e instanceof da.De});else if(Object(ba.isArray)(h))e=h.filter(function(e){return e instanceof da.De});else if(h instanceof da.De)e=[h];else{Object(aa.h)("The selected annotation can`t be redacted");
return}0===e.length&&Object(aa.h)("No redaction annotations selected");return e},i3:function(h,y){var f=y.ta(),e=f.Yb().filter(function(e){return!(e instanceof da.De)});return{redactions:da.oi.b3(h,y),annots:f.In({annotList:e})}},b3:function(h,y){var f=y.ta(),e=[];da.oi.CN(h,y).forEach(function(f){1===f.Vt().length?e.push(f):f.Vt().forEach(function(h){var r=Object.assign(new da.De,f);r.Quads=[{x1:h.x1,x2:h.x2,x3:h.x2,x4:h.x1,y1:h.y2,y2:h.y2,y3:h.y1,y4:h.y1}];e.push(r)})});return f.In({annotList:e})},
$C:function(z,y){var f=y.ta(),e=y.getDocument();if(!f.GF())return Object(aa.h)("Applying redactions is not enabled"),Promise.reject("Applying Redaction is not enabled");if(e.Ui())return e.Ev(z,y);var x=da.oi.CN(z,y),r=null;e.iu(x);return h.PDFNet.initialize().then(function(){return e.dg()}).then(function(e){r=e;return da.oi.j9(e,x)}).then(function(){return h.PDFNet.runWithCleanup(function(){return Promise.all(x.map(function(e){return da.oi.g8(r,y,e)}))})})},j9:function(h,y){var f=[];y.forEach(function(e){e=
e.Ba();-1===f.indexOf(e)&&f.push(e)});return Promise.all(f.map(function(e){return h.requirePage(e)}))},g8:function(z,y,f){h.PDFNet.startDeallocateStack();z.lock();var e=y.ta(),x=da.oi.a3(f),r=da.oi.F1(f,y);return Promise.all([r,x]).then(function(e){return h.PDFNet.Redactor.redact(z,e[0],e[1],!0,!1)}).then(function(){var r=f.Ba();f.Vt().forEach(function(h){da.oi.j_(h,e,f)});e.Rc(f,{force:!0,source:"redactionApplied"});y.yR(r);y.bi();y.getDocument().zR();h.PDFNet.endDeallocateStack();return{Ac:r,rect:f.pb()}}).catch(function(e){h.PDFNet.endDeallocateStack();
throw e;})},a3:function(z){var y,f,e,x,r,w,n,aa;return $h(function(ea){if(1==ea.ra)return y=z.FillColor,f=z.TextColor,e=10,vf(ea,h.PDFNet.ColorPt.init(y.R/255,y.G/255,y.B/255,y.A),2);if(3!=ea.ra)return x=ea.Vc,vf(ea,h.PDFNet.ColorPt.init(f.R/255,f.G/255,f.B/255,f.A),3);r=ea.Vc;w={};n=z.FontSize?parseInt(z.FontSize,10):e;w.positive_overlay_color=x;w.redacted_content_color=x;w.text_color=r;w.min_font_size=n;w.max_font_size=n;w.border=!1;aa=Object(ba.get)(z,"TextAlign","left");switch(aa){case "right":w.horiz_text_alignment=
1;break;case "center":w.horiz_text_alignment=0;break;default:w.horiz_text_alignment=-1}return ea.return(w)})},F1:function(z,y){var f=[],e=z.Vt(),x=y.O,r=z.Ba(),w=z.OverlayText||"";e.forEach(function(e){var n=x.Ul(r,e.x1,e.y1);e=x.Ul(r,e.x2,e.y2);n=h.PDFNet.Rect.init(n.x,n.y,e.x,e.y).then(function(e){return h.PDFNet.Redactor.redactionCreate(r,e,!1,w).then(function(e){return e})});f.push(n)});return Promise.all(f).then(function(e){return e})},j_:function(h,y,f){var e=y.Yb();f=f.Ba();for(var x=e.length-
1;0<=x;x--){var r=e[x],w=r.X,n=r.Y;n=h.y1>r.Y+r.Height||h.y2<n;w=h.x1>r.X+r.Width||h.x2<w;var z=f!==r.PageNumber;r instanceof da.De||z||n||w||y.Rc(r,{force:!0})}}}})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(8),da=h(2),z=h(36),y=h(152),f=h(57),e=h(30),x=h(81),r=h(21);(function(h){h.Annotations=h.Annotations||{};var n=h.Annotations,w=n.za||{};n.Annotation=function(){this.Subject="Annotation";this.ZB=1;this.ep=this.bs=this.cs=this.ww=this.vw=0;this.fp=null;this.xJ=0;this.DJ=!0;
this.Vf={};this.WB=!0;this.NoRotate=this.NoZoom=this.vJ=this.dW=this.XB=this.wJ=this.cW=!1;this.AJ=!0;this.$k=new fa.a(0,0,0);this.NJ=void 0;this.lC=new Date;this.Tw=w.TO();this.yC=!0;this.zK=this.Zm=!1;this.aL=Promise.resolve();this.ds=void 0;this.Dj=[];this.vG=this.GA=this.le=this.ug=this.ri=null};n.Annotation.prototype={elementName:"annotation",selectionModel:y.a,ZO:!1,zO:function(){return this.elementName},qO:function(){return null},draw:function(){},render:function(){},hB:function(){},am:function(){return!1},
AP:function(){return!1},isVisible:function(){return!this.Hidden&&!this.NoView&&!this.vk()},EP:function(){return!this.Hidden&&this.Printable&&!this.vk()},NS:function(e){var f=new da.d(e.x1,e.y1,e.x2,e.y2);0>f.Fa()&&(e=f.x1,f.x1=f.x2,f.x2=e);0>f.Ca()&&(e=f.y1,f.y1=f.y2,f.y2=e);this.X=f.x1;this.Y=f.y1;this.Width=f.Fa();this.Height=f.Ca()},Wd:function(e){var f=this.pb();e=new da.d(e.x1,e.y1,e.x2,e.y2);0>e.Fa()&&(e.x1=f.x1,e.x2=f.x2);0>e.Ca()&&(e.y1=f.y1,e.y2=f.y2);f=e.x1;var h=e.y1,r=e.Fa();e=e.Ca();
Object.getOwnPropertyDescriptor(n.Annotation.prototype,"X").set.call(this,f);Object.getOwnPropertyDescriptor(n.Annotation.prototype,"Y").set.call(this,h);Object.getOwnPropertyDescriptor(n.Annotation.prototype,"Width").set.call(this,r);Object.getOwnPropertyDescriptor(n.Annotation.prototype,"Height").set.call(this,e)},adjustRect:function(){},resize:function(e){this.Wd(e)},kv:function(){this.fp=this.Gt()},jv:function(){var e=new da.b(this.Fc(),this.Gc());this.xJ=r.a.Math.th(this.fp,e)},Gt:function(){return new da.b(this.Fc()+
this.Fa()/2,this.Gc()+this.Ca()/2)},Fc:function(){return this.X},wv:function(e){this.X=parseFloat(e)},Gc:function(){return this.Y},xv:function(e){this.Y=parseFloat(e)},Fa:function(){return this.Width},XA:function(e){this.Width=parseFloat(e)},Ca:function(){return this.Height},qr:function(e){this.Height=parseFloat(e)},WA:function(e){this.ep=parseFloat(e)},pb:function(){return new da.d(this.X,this.Y,this.X+this.Width,this.Y+this.Height)},getRectPadding:function(){return 0},Ba:function(){return this.PageNumber},
PE:function(){if("undefined"!==typeof this.PageNumber)return this.PageNumber-1},rv:function(e){this.PageNumber=parseInt(e,10)},cu:function(){return this.DJ},S$:function(e){this.DJ=e},Eg:function(){return this.Fc()},Ki:function(){return this.Eg()+this.Width},Gg:function(){return this.Gc()},Ei:function(){return this.Gg()+this.Height},me:function(e,f){this.Vf[e]=f;this.Va()},xd:function(e){return Object(ba.isUndefined)(this.Vf[e])?"":this.Vf[e]},Eq:function(e){e=this.xd(e);return!("string"===typeof e&&
0===e.length)},jt:function(e){delete this.Vf[e]},ZE:function(){return Object(ba.cloneDeep)(this.le)},Q$:function(e){this.le=e;this.Va()},getContents:function(){return this.v7},setContents:function(e){this.v7=e;this.Va(!(this instanceof n.Ja))},vl:function(e){if(e.Id)for(var f=0;f<this.Dj.length;++f)if(this.Dj[f].Id===e.Id)return;this.Dj.push(e)},fy:function(e){e=this.Dj.indexOf(e);-1<e&&this.Dj.splice(e,1)},Qn:function(){return this.Dj.filter(function(e){return"group"!==e.ReplyType})},Ot:function(){return this.Dj.filter(function(e){return"group"===
e.ReplyType})},n3:function(){if(this.Dj){var e=this.Dj.filter(function(e){return e.State&&""!==e.State&&e.Hidden});return e&&(e.sort(function(e,f){return f.DateCreated-e.DateCreated}),e[0])?e[0].State:""}},vk:function(){return!(Object(ba.isUndefined)(this.InReplyTo)||Object(ba.isNull)(this.InReplyTo))&&"group"!==this.ReplyType},Nq:function(){return!(Object(ba.isUndefined)(this.InReplyTo)||Object(ba.isNull)(this.InReplyTo))&&"group"===this.ReplyType},hj:function(){return this.aL},$c:function(){var e=
this.appearances&&this.appearances._DEFAULT;return e&&e.Normal},Va:function(e,f){this.isImporting||(this.lC=new Date,f||(this.Mb=null),e||delete this.appearances);this.yC||(this.Zm=!0)},m2:function(){var e=[];this.Invisible&&e.push("invisible");this.Hidden&&e.push("hidden");this.Printable&&e.push("print");this.NoZoom&&e.push("nozoom");this.NoRotate&&e.push("norotate");this.NoView&&e.push("noview");this.ReadOnly&&e.push("readonly");this.Locked&&e.push("locked");this.ToggleNoView&&e.push("togglenoview");
this.LockedContents&&e.push("lockedcontents");return 0<e.length?e.join(","):null},n$:function(e){this.YW=e},eO:function(){return this.YW},cD:function(e){Array.isArray(e)?this.me("trn-link-id",e):""!==e&&this.me("trn-link-id",[e])},mq:function(){return Array.isArray(this.xd("trn-link-id"))?this.xd("trn-link-id"):[]},mba:function(){this.jt("trn-link-id")},serialize:function(e,f){var r=n.ma,w=this.pb();this.dA&&this.dA.isEqual(w)?w=this.fA:(w.fE(),this.fA&&(delete this.fA,delete this.dA),w=r.zH(w,f));
w={page:this.PE(),rect:w};var y=r.Uh(this.Color);null!==y&&(w.color=y);(y=this.m2())&&(w.flags=y);!this.Y3&&this.Id&&(w.name=this.Id);this.Author&&(w.title=this.Author);this.Subject&&(w.subject=this.Subject);(y=this.Rotation)&&0!==y&&(w.rotation=y);if(y=this.DateModified){if(this.yo)if(y.getTime()===this.Nu)var z=this.yo;else delete this.yo,delete this.Nu;z||(z=r.eB(y));w.date=z}for(var aa in w)e.setAttribute(aa,w[aa]);Object.keys(this.Vf).length&&(z=document.createElementNS("","trn-custom-data"),
z.setAttribute("bytes",JSON.stringify(this.Vf)),e.appendChild(z));z=this.getContents();z===this.wQ&&this.vG===this.le?(this.yQ?(aa=document.createElementNS("","contents-richtext"),aa.appendChild(this.yQ),e.appendChild(aa)):this.le&&e.appendChild(r.sS(z,this.le,this.GA)),this.wG&&(aa=document.createElementNS("","contents"),aa.textContent=this.wG,e.appendChild(aa))):(delete this.wQ,delete this.wG,delete this.vG,aa=document.createElementNS("","contents"),aa.textContent=z,e.appendChild(aa),this.le&&e.appendChild(r.sS(z,
this.le,this.GA)));this.pi&&(r=f.inverse().ka({x:this.X,y:this.Y}),e.appendChild(this.AM(r,!0)));(r=this.appearances)&&Object(x.e)(new h.pJ(e),r,f);return e},AM:function(e,f){var h=e.x;e=e.y;if(!h||!e)throw Error('Creating "apref" element requires "x" and "y" coordinates');if(this.pi)return f=document.createElement((void 0===f?0:f)?"apref-replace":"apref"),f.setAttribute("objnum",this.pi.objnum),f.setAttribute("gennum",this.pi.gennum),f.setAttribute("file-name",this.pi.filename),f.setAttribute("transparent-background",
this.pi.transparentBackground),f.setAttribute("x",h),f.setAttribute("y",e),f},en:function(e,f){f=void 0===f?{}:f;if(0===f.pageNumber)throw Error("The pageNumber parameter should start from 1.");if("pdf"!==e.au())throw Error("Document parameter should be PDF type.");f.hasOwnProperty("transparentBackground")||(f.transparentBackground=!0);var h=f.pageNumber||1,n=e.getFilename()||this.Id,r=f.objnum,w=f.gennum;f=f.transparentBackground;if(void 0===r||void 0===w)h=rc(e.hk(h-1).split("-")),r=h.next().value,
w=h.next().value;this.pi={objnum:r,gennum:w,filename:n,transparentBackground:f};this.ds={RL:e,filename:n,id:this.Id};this.rw=void 0;return this.ds},hH:function(){this.rw=this.ds=void 0},Nn:function(){var e=this;return new Promise(function(f){return f(e.ds)})},Q9:function(e){this.rw=e},nh:function(e){return(e=e.nodeName)&&this.elementName?e.toLowerCase()===this.elementName.toLowerCase():!1},deserialize:function(e,h){var r=n.ma,w=e.getAttribute("page");w=parseInt(w,10);this.PageNumber=w+1;this.fA=w=
e.getAttribute("rect")||"0,0,100,100";w=r.jy(w,h);w.normalize();this.Wd(w);w=e.getAttribute("name");this.Y3=!w;this.Id=w;this.Author=e.getAttribute("title");this.Subject=e.getAttribute("subject");w=(e.getAttribute("flags")||"").split(",");this.Invisible=-1!==w.indexOf("invisible");this.Hidden=-1!==w.indexOf("hidden");this.Printable=-1!==w.indexOf("print");this.NoZoom=-1!==w.indexOf("nozoom");this.NoRotate=-1!==w.indexOf("norotate");this.NoView=-1!==w.indexOf("noview");this.ReadOnly=-1!==w.indexOf("readonly");
this.Locked=-1!==w.indexOf("locked");this.ToggleNoView=-1!==w.indexOf("togglenoview");this.LockedContents=-1!==w.indexOf("lockedcontents");w=r.sh(e.getAttribute("color"));this.Color=null!==w?w:new fa.a(0,0,0,0);if(w=e.querySelector("trn-custom-data"))this.Vf=JSON.parse(w.getAttribute("bytes"));(w=e.getAttribute("rotation"))&&(this.Rotation=w);(w=e.getAttribute("date"))?(this.yo=w,w=r.iy(w),this.Nu=w.getTime(),this.DateModified=w):this.DateModified=null;w="";var y=e.getElementsByTagName("contents");
0<y.length&&(this.wG=w=y[0].textContent);y=e.getElementsByTagName("apref-replace");0<y.length&&(y=y[0],this.pi={objnum:y.getAttribute("objnum"),gennum:y.getAttribute("gennum"),filename:y.getAttribute("file-name"),transparentBackground:y.getAttribute("transparent-background")});y=e.getElementsByTagName("contents-richtext");0<y.length&&(this.yQ=y=y[0],r=r.q_(y),this.vG=this.le=r.style,this.GA=r.P3,w||(w=r.BZ));this.wQ=w;this.setContents(w);e=e.getElementsByTagName("apref");if(0<e.length)for(r=0;r<e.length;++r)Object(x.a)(new f.a(e[r]),
this,h);else delete this.appearances},rj:function(e){var f={x:this.X,y:this.Y},h={x:f.x+this.Width,y:f.y+this.Height};f=e.ka(f);h=e.ka(h);this.NS({x1:f.x,y1:f.y,x2:h.x,y2:h.y})},Xh:function(e,f){e=e.getAttribute(f);Object(ba.isUndefined)(e)||Object(ba.isNull)(e)||(this[f]=e)},pv:function(e,f){e=e.getAttribute(f);Object(ba.isUndefined)(e)||Object(ba.isNull)(e)||(this[f]=Number(e))},ic:function(e,f,h){var n=this[f];Object(ba.isUndefined)(n)||Object(ba.isNull)(n)||n===h||e.setAttribute(f,n)},ym:function(){return!1},
Cv:function(){this.fA&&!this.dA&&(this.dA=this.pb())}};Object(z.b)(n.Annotation);Object.defineProperties(n.Annotation.prototype,{X:{get:function(){return this.vw},set:function(e){this.vw=parseFloat(e);this.Va(!0);(e=this.$c())&&e.offset&&(e.offset.x=this.vw)}},Y:{get:function(){return this.ww},set:function(e){this.ww=parseFloat(e);this.Va(!0);(e=this.$c())&&e.offset&&(e.offset.y=this.ww)}},Width:{get:function(){return this.cs},set:function(f){f=parseFloat(f);e.d(this.cs,f)||(this.cs=f,this.Va())}},
Height:{get:function(){return this.bs},set:function(f){f=parseFloat(f);e.d(this.bs,f)||(this.bs=f,this.Va())}},NoMove:{get:function(){return this.Eq("trn-annot-no-move")?this.xd("trn-annot-no-move"):this.wJ},set:function(e){this.me("trn-annot-no-move",!0===e||"true"===e)}},NoResize:{get:function(){return this.Eq("trn-annot-no-resize")?this.xd("trn-annot-no-resize"):this.XB},set:function(e){this.me("trn-annot-no-resize",!0===e||"true"===e)}},NoDelete:{get:function(){return this.Eq("trn-annot-no-delete")?
this.xd("trn-annot-no-delete"):this.dW},set:function(e){this.me("trn-annot-no-delete",e)}},PageNumber:{get:function(){return this.ZB},set:function(e){this.ZB=parseInt(e,10);this.Va(!0,!0);this.Mb&&this.Mb.setAttribute("page",this.ZB-1)}},DateModified:{get:function(){return this.lC},set:function(e){this.Va(!0);this.lC=w.SN(e)}},Id:{get:function(){return this.Tw},set:function(e){this.Tw=e;this.Va(!0)}},Author:{get:function(){return this.NJ},set:function(e){this.NJ=e;this.Va(!0)}},IsAdded:{get:function(){return this.yC},
set:function(e){this.yC=e}},IsModified:{get:function(){return this.Zm},set:function(e){this.Zm=e}},IsDeleted:{get:function(){return this.zK},set:function(e){this.zK=e}},CustomData:{get:function(){return this.Vf},set:function(e){Object(ba.isObject)(e)?(this.Vf=e,this.Va(!0)):Object(aa.h)("CustomData must be an object.")}},Listable:{get:function(){return this.Eq("trn-annot-listable")?this.xd("trn-annot-listable"):this.WB},set:function(e){this.me("trn-annot-listable",e)}},Color:{get:function(){return this.$k},
set:function(e){e instanceof fa.a&&(this.$k=e,this.Va())}},MaintainAspectRatio:{get:function(){return this.Eq("trn-annot-maintain-aspect-ratio")?this.xd("trn-annot-maintain-aspect-ratio"):this.cW},set:function(e){this.me("trn-annot-maintain-aspect-ratio",e)}},IsClickableOutsideRect:{get:function(){return this.Eq("trn-annot-clickable-outside-rect")?this.xd("trn-annot-clickable-outside-rect"):this.vJ},set:function(e){this.me("trn-annot-clickable-outside-rect",e)}},Printable:{get:function(){return this.flags&&
this.flags.get("NoPrint")?!this.flags.get("NoPrint"):this.AJ},set:function(e){this.AJ=!!e;this.flags&&this.flags.get("NoPrint")&&this.flags.set("NoPrint",!e)}}})})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(8);(function(h){var z=h.Annotations||{};z.Sr=function(h){this.hs=new fa.a;this.bn=this.Vm=this.Cp=0;this.sl=null;this.set(h)};z.Sr.prototype={set:function(h){h instanceof z.Sr?(this.hs=new fa.a(h.hs),this.Cp=h.Cp,this.Vm=h.Vm,this.bn=h.bn,this.sl=h.sl):Object(ba.isArray)(h)?
3===h.length||4===h.length?(Object(ba.isUndefined)(h[0])||(this.Vm=Number(h[0])),Object(ba.isUndefined)(h[1])||(this.bn=Number(h[1])),Object(ba.isUndefined)(h[2])||(this.Cp=Number(h[2])),4===h.length&&Object(ba.isArray)(h[3])&&Object(aa.h)("dashed borders are currently unsupported")):Object(aa.h)("Invalid border specification ",h," should be 3 or 4 elements long"):Object(ba.isObject)(h)&&(Object(ba.isArray)(h.border)&&this.set(h.border),Object(ba.isUndefined)(h.color)||(this.hs=new fa.a(h.color)),
Object(ba.isUndefined)(h.width)||(this.Cp=Number(h.width)),Object(ba.isUndefined)(h.cornerRadius)?Object(ba.isArray)(h.cornerRadius)&&(this.Vm=h.cornerRadius[0]||0,this.bn=h.cornerRadius[1]||0):this.bn=this.Vm=Number(h.cornerRadius),Object(ba.isString)(h.style)&&(this.sl=h.style))},serialize:function(h){var f=z.ma;this.pW&&h.setAttribute("width",this.pW);this.sl&&h.setAttribute("style",this.sl);var e=this.color;h.setAttribute("BC",[e.R/255,e.G/255,e.B/255].map(f.toFixed).join(","))},deserialize:function(h){var f=
z.ma,e={};f.getAttribute(h,"width")?e.width=parseInt(f.getAttribute(h,"width"),10):e.width=1;f.getAttribute(h,"style")&&(e.style=f.getAttribute(h,"style"),"beveled"===e.style&&(e.style="bevelled"));f.getAttribute(h,"BC")&&(e.color=f.getAttribute(h,"BC").split(",").map(Number));this.set(e)},pI:function(h){var f=Object(ba.isNull)(this.sl)?"solid":this.sl;h*=this.Cp;var e=this.Vm.toFixed(6)+"px "+this.bn.toFixed(6)+"px",x={};"underline"===f?(x["border-bottom-style"]="solid",x["border-top-style"]="hidden",
x["border-left-style"]="hidden",x["border-right-style"]="hidden"):(f={solid:"solid",bevelled:"outset",inset:"inset"}[f],Object(ba.isUndefined)(f)&&(f="solid"),x["border-style"]=f);x["border-color"]=this.hs.toString();x["border-width"]=h;x["border-top-left-radius"]=e;x["border-top-right-radius"]=e;x["border-bottom-left-radius"]=e;x["border-bottom-right-radius"]=e;return x}};Object.defineProperties(z.Sr.prototype,{color:{get:function(){return this.hs},set:function(h){this.set({color:h})}},width:{get:function(){return this.Cp},
set:function(h){this.set({width:h})}},style:{get:function(){return this.sl},set:function(h){this.set({style:h})}},cornerRadius:{get:function(){return[this.Vm,this.bn]},set:function(h){this.set({cornerRadius:h})}}})})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(8);(function(h){var da=h.Annotations||{},z=da.za||{};da.uj=function(h){this.Tm=this.hd="";this.ql=0;this.Mw=new aa.a([0,0,0]);this.rl=new aa.a([0,0,0]);this.Bp="Type1";this.cl=0;this["horizontal-scaling"]=null;this.OK=4;this.LK=
12;this.set(h)};da.uj.prototype={set:function(h){Object(ba.isObject)(h)?(h.name&&(this.hd=String(h.name),this.Tm=da.ma.Su(this.hd),this.kC=da.ma.MQ(this.hd),this.YJ=da.ma.LQ(this.hd)),h.size&&(this.ql=Number(h.size)),h.fillColor&&(this.Mw=new aa.a(h.fillColor)),h.strokeColor&&(this.rl=new aa.a(h.strokeColor)),h.type&&(this.Bp=h.type),Object(ba.isUndefined)(h["horizontal-scaling"])||(this["horizontal-scaling"]=h["horizontal-scaling"])):Object(ba.isString)(h)&&(this.hd=h,this.Tm=da.ma.Su(this.hd),this.kC=
da.ma.MQ(this.hd),this.YJ=da.ma.LQ(this.hd))},o1:function(h,f,e){if(0===this.ql){var x=f.ez(1);if(0===h.replace(/\s/g,"").length)return this.cl=Math.min(x/2,this.LK);var r=20;e?(r=x*z.Zk,f.element?(f=f.element.cloneNode(!0),f.style.zIndex=-99,x=document.getElementsByTagName("body")[0],x.appendChild(f),r=z.tN(h,f.children[0],r)/z.Zk,x.removeChild(f)):r/=2):(f=.95*f.fz(1),x*=.95,h=z.measureText(h,r,this.Tm?this.Tm:void 0,this.kC),r*=Math.min(f/h.width,x/h.height));return this.cl=Math.max(this.OK,Math.min(r,
this.LK))}},deserialize:function(h,f){var e=da.ma;if(e.getAttribute(h,"FontName")){var x=e.getAttribute(h,"FontName");this.hd=x;this.Tm=da.ma.Su(x)}e.getAttribute(h,"FontSize")&&(e=parseFloat(e.getAttribute(h,"FontSize")),h=f.ka({x:0,y:0}),e=f.ka({x:e,y:0}),f=h.x-e.x,h=h.y-e.y,this.ql=Math.sqrt(f*f+h*h))},bo:function(){return this.Mw.bo()&&this.rl.bo()},pI:function(h){var f={};""!==this.Tm&&(f["font-family"]=this.Tm,f["font-weight"]=this.kC,f["font-style"]=this.YJ);f["font-size"]=0===this.ql&&0!==
this.cl?String(this.cl*h)+"px":String(this.ql*h)+"px";f.color=this.Mw.toString();3>parseFloat(f["font-size"])&&(f["font-size"]="3px");return f}};Object.defineProperties(da.uj.prototype,{name:{get:function(){return this.hd},set:function(h){this.set({name:h})}},size:{get:function(){return this.ql},set:function(h){this.set({size:h})}},type:{get:function(){return this.Bp}},strokeColor:{get:function(){return this.rl},set:function(h){this.set({strokeColor:h})}},fillColor:{get:function(){return this.Mw},
set:function(h){this.set({fillColor:h})}},calculatedSize:{get:function(){return 0===this.ql?this.cl:this.ql}}})})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(76),da=h(2),z=h(8),y=h(13),f=h(26);(function(e){var h=e.Annotations||{};h.HTMLAnnotation=function(e){var f=this;h.Annotation.call(this);fa.a.call(this,e);this.rl=new z.a(0,0,0,1);this.Bw=new z.a;this.Cw=new h.Sr;this.Sw=!1;this.LC=0;this.rg=this.sf=null;this.es=[];this.on(h.HTMLAnnotation.Events.CONTENT_REMOVED,function(){this.rg=
this.sf=null;this.es=[];this.dC=!1});this.tx=!0;Object(ba.isObject)(e)&&(Object(ba.isUndefined)(e.border)||this.Cw.set(e.border),Object(ba.isUndefined)(e.backgroundColor)||(this.Bw=new z.a(e.backgroundColor)),Object(ba.isUndefined)(e.color)||(this.rl=new z.a(e.color)),Object(ba.isUndefined)(e.rect)||(this.rect=new da.d(e.rect)),Object(ba.isUndefined)(e["trn-custom-data"])||(this.Vf=e["trn-custom-data"]));var n=this.Yt();Object.keys(n).forEach(function(e){var h=n[e];f.on(h.internal_name,function(){f.Of(e,
h.getEvent(f))})})};h.HTMLAnnotation.prototype={Vj:"",fz:function(e){return(this.Fa()-(this.tx?2*this.border.width:0))*e},ez:function(e){return(this.Ca()-(this.tx?2*this.border.width:0))*e},iT:function(e){this.tx=!!e},serialize:function(){this.Hidden=this.hidden;h.Annotation.prototype.serialize.apply(this,arguments)},deserialize:function(){h.Annotation.prototype.deserialize.apply(this,arguments);this.Hidden&&(this.hidden=!0,this.Hidden=!1)},Yt:function(){return{}},Kj:function(){},Td:function(e){var h=
this.LC,n=Object(f.d)(h,this.Fa(),this.Ca()),r=n.uy*e;n=n.vy*e;return Object.assign({left:this.X*e,top:this.Y*e,width:this.fz(e),height:this.ez(e),position:"absolute",padding:"0",margin:"0","background-color":this.Bw.toString(),"z-index":"35",display:this.Sw?"none":"",transform:"translate("+r+"px,"+n+"px) rotate("+-h+"deg)","transform-origin":"top left","-webkit-transform":"translate("+r+"px,"+n+"px) rotate("+-h+"deg)","-webkit-transform-origin":"top left","-ms-transform":"translate("+r+"px,"+n+"px) rotate("+
-h+"deg)","-ms-transform-origin":"top left","-moz-transform":"translate("+r+"px,"+n+"px) rotate("+-h+"deg)","-moz-transform-origin":"top left","-webkit-appearance":"none"},this.tx?this.Cw.pI(e):{})},md:function(e){if(!e)throw Error("no zoom?");return{position:"absolute","font-size":"inherit","font-family":"inherit","font-weight":"inherit","font-style":"inherit",color:"inherit",width:this.fz(e),height:this.ez(e),border:0,padding:0,margin:0,"background-color":"transparent","vertical-align":"top"}},
Jj:y.b,nf:function(e){this.Sw=!e;this.sf&&(this.sf.style.display=this.Sw?"none":"")},createInnerElement:function(){Object(aa.h)("missing inner element");return null},P9:function(e){this.es=e},dO:function(){return this.rg},VN:function(){return this.sf},render:function(e,f,h,x){if(!this.sf){var n=document.createElement("div");n.className=this.Vj;this.sf=n}var r=x?this.sf.cloneNode(!1):this.sf,w=this.Td(h,f);n=JSON.stringify(w);n!==r.aG&&(this.Jj(r,w),r.aG=n);this.rg=this.rg||this.createInnerElement(f);
if(this.rg){var y=x?this.rg.cloneNode(!0):this.rg;y!==this.rg&&(this.refresh&&this.refresh(),y.value=this.rg.value,this.rg.checked&&(y.checked=!0));document.activeElement===y&&y.blur();h=this.md(h);n=JSON.stringify(h);n!==y.aG&&(this.Jj(y,h),y.aG=n);this.dC||(this.Kj(f),this.dC=!0)}this.sf.parentNode!==e&&(e.appendChild(r),r.appendChild(y),this.es.forEach(function(e){e=x?e.cloneNode(!0):e;r.appendChild(e)}))},hB:function(){this.sf&&(this.sf.parentNode.removeChild(this.sf),this.sf=null,this.dC=!1)}};
h.HTMLAnnotation.prototype=Object.assign(Object.create(h.Annotation.prototype),h.HTMLAnnotation.prototype,fa.a.prototype);Object.defineProperties(h.HTMLAnnotation.prototype,{rect:{get:function(){return this.pb()},set:function(e){this.Wd(e)}},element:{get:function(){return this.VN()}},innerElement:{get:function(){return this.dO()}},hidden:{get:function(){return this.Sw},set:function(e){this.nf(!e)}},StrokeColor:{get:function(){return this.rl},set:function(e){this.rl=new z.a(e)}},border:{get:function(){return this.Cw},
set:function(e){this.Cw.set(e)}},backgroundColor:{get:function(){return this.Bw},set:function(e){this.Bw=new z.a(e)}},actions:{get:function(){return this.ak()}},rotation:{get:function(){return this.LC},set:function(e){this.LC=Number(e)}}});h.HTMLAnnotation.Events={CONTENT_REMOVED:"contentRemoved"}})(window)},function(){(function(ha){var ca=ha.Annotations||{};ca.Ub=function(h){ca.HTMLAnnotation.call(this,h);this.WB=!1;this.qP=h?h.ao:!1};ca.Ub.prototype=Object.create(ca.HTMLAnnotation.prototype);ca.Ub.prototype.elementName=
"link";ca.Ub.prototype.createInnerElement=function(){var h=document.createElement("span");h.className="link";h.setAttribute("tabindex",0);return h};ca.Ub.prototype.Kj=function(){var h=this;ca.HTMLAnnotation.prototype.Kj.apply(this,arguments);this.innerElement.addEventListener("tap",function(){h.trigger(ca.Ub.Events.MOUSE_UP)})};ca.Ub.prototype.AP=function(){return!0};ca.Ub.prototype.ao=function(){return this.qP};ca.Ub.prototype.Yt=function(){var h=ha.Annotations.da.kc.wb;return Object.assign(ca.HTMLAnnotation.prototype.Yt.call(this),
{U:{triggers:"tap",internal_name:"mouseup",getEvent:function(){return h.Ub.create("Mouse Up")}}})};ca.Ub.prototype.Td=function(h,ba){var aa=ca.HTMLAnnotation.prototype.Td.apply(this,arguments),fa={};if(this.StrokeThickness&&this.StrokeColor){var da=this.StrokeStyle,z="border";"underline"===da&&(z="border-bottom");if("solid"!==da&&"dash"!==da&&"dashed"!==da&&"inset"!==da)da="solid";else if("dash"===da||"dashed"===da)da="dashed";var y=ba.N.wc(this.Ba());fa[z]=ca.za.Ns(y,this.StrokeThickness)*h+"px "+
da+" "+this.StrokeColor.Hr()}this.qP&&(fa["z-index"]="34");return Object.assign(aa,fa)};ca.Ub.prototype.deserialize=function(h,ba,aa){ca.HTMLAnnotation.prototype.deserialize.call(this,h,ba,aa);var fa=ca.ma.sh(h.getAttribute("color"));fa?this.StrokeColor=fa:this.rl=null;fa=h.getAttribute("width");"undefined"!==typeof fa&&null!==fa&&(this.StrokeThickness=parseFloat(fa));fa=h.getAttribute("style");"undefined"!==typeof fa&&null!==fa&&(this.StrokeStyle=fa);this.tL(h,ba,aa);this.Cv()};ca.Ub.prototype.serialize=
function(h,ba){ca.HTMLAnnotation.prototype.serialize.call(this,h,ba);this.StrokeColor&&h.setAttribute("color",this.StrokeColor.Hr());"undefined"!==typeof this.StrokeThickness&&null!==this.StrokeThickness&&h.setAttribute("width",this.StrokeThickness);this.StrokeStyle&&h.setAttribute("style",this.StrokeStyle);this.x9(h,ba);return h};ca.Ub.Events={MOUSE_UP:"mouseup"}})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(8),fa=h(71);(function(h){var z=h.Annotations||{},y=z.za||{},f,e;z.Ea=function(){z.Annotation.call(this);
this.wj=new aa.a(0,0,0,0);this.SK=this.xj=1;this.ZJ=new Date;this.BJ=this.zJ=this.mx=null};z.Ea.prototype={Kc:function(e,f){null!==this.Opacity&&(e.globalAlpha=this.Opacity);if(this.Style&&"dash"===this.Style&&this.Dashes){var h=this.Dashes.toString().split(/,\s*/);e.setLineDash(h)}null!==this.FillColor&&(e.fillStyle=this.FillColor.toString());null!==this.StrokeColor&&(e.strokeStyle=this.StrokeColor.toString());e.lineWidth=0===this.StrokeThickness?.001:this.Ol(f)},yaa:function(){var h=this.X+this.Fa()+
2*this.StrokeThickness+100,r=this.Y+this.Ca()+2*this.StrokeThickness+100;f=f||document.createElement("canvas").getContext("2d");f.canvas.width=h;f.canvas.height=r;e=e||document.createElement("canvas").getContext("2d");e.canvas.width=h;e.canvas.height=r},B0:function(h,r){this.yaa();this.Kc(f,r);f.globalAlpha=1;this.Xj(f);f.stroke();this.Kc(e,r);e.globalAlpha=1;this.Xj(e);e.fill();f.globalCompositeOperation="source-out";f.drawImage(e.canvas,0,0);this.Kc(h,r);h.globalCompositeOperation="source-over";
h.drawImage(f.canvas,0,0);this.Xj(h);h.stroke()},WD:function(e,f){e.beginPath();1!==this.Opacity&&null!==this.Opacity?this.B0(e,f):(this.Kc(e,f),this.Xj(e),e.fill(),e.stroke())},Xj:function(){},qO:function(){return this.mx},LS:function(e){this.mx=e},Ol:function(e){return z.za.Ns(e,this.StrokeThickness)},serialize:function(e,f){var h=z.Annotation.prototype.serialize.apply(this,arguments),n=z.ma,r={},x=n.Uh(this.FillColor);null!==x&&(r["interior-color"]=x);Object(ba.isUndefined)(this.StrokeThickness)||
Object(ba.isNull)(this.StrokeThickness)||(x=this.StrokeThickness,1!==x&&(r.width=x));Object(ba.isUndefined)(this.Opacity)||Object(ba.isNull)(this.Opacity)||1===this.Opacity||(r.opacity=this.Opacity);(x=this.fringe)&&!x.MP()&&(r.fringe=z.ma.wH(this.fringe,f));if(x=this.DateCreated){if(this.tG)if(x.getTime()===this.xQ)var y=this.tG;else delete this.tG,delete this.xQ;y||(y=n.eB(x));r.creationdate=y}Object(ba.isUndefined)(this.Style)||Object(ba.isNull)(this.Style)||"solid"===this.Style||(r.style=this.Style);
Object(ba.isUndefined)(this.Dashes)||Object(ba.isNull)(this.Dashes)||"3"===this.Dashes||(r.dashes=this.Dashes);this.ic(h,"IT");null!==this.InReplyTo&&(r.inreplyto=this.InReplyTo);null!==this.ReplyType&&(r.replyType=this.ReplyType);for(var aa in r)h.setAttribute(aa,r[aa]);!this.mx||this instanceof z.Ja||(r=document.createElementNS("","popup"),r=this.mx.serialize(r,f),h.appendChild(r));"EllipseDimension"===this.IT&&this.Measure&&e.appendChild(n.nv(this.Measure));return h},deserialize:function(e,f,h){z.Annotation.prototype.deserialize.apply(this,
arguments);var n=z.ma,r=e.getAttribute("opacity");this.Opacity="undefined"!==typeof r&&null!==r?parseFloat(r):1;r=e.getAttribute("width");if(null!==this.StrokeThickness||"undefined"!==typeof r&&null!==r)this.xj=parseFloat(r||"1");(r=e.getAttribute("style"))&&(this.Style=r);(r=e.getAttribute("dashes"))&&(this.Dashes=r);this.Xh(e,"IT");this.uG=r=e.getAttribute("fringe");"undefined"!==typeof r&&null!==r&&(this.fringe=n.TM(r,f));r=n.sh(e.getAttribute("interior-color"));null!==r?this.FillColor=r:null!==
this.FillColor&&(this.FillColor=new aa.a(0,0,0,0));(r=e.getAttribute("creationdate"))?(this.tG=r,r=n.iy(r),this.xQ=r.getTime(),this.DateCreated=r):this.DateCreated=null;r=e.getElementsByTagName("popup");if(0<r.length){var w=new z.Mm;w.deserialize(r[0],f,h);this.LS(w)}this.InReplyTo=(r=e.getAttribute("inreplyto"))?r:null;this.ReplyType=(r=e.getAttribute("replyType"))?r:null;r=e.querySelector("measure");"EllipseDimension"===e.getAttribute("IT")&&r&&(this.Measure=n.mt(r))},selectionModel:fa.a,ZO:!0};
z.Ea.prototype=Object.assign(new z.Annotation,z.Ea.prototype);Object.defineProperties(z.Ea.prototype,{FillColor:{get:function(){return this.wj},set:function(e){e instanceof aa.a&&(this.wj=Object(aa.b)(this,e),this.Va())}},StrokeColor:{get:function(){return this.$k},set:function(e){e instanceof aa.a&&(this.$k=Object(aa.b)(this,e),this.Va())}},StrokeThickness:{get:function(){return this.xj},set:function(e){this.xj=parseFloat(e);this.Va();this.adjustRect()}},Opacity:{get:function(){return this.SK},set:function(e){this.SK=
parseFloat(e);this.Va()}},DateCreated:{get:function(){return this.ZJ},set:function(e){this.ZJ=y.SN(e)}},InReplyTo:{get:function(){return this.zJ},set:function(e){this.zJ=e;this.Va()}},ReplyType:{get:function(){return this.BJ},set:function(e){this.BJ=e;this.Va()}}})})(window)},function(ha,ca,h){var ba=h(2),aa=h(26),fa=h(71);(function(h){var z=h.Annotations||{};z.Ur=function(){z.Ea.call(this);this["_xsi:type"]="Caret";this.Subject=z.za.Zc("caret");this.StrokeThickness=0;this.wj=null};z.Ur.prototype=
{elementName:"caret",draw:function(h,f){this.Kc(h,f);var e=this.Width;f=this.Height;var x=Number(this.Rotation);if(90===x||270===x)x=e,e=f,f=x;h.translate(this.X,this.Y);h.rotate(-this.Rotation*Math.PI/180);x=Object(aa.d)((360-this.Rotation)%360,this.Width,this.Height);h.translate(-x.uy,-x.vy);h.translate(-this.X,-this.Y);h.beginPath();h.fillStyle=this.StrokeColor.toString();e=new ba.d(this.X,this.Y,this.X+e,this.Y+f);x=(e.x1+e.x2)/2;f=e.y1+3*f/4;h.moveTo(x,e.y1);h.quadraticCurveTo(x,f,e.x1,e.y2);
h.lineTo(e.x2,e.y2);h.quadraticCurveTo(x,f,x,e.y1);h.closePath();h.fill();h.stroke()},selectionModel:fa.a,deserialize:function(h){z.Ea.prototype.deserialize.apply(this,arguments);var f=Number(this.Rotation);if(90===f||270===f)f=this.Width,this.Width=this.Height,this.Height=f;this.StrokeThickness=0;this.Xh(h,"symbol")},serialize:function(h){if(this.Mb)return this.Mb;var f=Number(this.Rotation);if(90===f||270===f){var e=this.Width;this.Width=this.Height;this.Height=e}z.Ea.prototype.serialize.apply(this,
arguments);if(90===f||270===f)e=this.Width,this.Width=this.Height,this.Height=e;this.ic(h,"symbol");h.removeAttribute("width");return h}};z.Ur.prototype=Object.assign(new z.Ea,z.Ur.prototype)})(window)},function(ha,ca,h){var ba=h(2),aa=h(66),fa=h(43),da=h(72),z=h(71);(function(h){var f=h.Annotations||{};f.Xk=function(){f.Ea.call(this);this["_xsi:type"]="Ellipse";this.Subject=f.za.Zc("ellipse");var e=this.getRectPadding();this.fringe=new ba.d(e,e,e,e)};f.Xk.prototype={elementName:"circle",draw:function(e,
f){this.WD(e,f)},Xj:function(e){var f=this.X+this.fringe.x1,h=this.Y+this.fringe.y1,w=this.Fa()-this.fringe.x1-this.fringe.x2,n=this.Ca()-this.fringe.y1-this.fringe.y2;w=Math.max(w,1);n=Math.max(n,1);var y=Math.min(w,n);e.lineWidth>=y&&(e.lineWidth=Math.max(y-1,1));e.lineWidth*=2;y=w/n;isNaN(y)||Infinity===y||(e.save(),e.translate(f+(1-y)*w/2,h),e.scale(y,1),e.beginPath(),e.arc(.5*w,.5*n,Math.max(.5*n,0),0,2*Math.PI,!1),e.closePath(),e.restore(),e.clip())},getRectPadding:function(){return 0},adjustRect:function(){"EllipseDimension"===
this.IT&&this.Measure&&this.Hj()},Hj:function(){var e=this.AE(),f=this.Measure.axis[0],h=this.Measure.area;e=this.Zy(e*f.factor*f.factor*h[0].factor,h);this.setContents(e)},AE:function(){return this.Ca()/2*(this.Fa()/2)*Math.PI},selectionModel:z.a};f.Xk.prototype=Object.assign(new f.Ea,f.Xk.prototype);Object(fa.b)(f.Xk.prototype,[new da.a,new aa.a])})(window)},function(ha,ca,h){ha=h(193);var ba=h.n(ha),aa=h(1),fa=h(2),da=h(43),z=h(72),y=h(71),f=h(173);(function(e){var h=e.Annotations||{};h.FreeHandAnnotation=
function(){h.Ea.call(this);this.Ta=[];this.eC=new fa.e;this.LeftMost=Infinity;this.RightMost=0;this.TopMost=Infinity;this.BottomMost=0;this.Eb={x:0,y:0};this.pc={x:0,y:0};this.Ww=!1;this["_xsi:type"]="Free Hand";this.Subject=h.za.Zc("freehand");this.ih=this.wj=null};h.FreeHandAnnotation.opacityCap=.7;h.FreeHandAnnotation.Hd={InkHighlight:"InkHighlight"};h.FreeHandAnnotation.prototype={elementName:"ink",shouldSimplifyPath:!1,sc:function(e,f,h){"undefined"===typeof h&&(h=0);if(h===this.Ta.length)this.Ta.push([]);
else if(h>this.Ta.length){Object(aa.h)("FreeHandAnnotation addPathPoint: pathIndex out of bounds.");return}this.LeftMost=Math.min(this.LeftMost,e);this.RightMost=Math.max(this.RightMost,e);this.TopMost=Math.min(this.TopMost,f);this.BottomMost=Math.max(this.BottomMost,f);var n=this.getRectPadding();this.vw=this.LeftMost-n;this.ww=this.TopMost-n;this.cs=this.RightMost-this.LeftMost+2*n;this.bs=this.BottomMost-this.TopMost+2*n;this.Ta[h].push(new fa.b(e,f))},Yg:function(e,f,h,x){"undefined"===typeof x&&
(x=0);if(this.Ta.length>x){var n=this.Ta[x];n.length>e?(n[e].x=f,n[e].y=h,this.adjustRect()):n.length===e&&this.sc(f,h,x)}else this.Ta.length===x?this.sc(f,h,x):Object(aa.h)("FreeHandAnnotation setPathPoint: pathIndex out of bounds.")},Ji:function(e,f){"undefined"===typeof f&&(f=0);return this.Ta&&this.Ta.length>f&&this.Ta[f].length>e?this.Ta[f][e]:null},Go:function(e){"undefined"===typeof e&&(e=0);var f=null;this.Ta.length>e&&(f=this.Ta[e].pop(),this.adjustRect());return f},gb:function(e){"undefined"===
typeof e&&(e=0);return this.Ta.length>e?this.Ta[e]:null},So:function(e,f){"undefined"===typeof f&&(f=0);this.Ta.length<f?Object(aa.h)("FreeHandAnnotation setPath: pathIndex out of bounds."):this.Ta.length>f?this.Ta[f]=e:this.Ta.length===f&&this.Ta.push(e);this.adjustRect()},H0:function(){this.Ta=[]},finish:function(){this.Ww||(this.Va(),this.Ww=!0)},resize:function(e){var f=e.x1,n=e.y1,r=e.Fa(),x=e.Ca();e=n-this.Y;if(!(0===f-this.X&&0===e&&r===this.Width&&x===this.Height||1>r||1>x)){var y=e=1;"undefined"!==
typeof r&&"undefined"!==typeof x&&(e=x/this.Height,y=r/this.Width,Object.getOwnPropertyDescriptor(h.Annotation.prototype,"Width").set.call(this,r),Object.getOwnPropertyDescriptor(h.Annotation.prototype,"Height").set.call(this,x));this.LeftMost=Infinity;this.RightMost=0;this.TopMost=Infinity;for(r=this.BottomMost=0;r<this.Ta.length;r++)for(x=0;x<this.Ta[r].length;x++)this.Ta[r][x].x=(this.Ta[r][x].x-this.X)*y+f,this.Ta[r][x].y=(this.Ta[r][x].y-this.Y)*e+n,this.LeftMost=Math.min(this.Ta[r][x].x,this.LeftMost),
this.RightMost=Math.max(this.Ta[r][x].x,this.RightMost),this.TopMost=Math.min(this.Ta[r][x].y,this.TopMost),this.BottomMost=Math.max(this.Ta[r][x].y,this.BottomMost);Object.getOwnPropertyDescriptor(h.Annotation.prototype,"X").set.call(this,f);Object.getOwnPropertyDescriptor(h.Annotation.prototype,"Y").set.call(this,n)}},rotate:function(e,h){h=void 0===h?this.Gt():h;this.WA(this.ep-e);this.Ta.forEach(function(n,r,w){w[r]=f.a.uO(n,e,h)});this.adjustRect()},draw:function(e,f){this.Kc(e,f);this.ih===
h.FreeHandAnnotation.Hd.InkHighlight&&e.globalAlpha>h.FreeHandAnnotation.opacityCap&&(e.globalAlpha=h.FreeHandAnnotation.opacityCap);e.beginPath();f=this.Df();for(var n=0;n<f.length;n++)this.Xj(e,f[n]);e.lineCap="round";e.lineJoin="round";e.stroke()},Df:function(){return this.Ta},Gaa:function(e,f){if(this.shouldSimplifyPath)for(var h=0;h<this.Ta.length;h++){var r=ba()(this.gb(h),e,f);this.So(r,h)}},Xj:function(e,f){var h="undefined"===typeof f?0:f.length;if(3<=h){e.moveTo(f[0].x,f[0].y);for(h=1;h<
f.length-2;h++)e.quadraticCurveTo(f[h].x,f[h].y,(f[h].x+f[h+1].x)/2,(f[h].y+f[h+1].y)/2);h+1<f.length&&e.quadraticCurveTo(f[h].x,f[h].y,f[h+1].x,f[h+1].y)}else 2===h?(e.moveTo(f[0].x,f[0].y),e.lineTo(f[1].x,f[1].y)):1===h&&(e.moveTo(f[0].x,f[0].y),e.arc(f[0].x,f[0].y,.5,0,2*Math.PI))},rj:function(e){h.Annotation.prototype.rj.apply(this,arguments);this.Ta.forEach(function(f){for(var h=0;h<f.length;++h)f[h]=e.ka(f[h])})},PU:function(){return this.BottomMost},UU:function(){return this.TopMost},RU:function(){return this.LeftMost},
TU:function(){return this.RightMost},adjustRect:function(){if(0!==this.Ta.length){this.Eb={x:Number.MAX_VALUE,y:Number.MAX_VALUE};this.pc={x:-Number.MAX_VALUE,y:-Number.MAX_VALUE};var e,f;for(e=0;e<this.Ta.length;e++)for(f=0;f<this.Ta[e].length;f++)if(null!==this.Ta[e][f]){var n=this.Ta[e][f].x,x=this.Ta[e][f].y;n>this.pc.x&&(this.pc.x=n);x>this.pc.y&&(this.pc.y=x);n<this.Eb.x&&(this.Eb.x=n);x<this.Eb.y&&(this.Eb.y=x)}x=this.getRectPadding();e=this.Eb.x-x;f=this.Eb.y-x;n=Math.max(0,this.pc.x-this.Eb.x)+
2*x;x=Math.max(0,this.pc.y-this.Eb.y)+2*x;Object.getOwnPropertyDescriptor(h.Annotation.prototype,"X").set.call(this,e);Object.getOwnPropertyDescriptor(h.Annotation.prototype,"Y").set.call(this,f);Object.getOwnPropertyDescriptor(h.Annotation.prototype,"Width").set.call(this,n);Object.getOwnPropertyDescriptor(h.Annotation.prototype,"Height").set.call(this,x);this.Cv()}},getRectPadding:function(){return this.StrokeThickness},serialize:function(e,f){if(this.Mb)return this.Mb;for(var n=h.Ea.prototype.serialize.apply(this,
arguments),r=document.createElementNS("","inklist"),w=this.Df(),x=0;x<w.length;x++)if(!(1>w[x].length)){var y=h.ma.pr(w[x],f),z=document.createElementNS("","gesture");z.textContent=y;r.appendChild(z)}n.appendChild(r);this.ih&&(n.setAttribute("IT",this.ih),this.ih===h.FreeHandAnnotation.Hd.InkHighlight&&0!==this.Opacity&&this.Opacity>h.FreeHandAnnotation.opacityCap&&n.setAttribute("opacity",h.FreeHandAnnotation.opacityCap));return n},deserialize:function(e,f){h.Ea.prototype.deserialize.apply(this,
arguments);var n=this;n.Ta=[];e.querySelectorAll("inklist gesture").forEach(function(e){e=h.ma.An(e.textContent,f);e=n.shouldSimplifyPath?ba()(e,.5):e;n.Ta.push(e)});this.$c()||this.adjustRect();this.ih=e.getAttribute("IT");this.wj=null},selectionModel:y.a};h.FreeHandAnnotation.prototype=Object.assign(new h.Ea,h.FreeHandAnnotation.prototype);Object(da.a)(h.FreeHandAnnotation.prototype,new z.a);Object.defineProperties(h.FreeHandAnnotation.prototype,{Intent:{get:function(){return this.ih},set:function(e){this.ih=
e;this.Va()}},X:{get:function(){return Object.getOwnPropertyDescriptor(h.Annotation.prototype,"X").get.call(this)},set:function(e){var f=this.Ta.reduce(function(e,f){return[].concat(Cd(e),Cd(f))},[]);h.Nc.prototype.jB.call(this,f,{x:e});this.adjustRect()}},Y:{get:function(){return Object.getOwnPropertyDescriptor(h.Annotation.prototype,"Y").get.call(this)},set:function(e){var f=this.Ta.reduce(function(e,f){return[].concat(Cd(e),Cd(f))},[]);h.Nc.prototype.jB.call(this,f,{y:e});this.adjustRect()}},Width:{get:function(){return Object.getOwnPropertyDescriptor(h.Annotation.prototype,
"Width").get.call(this)},set:function(e){var f=this.Ta.reduce(function(e,f){return[].concat(Cd(e),Cd(f))},[]);h.Nc.prototype.iB.call(this,f,{width:e});this.adjustRect()}},Height:{get:function(){return Object.getOwnPropertyDescriptor(h.Annotation.prototype,"Height").get.call(this)},set:function(e){var f=this.Ta.reduce(function(e,f){return[].concat(Cd(e),Cd(f))},[]);h.Nc.prototype.iB.call(this,f,{height:e});this.adjustRect()}}})})(window)},function(ha,ca,h){var ba=h(2),aa=h(122),fa=h(173);(function(h){var z=
h.Annotations||{};z.Nc=function(){z.Ea.call(this);this.pa=[];this.eC=new ba.e;this.Eb={x:0,y:0};this.pc={x:0,y:0}};z.Nc.prototype={sc:function(h,f){var e=this.getRectPadding(),x=new ba.b(h,f);this.pa.push(x);1===this.pa.length?(this.Eb={x:h,y:f},this.pc={x:h,y:f},Object.getOwnPropertyDescriptor(z.Annotation.prototype,"X").set.call(this,h-e),Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Y").set.call(this,f-e)):(h>this.pc.x&&(Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Width").set.call(this,
h-this.Eb.x+2*e),this.pc.x=h),f>this.pc.y&&(Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Height").set.call(this,f-this.Eb.y+2*e),this.pc.y=f),h<this.Eb.x&&(Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Width").set.call(this,this.pc.x-h+2*e),Object.getOwnPropertyDescriptor(z.Annotation.prototype,"X").set.call(this,h-e),this.Eb.x=h),f<this.Eb.y&&(Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Height").set.call(this,this.pc.y-f+2*e),Object.getOwnPropertyDescriptor(z.Annotation.prototype,
"Y").set.call(this,f-e),this.Eb.y=f))},rj:function(h){z.Annotation.prototype.rj.apply(this,arguments);for(var f=this.pa,e=0;e<f.length;++e)f[e]=h.ka(f[e])},Yg:function(h,f,e){this.pa&&this.pa.length>h?(this.pa[h].x=f,this.pa[h].y=e,this.adjustRect()):this.pa&&this.pa.length===h&&this.sc(f,e);this.Va()},Ji:function(h){return this.pa&&this.pa.length>h?this.pa[h]:null},Go:function(){var h=this.pa.pop();this.adjustRect();return h},gb:function(){return this.pa},So:function(h){this.pa=h;this.adjustRect()},
getRectPadding:function(){return this.StrokeThickness},adjustRect:function(){if(0!==this.pa.length&&!this.pa.every(function(e){return isNaN(e.length)&&isNaN(e.x)&&isNaN(e.y)})){this.Eb={x:Number.MAX_VALUE,y:Number.MAX_VALUE};this.pc={x:-Number.MAX_VALUE,y:-Number.MAX_VALUE};for(var h=0;h<this.pa.length;h++)if(null!==this.pa[h]){var f=this.pa[h].x,e=this.pa[h].y;f>this.pc.x&&(this.pc.x=f);e>this.pc.y&&(this.pc.y=e);f<this.Eb.x&&(this.Eb.x=f);e<this.Eb.y&&(this.Eb.y=e)}var x=this.getRectPadding();h=
this.Eb.x-x;f=this.Eb.y-x;e=Math.max(0,this.pc.x-this.Eb.x)+2*x;x=Math.max(0,this.pc.y-this.Eb.y)+2*x;Object.getOwnPropertyDescriptor(z.Annotation.prototype,"X").set.call(this,h);Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Y").set.call(this,f);Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Width").set.call(this,e);Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Height").set.call(this,x);this.Cv()}},rotate:function(h,f){f=void 0===f?this.Gt():f;this.WA(this.ep-h);this.pa=
fa.a.uO(this.pa,h,f);this.adjustRect()},jB:function(h,f){f=Object.assign({},{x:this.X,y:this.Y},f);var e=f.x-this.X,x=f.y-this.Y;!h||1>h.length?(Object.getOwnPropertyDescriptor(z.Annotation.prototype,"X").set.apply(this,[f.x]),Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Y").set.apply(this,[f.y])):h.forEach(function(f){return f.translate(e,x)})},iB:function(h,f){f=Object.assign({},{width:this.Width,height:this.Height},f);var e=2*this.getRectPadding(),x=(f.width-e)/(this.Width-e);e=(f.height-
e)/(this.Height-e);if(!(.016>Math.abs(1-x)&&.016>Math.abs(1-e)))if(!h||1>h.length)Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Width").set.apply(this,[f.width]),Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Height").set.apply(this,[f.height]);else{this.eC.clear();var r=this.eC.translate(-this.X,-this.Y).scale(x,e).translate(this.X,this.Y).Uy();h.forEach(function(e){return e.transform(r)})}},selectionModel:aa.a};z.Nc.prototype=Object.assign(new z.Ea,z.Nc.prototype);Object.defineProperties(z.Nc.prototype,
{X:{get:function(){return Object.getOwnPropertyDescriptor(z.Annotation.prototype,"X").get.call(this)},set:function(h){this.jB(this.pa,{x:h});this.adjustRect()}},Y:{get:function(){return Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Y").get.call(this)},set:function(h){this.jB(this.pa,{y:h});this.adjustRect()}},Width:{get:function(){return Object.getOwnPropertyDescriptor(z.Annotation.prototype,"Width").get.call(this)},set:function(h){this.iB(this.pa,{width:h});this.adjustRect()}},Height:{get:function(){return Object.getOwnPropertyDescriptor(z.Annotation.prototype,
"Height").get.call(this)},set:function(h){this.iB(this.pa,{height:h});this.adjustRect()}}})})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(2),fa=h(8),da=h(43),z=h(72),y=h(39),f=h(133),e=h(68),x=h(30),r=h(21),w=h(96),n=h(59),ea=h(47);(function(h){var ia=h.Annotations||{},ca=ia.za||{};ia.Ja=function(e){ia.Nc.call(this);this.pa=[];this.Eb={x:0,y:0};this.pc={x:0,y:0};this.qg=null;this["_xsi:type"]="FreeText";this.StrokeThickness=1;this.sr(e);this.Hz="left";this.JJ=new fa.a(255,0,0);this.sw=
"Helvetica";this.yJ="12pt";this.IJ="left";this.CJ=0;this.cp=2;this.ln=this.kn=0;this.editor=null;this.autoSizeProperties={shrinkWidth:!0,shrinkHeight:!0,expandWidth:!0,expandHeight:!0};this.Subject=e!==ia.Ja.Hd.FreeTextCallout?ia.za.Zc("freetext"):ia.za.Zc("callout")};ia.Ja.EXPORT_CALCULATED_FONT_SIZE=!0;ia.Ja.Hd={FreeText:"FreeText",FreeTextCallout:"FreeTextCallout",FreeTextTypeWriter:"FreeTextTypeWriter"};ia.Ja.prototype={elementName:"freetext",fk:function(){return this.intent},sr:function(e){this.intent=
e||ia.Ja.Hd.FreeText;e!==ia.Ja.Hd.FreeTextCallout?this.selectionModel=y.d:(this.mj("OpenArrow"),this.selectionModel=y.b)},mj:function(e){this.yp=e},Re:function(){return this.yp},n1:function(e,h,r){var w=this,x=this.getContents();if(x){if(90===r||270===r){r=e.height;var y=e.width}else r=e.width,y=e.height;var z=document.createElement("canvas");z.width=r;z.height=y;var da=z.getContext("2d");e=this.Ny(e,h);var ba=e.Gy;e=e.qE;this.Kc(da,h);da.font=ba+e+" "+this.Font;e=this.Zt();var ia=e.x,ja=e.y,fa=e.width,
ca=e.height,ka=this.cz(h);if(this.ck()===n.a.fw)e=0===this.Rotation||180===this.Rotation?fa:ca,e-=Math.ceil(2*ka),z=this.Hm(da,x,e);else{z=x.split("\n");var ma=0;e=z.map(function(e){if(!w.le)return da.measureText(e).width;e=f.b(e,w.le,ma).reduce(function(e,h){var n=h.text;h=h.style;da.save();f.c(da,h);n=da.measureText(n).width;da.restore();return e+n},0);ma+=x.length;return e});e=Math.max.apply(Math,Cd(e))}e+=Math.ceil(2*ka);var oa=function(e){var f=w.Nt(ba).$Q*e.length;Object(ea.f)(e[0])&&(f+=ba/
4.5);return f+2*ka};switch(this.Rotation){case 0:var ha=ia;ha+e>r&&(e=r-ha,z=this.Hm(da,x,e-2*ka));z=oa(z);ha=new aa.d(ha,ja,ha+e,ja+z);break;case 90:ha=ia;ja+=ca;0>ja-e&&(e=ja,z=this.Hm(da,x,e-2*ka));z=oa(z);ha=new aa.d(ha,ja-e,ha+z,ja);break;case 180:ha=ia+fa;ja+=ca;0>ha-e&&(e=ha,z=this.Hm(da,x,e-2*ka));z=oa(z);ha=new aa.d(ha-e,ja-z,ha,ja);break;case 270:ha=ia+fa,ja+e>y&&(e=y-ja,z=this.Hm(da,x,e-2*ka)),z=oa(z),ha=new aa.d(ha-z,ja,ha,ja+e)}ha.Di(new aa.d(0,0,r,y));this.EL(ha,h)}},sc:function(e,f){5>
this.pa.length&&ia.Nc.prototype.sc.call(this,e,f)},adjustRect:function(){ia.Nc.prototype.adjustRect.apply(this,arguments)},resize:function(e){if(this.fk()===ia.Ja.Hd.FreeTextCallout){var f=e.y1-this.Y,h=e.Fa()/this.Width,n=e.Ca()/this.Height;if(0!==e.x1-this.X||0!==f||1!==h||1!==n){var r=this;this.pa.forEach(function(f){f.x=(f.x-r.X)*h+e.x1;f.y=(f.y-r.Y)*n+e.y1});this.adjustRect()}}else f=this.az(),this.Wd(e),this.tr(f)},getRectPadding:function(){return this.fk()===ia.Ja.Hd.FreeTextCallout?this.StrokeThickness/
2:0},tr:function(e){var f=0;this.fk()===ia.Ja.Hd.FreeTextCallout&&(f+=this.cp+1);this.pa[f]=new aa.b(this.X+e.x1,this.Y+e.y2);this.pa[f+1]=new aa.b(this.X+this.Width-e.x2,this.Y+this.Height-e.y1)},az:function(){var e=this.pa.slice(-2),f=e[0];e=e[1];return new aa.d(f.x-this.X,this.Y+this.Height-e.y,this.X+this.Width-e.x,f.y-this.Y)},Mt:function(){return this.FontSize.slice(-2)||"px"},rq:function(){var e=parseFloat(this.FontSize),f=this.Mt(e);0===e&&this.tJ&&ia.Ja.EXPORT_CALCULATED_FONT_SIZE&&(e=this.tJ,
f="px");"px"===f&&(e*=.75);return e},Hm:function(e,f,h){var n=[],r=[];f&&(r=f.split("\n"));f=e.measureText(".").width||1;f=2*Math.ceil(h/f);for(var w=0;w<r.length;w++){var x=r[w].split(" ");x=x.map(function(e){return e+" "});for(var y="",z=void 0,aa=void 0,ea=0;ea<x.length;ea++){z=x[ea].trim();aa=e.measureText(z);if(aa.width>h){for(var da=1,ba=f,ia=void 0;da<=ba;)if(ia=Math.floor((ba+da)/2),aa=e.measureText(z.slice(0,ia)),aa.width<h)da=ia+1;else if(aa.width>h)ba=ia-1;else break;z=z.slice(0,Math.max(1,
ba))}x[ea].trim()!==z&&(x.splice(ea+1,0,x[ea].substr(z.length)),x[ea]=z);z=""+y+x[ea].trim();aa=e.measureText(z);aa.width>h&&0<ea?(n.push(y),y=x[ea]):y=""+y+x[ea]}n.push(y)}return n},AF:function(){this.qg=document.createElement("textarea");this.qg.className="freetext";this.qg.style.visibility="hidden";this.qg.style.position="absolute";this.qg.style.top="-9001px";document.getElementsByTagName("body")[0].appendChild(this.qg)},Nt:function(e){return{$Q:1.598*e,UZ:1+5/e}},cz:function(e){return 2*this.Ol(e)},
draw:function(e,f){this.Kc(e,f);if(this.fk()===ia.Ja.Hd.FreeTextCallout){this.ry(e,f);var h=this.pa.length===this.cp+3}else h=2===this.pa.length;if(h){h=this.Zt();this.A0(e,h);var n=this.getContents(),r=this.editor&&this.editor.hasFocus();n&&!r&&this.aq(e,f,n,h)}},ry:function(e,f){e.lineJoin="miter";f=this.Ol(f);0===f&&(f=e.lineWidth=1);for(var h=Math.min(this.cp+1,this.pa.length),n=0;n<h;n++){var r=this.pa[n];0===n?(e.beginPath(),e.moveTo(r.x,r.y)):e.lineTo(r.x,r.y)}1<this.pa.length&&ca.L_(e,this.pa[0],
this.pa[1],f)},A0:function(e,f){var h=f.x,n=f.y,r=f.width;f=f.height;e.save();0<this.StrokeThickness&&(e.beginPath(),e.lineWidth*=2,e.rect(h,n,r,f),e.clip(),e.stroke());e.beginPath();e.rect(h+e.lineWidth/2,n+e.lineWidth/2,r-e.lineWidth,f-e.lineWidth);e.closePath();e.fill();e.restore()},aq:function(e,f,h,n){var r=this;e.save();var w=n.x,x=n.y,y=n.width,z=n.height;if(this.Rotation&&(90===this.Rotation||270===this.Rotation)){var aa=y;y=z;z=aa}f=this.aB(e,f,h,n);h=f.lines;n=f.pad;var da=f.Gy,ba=f.maxHeight,
ia=w+n;"center"===this.TextAlign?ia=w+y/2:"right"===this.TextAlign&&(ia=w+y-n);var ja=x+n,fa=ja,ca=0;Object(ea.f)(h[0])&&(ja+=da/4.5);h.forEach(function(f){ja-fa>=ba||(r.le?(r.p0(e,f,ia,ja,ca),ca+=f.length):e.fillText(f,ia,ja),ja+="0pt"!==r.FontSize?r.Nt(da).$Q:da)});e.restore()},p0:function(e,h,n,r,w){var x=this;h=f.b(h,this.le,w);var y=f.a(e,h);h.forEach(function(h,w){var z=h.text;h=h.style;e.save();e.lineWidth=parseFloat(x.FontSize)/12;f.c(e,h);e.fillText(z,n,r);if(h=h["text-decoration"]){if(h.includes("underline")||
h.includes("word")){var aa=Math.max.apply(Math,Cd(y));x.Ai(e,z,n,r+aa)}h.includes("line-through")&&x.Ai(e,z,n,r+y[w]/2)}n+=e.measureText(z).width;e.restore()})},Ai:function(e,f,h,n){f=e.measureText(f).width;e.beginPath();var r=e.textAlign;"center"==r?(r=h-f/2,h+=f/2):"right"==r?r=h-f:(r=h,h+=f);e.moveTo(r,n);e.lineTo(h,n);e.stroke()},Ny:function(e,f){var h=this,n=e.width;e=e.height;f=ia.za.Ns(f,parseFloat(this.FontSize));var r=this.Mt();"pt"===r&&(f*=.75);0===f&&(this.qg||this.AF(),this.qg.style.width=
n+"px",this.qg.style.height=e+"px",this.qg.style.fontFamily=this.Font,n=this.getContents(),n=n.replace(/\s+$/g,""),this.qg.value=n,f=ca.tN(n,this.qg,e,function(e){return h.Nt(e).UZ}),r="px",this.tJ=f);return{Gy:f,qE:r}},Zt:function(){var e=rc(this.pa.slice(-2)),f=e.next().value;e=e.next().value;return{x:f.x,y:f.y,width:e.x-f.x,height:e.y-f.y}},r3:function(e){var f=rc(this.pa.slice(-2)),h=f.next().value;f=f.next().value;var n=r.a.Math.eQ(h,f);e=this.Ol(e)/2;return[new aa.b(n.x,h.y+e),new aa.b(n.x,
f.y-e),new aa.b(h.x+e,n.y),new aa.b(f.x-e,n.y)]},EL:function(e,f){var n=h.Annotations.Ja.Hd,w=this.fk();if(w===n.FreeText)this.resize(e);else if(w===n.FreeTextCallout){n=this.gb();w=n.length;n[w-2]=new aa.b(e.x1,e.y1);n[w-1]=new aa.b(e.x2,e.y2);e=n[w-3];var x=n[w-4];f=this.r3(f);n=f.map(function(e){return r.a.Math.th(x,e)});f=f[n.indexOf(Math.min.apply(Math,Cd(n)))];e.x=f.x;e.y=f.y;this.adjustRect()}},YO:function(){return this.originalTextAlignCalculated!==this.TextAlign||this.originalTextColorCalculated!==
ia.ma.Uh(this.TextColor)||this.originalStrokeColorCalculated!==ia.ma.Uh(this.StrokeColor)||this.originalFontSizeCalculated!==this.FontSize||this.originalFontCalculated!==this.Font},serialize:function(e,f){if(this.Mb)return this.Mb;var h=this.Zt(),n=this.getContents();this.oaa(document.createElement("canvas").getContext("2d"),f,n,h);h=ia.Ea.prototype.serialize.apply(this,arguments);var r=this.gb();n={};var w=ia.ma.Uh(this.FillColor);null!==w?n.color=w:h.removeAttribute("color");h.removeAttribute("interior-color");
w=this.rq();var x=this.az();if(this.sG&&this.sG.isEqual(x))var y=this.uG;else this.uG&&(delete this.uG,delete this.sG),x.MP()||(y=ia.ma.wH(x,f));y&&h.setAttribute("fringe",y);this.YO()?(y=this.StrokeColor.FT(),x=ia.ma.rS(this.Font,w),x=y+" "+x,y=ia.ma.E9(this)):(x=this.originalDefaultAppearance,y=this.originalDefaultStyle);var z=document.createElementNS("","defaultappearance");z.textContent=x;h.appendChild(z);x=document.createElementNS("","defaultstyle");x.textContent=y;h.appendChild(x);this.Hz&&
"left"!==this.Hz&&(n.justification=this.Hz);y=ia.ma.Uh(this.TextColor);null!==y&&h.setAttribute("TextColor",y);h.setAttribute("FontSize",w);w=this.fk();w===ia.Ja.Hd.FreeTextCallout&&(r=r.slice(0,-2),r=ia.ma.pr(r,f,",",","),n.callout=r,n.head=this.Re(),h.setAttribute("IT",w));this.le&&h.appendChild(document.createElement("apref-replace"));for(var aa in n)e.setAttribute(aa,n[aa]);return h},deserialize:function(e,f){this.TextColor=new fa.a(0,0,0);var h=ia.ma;ia.Ea.prototype.deserialize.apply(this,arguments);
null!==h.sh(e.getAttribute("color"))?this.FillColor=this.StrokeColor:this.FillColor=new fa.a(0,0,0,0);var n=h.Ln(e,"defaultappearance","defaultappearance"),r=h.Ln(e,"defaultstyle","defaultstyle"),w=h.mA(n);w.color&&(this.StrokeColor=h.sh(w.color));w.font&&(this.Font=w.font.name,this.FontSize=w.font.size);w=h.A6(r);w.font&&(this.Font=w.font.name,this.FontSize=w.font.size);w.textAlign&&(this.TextAlign=w.textAlign);w.color&&(this.TextColor=h.sh(w.color));var x=this.GA;x&&(x["font-family"]&&(this.Font=
x["font-family"]),x["font-size"]&&(this.FontSize=x["font-size"]),x["text-align"]&&(this.TextAlign=x["text-align"]),x.color&&(this.TextColor=h.sh(x.color)));this.originalStrokeColorCalculated=h.Uh(this.StrokeColor);this.originalTextAlignCalculated=this.TextAlign;this.originalTextColorCalculated=w.color?w.color:h.Uh(this.TextColor);this.originalFontSizeCalculated=this.FontSize;this.originalFontCalculated=this.Font;this.originalDefaultStyle=e;this.originalDefaultAppearance=n;this.originalDefaultStyle=
r;if((n=e.getAttribute("IT")||e.getAttribute("it"))&&n===ia.Ja.Hd.FreeTextCallout){if(this.sr(ia.Ja.Hd.FreeTextCallout),this.mj(e.getAttribute("head")||"OpenArrow"),r=e.getAttribute("callout"))for(n=h.An(r,f),3>n.length&&(r=h.An(r,f,",",","),4>r.length&&(n=r,this.cp=n.length-1)),r=this.gb(),w=0;w<n.length;w++)r[w]=new aa.b(parseFloat(n[w].x),parseFloat(n[w].y))}else this.sr(ia.Ja.Hd.FreeText);this.fringe?this.tr(this.fringe):this.tr(new aa.d(0,0,0,0));if(n=e.getAttribute("justification"))this.Hz=
n;h=h.sh(e.getAttribute("TextColor"));null!==h&&(this.TextColor=h);h=e.getAttribute("FontSize");Object(ba.isUndefined)(h)||Object(ba.isNull)(h)||(this.FontSize=h+"pt");(h=e.getAttribute("rotation"))&&(this.Rotation=parseInt(h,10));this.$c()||this.adjustRect();this.sG=this.az()},Kq:function(){return!!this.ck()},NA:function(e){this.me("trn-auto-size-type",e)},ck:function(){return this.xd("trn-auto-size-type")},aB:function(e,f,h,n){var r=n.x,w=n.y,x=n.width;n=n.height;e.textBaseline="top";e.fillStyle=
this.TextColor.toString();e.strokeStyle=this.TextColor.toString();var y=e.lineWidth;e.beginPath();e.rect(r+y,w+y,Math.max(x-2*y,0),Math.max(n-2*y));e.clip();e.textAlign=this.TextAlign;if(this.Rotation){e.translate(r,w);e.rotate(-(Math.PI/180*this.Rotation));e.translate(-r,-w);if(90===this.Rotation||270===this.Rotation)r=x,x=n,n=r;90===this.Rotation?e.translate(-x,0):270===this.Rotation?e.translate(0,-n):180===this.Rotation&&e.translate(-x,-n)}r=this.cz(f);x-=2*r;n=Math.round(n-2*r);w=this.Ny({width:x,
height:n},f);f=w.Gy;w=w.qE;e.font=f+w+" "+this.Font;return{lines:this.Hm(e,h,x),pad:r,maxWidth:x,maxHeight:n,Gy:f,qE:w}},oaa:function(e,f,h,n){(e=this.aB(e,f,h,n).lines)&&0<e.length&&(this.isImporting=!0,this.me("trn-wrapped-text-lines",JSON.stringify(e)),this.isImporting=!1)},g2:function(){return this.editor},Nn:function(f){var h=this,n=document.createElement("canvas"),r=this.Width,w=this.Height,y=Math.max(2,Object(x.e)());n.width=r*y;n.height=w*y;n.style.width=r+"px";n.style.height=w+"px";r=n.getContext("2d");
r.scale(y,y);r.translate(-this.X,-this.Y);this.draw(r,f);return new Promise(function(f,r){n.toBlob(function(n){var w,x;return $h(function(y){if(1==y.ra)return n?vf(y,Object(e.a)(n,{useDownloader:!1,extension:"png"}),2):y.return(f());w=y.Vc;try{return x=h.en(w,{pageNumber:1}),y.return(f(x))}catch(pa){return y.return(r(pa))}})})})},selectionModel:ia.ica,u_:function(){var e=this,f,h;return $h(function(r){if(1==r.ra){f=e.ck();e.NA(n.a.ew);if(!e.editor||f===n.a.ew){r.ra=0;return}h=new w.a(e.editor.LA,
e);return vf(r,h.initialize(),3)}e.editor=h;r.ra=0})},J0:function(){var e=this,f,h,r,w;return $h(function(x){f=e.ck();e.NA(n.a.Rr);if(e.editor&&f!==n.a.Rr)for(h=e.editor.editor.keyboard.bindings[13],r=0;r<h.length;r++)if(w=h[r],"disable-enter"===w.identifier){h.splice(r,1);break}x.ra=0})}};ia.Ja.prototype=Object.assign(new ia.Nc,ia.Ja.prototype);Object(da.a)(ia.Ja.prototype,new z.a);Object.defineProperties(ia.Ja.prototype,{CalloutLineCount:{get:function(){return this.cp},set:function(e){this.cp=e;
this.Va()}},TextColor:{get:function(){return this.JJ},set:function(e){this.JJ=Object(fa.b)(this,e);this.Va();if(!this.isImporting&&this.le){var f=Object.assign({},this.le);Object.values(f).forEach(function(f){f&&(f.color=e.Hr())});this.le=f}}},FontSize:{get:function(){return this.yJ},set:function(e){this.yJ=e;this.Va()}},Font:{get:function(){return this.sw},set:function(e){this.sw=e;this.Va()}},TextAlign:{get:function(){return this.IJ},set:function(e){this.IJ=e;this.Va()}},Rotation:{get:function(){return this.CJ},
set:function(e){this.CJ=e;this.Va()}}})})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(2),fa=h(43),da=h(66),z=h(72),y=h(23),f=h(163),e=h(89),x=h(21);(function(h){var r=h.Annotations||{};r.fd=function(){r.Ea.call(this);this["_xsi:type"]="Line";this.Subject=r.za.Zc("line");this.yp=this.Jw=null};r.fd.prototype={elementName:"line",resize:function(e){var f=e.x1;e=e.y1;var h=f-this.X,n=e-this.Y;if(0!==h||0!==n)this.Start.translate(h,n),this.End.translate(h,n),Object.getOwnPropertyDescriptor(r.Annotation.prototype,
"X").set.call(this,f),Object.getOwnPropertyDescriptor(r.Annotation.prototype,"Y").set.call(this,e)},rotate:function(e,f){f=void 0===f?this.Gt():f;this.WA(this.ep-e);this.Start=x.a.Math.HA(this.Start,e,f);this.End=x.a.Math.HA(this.End,e,f);this.adjustRect()},Gt:function(){var e=this.Sn(),f=this.pq();return new aa.b((e.x<=f.x?e:f).x+Math.abs(e.x-f.x)/2,(e.y<=f.y?e:f).y+Math.abs(e.y-f.y)/2)},adjustRect:function(){if(!Object(ba.isNull)(this.Start)||!Object(ba.isNull)(this.End)){"LineDimension"===this.IT&&
this.Measure&&this.Hj();var e=this.getRectPadding(),f=this.E3(),h=this.N1();h=h.map(function(e){return f.ka(e)});var w=h.map(function(e){return e.x}),x=h.map(function(e){return e.y});h=Math.max(Math.min.apply(null,w)-e,0);var y=Math.max(Math.min.apply(null,x)-e,0);w=Math.max.apply(null,w)-Math.min.apply(null,w)+2*e;e=Math.max.apply(null,x)-Math.min.apply(null,x)+2*e;Object.getOwnPropertyDescriptor(r.Annotation.prototype,"X").set.call(this,h);Object.getOwnPropertyDescriptor(r.Annotation.prototype,
"Y").set.call(this,y);Object.getOwnPropertyDescriptor(r.Annotation.prototype,"Width").set.call(this,w);Object.getOwnPropertyDescriptor(r.Annotation.prototype,"Height").set.call(this,e);this.Cv()}},getRectPadding:function(){return this.StrokeThickness},VH:function(e,f){this.Start=new aa.b(e,f)},Sn:function(){return this.Start},setEndPoint:function(e,f){this.End=new aa.b(e,f)},pq:function(){return this.End},mj:function(e){this.yp=e},Re:function(){return this.yp||"None"},Qo:function(e){this.Jw=e},cg:function(){return this.Jw||
"None"},haa:function(e){e.font=this.constant.FONT_SIZE+" "+this.constant.FONT_FAMILY;null!==this.StrokeColor&&(e.fillStyle=this.StrokeColor.toString());e.textBaseline="top";e.textAlign="center"},kaa:function(e){e.translate(this.Start.x,this.Start.y);e.rotate(this.bk());e.translate(0,this.hz())},draw:function(e,f){this.Kc(e,f);if(this.Start&&this.End){f=this.Wy();e.save();this.kaa(e);e.beginPath();this.leaderExtend&&this.c0(e,f);this.leaderLength&&this.d0(e,f);if("yes"===this.caption){e.save();this.haa(e);
var h=this.DO(this.getContents(),f);this.M_(e,f,h);e.restore()}this.f0(e,f,h);this.Ai(e,f,h);e.stroke();e.closePath();this.e0(e);e.restore()}},c0:function(e,f){var h=this.leaderExtend;this.ag(e,0,0,0,-this.Pt()*h);this.ag(e,f,0,f,-this.Pt()*h)},d0:function(e,f){var h=this.leaderLength;this.ag(e,0,0,0,h);this.ag(e,f,0,f,h)},M_:function(e,f,h){var n=this.getContents();if(n){var r=f/2;if(this.YF(h))this["caption-offset-h"]&&!this.KP(f,h)&&(r=this.NN(f,h),h.left>f?this.ag(e,f,0,r.x,0):0>h.right&&this.ag(e,
0,0,r.x,0));else if(this["caption-offset-v"]){var w=this.EE(f,h);e.moveTo(f/2,0);e.lineTo(w.x,w.y);this["caption-offset-h"]&&(h.right<r||h.left>r)&&(r=this.NN(f,h),e.lineTo(r.x,r.y))}n=n.split("\n");r=h.top;w=h.height/n.length;this.jD(h.width,f)||!this.YF(h)||this["caption-offset-h"]||(r-=17);for(f=0;f<n.length;f++)e.fillText(n[f],h.left+h.width/2,r),r+=w}},f0:function(f,h,r){var n={start:this.Start,end:this.End,stroke:this.StrokeThickness};if("yes"!==this.caption||this.jD(r.width,h))h=Object(e.c)(this.Re(),
n),n=Object(e.c)(this.cg(),n),h&&h.start(f),n&&n.end(f);else{r=5*f.lineWidth+10;if("None"!==this.Re()){var w=Object(e.c)("ROpenArrow",n);w&&w.start(f);"None"!==this.cg()&&this.ag(f,-r,0,0,0)}"None"!==this.cg()&&((n=Object(e.c)("ROpenArrow",n))&&n.end(f),"None"!==this.Re()&&this.ag(f,h,0,h+r,0))}},e0:function(f){var h={start:this.Start,end:this.End,stroke:this.StrokeThickness},n=Object(e.c)(this.Re(),h);h=Object(e.c)(this.cg(),h);n&&n.Kg&&(f.beginPath(),n.start(f),f.fill(),f.closePath());h&&h.Kg&&
(f.beginPath(),h.end(f),f.fill(),f.closePath())},Ai:function(e,f,h){h?this.jD(h.width,f)?this.YF(h)&&this.KP(f,h)?(this.ag(e,0,0,h.left,0),this.ag(e,h.right,0,f,0)):this.ag(e,0,0,f,0):"None"!==this.Re()&&"None"!==this.cg()||this.ag(e,0,0,f,0):this.ag(e,0,0,f,0)},ag:function(e,f,h,r,w){e.moveTo(f,h);e.lineTo(r,w)},ry:function(e,f){var h=5*e.lineWidth+3,n=.2*Math.PI;e.moveTo(Math.cos(n)*h,-Math.sin(n)*h);e.lineTo(0,0);e.lineTo(Math.cos(n)*h,Math.sin(n)*h);f&&e.closePath()},$p:function(e){var f=3*this.StrokeThickness;
e.moveTo(f,0);e.ellipse(0,0,f,f,0,0,2*Math.PI)},rj:function(e){r.Annotation.prototype.rj.apply(this,arguments);this.Start=e.ka(this.Start);this.End=e.ka(this.End)},serialize:function(e,f){if(this.Mb)return this.Mb;e=r.Ea.prototype.serialize.apply(this,arguments);var h=new aa.b(this.Start.x,this.Start.y),n=new aa.b(this.End.x,this.End.y),w=r.ma;e.setAttribute("start",w.yH(h,f));e.setAttribute("end",w.yH(n,f));"None"!==this.Re()&&e.setAttribute("head",this.Re());"None"!==this.cg()&&e.setAttribute("tail",
this.cg());"LineDimension"===this.IT&&this.Measure&&e.appendChild(w.nv(this.Measure));this.ic(e,"leaderLength");this.ic(e,"leaderExtend");this.ic(e,"leader-offset");this.ic(e,"caption");this.ic(e,"caption-style");this.ic(e,"caption-offset-h");this.ic(e,"caption-offset-v");return e},deserialize:function(e,f){r.Ea.prototype.deserialize.apply(this,arguments);var h=r.ma,n=h.LD(e.getAttribute("start"),f);null!==n?this.VH(n.x,n.y):this.VH(this.X,this.Y);n=h.LD(e.getAttribute("end"),f);null!==n?this.setEndPoint(n.x,
n.y):this.setEndPoint(this.X+this.Width,this.Y+this.Height);n=e.querySelector("measure");"LineDimension"===e.getAttribute("IT")&&n&&(this.Measure=h.mt(n));this.mj(e.getAttribute("head")||"None");this.Qo(e.getAttribute("tail")||"None");this.Xh(e,"caption");this.Xh(e,"caption-style");this.pv(e,"caption-offset-h");this.pv(e,"caption-offset-v");this.pv(e,"leaderLength");this.pv(e,"leaderExtend");this.pv(e,"leader-offset");this.$c()||this.adjustRect()},selectionModel:f.a,constant:{FONT_SIZE:"9px",FONT_FAMILY:"sans-serif"},
Hj:function(){var e=this.Wy(),f=this.Measure.distance;e=this.Zy(e*this.Measure.axis[0].factor*f[0].factor,f);this.setContents(e)},jD:function(e,f){return e+24<=f},YF:function(e){return 0>e.top&&0<e.bottom},KP:function(e,f){return 0<=f.left&&f.right<=e},E3:function(){var e=this.hz(),f=this.bk(),h=new y.a,r=new y.a;h.cb(1,0,0,1,this.Start.x,this.Start.y);r.set(Math.cos(f),Math.sin(f),-Math.sin(f),Math.cos(f),0,0);h.concat(r);r.set(1,0,0,1,0,e);h.concat(r);return h},DO:function(e,f){var h=r.za.measureText(e,
this.constant.FONT_SIZE,this.constant.FONT_FAMILY,"normal");e=h.height;h=h.width;var n=this.t3(e);f=this.s3(h,f);return{top:n,bottom:n+e,left:f,right:f+h,width:h,height:e}},t3:function(e){var f=-e/2;if("Top"===this["caption-style"]&&!this["caption-offset-v"])return-e;this["caption-offset-v"]&&(f-=this["caption-offset-v"]);return f},s3:function(e,f){e=f/2-e/2;this["caption-offset-h"]&&(e+=this["caption-offset-h"]);return e},EE:function(e,f){var h=-this["caption-offset-v"];e/=2;var n={x:e,y:void 0};
n.y=0>h?f.bottom:f.top;this["caption-offset-h"]&&(f.right<e||f.left>e)&&(n.y=0>h?n.y-f.height/2:n.y+f.height/2);return n},NN:function(e,f){var h={};h.y=this["caption-offset-v"]?this.EE(e,f).y:0;h.x=0>this["caption-offset-h"]?f.right:f.left;return h},N1:function(){var e=this.Wy(),f=[{x:0,y:0},{x:e,y:0}];if("yes"===this.caption){var h=this.DO(this.getContents(),e);f.push({x:h.left,y:h.top},{x:h.left,y:h.bottom},{x:h.right,y:h.top},{x:h.right,y:h.bottom});this["caption-offset-v"]&&(h=this.EE(e,h),f.push({x:h.x,
y:h.y}))}this.leaderExtend&&(h=this.leaderExtend,f.push({x:0,y:h*-this.Pt()},{x:e,y:h*-this.Pt()}));(h=this.hz())&&f.push({x:0,y:-h},{x:e,y:-h});return f},hz:function(){var e=this.leaderLength,f=this["leader-offset"],h=0;e&&(h-=e);f&&(h+=f*-this.Pt());return h},Pt:function(){return!this.leaderLength||0<this.leaderLength?1:-1},v2:function(){var e=this.hz(),f=this.bk();return{nJ:{x:this.Start.x-e*Math.sin(f),y:this.Start.y+e*Math.cos(f)},FB:{x:this.End.x-e*Math.sin(f),y:this.End.y+e*Math.cos(f)}}},
bk:function(){if(this.End)return Math.atan2(this.End.y-this.Start.y,this.End.x-this.Start.x)},Wy:function(){if(this.End)return this.End.th(this.Start)},r$:function(e){if(this.End){var f=this.bk(),h=this.Sn();this.setEndPoint(h.x+e*Math.cos(f),h.y+e*Math.sin(f));this.adjustRect()}}};r.fd.prototype=Object.assign(new r.Ea,r.fd.prototype);Object.defineProperties(r.fd.prototype,{Start:{get:function(){this.MC||(this.MC=new aa.b);return this.MC},set:function(e){e&&(this.MC=e instanceof aa.b?e:new aa.b(e.x,
e.y),this.adjustRect())}},End:{get:function(){this.qC||(this.qC=new aa.b);return this.qC},set:function(e){e&&(this.qC=e instanceof aa.b?e:new aa.b(e.x,e.y),this.adjustRect())}},X:{get:function(){return Object.getOwnPropertyDescriptor(r.Annotation.prototype,"X").get.call(this)},set:function(e){e-=this.X;this.Start.translate(e,0);this.End.translate(e,0);this.adjustRect()}},Y:{get:function(){return Object.getOwnPropertyDescriptor(r.Annotation.prototype,"Y").get.call(this)},set:function(e){e-=this.Y;
this.Start.translate(0,e);this.End.translate(0,e);this.adjustRect()}},Width:{get:function(){return Object.getOwnPropertyDescriptor(r.Annotation.prototype,"Width").get.call(this)},set:function(e){var f=2*this.getRectPadding();(this.End.X<this.Start.X?this.Start:this.End).translate(e-f-(this.Width-f),0);this.adjustRect()}},Height:{get:function(){return Object.getOwnPropertyDescriptor(r.Annotation.prototype,"Height").get.call(this)},set:function(e){var f=2*this.getRectPadding();(this.End.Y<this.Start.Y?
this.Start:this.End).translate(0,e-f-(this.Height-f));this.adjustRect()}}});Object(fa.b)(r.fd.prototype,[new z.a,new da.a])})(window)},function(ha,ca,h){var ba=h(43),aa=h(66),fa=h(72),da=h(122),z=h(89);(function(h){var f=h.Annotations||{};f.pg=function(){f.Ea.call(this);this.pa=[];this.Ww=!1;this["_xsi:type"]="Polyline";this.Subject=f.za.Zc("polyline");this.Eb={x:0,y:0};this.pc={x:0,y:0}};f.pg.prototype={elementName:"polyline",resize:function(e){var h=e.x1;e=e.y1;var r=h-this.X,w=e-this.Y;if(0!==
r||0!==w){for(var n=0;n<this.pa.length;n++)this.pa[n].x+=r,this.pa[n].y+=w;Object.getOwnPropertyDescriptor(f.Annotation.prototype,"X").set.call(this,h);Object.getOwnPropertyDescriptor(f.Annotation.prototype,"Y").set.call(this,e)}},adjustRect:function(){"PolyLineDimension"===this.IT&&this.Measure&&this.Hj();f.Nc.prototype.adjustRect.call(this)},Hj:function(){var e=this.U2(),f=this.Measure.distance;e=this.Zy(e*this.Measure.axis[0].factor*f[0].factor,f);this.setContents(e)},finish:function(){this.adjustRect()},
draw:function(e,f){var h=this;this.Kc(e,f);1<this.pa.length&&(e.lineJoin="round",Object(z.b)(e,[{iI:this.Re(),bE:"None",line:[this.pa[0],this.pa[1]],stroke:this.StrokeThickness},{iI:"None",bE:this.cg(),line:[this.pa[this.pa.length-2],this.pa[this.pa.length-1]],stroke:this.StrokeThickness}],function(){e.moveTo(h.pa[0].x,h.pa[0].y);for(var f=1;f<h.pa.length;f++)e.lineTo(h.pa[f].x,h.pa[f].y)}))},mj:function(e){this.yp=e},Re:function(){return this.yp||"None"},Qo:function(e){this.Jw=e},cg:function(){return this.Jw||
"None"},U2:function(){var e=this.gb();return 2>e.length?0:e.reduce(function(f,h,w){if(0===w)return f;w=e[w-1];return f+Math.sqrt(Math.pow(h.x-w.x,2)+Math.pow(h.y-w.y,2))},0)},serialize:function(e,h){if(this.Mb)return this.Mb;var r=f.Ea.prototype.serialize.apply(this,arguments),w=this.gb();if(w&&0<w.length){var n=document.createElementNS("","vertices");n.textContent=f.ma.pr(w,h);r.appendChild(n)}r.setAttribute("head",this.Re());r.setAttribute("tail",this.cg());"PolyLineDimension"===this.IT&&this.Measure&&
r.appendChild(f.ma.nv(this.Measure));return r},deserialize:function(e,h){f.Ea.prototype.deserialize.apply(this,arguments);var r=e.getElementsByTagName("vertices");0<r.length&&(this.pa=f.ma.An(r[0].textContent,h));this.mj(e.getAttribute("head")||"None");this.Qo(e.getAttribute("tail")||"None");r=e.querySelector("measure");"PolyLineDimension"===e.getAttribute("IT")&&r&&(this.Measure=f.ma.mt(r));this.$c()||this.adjustRect()},selectionModel:da.a};f.pg.prototype=Object.assign(new f.Nc,f.pg.prototype);Object(ba.b)(f.pg.prototype,
[new fa.a,new aa.a])})(window)},function(){(function(ha){var ca=ha.Annotations||{};ca.Mm=function(){ca.Annotation.call(this);this.BK=!1;this.Id=null;this.NoRotate=this.NoZoom=this.Printable=!0;this.DateModified=null};ca.Mm.prototype={elementName:"popup",CP:function(){return this.BK},JS:function(h){this.BK=h},serialize:function(h){h=ca.Annotation.prototype.serialize.apply(this,arguments);this.CP()&&h.setAttribute("open","yes");return h},deserialize:function(h){this.Printable=!1;ca.Annotation.prototype.deserialize.apply(this,
arguments);var ba=h.getAttribute("open");this.JS(ba&&"yes"===ba)}};ca.Mm.prototype=Object.assign(new ca.Annotation,ca.Mm.prototype)})(window)},function(ha,ca,h){var ba=h(2),aa=h(43),fa=h(72);(function(h){var z=h.Annotations||{};z.ni=function(){z.Ea.call(this);this["_xsi:type"]="Rectangle";this.Subject=z.za.Zc("rectangle");var h=this.getRectPadding();this.fringe=new ba.d(h,h,h,h);this.Xm=2};z.ni.prototype={elementName:"square",draw:function(h,f){this.WD(h,f)},Xj:function(h){var f=this.pb();f.x1+=this.fringe.x1;
f.y1+=this.fringe.y1;f.x2-=this.fringe.x2;f.y2-=this.fringe.y2;if("cloudy"===this.Style)f=[new ba.b(f.x1,f.y1),new ba.b(f.x2,f.y1),new ba.b(f.x2,f.y2),new ba.b(f.x1,f.y2),new ba.b(f.x1,f.y1)],z.za.SD(this,h,f),h.closePath(),h.lineJoin="round";else{var e=1<=this.Fa()&&1<=this.Ca();h.lineWidth*=e?2:.5;h.beginPath();h.moveTo(f.x1,f.y1);h.lineTo(f.x2,f.y1);h.lineTo(f.x2,f.y2);h.lineTo(f.x1,f.y2);h.closePath();e&&h.clip()}},getRectPadding:function(){return 0},serialize:function(){if(this.Mb)return this.Mb;
var h=z.Ea.prototype.serialize.apply(this,arguments);"cloudy"===this.Style&&h.setAttribute("intensity",this.Intensity);return h},deserialize:function(h){z.Ea.prototype.deserialize.apply(this,arguments);this.Xm=h.getAttribute("intensity")}};z.ni.prototype=Object.assign(new z.Ea,z.ni.prototype);Object(aa.a)(z.ni.prototype,new fa.a);Object.defineProperties(z.ni.prototype,{Intensity:{get:function(){return this.Xm},set:function(h){this.Xm=h;this.Va()}}})})(window)},function(ha,ca,h){var ba=h(49),aa=h(26),
fa=h(1);(function(h){function z(f){var e=null;if("string"!==typeof f)return e;(f=f.match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/))&&f.length&&(e=f[1]);return e}var y=h.Annotations||{};y.Bc=function(){y.Ea.call(this);this["_xsi:type"]="Stamp";this.Subject=y.za.Zc("stamp");this.Icon="Draft";this.xj=this.$k=this.wj=null;this.gu=1;this.d_="bold italic "+this.CT+"px sans-serif"};y.Bc.prototype={elementName:"stamp",padding:20,CT:30,draw:function(f,e){e&&this.Kc(f,e);f.translate(this.X,this.Y);f.rotate(-this.Rotation*
Math.PI/180);e=Object(aa.d)((360-this.Rotation)%360,this.Width,this.Height);f.translate(-e.uy,-e.vy);e=this.Width;var h=this.Height;if(this.Rotation&&(90===Number(this.Rotation)||270===Number(this.Rotation))){var r=e;e=h;h=r}!0===this.NoZoom&&f.translate(-this.X,-this.Y);if(this.image){1!==this.gu&&(f.globalAlpha=1);try{f.drawImage(this.image,0,0,e,h)}catch(w){Object(fa.h)(w)}}else"SHAccepted"===this.Icon?ba.a.O_(f,0,0,e,h):"SBRejected"===this.Icon?ba.a.TD(f,0,0,e,h):"SHSignHere"===this.Icon||"SHWitness"===
this.Icon||"SHInitialHere"===this.Icon?ba.a.t0(f,0,0,e,h,this):ba.a.s0(f,0,0,e,h,this)},getImageData:function(){var f=this;return $h(function(e){return 1==e.ra?vf(e,f.hj(),2):e.return(f.fO())})},m$:function(f,e){var h=this,r,w,n,y;return $h(function(x){switch(x.ra){case 1:return r=f,w=Promise.resolve(),e||"image/svg+xml"!==z(f)||(n=new Image,w=new Promise(function(e){n.onload=function(){var f=document.createElement("canvas");f.width=n.width;f.height=n.height;f.getContext("2d").drawImage(n,0,0);r=
f.toDataURL();e()}}),n.src=r),x.Np=2,vf(x,w,4);case 4:wf(x,3);break;case 2:y=xf(x),Object(fa.h)(y);case 3:return h.FS(r),vf(x,h.hj(),0)}})},H9:function(f){this.Qr=f},VS:function(f){this.Av=f},serialize:function(){if(this.Mb)return this.Mb;var f=y.Ea.prototype.serialize.apply(this,arguments);this.vQ&&this.Icon===this.vQ||f.setAttribute("icon",this.Icon);if(this.image||this.Qr){var e=document.createElementNS("","imagedata");e.textContent=(this.image?this.image.src:this.Qr.src).gv("%0A","");this.Opacity!==
this.gu&&(e.textContent=ba.a.aU(this.Opacity,this.image||this.Qr));f.appendChild(e)}return f},deserialize:function(f){y.Ea.prototype.deserialize.apply(this,arguments);var e=f.getAttribute("icon");e?this.Icon=e:this.Subject&&(this.Icon=this.Subject);e||(this.vQ=this.Icon);e=f.getElementsByTagName("imagedata");0<e.length&&(this.ImageData=e[0].textContent)},FS:function(f){var e=this;this.image||(this.image=new Image,this.image.crossOrigin="anonymous");this.aL=new Promise(function(h){e.image.src||(e.image.onload=
h,e.image.onerror=h,e.image.src=f);var r=new Image;r.crossOrigin="anonymous";var w=e.Opacity;r.onload=function(){e.image=r;e.gu=w;h()};r.onerror=h;r.src=f;e.Va()})},fO:function(){return this.Qr?this.Qr.src:this.image.src}};y.Bc.prototype=Object.assign(new y.Ea,y.Bc.prototype);Object.defineProperties(y.Bc.prototype,{Icon:{get:function(){return this.Pm},set:function(f){this.Pm=f;this.Av=ba.a.HO(f);this.Va();this.MaintainAspectRatio=0===f.indexOf("SH")||0===f.indexOf("SB")||ba.a.YY(f)}},ImageData:{get:function(){Object(fa.h)("ImageData getter will be deprecated in 8.0. Please use getImageData");
return this.fO()},set:function(f){Object(fa.h)("ImageData setter will be deprecated in 8.0. Please use setImageData");this.FS(f)}},Opacity:{get:function(){return Object.getOwnPropertyDescriptor(y.Ea.prototype,"Opacity").get.call(this)},set:function(f){Object.getOwnPropertyDescriptor(y.Ea.prototype,"Opacity").set.call(this,f);if(this.image&&1>this.gu){var e=this;e.image.complete&&(e.ImageData=ba.a.aU(1,e.image),e.hj().then(function(){e.gu=1}))}}}})})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);
var aa=h(4),fa=h(8),da=h(95),z=h(26),y=h(165);(function(f){var e=f.Annotations||{};e.Yd=function(){e.Ea.call(this);this["_xsi:type"]="Sticky";this.Subject=e.za.Zc("stickyNote");this.NoRotate=this.NoZoom=this.vJ=this.XB=!0;this.wj=this.xj=null;this.$k=new fa.a(255,255,0);this.Icon="Comment";this.uw=aa.d.NONE;this.FJ=aa.e.REVIEW};var h=31,r=h,w=h,n=r<w?r:w,ea=.5*r,ia=.5*r;e.Yd.prototype={elementName:"text",$c:function(){return null},draw:function(e,f,h){e.save();if(!this.vk())switch(e.strokeStyle="rgb(0, 0, 0)",
e.fillStyle=this.StrokeColor.toString(),e.globalAlpha=0===this.Opacity?0:this.Opacity||1,Object(da.a)()&&this.DateCreated<Object(da.a)()&&(h=h||0,e.rotate(-h*Math.PI/180),f=Object(z.d)((360-h)%360,r,w),e.translate(-f.uy,-f.vy)),this.Icon){case "Insert":this.a0(e);break;case "Circle":f=.15*n;this.$p(e,f,.4*(n-2-f));break;case "NewParagraph":this.h0(e);break;case "Help":this.Z_(e);break;case "Key":this.b0(e);break;case "Check":this.N_(e);break;case "Checkmark":this.P_(e);break;case "Cross":this.TD(e);
break;case "CrossHairs":f=.075*n;h=.4*(n-f);this.$p(e,f,h);this.w0(e,h);break;case "Paragraph":this.l0(e);break;case "RightArrow":this.q0(e);break;case "RightPointer":this.r0(e);break;case "Star":this.v0(e);break;case "UpArrow":this.C0(e);break;case "UpLeftArrow":this.D0(e);break;default:this.S_(e)}e.restore()},a0:function(e){e.beginPath();e.moveTo(6,n-6);e.lineTo(ea,6);e.lineTo(r-6,n-6);e.lineTo(6,n-6);e.fill();e.stroke()},$p:function(e,f,h){e.beginPath();e.arc(ea,ia,h,0,2*Math.PI,!1);e.arc(ea,ia,
h+f,0,2*Math.PI,!0);e.fill();e.beginPath();e.arc(ea,ia,h+f,0,2*Math.PI,!0);e.stroke();e.beginPath();e.arc(ea,ia,h,0,2*Math.PI,!1);e.stroke()},h0:function(e){var f=.2*n,h=.6*n-2,w=.15*n,x=2+h+w;x=(n-x)/2+x;e.font=n-2-h-w+"px Arial";e.textAlign="center";e.beginPath();e.moveTo(2+f,2+h);e.lineTo(ea,2);e.lineTo(r-2-f,2+h);e.lineTo(2+f,2+h);e.fillText("NP",ea,x);e.fill();e.stroke()},l0:function(e){var f=.4*r,h=ea+.05*r,n=.2*w,x=ea-.25*r,y=.025*r;e.beginPath();e.arc(ea,ia,f,0,2*Math.PI,!0);e.stroke();e.closePath();
e.beginPath();e.moveTo(h,n);e.lineTo(ea+.1*r,n);e.bezierCurveTo(h,.4*w,ea+.175*r,.6*w,ea+y,.8*w);e.lineTo(ea-y,.8*w);e.quadraticCurveTo(h,.7*w,ea+y,.6*w);e.bezierCurveTo(x,.55*w,x,.35*w,ea,.3*w);e.quadraticCurveTo(h,.25*w,h,n);e.fill();e.stroke()},Z_:function(e){function f(e){e.moveTo(ea-2,y);e.lineTo(ea+2-1.25,y);e.bezierCurveTo(ea,ia,ea+r,.6*w,ea+r,z);e.arc(ea,z,r,2*Math.PI,7/6*Math.PI,!0);e.lineTo(ea-x*Math.cos(Math.PI/6),z-x*Math.sin(Math.PI/6));e.arc(ea,z,x,7/6*Math.PI,2*Math.PI,!1);e.bezierCurveTo(ea+
r-4,.6*w-4,ea-4,ia-4,ea-2,y)}var h=.5*n-2,r=.2*w,x=r-4,y=.625*w,z=.4*w;e.beginPath();e.arc(ea,y+4,2,Math.PI,-Math.PI,!0);f(e);e.arc(ea,ia,h,Math.PI,3*Math.PI,!1);e.fill();e.beginPath();e.arc(ea,y+4,2,Math.PI,-Math.PI,!0);e.stroke();e.beginPath();f(e);e.stroke();e.beginPath();e.arc(ea,ia,h,Math.PI,3*Math.PI,!1);e.stroke()},b0:function(e){function f(e){var f=ea-2.2-2,h=ea-2.2;e.ellipse(ea,w/4,7.5,6.5,0,1.5*Math.PI,.6*Math.PI,!0);e.lineTo(h,w/4+7.5);for(var n=1;7>n;n+=2)e.lineTo(f,w/4+7.5+2*n),e.lineTo(h,
w/4+7.5+2*(n+1));e.lineTo(h,w-2.5);e.lineTo(ea,w-.5);e.lineTo(ea+2.2,w-2.5);e.lineTo(ea+2.2,w/4+6.5);e.ellipse(ea,w/4,7.5,6.5,0,.4*Math.PI,-.5*Math.PI,!0)}var h=.175*Math.PI,n=.825*Math.PI;e.beginPath();e.moveTo(ea,4.5);e.ellipse(ea,1.5,4.5,8,0,h,n);e.lineTo(ea,4.5);f(e);e.fill();e.beginPath();e.moveTo(ea,4.5);e.ellipse(ea,1.5,4.5,8,0,h,n);e.lineTo(ea,4.5);e.stroke();e.beginPath();f(e);e.stroke()},N_:function(e){var f=.6*w;e.beginPath();e.moveTo(2,f);e.lineTo(.45*r,w-2);e.quadraticCurveTo(.7*r,.5*
w,r-2,.25*w);e.quadraticCurveTo(.9*r,4,r-2-4.5,3.5);e.quadraticCurveTo(.6*r,.3*w,.4*r,w-2-8.25);e.lineTo(.175*r,f-4.5525);e.quadraticCurveTo(2,.5*w,2,f);e.fill();e.stroke()},P_:function(e){e.beginPath();e.moveTo(2,ia);e.lineTo(8.75,ia);e.lineTo(13.3025,w-2-7.5);e.lineTo(r-2-6.75,.2*w);e.lineTo(r-2,.2*w);e.lineTo(14.0525,w-2);e.closePath();e.fillStyle="#666666";e.fill()},w0:function(e,f){f-=5;e.beginPath();e.moveTo(ea-1.25,ia-1.25-f);e.lineTo(ea+1.25,ia-1.25-f);e.lineTo(ea+1.25,ia-1.25);e.lineTo(ea+
1.25+f,ia-1.25);e.lineTo(ea+1.25+f,ia+1.25);e.lineTo(ea+1.25,ia+1.25);e.lineTo(ea+1.25,ia+1.25+f);e.lineTo(ea-1.25,ia+1.25+f);e.lineTo(ea-1.25,ia+1.25);e.lineTo(ea-1.25-f,ia+1.25);e.lineTo(ea-1.25-f,ia-1.25);e.lineTo(ea-1.25,ia-1.25);e.lineTo(ea-1.25,ia-1.25-f);e.fill();e.stroke()},TD:function(e){var f=6/Math.sqrt(2),h=.4*n/Math.sqrt(2);e.beginPath();e.moveTo(ea,ia-f);e.lineTo(ea+h,ia-f-h);e.lineTo(ea+h+f,ia-h);e.lineTo(ea+f,ia);e.lineTo(ea+h+f,ia+h);e.lineTo(ea+h,ia+f+h);e.lineTo(ea,ia+f);e.lineTo(ea-
h,ia+f+h);e.lineTo(ea-h-f,ia+h);e.lineTo(ea-f,ia);e.lineTo(ea-h-f,ia-h);e.lineTo(ea-h,ia-f-h);e.lineTo(ea,ia-f);e.closePath();e.fill();e.stroke()},q0:function(e){function f(){e.moveTo(2+.35*h,ia-2);e.lineTo(2+.35*h,ia+2);e.lineTo(2+h+.225*h,ia+2);e.lineTo(ea,ia+.4*h);e.lineTo(ea+.1*h+1.521,ia+.55*h);e.lineTo(ea+.7*h,ia);e.lineTo(ea+.1*h+1.521,ia-.55*h);e.lineTo(ea,ia-.4*h);e.lineTo(2+h+.225*h,ia-2);e.lineTo(2+.35*h,ia-2)}var h=(r-4)/2;e.beginPath();f();e.arc(ea,ia,h,-Math.PI,Math.PI);e.fill();e.beginPath();
f();e.stroke();e.beginPath();e.arc(ea,ia,h,-Math.PI,Math.PI);e.stroke()},r0:function(e){e.beginPath();e.moveTo(r/3.75,ia);e.lineTo(2,ia+12.5);e.lineTo(r-2,ia);e.lineTo(2,ia-12.5);e.closePath();e.fill();e.stroke()},v0:function(e){var f=ea,h=ia,n=Math.PI/2*3,r=Math.PI/5;e.beginPath();e.moveTo(f,h-14);for(var w=0;5>w;w++){var x=f+14*Math.cos(n);var y=h+14*Math.sin(n);e.lineTo(x,y);n+=r;x=f+7.1*Math.cos(n);y=h+7.1*Math.sin(n);e.lineTo(x,y);n+=r}e.lineTo(f,h-14);e.closePath();e.fill();e.stroke()},C0:function(e){var f=
.625*w;e.beginPath();e.moveTo(ea,w-2);e.lineTo(ea+4.5,w-2);e.lineTo(ea+4.5,f);e.lineTo(ea+10.125,f);e.lineTo(ea,2);e.lineTo(ea-10.125,f);e.lineTo(ea-4.5,f);e.lineTo(ea-4.5,w-2);e.closePath();e.fill();e.stroke()},D0:function(e){e.translate(r/2,w/2);e.rotate(-Math.PI/4);e.translate(-r/2,-w/2);var f=.75*w,h=.55*f;e.beginPath();e.moveTo(ea,f-2);e.lineTo(ea+6,f-2);e.lineTo(ea+6,h);e.lineTo(ea+12,h);e.lineTo(ea,2-(w/2*Math.sqrt(2)-w/2));e.lineTo(ea-12,h);e.lineTo(ea-6,h);e.lineTo(ea-6,f-2);e.closePath();
e.fill();e.stroke()},S_:function(e){var f=.75*n,h=.48*n,r=.29*n,w=.19*n,x=n-w;e.beginPath();e.moveTo(7,2);e.lineTo(n-5-2,2);e.quadraticCurveTo(n-2,2,n-2,7);e.lineTo(n-2,f-5);e.quadraticCurveTo(n-2,f,n-5-2,f);e.lineTo(h,f);e.lineTo(r,n-2);e.lineTo(r,f);e.lineTo(7,f);e.quadraticCurveTo(2,f,2,f-5);e.lineTo(2,7);e.quadraticCurveTo(2,2,7,2);e.fill();e.moveTo(w,.25*n);e.lineTo(x,.25*n);e.moveTo(w,.41*n);e.lineTo(x,.41*n);e.moveTo(w,.57*n);e.lineTo(.68*n,.57*n);e.stroke()},getState:function(){return this.State},
$$:function(e){this.State=e},m3:function(){return this.StateModel},aaa:function(e){this.StateModel=e},serialize:function(){if(this.Mb)return this.Mb;var f=e.Ea.prototype.serialize.apply(this,arguments),h={};this.Icon&&(h.icon=this.Icon);Object(ba.isUndefined)(this.State)||Object(ba.isNull)(this.State)||this.State===aa.d.NONE||(h.state=this.State);Object(ba.isUndefined)(this.StateModel)||Object(ba.isNull)(this.State)||this.State===aa.e.REVIEW||(h.statemodel=this.StateModel);for(var n in h)f.setAttribute(n,
h[n]);this.ic(f,"state");this.ic(f,"statemodel");return f},deserialize:function(f){e.Ea.prototype.deserialize.apply(this,arguments);this.wj=null;this.Icon=f.getAttribute("icon");this.Xh(f,"state");this.Xh(f,"statemodel");this.NoRotate=this.NoZoom=!0;var h=f.getAttribute("state"),n=f.getAttribute("statemodel");this.State=h?h:aa.d.NONE;this.StateModel=n?n:aa.e.REVIEW;this.Cv()},selectionModel:y.a};e.Yd.prototype=Object.assign(new e.Ea,e.Yd.prototype);Object.defineProperties(e.Yd,{SIZE:{get:function(){return h},
set:function(e){h=n=r=w=e;ea=.5*r;ia=.5*r}}});Object.defineProperties(e.Yd.prototype,{Width:{get:function(){return h},set:function(){}},Height:{get:function(){return h},set:function(){}},State:{get:function(){return this.uw},set:function(e){var f=Object.keys(aa.d).filter(function(f){return aa.d[f].toLowerCase()===e.toLowerCase()}),h=Object.keys(aa.b).filter(function(f){return aa.b[f].toLowerCase()===e.toLowerCase()});f&&f.length?(this.uw=aa.d[f],this.StateModel=aa.e.REVIEW):h&&h.length?(this.uw=aa.b[h],
this.StateModel=aa.e.MARKED):(this.uw=aa.d.NONE,this.StateModel=aa.e.REVIEW);this.Va()}},StateModel:{get:function(){return this.FJ},set:function(e){var f=Object.keys(aa.e).filter(function(f){return aa.e[f].toLowerCase()===e.toLowerCase()});this.FJ=f&&f.length?aa.e[f]:aa.e.REVIEW;this.Va()}},ViewState:{get:function(){return this.xd("trn-viewstate")},set:function(e){e?this.me("trn-viewstate",e):this.jt("trn-viewstate")}}})})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(8),fa=h(267),da=h(166),
z=h(1);(function(y){var f=y.Annotations||{};f.ki=function(){f.Ea.call(this);this["_xsi:type"]="fileattachment";this.Subject=f.za.Zc("fileattachment");this.Pm="Paperclip";this.xj=null;this.NoRotate=this.NoZoom=this.XB=!0;var e=this.eu[this.Pm],h=e.height;this.Width=e.width;this.Height=h;this.StrokeColor=new aa.a("#000000");this.encoding=this.filename=this.mimeType=this.Dl=this.Kw=null;this.filter="FlateDecode";this.Dl=null};y={};f.ki.prototype={elementName:"fileattachment",padding:0,eu:(y.Graph={width:31,
height:31},y.Paperclip={width:14,height:34},y.PushPin={width:26,height:32},y.Tag={width:32,height:28},y),$c:function(){return null},draw:function(e){e.globalAlpha=0===this.Opacity?0:this.Opacity||1;this.NoZoom||e.translate(this.X,this.Y);switch(this.Icon){case "Paperclip":this.k0(e);break;case "Graph":this.Y_(e);break;case "Tag":this.z0(e);break;default:this.n0(e)}},n0:function(e){var f=this.Width,h=f/10,w=f/12,n=f-h,y=2*w;e.fillStyle=this.Color;e.lineWidth=0;e.beginPath();e.moveTo(h+h,y);e.lineTo(n-
h,y);e.lineTo(n-h,y+.8*w);f/=2;var z=1*h,aa=y+2*w;e.lineTo(f+z,aa);var da=3*w;e.lineTo(f+z,aa+da);var ba=aa+da;e.lineTo(n-.5*h,ba+1.5*h);e.lineTo(n-.5*h,ba+2*h);e.lineTo(h+.5*h,ba+2*h);e.lineTo(h+.5*h,ba+1.5*h);e.lineTo(f-z,aa+da);e.lineTo(f-z,aa);e.lineTo(h+h,y+.8*w);e.closePath();e.fill();n=ba+2*h;h*=.5;e.beginPath();e.fillStyle="grey";e.moveTo(f+h,n);e.lineTo(f,n+4*w);e.lineTo(f-h,n);e.closePath();e.fill();e.stroke()},Y_:function(e){var f=this.Width,h=this.Height,w=f/10,n=h/10,y=h-n,z=1.4*w,aa=
z/2,da=this.Color;e.strokeRect(0,h,f,-h);f=3*n;h=5*n;var ba=7*n,fa=w+z+aa,ca=fa+z+aa;aa=ca+z+aa;e.fillStyle=da;e.fillRect(w,y,z,-(7*n));e.fillRect(fa,y,z,-f);e.fillRect(ca,y,z,-h);e.fillRect(aa,y,z,-ba)},k0:function(e){var f=this.Width,h=this.Height,w=f/6,n=h/8,y=w/2;h-=n;f-=2*w;var z=1*Math.PI;e.strokeStyle=this.StrokeColor;e.beginPath();e.moveTo(y+1.5*w,n+3*n);e.lineTo(y+1.5*w,n+4.5*n);e.arc(f/2+y+.5*w,h-1.5*n,w,z,0,!0);e.lineTo(f/2+4*y,n+n);e.arc(f/2+y,n+n,1.5*w,0,z,!0);e.lineTo(f/2-2*y,h-n);e.arc(f/
2+y+.5*w,h-n,2*w,z,0,!0);e.lineTo(f+2*y,h-2*n);e.stroke()},z0:function(e){var f=this.Width,h=this.Height,w=f/10,n=h/10;f-=w;var y=h-n;e.fillStyle=this.Color;e.lineJoin="round";e.lineWidth=1;e.beginPath();e.moveTo(w,h/2);e.lineTo(w+2*w,n);e.lineTo(f,n);e.lineTo(f,y);e.lineTo(w+2*w,y);e.lineTo(w,h/2);e.closePath();e.stroke();e.fill();h=w+2*w;e.beginPath();e.moveTo(h+w,3*n);e.lineTo(f-w,3*n);e.moveTo(h,5*n);e.lineTo(f-w,5*n);e.moveTo(h+w,7*n);e.lineTo(f-w,7*n);e.stroke()},ZN:function(){return{mimeType:this.mimeType,
filename:this.filename,fileName:this.filename}},JE:function(){return this.filename},JH:function(e){this.filename=e},x$:function(e){this.mimeType=e},getFileData:function(){var e=this,f,h,w,n,y;return $h(function(r){if(1==r.ra){f=e.Kw;h=e.filter;w=null;if("raw"!==e.mode)return r.return(new Blob([w],{type:"text/plain"}));if(!h)return z.h("No compression method was defined for the "+e.filename+" file attachment"),r.return();n=h.split(",").map(function(e){return e.trim()});if(1<n.length)return z.h("Multi-pass fileattachment compression is not supported at this time"),
r.return();y=f.match(/[a-fA-F0-9]{2}/g).map(function(e){return parseInt(e,16)});w=new Uint8Array(y);return vf(r,Object(fa.a)(n[0],w),2)}w=r.Vc;return r.return(new Blob([w],{type:e.mimeType}))})},DS:function(e,f,r){var w=this,n,x,y,z;return $h(function(aa){if(1==aa.ra)return vf(aa,h.e(20).then(h.t.bind(null,204,7)),2);n=aa.Vc;x=[];y=n.it(e);w.Dl=e.byteLength;for(z=0;z<y.length;z++)x.push(y[z].toString(16).padStart(2,"0").toUpperCase());w.Kw=x.join("");w.JH(r);w.x$(f);w.encoding="hex";w.filter="FlateDecode";
w.mode="raw";aa.ra=0})},serialize:function(){var e=f.Ea.prototype.serialize.apply(this,arguments);e.setAttribute("icon",this.Icon);var h=this.Kw,r=document.createElementNS("","data");e.setAttribute("mimetype",this.mimeType);e.setAttribute("file",this.JE());h&&(this.mode&&r.setAttributeNS("","mode",this.mode),this.filter&&r.setAttributeNS("","filter",this.filter),this.encoding&&r.setAttributeNS("","encoding",this.encoding),this.Dl&&r.setAttributeNS("","length",this.Dl),r.textContent=h,e.appendChild(r));
return e},deserialize:function(e){f.Ea.prototype.deserialize.apply(this,arguments);var h=e.getAttribute("icon")||"PushPin";this.Icon=h;this.eu[h].width=this.Width;this.eu[h].height=this.Height;h=e.getElementsByTagName("data")[0];Object(ba.isUndefined)(h)||(this.Kw=h.textContent,this.mimeType=e.getAttribute("mimetype"),this.filename=e.getAttribute("file"),this.encoding=h.getAttribute("encoding"),this.mode=h.getAttribute("MODE")||h.getAttribute("mode")||null,this.filter=h.getAttribute("filter")||"",
this.Dl=h.getAttribute("length"))},selectionModel:da.a};f.ki.prototype=Object.assign(new f.Ea,f.ki.prototype);Object.defineProperties(f.ki.prototype,{Icon:{get:function(){return this.Pm},set:function(e){this.Pm=e;this.Width=this.eu[this.Pm].width;this.Height=this.eu[this.Pm].height;this.Va()}}})})(window)},function(ha,ca,h){var ba=h(1),aa=h(21),fa=h(2),da=h(8),z=h(105);(function(h){var f=h.Annotations||{},e=f.za||{};f.tb=function(){f.Ea.call(this);this.wj=null;this.$k=new da.a(255,0,0);this.xj=null;
this.wJ=!0;this.Ob=[];this.gh=!1;this.SurroundingTexts=this.TextIndices=this.ux=null;this["_xsi:type"]="Text Markup";this.Subject=this["_xsi:type"]};f.tb.prototype={VA:function(e){if(!e||"undefined"===typeof e.length||0===e.length)throw Error("Argument quads requires an array of at least one element");this.Ob=e;for(var f=Infinity,h=Infinity,n=0,x=0,y=0;y<this.Ob.length;y++)e=this.Ob[y],f=Math.min(f,e.x1,e.x2,e.x3,e.x4),h=Math.min(h,e.y1,e.y2,e.y3,e.y4),n=Math.max(n,e.x1,e.x2,e.x3,e.x4),x=Math.max(x,
e.y1,e.y2,e.y3,e.y4);this.X=f;this.Y=h;this.Width=n-f;this.Height=x-h},Qe:function(){return this.Ob},rj:function(e){f.Annotation.prototype.rj.apply(this,arguments);var h=[];this.Ob.forEach(function(f){var n={x:f.x1,y:f.y1},r={x:f.x2,y:f.y2},w={x:f.x3,y:f.y3};f={x:f.x4,y:f.y4};n=e.ka(n);r=e.ka(r);w=e.ka(w);f=e.ka(f);h.push(new fa.c(n.x,n.y,r.x,r.y,w.x,w.y,f.x,f.y))});this.VA(h)},serialize:function(h,r){if(this.Mb)return this.Mb;var w=f.Ea.prototype.serialize.apply(this,arguments),n=[];n=[];for(var x=
0;x<this.Quads.length;x++){var y=this.Quads[x];n.push(new fa.b(y.x4,y.y4));n.push(new fa.b(y.x3,y.y3));n.push(new fa.b(y.x1,y.y1));n.push(new fa.b(y.x2,y.y2))}0<this.Quads.length&&(n=f.ma.pr(n,r,",",","),w.setAttribute("coords",n));if(e.zt){var z={};this.TextIndices?(z.selidxs=f.ma.G9(this.TextIndices),Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.serialize: Serialized idxs: "+this.TextIndices)):Object(ba.c)("annot_extra_selectors","Annotations.TextMarkupAnnotation.serialize: no idxs to serialize.");
if(this.SurroundingTexts){n=f.ma.F9(this.SurroundingTexts);for(x=0;x<n.length;x++)z["surrtxts_"+x+"_0"]=n[x][0],z["surrtxts_"+x+"_1"]=n[x][1];Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.serialize: Serialized surrtxts:"+n)}else Object(ba.c)("annot_extra_selectors","Annotations.TextMarkupAnnotation.serialize: no surrtxts to serialize.");Object.keys(z).forEach(function(e){w.setAttribute(e,z[e])})}return w},deserialize:function(h,r,w){f.Ea.prototype.deserialize.apply(this,arguments);
this.Ob=[];var n=h.getAttribute("coords");n=f.ma.An(n,r,",",",");for(var x=0;x+3<n.length;x+=4){if(aa.a.Math.t5(n[x],n[x+3],n[x+1],n[x+2])){var y=n[x+2];n[x+2]=n[x+3];n[x+3]=y}y=new fa.c(n[x+3].x,n[x+3].y,n[x+2].x,n[x+2].y,n[x+1].x,n[x+1].y,n[x].x,n[x].y);this.Ob.push(y)}w?f.za.p_(this,h,w):(this instanceof f.tb&&Object(ba.c)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: no annotManager provided; could not attempt to deserialize extra selector data."),this.gh=!1);var z=function(e){var h=
!1,n;if(this.ug&&this.Ob.length===this.ug.length){h=!0;for(var r=0;r<this.Ob.length;r++)for(n=0;8>n;n++)if(5<=Math.abs(this.Ob[r].BE()[n]-this.ug[r][n])){h=!1;r=this.Ob.length;break}}var w=!1;if(this.ri&&this.Ob.length===this.ri.length)for(w=!0,r=0;r<this.Ob.length;r++)for(n=0;8>n;n++)if(5<=Math.abs(this.Ob[r].BE()[n]-this.ri[r][n])){w=!1;r=this.Ob.length;break}h?Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: absolute position selector agrees with surrtxt selector."):
Object(ba.c)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: absolute position selector DOES NOT agree with surrtxt selector.");w?Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: absolute position selector agrees with index-based selector."):Object(ba.c)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: absolute position selector DOES NOT agree with index-based selector.");n=null!==this.ri&&(0<this.ri.length||0===this.Ob.length&&
0===this.ri.length);var x=null!==this.ug&&(0<this.ug.length||0===this.Ob.length&&0===this.ug.length);Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: idxValid:"+n);Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: surrtxtValid:"+x);r=[];var y=Array(8);if(n&&x)if(h||w)Object(ba.c)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: using absolute coordinates.");else{Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: using surrtxt.");
for(h=0;h<this.ug.length;h++){for(n=0;8>n;n++)y[n]=Math.round(this.ug[h][n]);r.push(new fa.c(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7]))}this.Ob=r}else if(n)if(w)Object(ba.c)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: using absolute coordinates.");else{Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: using idx.");for(h=0;h<this.ri.length;h++){for(n=0;8>n;n++)y[n]=Math.round(this.ri[h][n]);r.push(new fa.c(y[0],y[1],y[2],y[3],y[4],y[5],y[6],
y[7]))}this.Ob=r}else if(x)if(h)Object(ba.c)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: using absolute coordinates.");else{Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: using surrtxt.");for(h=0;h<this.ug.length;h++){for(n=0;8>n;n++)y[n]=Math.round(this.ug[h][n]);r.push(new fa.c(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7]))}this.Ob=r}else Object(ba.c)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: using absolute coordinates.");
r=n=9007199254740991;for(w=h=y=0;w<this.Ob.length;w++)x=this.Ob[w].BE(),x[0]<n&&(n=x[0]),x[7]<r&&(r=x[7]),x[2]>y&&(y=x[2]),x[3]>h&&(h=x[3]);this.NS(new fa.d(n,r,y,h));e.sb(this);this.trigger(f.tb.Events.EXTRA_SELECTORS_ADJUSTMENTS);this.ks=!0}.bind(this);e.zt&&this.gh&&w?(Object(ba.b)("annot_extra_selectors","Annotations.TextMarkupAnnotation.deserialize: taking extra selectors path."),this.XK?z(w):this.Ng("quadsCalculatedFromExtraSelectors",function(){z(w)})):Object(ba.c)("annot_extra_selectors",
"Annotations.TextMarkupAnnotation.deserialize: NOT taking extra selectors path.")},ym:function(){return!0},selectionModel:z.a};f.tb.Events={QUADS_CALCULATED_FROM_SELECTORS:"quadsCalculatedFromExtraSelectors",EXTRA_SELECTORS_ADJUSTMENTS:"extraSelectorsUsedForAdjustments"};f.tb.prototype=Object.assign(new f.Ea,f.tb.prototype);Object.defineProperties(f.tb.prototype,{Quads:{get:function(){return this.Ob},set:function(e){this.VA(e)}}})})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(8),fa=h(26);
(function(h){var z=h.Annotations||{},y=z.za||{};z.vj=function(){z.tb.call(this);this.$k=new aa.a(255,255,0);this["_xsi:type"]="Highlight";this.Subject=z.za.Zc("highlight");this.Opacity=1;this.BlendMode="multiply"};z.vj.opacityCap=.3;z.vj.prototype={elementName:"highlight",$c:function(){return null},draw:function(f,e){var h=function(){this.Kc(f,e);Object(fa.f)("multiply")&&this.BlendMode||!(Object(ba.isUndefined)(this.Opacity)||Object(ba.isNull)(this.Opacity)||this.Opacity>z.vj.opacityCap)||(f.globalAlpha=
z.vj.opacityCap);f.fillStyle=this.StrokeColor.toString();f.beginPath();for(var h=0;h<this.Quads.length;h++){var w=this.Quads[h];f.moveTo(w.x1,w.y1);f.lineTo(w.x2,w.y2);f.lineTo(w.x3,w.y3);f.lineTo(w.x4,w.y4)}f.fill()}.bind(this);y.zt&&this.gh?this.ks?h():this.Ng("extraSelectorsUsedForAdjustments",function(){h()}):h()}};z.vj.prototype=Object.assign(new z.tb,z.vj.prototype)})(window)},function(){(function(ha){var ca=ha.Annotations||{};ca.RB=function(){ca.tb.call(this);this["_xsi:type"]="Redact";this.Subject=
ca.za.Zc("redact");this.Opacity=1};ca.RB.prototype={elementName:"redact",draw:function(){},serialize:function(){var h=ca.tb.prototype.serialize.apply(this,arguments);this.ic(h,"overlay-text");this.ic(h,"overlay-text-repeat");this.ic(h,"justification");this.ic(h,"defaultappearance");return h},deserialize:function(h){ca.tb.prototype.deserialize.apply(this,arguments);this.Xh(h,"overlay-text");this.Xh(h,"overlay-text-repeat");this.Xh(h,"justification");this.defaultappearance=ca.ma.Ln(h,"defaultappearance",
"defaultappearance")}};ca.RB.prototype=Object.assign(new ca.tb,ca.RB.prototype)})(window)},function(){(function(ha){var ca=ha.Annotations||{},h=ca.za||{};ca.$o=function(){ca.tb.call(this);this["_xsi:type"]="Squiggly";this.Subject=ca.za.Zc("squiggly")};ca.$o.prototype={elementName:"squiggly",draw:function(ba,aa){var fa=function(){this.Kc(ba,aa);for(var h=0;h<this.Ob.length;h++){var z=this.Ob[h];var y=Math.sqrt((z.x1-z.x2)*(z.x1-z.x2)+(z.y1-z.y2)*(z.y1-z.y2));var f=5/3,e=y/10;ba.save();ba.translate(z.x1,
z.y1-1.25);ba.rotate(Math.atan2(z.y2-z.y1,z.x2-z.x1));z=Math.abs(z.y1-z.y4);ba.beginPath();ba.rect(0,-z,y,z+1.25+1);ba.clip();ba.beginPath();for(var x=0;x<2*e;x+=2){var r=5*x;var w=5*x+f/2;var n=f;var ea=5*(x+1)-f/2;var ia=f;y=5*(x+1);z=0;ba.moveTo(r,0);ba.bezierCurveTo(w,n,ea,ia,y,z);w=5*(x+1)+f/2;n=-f;ea=5*(x+2)-f/2;ia=-f;y=5*(x+2);z=0;ba.bezierCurveTo(w,n,ea,ia,y,z)}ba.stroke();ba.restore()}}.bind(this);h.zt&&this.gh?this.ks?fa():this.Ng("extraSelectorsUsedForAdjustments",function(){fa()}):fa()}};
ca.$o.prototype=Object.assign(new ca.tb,ca.$o.prototype)})(window)},function(){(function(ha){var ca=ha.Annotations||{},h=ca.za||{};ca.ap=function(){ca.tb.call(this);this["_xsi:type"]="Strikeout";this.Subject=ca.za.Zc("strikeout")};ca.ap.prototype={elementName:"strikeout",draw:function(ba,aa){var fa=function(){this.Kc(ba,aa);0===this.StrokeThickness&&(ba.lineWidth=1);for(var h,z=0;z<this.Ob.length;z++){h=this.Ob[z];var y=(h.x1+h.x4)/2,f=(h.y1+h.y4)/2,e=(h.x2+h.x3)/2;h=(h.y2+h.y3)/2;ba.beginPath();
ba.moveTo(y,f);ba.lineTo(e,h);ba.stroke()}}.bind(this);h.zt&&this.gh?this.ks?fa():this.Ng("extraSelectorsUsedForAdjustments",function(){fa()}):fa()}};ca.ap.prototype=Object.assign(new ca.tb,ca.ap.prototype)})(window)},function(){(function(ha){var ca=ha.Annotations||{},h=ca.za||{};ca.bp=function(){ca.tb.call(this);this["_xsi:type"]="Underline";this.Subject=ca.za.Zc("underline")};ca.bp.prototype={elementName:"underline",draw:function(ba,aa){var fa=function(){this.Kc(ba,aa);for(var h,z=0;z<this.Ob.length;z++)h=
this.Ob[z],ba.beginPath(),ba.moveTo(h.x1,h.y1),ba.lineTo(h.x2,h.y2),ba.closePath(),ba.stroke()}.bind(this);h.zt&&this.gh?this.ks?fa():this.Ng("extraSelectorsUsedForAdjustments",function(){fa()}):fa()}};ca.bp.prototype=Object.assign(new ca.tb,ca.bp.prototype)})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(2);(function(h){var da=h.Annotations||{};da.Zr=function(h){da.Annotation.call(this);this["_xsi:type"]="Custom";this.Subject=da.za.Zc("custom");this.Opacity=1;if(Object(ba.isObject)(h)&&
(Object(ba.isUndefined)(h.page)||(this.PageNumber=parseInt(h.page,10)+1),Object(ba.isUndefined)(h.appearances)||(this.appearances=h.appearances),!Object(ba.isUndefined)(h.rect))){var y=new aa.d(h.rect.x1,h.rect.y1,h.rect.x2,h.rect.y2);0>y.Fa()&&(h=y.x1,y.x1=y.x2,y.x2=h);0>y.Ca()&&(h=y.y1,y.y1=y.y2,y.y2=h);this.X=y.x1;this.Y=y.y1;this.cs=y.Fa();this.bs=y.Ca()}};da.Zr.prototype={elementName:"custom",draw:function(){},serialize:function(h,y){return this.Mb?this.Mb:da.Annotation.prototype.serialize.apply(this,
arguments)},deserialize:function(h,y){da.Annotation.prototype.deserialize.apply(this,arguments)}};da.Zr.prototype=Object.assign(new da.Annotation,da.Zr.prototype)})(window)},function(ha,ca,h){var ba=h(2),aa=h(1),fa=2;(function(h){var z=h.Annotations||{};z.Lm=function(h){z.Ea.call(this);h||Object(aa.h)("Custom annotation was initialized without a proper fixed type. Please provide a type via the super constructor.");this.Bp=this["_xsi:type"]=this.Subject=this.elementName=h;this.ov={}};z.Lm.SerializationTypes=
{STAMP:"stamp",CUSTOM:"custom"};z.Lm.prototype={elementName:"trn-custom-annot",uE:function(){return Object.getPrototypeOf(this).constructor},zO:function(){return"custom"===this.uE().SerializationType?this.elementName:"stamp"},nh:function(h){var f=h.getElementsByTagName("trn-custom-data");return f&&0<f.length&&(f=JSON.parse(f[0].getAttribute("bytes")))&&f["trn-annot-type"]?!0:z.Ea.prototype.nh.apply(this,arguments)},z1:function(h){var f=new ba.e,e=fa,x=this.X+this.Width/2,r=this.Y+this.Height/2,w=
document.createElement("canvas"),n=this.uE().eP||0;w.width=(this.Width+n)*e;w.height=(this.Height+n)*e;n=w.getContext("2d");n.wF=!1;f=f.Mv(x,r,0,0).scale(e,e).Mv(0,0,w.width/2,w.height/2).Uy().Rk();n.setTransform(f[0],f[1],f[2],f[3],f[4],f[5]);f=this.Opacity;this.Opacity=1;this.draw(n,h);this.Opacity=f;return w.toDataURL()},draw:function(){},serialize:function(h,f){if(this.Mb)return this.Mb;this.Vf["trn-annot-type"]=this.Bp;this.Vf["trn-annot-data"]=this.ov;var e=z.Ea.prototype.serialize.apply(this,
arguments);if("custom"!==this.uE().SerializationType){var x=this.z1(f);if(!x)return e;var r=document.createElementNS("","imagedata");r.textContent=x.gv("%0A","");e.appendChild(r)}return e},deserialize:function(){z.Ea.prototype.deserialize.apply(this,arguments);this.ov=this.xd("trn-annot-data")}};z.Lm.prototype=Object.assign(new z.Ea,z.Lm.prototype);Object.defineProperties(z.Lm,{QualityScale:{get:function(){return fa},set:function(h){fa=h||1}},SerializationType:{get:function(){this.vH||(this.vH="stamp");
return this.vH},set:function(h){this.vH=h||"stamp"}},OutputImagePadding:{get:function(){return this.eP||0},set:function(h){this.eP=h||0}}});Object.defineProperties(z.Lm.prototype,{SerializedData:{get:function(){this.ov||(this.ov={});return this.ov}}})})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(8),fa=h(39);(function(h){var z=h.Annotations||{},y=new aa.a(0,0,0,0),f=new aa.a(0,0,0,1),e=new aa.a(255,0,0,1),x=new aa.a(255,0,0,1),r={left:"Left-justified",center:"Centered",right:"Right-justified"};
z.De=function(h){h=h||{};z.TextMarkupAnnotation.call(this);this["_xsi:type"]="Redact";this.Subject=z.za.Zc("redact");this.Opacity=1;this.IsHoverable=!0;this.IsHovering=!1;this.PageNumber=h.PageNumber||this.PageNumber;this.StrokeThickness=1.5;this.Color=h.StrokeColor||new aa.a(e);this.FillColor=h.FillColor||new aa.a(f);this.FillDisplayColor=new aa.a(y);this.TextColor=x;this.FontSize="18pt";this.OverlayText=h.OverlayText||null;this.TextAlign=h.TextAlign||null;this.Font="Helvetica";h.Rect&&this.Wd(h.Rect);
h.Quads?(this.Quads=h.Quads,this.IsText=!0):h.Rect&&(this.RH(),this.NoMove=this.IsText=!1)};z.De.prototype={elementName:"redact",draw:function(e,f){var h=this;this.Kc(e,f);this.Vt().forEach(function(f){var h=f.x2-f.x1,n=f.y2-f.y1;e.save();e.beginPath();e.rect(f.x1,f.y1,h,n);e.clip();e.fill();e.stroke();e.closePath();e.restore()});this.IsHovering&&this.OverlayText&&this.Quads&&this.Quads.length&&this.Quads.map(function(e){return Object.assign({},{x:e.x4,y:e.y4,width:e.x2-e.x1,height:e.y2-e.y3})}).forEach(function(n){h.aq(e,
f,h.OverlayText,n)})},aq:function(){z.Ja.prototype.aq.apply(this,arguments)},aB:function(){return z.Ja.prototype.aB.apply(this,arguments)},cz:function(){return z.Ja.prototype.cz.apply(this,arguments)},Ny:function(){return z.Ja.prototype.Ny.apply(this,arguments)},Mt:function(){return z.Ja.prototype.Mt.apply(this,arguments)},Nt:function(){return z.Ja.prototype.Nt.apply(this,arguments)},Hm:function(){return z.Ja.prototype.Hm.apply(this,arguments)},rq:function(){return z.Ja.prototype.rq.apply(this,arguments)},
AF:function(){return z.Ja.prototype.AF.apply(this,arguments)},Vt:function(){var e=this.Qe();return e=0===e.length?[this.pb()]:e.map(function(e){return{x1:e.x4,y1:e.y4,x2:e.x2,y2:e.y2}})},Wd:function(e){z.tb.prototype.Wd.call(this,e);this.IsText||(this.RH(!0),this.NoMove=!1)},Kc:function(e,f){var h=this.Td();e.globalAlpha=Object(ba.get)(h,"opacity",e.globalAlpha);e.fillStyle=h.fillColor.toString();h.strokeColor&&(e.strokeStyle=h.strokeColor.toString());e.lineWidth=2*z.za.Ns(f,h.wT)},Td:function(){return this.IsHovering?
{fillColor:this.FillColor,wT:0,strokeColor:this.FillColor,opacity:1}:{fillColor:this.FillDisplayColor,wT:this.StrokeThickness,strokeColor:this.StrokeColor,opacity:this.Opacity}},RH:function(){if(!this.IsText){var e=this.pb();this.Quads=[{x1:e.x1,x2:e.x2,x3:e.x2,x4:e.x1,y1:e.y2,y2:e.y2,y3:e.y1,y4:e.y1}]}},selectionModel:fa.i,serialize:function(){if(this.Mb)return this.Mb;var e=z.tb.prototype.serialize.apply(this,arguments);this.ic(e,"overlay-text-repeat");this.OverlayText&&e.setAttribute("overlay-text",
this.OverlayText);this.IsText||e.removeAttribute("coords");var f=Object(ba.get)(this,"TextAlign",null);r[f]&&r[f]!==r.left&&e.setAttribute("justification",r[f]);this.FillDisplayColor&&this.FillDisplayColor.Hr()?e.setAttribute("unredacted-interior-color",this.FillDisplayColor.Hr()):e.removeAttribute("unredacted-interior-color");if(z.Ja.prototype.YO.apply(this)){f=this.TextColor.FT().replace("rg","RG");var h=this.rq();h=z.ma.rS(this.Font,h);f=f+" "+h}else f=this.originalDefaultAppearance;h=document.createElementNS("",
"defaultappearance");h.textContent=f;e.appendChild(h);return e},deserialize:function(e){var f=this;z.tb.prototype.deserialize.apply(this,arguments);this.Xh(e,"overlay-text-repeat");this.Xh(e,"justification");var h=z.ma,w=h.Ln(e,"defaultappearance","defaultappearance");this.OverlayText=e.getAttribute("overlay-text");this.justification&&(this.TextAlign=Object.keys(r).find(function(e){return r[e]===f.justification})||"left");var x=e.getAttribute("unredacted-interior-color");x?this.FillDisplayColor=h.sh(x):
this.appearances=null;w&&(w=h.mA(w.replace("RG","rg")),w.color&&(this.TextColor=h.sh(w.color)),w.font&&(this.Font=w.font.name,this.FontSize=w.font.size));this.Quads.length?this.NoMove=this.IsText=!0:(this.NoMove=this.IsText=!1,this.RH())}};z.De.prototype=Object.assign(new z.tb,z.De.prototype);Object.defineProperties(z.De.prototype,{Font:{get:function(){return this.sw},set:function(e){this.sw=e;this.Va()}}})})(window)},function(){(function(ha){ha.gi={ml:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
encode:function(ca){for(var h="",ba,aa,fa,da,z,y,f=0;f<ca.length;)ba=ca.charCodeAt(f++),aa=ca.charCodeAt(f++),fa=ca.charCodeAt(f++),da=ba>>2,ba=(ba&3)<<4|aa>>4,z=(aa&15)<<2|fa>>6,y=fa&63,isNaN(aa)?z=y=64:isNaN(fa)&&(y=64),h=h+ha.gi.ml.charAt(da)+ha.gi.ml.charAt(ba)+ha.gi.ml.charAt(z)+ha.gi.ml.charAt(y);return h},decode:function(ca){var h="",ba=0;for(ca=ca.replace(/[^A-Za-z0-9\+\/=]/g,"");ba<ca.length;){var aa=ha.gi.ml.indexOf(ca.charAt(ba++));var fa=ha.gi.ml.indexOf(ca.charAt(ba++));var da=ha.gi.ml.indexOf(ca.charAt(ba++));
var z=ha.gi.ml.indexOf(ca.charAt(ba++));aa=aa<<2|fa>>4;fa=(fa&15)<<4|da>>2;var y=(da&3)<<6|z;h+=String.fromCharCode(aa);64!==da&&(h+=String.fromCharCode(fa));64!==z&&(h+=String.fromCharCode(y))}return h}};"undefined"===typeof window.btoa&&(window.btoa=ha.gi.encode);"undefined"===typeof window.atob&&(window.atob=ha.gi.decode)})(window)},function(){(function(){function ha(ca){this.depth=this.index=0;this.pf=ca;this.location={start:0,Iz:1,Jz:1,end:!!ca.length,empty:!0};this.we=[this.location];this.zF=
!1;"?"===this.pf.charAt(1)&&this.kO();this.location.empty=!1}ha.prototype.advance=function(){this.Al=null;this.kO();var ca=this.location.start;++ca;this.location.empty=!1;if("/"!==this.pf.charAt(ca))return this.location.empty="/"===this.pf.charAt(this.pf.indexOf(">",ca)-1),!0;this.location.end=!0;return!1};ha.prototype.WP=function(){var ca=this.location.start+1,h=this.pf.indexOf(">",ca);this.location.empty&&--h;ca=this.pf.substring(ca,h);this.Al={};h=ca.indexOf(" ");if(-1!==h){this.dN=ca.substring(0,
h);ca=ca.slice(h);ca=ca.split('"');h=ca.length-1;for(var ba=0;ba<h;++ba){var aa=ca[ba],fa=ca[++ba];this.Al[aa.substring(1,aa.length-1)]=fa}}else this.dN=ca};ha.prototype.kO=function(){if(this.zF)this.zF=!1,this.location.start=this.pf.indexOf("<",this.location.start+1);else{var ca=this.location.Iz;if(!this.location.empty)for(var h=this.location.Jz;0<h;)ca=this.pf.indexOf("<",ca),"/"===this.pf.charAt(++ca)?--h:(ca=this.pf.indexOf(">",ca),"/"!==this.pf.charAt(ca-1)&&++h);this.location.start=this.pf.indexOf("<",
ca)}this.location.Iz=this.location.start+1;this.location.Jz=1};ha.prototype.mark=function(){this.pf.mark&&this.pf.mark(this.location.start)};ha.prototype.Oa=function(){null!==this.Al&&"undefined"!==typeof this.Al||this.WP();return this.dN};ha.prototype.Ia=function(){++this.depth;this.location={start:this.location.start};this.we[this.we.length]=this.location;this.zF=!0};ha.prototype.Za=function(){--this.depth;this.Al=null;var ca=this.location.Iz,h=this.location.Jz,ba=this.location.empty,aa=this.location.end;
this.we.pop();this.location=this.we[this.we.length-1];this.location.Iz=ca;this.location.Jz=aa?0:ba?h:h+1};ha.prototype.ba=function(ca){null!==this.Al&&"undefined"!==typeof this.Al||this.WP();return this.oba(this.Al[ca])};ha.prototype.oba=function(ca){if(ca)return ca.replace(/&[^;]*;/g,function(h){switch(h.charAt(1)){case "q":return'"';case "a":return"&";case "l":return"<";case "g":return">";case "#":return"x"===h.charAt(2)?String.fromCharCode(parseInt(h.substring(3,h.length-1),16)):String.fromCharCode(parseInt(h.substring(2,
h.length-1),10))}return h})};return ha})()},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(2),da=h(8),z=h(24),y=h(169),f=h(30),e=h(15),x=h(268),r=h(81),w=h(57),n=h(10);(function(h){function ea(e){if(!e)throw Error("XfdfManager requires AnnotationManager to initialize");this.lc=e}function ca(e,f){this.FI=e;this.Ay=f||function(){return!0}}function ha(e,f){e.writeStartElement("value");e.writeString(la.escape(f));e.writeEndElement()}var ma=h.Annotations;String.prototype.trim||function(){var e=
/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;String.prototype.trim=function(){return this.replace(e,"")}}();ca.prototype.Ku=function(e,f,h){var n=this.FI;n.writeStartElement("field");n.writeAttributeString("name",la.escape(f));e=h.value;Object(ba.isNull)(e)||(Array.isArray(e)?0===e.length?(n.writeStartElement("value"),n.writeEndElement()):e.forEach(function(e){ha(n,e)}):ha(n,e));n.writeEndElement()};ca.prototype.aA=function(e,f,h){e=la.escape(f);f=this.FI;h.value&&(f.writeStartElement("field"),f.writeAttributeString("name",
e),ha(f,h.value),f.writeEndElement());f.writeStartElement("field");f.writeAttributeString("name",e)};ca.prototype.qG=function(){this.FI.writeEndElement()};ea.prototype={xY:function(e){return e&&0<e.getElementsByTagName("annots").length?(la.WN(e,"link"),la.WN(e,"widget"),e.getElementsByTagName("annots")[0].childNodes):[]},YN:function(e){return e?e.querySelector("xfdf > fields"):null},I2:function(e){return e&&(e=e.getElementsByTagName("pdf-info"),0<e.length)?e[0]:null},RX:function(e,f,h){var n=this;
Object(x.a)(new w.a(e),function(e){return n.lc.N.wc(e)},function(e){var h=n.lc,r=h.Ci,w=h.N;if(w.getDocument()){r.wS(e.calculationOrder);var x=e.fields;Object.keys(x).forEach(function(e){var f=x[e],h=r.Tt(f.name),n=f.widgets.reduce(function(e,f){return f instanceof y.a?"Off"!==f.appearance&&f.appearance||e:e},null);h=h.ub();n&&n!==h&&(h=n);f.Mf(h,!0);r.Gs(x[e],!0)});h.wg(e.widgets,{imported:!0});h.wg(e.custom,{imported:!0});w=w.getDocument();w.xx(e.documentActions);h=e.pages;w=w.yc();for(var z=0;z<
h.length;++z){var ea=h[z],ba=Number(ea.number);0<ba&&ba<w.length+1?w[ba-1].xx(ea.actions):Object(aa.h)("Invalid page number on PDFInfo page:",ba)}f(e)}},h)},ZU:function(e,f,h){function n(){var n=r.I2(e);n?r.RX(n,function(e){r.vL(x,function(h){h.yl=h.yl.concat(e.widgets);h.yl=h.yl.concat(e.custom);f(h)},h)}):r.vL(x,function(){f.apply(this,arguments)},h)}var r=this,x=this.xY(e),y=this.YN(e);y?this.zL(new w.a(y),n,!1):n()},Wl:function(e,f){var h={};f=f||{rr:!0};if(e){var n=this.YN(e);n&&this.zL(new w.a(n),
function(){},!0);n=e.getElementsByTagName("add");var r=e.getElementsByTagName("modify");e=e.getElementsByTagName("delete");0<n.length&&(h.Bx=this.LI(n[0].childNodes,f));0<e.length&&(h.kt=this.JU(e[0],f));0<r.length&&(h.lG=this.bV(r[0].childNodes,f))}return h},JU:function(e,f){var h=[];e=e.getElementsByTagName("id");for(var n=0;n<e.length;++n){var r=this.lc.Pd(e[n].textContent);r&&(h.push(r),this.lc.Rc(r,{imported:f.rr,isUndoRedo:f.su}))}return h},bV:function(e,f){return this.LI(e,f)},LI:function(e,
f){var h=[];this.uL(e,h,0,e.length,f);return h},Ld:function(e,f,h,n){n=void 0===n?{}:n;var r=this.lc,w=null,x=!1,y=(r.Ij[e]||[]).reduce(function(e,h){return e?e:h.prototype.nh(f)?h:null},null);if(!y)return Object(aa.h)("Unsupported annotation type.",e),{annot:w,ZH:x};var z=f.getAttribute("page");z=parseInt(z,10);var ea=z+1,ba=f.getAttribute("name");if(n.nP){var da=this.lc.wE(ba,ea)[0];h=this.lc.wE(ba,ea,h)[0];if(da||h)Object(aa.h)("Duplicate annotation ID '"+ba+"' detected while loading data. The last annotation with this ID will be renamed."),
h=ma.za.TO(),f.setAttribute("name",h)}else w=this.lc.wE(ba,ea)[0];if(!w){if("widget"===e){e=f.getAttribute("title");var ia=r.Ci.Tt(e)}w=new y(ia);x=!0}try{var fa;z<r.N.gc()&&(fa=r.N.wc(ea));if(fa)w.isImporting=!0,w.Mb=f,w.deserialize(f,fa,r),w.isImporting=!1;else return r.dy[z]||(r.dy[z]=[]),r.dy[z].push({data:f,annot:w}),{annot:null,ZH:!1};w.n$(n.nP);x||r.rba(w);w.IsAdded="add"===n.action;w.IsModified="modify"===n.action}catch(Ea){Object(aa.h)("Error parsing annotation",Ea),x=!1,w=null}return{annot:w,
ZH:x}},uL:function(e,f,h,r,w){var x=[],y=[];for(w=w||{};h<r;++h)if(e[h].nodeType===Node.ELEMENT_NODE){var z=e[h],aa=la.Xy(e[h]),ea=e[h].getElementsByTagName("trn-custom-data");if(ea&&0<ea.length&&(ea=JSON.parse(ea[0].getAttribute("bytes")))&&this.lc.Ij[ea["trn-annot-type"]]){aa=ea["trn-annot-type"];z=document.createElement(aa);for(ea=0;ea<e[h].attributes.length;ea++)z.setAttribute(e[h].attributes[ea].name,e[h].attributes[ea].value);for(ea=0;ea<e[h].childNodes.length;ea++)z.appendChild(e[h].childNodes[ea].cloneNode(!0))}aa=
this.Ld(aa,z,f,w);if(z=aa.annot)f.push(z),aa.ZH?x.push(z):y.push(z)}0<x.length&&(x.forEach(function(e){e.isImporting=!0}),this.lc.wg(x,w.rr,w.su),x.forEach(function(e){e.IsAdded=!!w.su;e.IsModified=!1;e.isImporting=!1}));0<y.length&&this.lc.trigger(n.a.ANNOTATION_CHANGED,[y,"modify",{imported:w.rr,isUndoRedo:w.su}])},zL:function(e,h,n){function r(f){var h=e.ba("name");if(!h)return Object(aa.h)("Invalid field name part:",h,e.current),null;f=f?f+"."+h:h;h={name:f};var n=[h],w=null;for(e.Ia();e.advance();){var x=
e.Oa();switch(x){case "value":Object(ba.isNull)(w)?w=e.current.textContent:(Object(ba.isArray)(w)||(w=[w]),w.push(e.current.textContent));break;case "field":(x=r(f))&&0<x.length&&(n=n.concat(x));break;default:Object(aa.h)("unknown field child node: ",x)}}e.Za();Object(ba.isNull)(w)||(h.value=w);return n}var w=this.lc.Ci;e.Ia();e.advance()?Object(f.a)(function(){"field"===e.Oa()&&r("").forEach(function(e){w.Gs(e,!0)});var f=e.advance();f||e.Za();return f},h,n):h()},vL:function(e,f,h){function n(){h.eo()?
f({yl:[]}):(r.uL(e,z,w,Math.min(w+y,e.length),h),w>x&&(x+=1E3,r.lc.N.Sl().Te().forEach(function(e){r.lc.ld(e)})),setTimeout(function(){w+=y;w<e.length?n():f({yl:z})},h.batchDelay))}var r=this,w=0,x=1E3,y=2*h.batchSize,z=[];n()},ow:function(e,f,h,n){if(this.lc.N.getDocument()){var r=this.lc.N.wc(e.Ba()).inverse(),w=document.createElementNS("",e.zO());w=e.serialize(w,r,h);n&&(e=this.lc.HE(e),w.setAttribute("title",e));e=new XMLSerializer;w&&(w=e.serializeToString(w),w=w.replace(/<([a-zA-Z0-9]+) (?:xml)ns="http:\/\/ns.adobe.com\/xfdf\/"(.*?)>/,
"<$1$2>"),f.writeString(w))}},GV:function(f){var h=this.lc,n=h.te(),w=h.N,x=w.getDocument(),y=[];n.Sv({Ku:function(e,f,h){void 0!==h.type&&y.push(h)},aA:function(e,f,h){void 0!==h.type&&y.push(h)}});var z=x.yc().map(function(e,f){return{number:f+1,actions:e.ak()}}).filter(function(e){return 0<Object.keys(e.actions).length});Object(r.d)(f,{calculationOrder:n.KN(),widgets:h.Yb().filter(function(e){return e.am()}),fields:y,documentActions:x.ak(),pages:z},function(f){return 1>f?(Object(aa.h)("Invalid page number:",
f),f=new e.a,f.Dh(1,0,0,1,0,0),f):w.wc(f)})},KV:function(e){e=e||{};var f=new h.XMLWriter("UTF-8","1.0");f.formatting="none";var n=e.useDisplayAuthor||!1;if(e.annotList){var r=e.fields||!1;var w=e.widgets||!1;var x=e.links||!1}else r=!1!==e.fields,w=!1!==e.widgets,x=!1!==e.links;f.writeStartDocument();f.writeStartElement("xfdf");f.writeAttributeString("xmlns","http://ns.adobe.com/xfdf/");f.writeAttributeString("xml:space","preserve");w&&this.GV(f);r&&this.DV(f);f.writeStartElement("annots");r=this.lc;
r=e.annotList||r.Yb();for(w=0;w<r.length;++w){var y=r[w];y instanceof ma.Ub?x&&!y.ao()&&this.ow(y,f,!0,n):y instanceof z.a||this.ow(y,f,!0,n)}f.writeEndElement();f.writeEndElement();e.annotList||this.HV(f);return f.flush()},HV:function(e){var f=this.lc;e.writeStartElement("pages");var h=f.N.getDocument();if(h){if(h=h.yc()){var n=f.N.wc(1);e.writeStartElement("defmtx");e.writeAttributeString("matrix",n.m_a+","+n.m_b+","+n.m_c+","+n.m_d+","+n.m_h+","+n.m_v);e.writeEndElement();for(var r=1;r<h.length;++r){var w=
f.N.wc(r+1);if(!w.fq(n)){e.writeStartElement("pgmtx");var x="";x+=w.m_a+","+w.m_b+","+w.m_c+","+w.m_d+","+w.m_h+","+w.m_v;e.writeAttributeString("matrix",x);e.writeAttributeString("page",r.toString());e.writeEndElement()}}}e.writeEndElement()}},BV:function(e){e.writeStartElement("add");for(var f=this.lc.Yb(),h=0;h<f.length;++h){var n=f[h];!n.IsAdded||n instanceof ma.Ub&&n.ao()||(this.ow(n,e),n.IsAdded=!1)}e.writeEndElement()},FV:function(e){e.writeStartElement("modify");for(var f=this.lc,h=f.Yb(),
n=0;n<h.length;++n){var r=h[n];!r.IsModified||r instanceof ma.Ub&&r.ao()||!f.Pc(r)||(this.ow(r,e),r.IsModified=!1)}e.writeEndElement()},CV:function(e){e.writeStartElement("delete");for(var f=this.lc,h=this.QU(),n=0;n<h.length;++n)e.writeStartElement("id"),e.writeAttributeString("page",h[n].Dd),e.writeString(h[n].id),e.writeEndElement();f.JD.length=0;e.writeEndElement()},DV:function(e){e.writeStartElement("fields");this.lc.Ci.Sv(new ca(e));e.writeEndElement()},EV:function(e){e.writeStartElement("fields");
var f=[];this.lc.Ci.Sv(new ca(e,function(e){f.push(e);return e.IsModified}));f.forEach(function(e){e.IsModified=!1});e.writeEndElement()},IV:function(e){var f=new h.XMLWriter("UTF-8","1.0");f.writeStartDocument();f.writeStartElement("xfdf");f.writeAttributeString("xmlns","http://ns.adobe.com/xfdf/");f.writeAttributeString("xml:space","preserve");f.writeStartElement("fields");var n=new h.Annotations.da.Tf;e.forEach(function(e){n.Gs(e)});n.Sv(new ca(f));f.writeEndElement();f.writeEndElement();e=f.flush();
return e=e.replace(/\t/g,"")},JV:function(e){for(var f=[],h=0;h<e.length;++h){var n=e[h];Object(ba.isUndefined)(n.name)||f.push(n.name+"="+encodeURIComponent(n.value))}return f.join("&")},vE:function(){var e=new h.XMLWriter("UTF-8","1.0");e.writeStartDocument();e.writeStartElement("xfdf");e.writeAttributeString("xmlns","http://ns.adobe.com/xfdf/");e.writeAttributeString("xml:space","preserve");this.EV(e);this.BV(e);this.FV(e);this.CV(e);e.writeEndElement();e=e.flush();return e=e.replace(/\t/g,"")},
QU:function(){return this.lc.JD.filter(function(e){return!(e instanceof ma.Ub&&e.ao())}).map(function(e){return{id:e.Id,Dd:e.PE()}})}};h.kb.ZV=ea;var la={lz:function(e){if("string"!==typeof e)return e;var f=new DOMParser;e=e.replace(' xmlns="http://www.w3.org/1999/xhtml"',"");return f.parseFromString(e,"text/xml")},eB:function(e){var f="D:"+e.getFullYear().toString();f+=this.bf((e.getMonth()+1).toString());f+=this.bf(e.getDate().toString());f+=this.bf(e.getHours().toString());f+=this.bf(e.getMinutes().toString());
f+=this.bf(e.getSeconds().toString());e=e.getTimezoneOffset();0===e?f+="Z00'00'":(0>e?(f+="+",e*=-1):f+="-",f+=this.bf(parseInt(e/60,10).toString())+"'",f+=this.bf((e%60).toString())+"'");return f},toDateString:function(e){return e.getFullYear().toString()+"-"+this.bf((e.getMonth()+1).toString())+"-"+this.bf(e.getDate().toString())+" "+this.bf(e.getHours().toString())+":"+this.bf(e.getMinutes().toString())+":"+this.bf(e.getSeconds().toString())},bf:function(e){return 2>e.length?"0"+e:e},escape:function(e){e&&
(e=Object(ba.escape)(e),e=e.replace(/(?:\r\n|\r|\n)/g,"&#xA;"));return e},toFixed:function(e,f){Object(ba.isUndefined)(f)&&(f=2);return parseFloat(e.toFixed(f)).toString()},getAttribute:function(e,f){return e.getAttribute(f)||e.getAttribute(f.toLowerCase())},Xy:function(e){return e.localName||e.baseName||e.nodeName},WN:function(e,f){var h=[];e=e.getElementsByTagName(f);if(0===e.length)return h;for(var n=0;n<e.length;++n){var r=e[n].outerHTML||e[n].xml;if(Object(ba.isUndefined)(r)||0!==r.indexOf("<"+
f+" "))r=(new XMLSerializer).serializeToString(e[n]);0>r.indexOf("</"+f+">")&&"/"!==r.charAt(r.length-2)&&(r=r.slice(0,r.length-1)+"/"+r.slice(r.length-1));h.push(r)}return h},oea:function(e){return la.getAttribute(e,"ActionType")?!0:0<e.getElementsByTagName("OnActivation").length},A1:function(e){return la.getAttribute(e,"ActionType")?[e]:e.getElementsByTagName("Action")},B1:function(e){if(!e)return null;var f=la.getAttribute(e,"ActionType");return f?f:(e=la.KE(e))?la.Xy(e):null},KE:function(e){e=
Object(ba.filter)(e.childNodes,function(e){return 1===e.nodeType});return 0<e.length?e[0]:null},Ln:function(e,f,h){f=la.getAttribute(e,f);Object(ba.isNull)(f)&&(f=e.getElementsByTagName(h),f=0<f.length?f[0].textContent:null);return f},hda:function(e,f,h){h=h.ka({x:Object(ba.isNull)(e)?0:parseFloat(e),y:Object(ba.isNull)(f)?0:parseFloat(f)});return{x:Object(ba.isNull)(e)?null:h.x,y:Object(ba.isNull)(f)?null:h.y}},Hda:function(f,h,n){f=f.split(";");for(var r=[],w=0;w<f.length;++w){var x=f[w].split(",");
x=new e.b(x[0],x[1]);x=new fa.b(x.x,x.y);h.ka(x);"function"===typeof n&&n(x);r.push(x)}return r},yH:function(e,f,h){if("undefined"===typeof h||null===h)h=",";if(!(e instanceof fa.b))return null;e=new fa.b(e.x,e.y);f&&f.ka(e);return e.x+h+e.y},LD:function(e,f,h){if("undefined"===typeof h||null===h)h=",";if("string"!==typeof e)return null;e=e.split(h);h=null;2===e.length?(h=new fa.b(parseFloat(e[0]),parseFloat(e[1])),f&&f.ka(h)):Object(aa.h)("Invalid serialized string format.");return h},pr:function(e,
f,h,n){if("undefined"===typeof n||null===n)n=";";if("undefined"===typeof h||null===h)h=",";for(var r="",w=0;w<e.length;w++){var x=new fa.b(e[w].x,e[w].y);f&&f.ka(x);r+=x.x+h;r+=x.y+n}return r.substring(0,r.length-1)},An:function(e,f,h,n){var r=[];if("undefined"===typeof n||null===n)n=";";if("undefined"===typeof h||null===h)h=",";if(!e)return r;e=e.split(n);if(n===h)for(n=0;n+1<e.length;n+=2){var w=new fa.b(e[n],e[n+1]);f&&f.ka(w);r.push(w)}else for(n=0;n<e.length;++n)e[n]&&(w=e[n].split(h),w[0]&&
w[1]&&(w=new fa.b(w[0],w[1]),f&&f.ka(w),r.push(w)));return r},zH:function(e,f,h){if("undefined"===typeof h||null===h)h=",";var n=new fa.b(e.x1,e.y1);e=new fa.b(e.x2,e.y2);f.ka(n);f.ka(e);return n.x+h+n.y+h+e.x+h+e.y},jy:function(e,f,h){if("undefined"===typeof h||null===h)h=",";h=e.split(h);e=new fa.b(h[0],h[1]);h=new fa.b(h[2],h[3]);f&&(f.ka(e),f.ka(h));return new fa.d(e.x,e.y,h.x,h.y)},wH:function(f,h,n){var r=new e.a;r.Dh(h);r.m_d*=-1;r.m_h=0;r.m_v=0;return la.zH(f,r,n)},TM:function(f,h,n){var r=
new e.a;r.Dh(h);r.m_d*=-1;r.m_h=0;r.m_v=0;return la.jy(f,r,n)},mfa:function(e,f){for(var h="",n=0;n<e.length;n++){var r=e[n];r=new fa.b(r.x,r.y);f.inverse().ka(r);h+=r.x+",";h+=r.y+";"}return h.substring(0,h.length-1)},Ida:function(e,f){var h=e.split(",");e=new fa.b(h[0],h[1]);h=new fa.b(h[2],h[3]);"undefined"!==typeof f&&(f.ka(e),f.ka(h));return new fa.d(e.x,e.y,h.x,h.y)},nfa:function(e,f){var h=new fa.b(e.x1,e.y1);e=new fa.b(e.x2,e.y2);f=f.inverse();f.ka(h);f.ka(e);return h.x+","+h.y+","+e.x+","+
e.y},Uh:function(e){if("undefined"===typeof e||null===e||!(e instanceof da.a)||0===e.A)return null;var f=e.R.toString(16).toUpperCase();2>f.length&&(f="0"+f);var h=e.G.toString(16).toUpperCase();2>h.length&&(h="0"+h);e=e.B.toString(16).toUpperCase();2>e.length&&(e="0"+e);return"#"+f+h+e},sh:function(e){return(new RegExp(/^#[0-9a-f]{6}$/i)).test(e)?new da.a(parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16)):null},iy:function(e){if(e){var f=new Date(Date.UTC(parseInt(e.substring(2,
6),10),parseInt(e.substring(6,8),10)-1,parseInt(e.substring(8,10),10),parseInt(e.substring(10,12),10),parseInt(e.substring(12,14),10),parseInt(e.substring(14,16),10),0));e=e.substring(16);if(7===e.length){var h=e.substring(0,1);if("Z"!==h){h="-"===h?1:-1;var n=parseInt(e.substring(4,6),10);f.setUTCHours(f.getUTCHours()+h*parseInt(e.substring(1,3),10));f.setUTCMinutes(f.getUTCMinutes()+h*n)}}return f}},JN:function(e,f,h){e="#"+la.bf(e.toString(16));e+=la.bf(f.toString(16));return e+=la.bf(h.toString(16))},
rS:function(e,f){return"/"+e.replace(/ /g,"")+" "+f+" Tf"},q3:function(e){return 1<e.split(" ").length?"'"+e+"'":e},E9:function(e){var f=e.rq();return"font: "+la.q3(e.Font)+" "+f+"pt; text-align: "+e.TextAlign+"; color: "+la.Uh(e.TextColor)},lfa:function(e){var f=e.rq();return"font-family: "+e.Font+"; font-size: "+f+"pt; text-align: "+e.TextAlign+"; color: "+la.Uh(e.TextColor)},c_:["Tf","rg"],mA:function(e){var f={pf:e};if(!Object(ba.isNull)(e))for(e=e.split(" ");0<e.length;){var h=e.pop();if(-1!==
la.c_.indexOf(h))switch(h){case "Tf":h=e.pop();var n=e.pop().slice(1);f.font={size:h+"pt",name:la.Su(n),hfa:n};break;case "rg":h=parseInt(255*e.pop(),10);n=parseInt(255*e.pop(),10);var r=parseInt(255*e.pop(),10);f.color=la.JN(r,n,h)}}return f},vda:function(e){if(4===e.length)return{r:parseInt(e.charAt(1),16)/16,de:parseInt(e.charAt(2),16)/16,Md:parseInt(e.charAt(3),16)/16};if(7===e.length)return{r:parseInt(e.slice(1,3),16)/255,de:parseInt(e.slice(3,5),16)/255,Md:parseInt(e.slice(5,7),16)/255}},A6:function(e){var f=
{};Object(ba.isNull)(e)||e.split(";").forEach(function(e){e=e.split(":");if(!(2>e.length)){var h=e[0].trim();e=e[1].trim();switch(h){case "text-align":f.textAlign=e;break;case "color":e.startsWith("rgb")?(e=/rgb\((\d{1,3}), (\d{1,3}), (\d{1,3})\)/.exec(e),null!==e&&(f.color=la.JN(parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10)))):f.color=e;break;case "font":h=e.split(" ");var n=h[0],r=h[1];"'"===e[0]&&(n=e.slice(1,e.lastIndexOf("'")),r=h[h.length-1]);f.font={name:la.Su(n),size:r}}}});return f},
Su:function(e){function f(f,h){var n=e;0===n.indexOf(f)&&(n=h);return n}e=f("Arial","Arial");e=f("Courier","Courier");e=f("Helv","Arial");return e=f("Times","Times New Roman")},MQ:function(e){return 0<e.indexOf("Bold")?"bold":"normal"},LQ:function(e){return 0<e.indexOf("Italic")||0<e.indexOf("Oblique")?"italic":"normal"},r_:function(e){var f=[];e=e.split(";");for(var h=0;h<e.length;++h){var n=e[h].split(",");2===n.length&&0<n[0].length&&0<n[1].length&&f.push(n)}return f},G9:function(e){for(var f=
"",h=0;h<e.length;h++)f+=e[h][0]+",",f+=e[h][1]+";";return f.substring(0,f.length-1)},F9:function(e){for(var f=[],h=0;h<e.length;h++){var n=[];n.push(this.escape(e[h][0]));n.push(this.escape(e[h][1]));f.push(n)}return f},rm:function(e,f,h){Object(ba.isUndefined)(h)||Object(ba.isNull)(h)||(e[f]=h)},IS:function(e,f,h){Object(ba.isUndefined)(h)||Object(ba.isNull)(h)||(e[f]=Number(h))},ic:function(e,f,h){Object(ba.isUndefined)(h)||Object(ba.isNull)(h)||e.setAttribute(f,h)},nv:function(e){var f=this,h=
document.createElementNS("","measure");this.ic(h,"scale",e.scale);var n=document.createElementNS("","axis");e.axis.forEach(function(e){n.appendChild(f.xH(e))});var r=document.createElementNS("","distance");e.distance.forEach(function(e){r.appendChild(f.xH(e))});var w=document.createElementNS("","area");e.area.forEach(function(e){w.appendChild(f.xH(e))});h.appendChild(n);h.appendChild(r);h.appendChild(w);return h},mt:function(e){var f,h={};this.rm(h,"scale",e.getAttribute("scale"));h.axis=[];var n=
e.querySelector("axis").querySelectorAll("numberformat");for(f=0;f<n.length;f++)h.axis.push(this.KD(n[f]));h.distance=[];n=e.querySelector("distance").querySelectorAll("numberformat");for(f=0;f<n.length;f++)h.distance.push(this.KD(n[f]));h.area=[];n=e.querySelector("area").querySelectorAll("numberformat");for(f=0;f<n.length;f++)h.area.push(this.KD(n[f]));return h},xH:function(e){var f=document.createElementNS("","numberformat");this.ic(f,"factor",e.factor);this.ic(f,"unit",e.unit);this.ic(f,"decimal-symbol",
e.decimalSymbol);this.ic(f,"thousands-symbol",e.thousandsSymbol);this.ic(f,"display",e.display);this.ic(f,"precision",e.precision);this.ic(f,"unit-prefix",e.unitPrefix);this.ic(f,"unit-suffix",e.unitSuffix);this.ic(f,"unit-position",e.unitPosition);return f},KD:function(e){var f={};this.IS(f,"factor",e.getAttribute("factor"));this.rm(f,"unit",e.getAttribute("unit"));this.rm(f,"decimalSymbol",e.getAttribute("decimal-symbol")||".");this.rm(f,"thousandsSymbol",e.getAttribute("thousands-symbol")||",");
this.rm(f,"display",e.getAttribute("display")||"D");this.IS(f,"precision",e.getAttribute("precision")||100);this.rm(f,"unitPrefix",e.getAttribute("unit-prefix")||"");this.rm(f,"unitSuffix",e.getAttribute("unit-suffix")||"");this.rm(f,"unitPosition",e.getAttribute("unit-position")||"S");return f},sS:function(e,f,h){function n(e){var f="";e&&(f=Object.keys(e).map(function(f){return f+":"+e[f]}).join(";"));return f}var r=document.createElementNS("","contents-richtext"),w=document.createElementNS("",
"body");(h=n(h))&&w.setAttribute("style",h);var x=document.createElementNS("","p"),y=Object.keys(f).map(function(e){return parseInt(e,10)});y.forEach(function(h,r){var w=f[h];h=e.slice(h,r===y.length-1?e.length:y[r+1]);r=document.createElementNS("","span");w=n(w);r.textContent=h;w&&r.setAttribute("style",w);x.appendChild(r)});w.appendChild(x);r.appendChild(w);return r},q_:function(e){function f(e){var h=[];if(!e)return h;e.childNodes.forEach(function(e){e.nodeType===Node.TEXT_NODE||1===e.childNodes.length&&
e.childNodes[0].nodeType===Node.TEXT_NODE?h.push(e):h=[].concat(Cd(h),Cd(f(e)))});return h}function h(e){var f={};if(!e)return f;e.split(";").forEach(function(e){var h=rc(e.split(":"));e=h.next().value;h=h.next().value;f[e]=h});return f}var n=e.querySelector("body");e=e.textContent;var r=null,w=null;if(n){var x=0;w=h(n.getAttribute("style"));r={};r[x]=w;n=f(n);n.length&&n.forEach(function(e){r[x]=e.getAttribute?Object.assign({},w,h(e.getAttribute("style"))):Object.assign({},w);x+=e.textContent.length})}return{style:r,
P3:w,BZ:e}}};h.Annotations.ma=la})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(10);(function(h){var z=h.Annotations||{};h.Annotations=z;z.da=z.da||{};z.da.getUsableInputWidth=function(h){return h};z.da.Tf=function(h){this.na=h;this.init()};z.da.Tf.prototype={init:function(){this.Kb={};this.sn=[];this.zC=!1;this.wr=this.kK=!0;this.PG=this.VC=null},wS:function(h){this.sn=h},KN:function(){return this.sn},Qb:function(h){if(!h)return null;h=h.split(".");var f=this.Kb[h[0]];if(f)for(var e=
1;e<h.length&&(f=f.Oy(h[e]),f);++e);return f?f:null},yba:function(h,f){if(!h||!f)return null;var e=h.name;f=f.toString();""!==f&&(this.Y8(e),h.NH(f),this.Gs(h));return h},Gs:function(h,f){f?(f=this.Tt(h.name),f.set(h),h=f,h.widgets.forEach(function(e){e.CS(h)}),h.off(z.da.qa.Events.CHANGE)):(f=h.name.split("."),1===f.length?this.Kb[h.name]=h:(f=f.slice(0,-1).join("."),this.Tt(f).yL(new z.da.qa(h.name,h))));h.set({fieldManager:this});this.na&&h.Wh(this.na.N);h.on(z.da.qa.Events.CHANGE,Object(ba.bind)(this.kE,
this));return h},Qs:function(h,f){if(!this.zC&&this.wr){this.zC=!0;var e=this.sn;if(!f||this.kK)f=0,this.kK=!1;for(;f<e.length;++f){var x=e[f],r=this.Qb(x);r?r.trigger(z.da.qa.Events.CALCULATE,[h]):Object(aa.h)("Non-existent field referenced in calculation order",x,r)}this.zC=!1}},kE:function(h){this.Qs(h,0);this.na.trigger(fa.a.FIELD_CHANGED,[h,h.value])},Tt:function(y){if(!y)return null;y=y.split(".");var f=this.Kb[y[0]];f||(f=new h.Annotations.da.qa(y[0],{fieldManager:this}),f.on(z.da.qa.Events.CHANGE,
Object(ba.bind)(this.kE,this)),this.Kb[y[0]]=f);for(var e=1;e<y.length;++e){var x=y[e],r=f.Oy(x);r?f=r:(r=new h.Annotations.da.qa(f.name+"."+x,{fieldManager:this}),f.yL(r),f=r,f.on(z.da.qa.Events.CHANGE,Object(ba.bind)(this.kE,this)))}this.na&&f.Wh(this.na.N);return f},Sv:function(h){this.lq(function(f){f.yI(h)})},lq:function(h){var f=this;Object.keys(this.Kb).forEach(function(e){h(f.Kb[e])})},ce:function(){this.lq(function(h){h.off()});this.init()},alert:function(h){this.VC?this.VC(h):window.alert(h)},
print:function(){this.PG?this.PG():Object(aa.h)("Embedded javascript need to use/call setPrintHandler")},Y8:function(h){var f=h.split("."),e=this.Kb[f[0]];if(1===f.length)delete this.Kb[f[0]];else for(var x=1;x<f.length;++x){var r=e.Oy(f[x]);if(r){if(r.name===h){f=e;f.Ye=f.Ye.filter(function(e){return e.name!==h});break}e=r}}},J9:function(h){this.VC=h},M$:function(h){this.PG=h}}})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);var aa=h(1),fa=h(76),da=h(12),z=h(36);(function(h){h.Annotations||(h.Annotations=
{});var f=h.Annotations;f.da=f.da||{};f.da.qa=function(e,h){if(h instanceof f.da.qa)return h;fa.a.call(this,h);this.hd=e;this.Ye=[];this.Gj=[];this.Zm=!1;this.Ci=null;this.lp=new f.uj;this.Wc=new da.a({mask:[da.a.READ_ONLY,da.a.REQUIRED,da.a.NO_EXPORT]});this.tg=-1;this.gd||(this.gd=new f.da.qa.Mc(this,h));this.initialize(h);this.on(f.da.qa.Events.CALCULATE,Object(ba.bind)(this.Qs,this));this.on(f.da.qa.Events.COMMIT,Object(ba.bind)(this.commit,this))};f.da.qa.Events={CALCULATE:"calculate",COMMIT:"commit",
CHANGE:"change"};f.da.qa.prototype={initialize:function(e){Object(ba.isObject)(e)&&(e.type&&this.YS(e.type),Object(ba.isArray)(e.children)&&(this.Ye=[].concat(Cd(this.Ye),Cd(e.children)).filter(function(e){return e})),e.widgets&&(this.Gj=[].concat(Cd(this.Gj),Cd(e.widgets)).filter(function(e){return e})),e.fieldManager&&(this.Ci=e.fieldManager),e.font&&this.lp.set(e.font),Object(ba.isUndefined)(e.maxLen)||(this.tg=Number(e.maxLen)),e.tooltipName&&(this.kL=e.tooltipName),this.gd.set(e))},set:function(e){this.initialize(e);
Object(ba.isObject)(e)&&Object(ba.isObject)(e.actions)&&this.xx(e.actions,!0)},Jn:function(e){this.Gj.forEach(e)},YS:function(e){"Tx"===e?this.gd=new f.da.qa.QB(this,this.gd):"Ch"===e?this.gd=new f.da.qa.zB(this,this.gd):"Btn"===e?this.gd=new f.da.qa.wB(this,this.gd):"Sig"===e?this.gd=new f.da.qa.OB(this,this.gd):Object(aa.h)("Unrecognised field type: "+e);this.Bp=e},nf:function(e){this.Gj.forEach(function(f){f.nf(e)})},FE:function(){return this.Ye},XF:function(){return 0===this.Ye.length},$X:function(e,
f){-1===this.Gj.indexOf(e)&&(Object(ba.isUndefined)(f)?this.Gj.push(e):this.Gj[f]=e)},Eh:function(e){this.gd.Eh(e)},Tb:function(e,f){this.gd.Tb(e,f)},ub:function(){return this.gd.ub()},NH:function(e){this.hd=e},qq:function(){return this.gd.qq()},mf:function(e){this.gd.mf(e)},Ax:function(e,f){this.gd.Ax(e,f)},yh:function(){return this.gd.yh()},QA:function(e){this.gd.QA(e)},Ht:function(){return this.gd.Ht()},VE:function(){var e=this.hd.split(".");return e[e.length-1]},S2:function(){var e,f=this.hd.split(".");
1<f.length&&(e=f.slice(0,f.length-1).join("."));return e},yI:function(e,f){var h=this.VE();(f=(f?f+".":"")+h)||(f="");if(this.XF()){if(e.Ku){var w=!0;e.Ay&&(e.Ay(this)||(w=!1));w&&e.Ku(f,h,this)}}else{if(e.Ay){var n=[];this.Ye.forEach(function(f){e.Ay(f)&&n.push(f)})}else n=this.Ye;0<n.length&&(e.aA&&e.aA(f,h,this),n.forEach(function(h){h.yI(e,f)}),e.qG&&e.qG(f,h,this))}},Oy:function(e){for(var f=this.Ye,h=f.length,w=0;w<h;++w){var n=f[w];if(n.VE()===e)return n}if(e.match(/^\d+$/))return this.Gj[parseInt(e,
10)]},removeChild:function(e){e=this.Ye.indexOf(e);-1!==e&&this.Ye.splice(e,1)},yL:function(e){var f=this.Oy(e.VE());f&&this.removeChild(f);this.Ye.push(e)},$R:function(){this.Tb(this.Ht())},Qs:function(e){e=new h.Annotations.da.kc.wb.qa.create("Calculate",this,{value:this.value,source:e,rc:!0});var f=this.ub();this.Of("C",e);var r=this.maxLen;this.tg=-1;var w=e.value;e.rc&&w!==f&&this.Tb(w);this.tg=r},Ph:function(){this.Jn(function(e){e.refresh()})},commit:function(e,f){e=h.Annotations.da.kc.wb.qa.create("Keystroke",
this,{value:e,change:"",willCommit:!0,selStart:-1,selEnd:-1});this.Of("K",e);e.rc&&(e=h.Annotations.da.kc.wb.ek(e),e=new h.Annotations.da.kc.wb.qa.create("Validate",this,{value:e}),this.Of("V",e),e.rc&&this.Tb(e.value,f))},Mf:function(e,f){this.gd.Mf(e,f)}};Object(z.b)(f.da.qa);Object.defineProperties(f.da.qa.prototype,{name:{get:function(){return this.hd}},tooltipName:{get:function(){return this.kL},set:function(e){this.kL=e}},value:{get:function(){return this.ub()},set:function(e){this.Tb(e)}},
widgets:{get:function(){return this.Gj}},children:{get:function(){return this.Ye}},options:{get:function(){return this.yh()},set:function(e){this.mf(e)}},exportValue:{get:function(){return this.qq()}},actions:{get:function(){return this.ak()}},defaultValue:{get:function(){return this.Ht()},set:function(e){this.QA(e)}},flags:{get:function(){return this.gd.Wc}},IsModified:{set:function(e){e!==this.Zm&&this.Ye.forEach(function(f){f.IsModified=e});this.Zm=e},get:function(){return this.Zm||this.Ye.reduce(function(e,
f){return e||f.IsModified},!1)}},font:{get:function(){return this.lp}},maxLen:{get:function(){return this.tg},set:function(e){this.tg=Number(e);0<this.tg&&this.Tb(this.ub())}},type:{get:function(){return this.Bp}},userName:{get:function(){return this.DX},set:function(e){this.DX=e}}});Object.assign(f.da.qa.prototype,fa.a.prototype);f.da.qa.Mc=function(e,f){f=f||{};this.Ua=e;this.Oc=this.mC="";this.Wc=new da.a({mask:[da.a.READ_ONLY,da.a.REQUIRED,da.a.NO_EXPORT],onUpdate:f.onUpdate})};f.da.qa.Mc.prototype=
{Tb:function(e,x){var r=this.Ua,w=typeof e;"number"===w?e=h.Annotations.ma.toFixed(e,6):e&&!Array.isArray(e)&&"string"!==w&&(e=e.toString());w=!Object(ba.isEqual)(this.Oc,e);this.Mf(e);w&&(e=this.Oc,this.WH(e,x),r.IsModified=!0,r.trigger(f.da.qa.Events.CHANGE,[r]))},WH:function(e){this.Ua.Jn(function(f){f.Tb(e)})},Mf:function(e){this.Oc=e},Eh:function(e){this.Mf(e)},set:function(e){Object(ba.isObject)(e)&&(Object(ba.isNull)(e.value)||Object(ba.isUndefined)(e.value)||(this.Oc=e.value),Object(ba.isNull)(e.defaultValue)||
Object(ba.isUndefined)(e.defaultValue)||(this.mC=e.defaultValue),e.flags&&(Object(ba.isArray)(e.flags)?this.Wc.set(e.flags,!0):Object(ba.isObject)(e.flags)&&this.Wc.set(e.flags.toArray(),!0)))},ub:function(){return this.Oc},Ht:function(){return this.mC},QA:function(e){this.mC=e},Ax:function(){},yh:function(){return null},mf:function(){},qq:function(){return this.Oc}};Object.defineProperties(f.da.qa.Mc.prototype,{value:{get:function(){return this.ub()},set:function(e){this.Tb(e)}},defaultValue:{get:function(){return this.Ht()},
set:function(e){this.QA(e)}}});f.da.qa.QB=function(e,h){if(h instanceof f.da.qa.QB)return h;f.da.qa.Mc.call(this,e,h);this.Wc.xt([da.a.MULTILINE,da.a.PASSWORD,da.a.FILE_SELECT,da.a.DO_NOT_SPELL_CHECK,da.a.DO_NOT_SCROLL,da.a.COMB,da.a.RICH_TEXT]);this.set(h)};f.da.qa.QB.prototype=Object.assign(Object.create(f.da.qa.Mc.prototype),{Mf:function(e,h){var r=this.Ua.maxLen;0<r&&!Object(ba.isNull)(e)&&!Object(ba.isUndefined)(e)&&(e=String(e),e.length>r&&!h&&(e=e.slice(0,r)));f.da.qa.Mc.prototype.Mf.call(this,
e)}});f.da.qa.zB=function(e,h){var r=this;if(h instanceof f.da.qa.zB)return h;var w=Object.assign({},h,{onUpdate:function(){r.Ua.Jn(function(e){Object(ba.isUndefined)(e.Vx)||(e.Vx=r.Wc.get(da.a.COMMIT_ON_SEL_CHANGE))})}});f.da.qa.Mc.call(this,e,w);this.Wc.xt([da.a.COMBO,da.a.EDIT,da.a.SORT,da.a.MULTI_SELECT,da.a.DO_NOT_SPELL_CHECK,da.a.COMMIT_ON_SEL_CHANGE]);this.uf=[];this.set(h)};f.da.qa.zB.prototype=Object.assign(Object.create(f.da.qa.Mc.prototype),{set:function(e){Object(ba.isObject)(e)&&e.options&&
this.mf(e.options);f.da.qa.Mc.prototype.set.call(this,e)},Tb:function(e){var h=!Object(ba.isEqual)(this.Oc,e),r=this.Ua;f.da.qa.Mc.prototype.Tb.apply(this,arguments);h&&(e=this.Oc,r.Jn(function(f){return f.trigger("change",e)}))},G2:function(e){for(var f=0;f<this.uf.length;++f){var h=this.uf[f];if(h.value===e)return h}return null},Mf:function(e){e=Object(ba.isNull)(e)||"string"!==typeof e?e:e.replace(/\n/g," ");this.Wc.get(da.a.EDIT)||Array.isArray(e)||!Object(ba.isNull)(this.G2(e))?f.da.qa.Mc.prototype.Mf.call(this,
e):f.da.qa.Mc.prototype.Mf.call(this,null)},yh:function(){return this.uf},Ax:function(e,f){for(var h=this.uf,w=0;w<h.length;++w)if(h[w].value===h.value)return;this.uf.splice(f,0,e);this.Wc.get(da.a.COMBO)||this.Tb(e.value);this.Ua.Jn.call(this.Ua,function(e){e.refresh&&e.refresh()})},mf:function(e){this.uf=e.map(function(e){var f=e.value;e=e.displayValue;return{value:f,displayValue:Object(ba.isUndefined)(e)?f:e}});this.Ua.Jn.call(this.Ua,function(e){e.refresh&&e.refresh()})}});f.da.qa.wB=function(e,
h){var r=this;if(h instanceof f.da.qa.wB)return h;var w=Object.assign({},h,{onUpdate:function(){r.Ua.Ph()}});f.da.qa.Mc.call(this,e,w);this.Wc.xt([da.a.NO_TOGGLE_TO_OFF,da.a.RADIO,da.a.PUSH_BUTTON,da.a.RADIOS_IN_UNISON]);this.uf=null;this.set(h);""===this.Oc&&(this.Oc="Off")};f.da.qa.wB.prototype=Object.assign(Object.create(f.da.qa.Mc.prototype),{set:function(e){f.da.qa.Mc.prototype.set.call(this,e);Object(ba.isObject)(e)&&e.options&&this.mf(e.options)},yh:function(){return this.uf},Eh:function(e){(""===
this.Oc||"Off"!==e||this.Ua.widgets.every(function(e){return!e.appearance}))&&f.da.qa.Mc.prototype.Eh.call(this,e)},Mf:function(e){"Off"!==e?""===e?f.da.qa.Mc.prototype.Mf.call(this,"Off"):f.da.qa.Mc.prototype.Mf.call(this,e):this.Wc.get(da.a.NO_TOGGLE_TO_OFF)&&this.Wc.get(da.a.RADIO)||f.da.qa.Mc.prototype.Mf.call(this,e)},qq:function(){if(this.uf){var e=this.uf[Number(this.ub())];return e&&e.value}return f.da.qa.Mc.prototype.qq.call(this)},mf:function(e){this.uf=e.slice()},WH:function(e,h){f.da.qa.Mc.prototype.WH.call(this,
e,h)}});f.da.qa.OB=function(e,h){var r=this;if(h instanceof f.da.qa.OB)return h;var w=Object.assign({},h,{onUpdate:function(){r.Ua.Ph()}});f.da.qa.Mc.call(this,e,w);this.set(h)};f.da.qa.OB.prototype=Object.create(f.da.qa.Mc.prototype)})(window)},function(ha,ca,h){var ba=h(0);h.n(ba);ha=h(198);var aa=h.n(ha),fa=h(284),da=h(1),z=h(46),y=h(83),f=h(47),e=h(63);h.n(e);var x=h(22),r=new RegExp(/^(0?\d|1[0-2]):[0-5]\d?:?[0-5]?\d ?([AaPp][Mm])/);(function(h){function n(){}function w(e){this.stringValue=e}
function ia(e,f,h){f=f||",";h=h||".";var n=e.split(h),r=n[0];"-"===e.charAt(0)&&(r=r.substr(1));for(var w=[];3<r.length;)w.push(r.substr(r.length-3)),r=r.substr(0,r.length-3);0<r.length&&w.push(r);r=w.reverse().join(f);"-"===e.charAt(0)&&(r="-"+r);n[0]=r;return n.join(h)}function ca(e,f,h){var n="\\.,";0===h?n="\\.":2===h&&(n=",");if(0===f)return/^-?\d*$/.test(e);if(Object(ba.isUndefined)(f))return f=new RegExp("^-?\\d*(["+n+"]\\d*)?$"),f.test(e);f=new RegExp("^-?\\d*(["+n+"]\\d{0,"+f.toString()+
"})?$");return f.test(e)}function ha(e){for(var f=[],h=[],n=-1;-1!==(n=e.indexOf(".",n+1));)f.push(n);for(n=-1;-1!==(n=e.indexOf(",",n+1));)h.push(n);if(f.length&&h.length){if(f[f.length-1]<h[0])return!0}else if(h.length)for(e=e.length-4,f=h.length-1;0<=f;--f)if(h[f]!==e)return!0;return!1}function ma(e){return 65<=e&&90>=e||97<=e&&122>=e}function la(e,f){switch(f){case 57:return 48<=e&&57>=e;case 65:return ma(e);case 79:return ma(e)||48<=e&&57>=e;case 88:return!0;default:return e===f}}function ja(e){var f=
typeof e;e=Object(ba.isNull)(e)||"object"!==f&&"string"!==f?e:String(e).replace(",",ha(e)?".":"");f=parseFloat(e);return ca(e)&&!Object(ba.isNaN)(f)?f:f="Off"===e||Object(ba.isUndefined)(e)||Object(ba.isNull)(e)||""===e?0:1}function ua(e,f){e=String(e);if(e.length<f){f-=e.length;for(var h=0;h<f;++h)e="0"+e}return e}function ra(e,f){if((1===f||3===f)&&r.exec(e))return e.replace(/am/ig," am").replace(/pm/ig," pm").replace(/\s\s+/g," ");var h=String(e).split(":");if(3<f||0>f||!e)return null;var n=e=
0,w=0;h[0]&&(e=Number(h[0]));h[1]&&(n=Number(h[1]));h[2]&&(w=Number(h[2]));if(23<e||59<n||59<w||Object(ba.isNaN)(e)||Object(ba.isNaN)(n)||Object(ba.isNaN)(w))return null;h=1===f||3===f;if(h){var x=12<=e&&24>e?"PM":"AM";e%=12;0===e&&(e=12)}else e=ua(e,2);n=ua(n,2);w=ua(w,2);f=e+":"+n+(2>f?"":":"+w);h&&(f+=" "+x);return f}function na(e,f){for(var h=0,n="",r=0;r<f.length&&h<e.length;++r){var w=f.charAt(r);switch(w){case "9":n+=e.charAt(h);h++;break;default:n+=w}}return n}function Ba(e,f){this.tX=f;this.nE=
!1;this.l5=e;e.Laa()}function za(e){return function(){Object(da.f)("stub: "+e+" called with",arguments)}}function sa(e){var f=null;if(Object(ba.isArray)(e))switch(e[0]){case "T":f=[];break;case "G":f=e.slice(1,2);break;case "RGB":f=e.slice(1,4);break;case "CMYK":f=e.slice(1,5)}return f}function va(e,f,h){e.widgets.forEach(function(e){e[f]=h})}function ta(e){this.RK={};this.tK=e}function ya(){var e=this;this.PK={Doc:new ta(function(){return"id"}),Field:new ta(function(e){return e.name})};this.fs=0;
this.Aw=[];this.hX={Doc:function(e){return Aa.ZI(e)},Color:function(e){return Aa.iw(e)},Field:function(e){e.am&&e.am()&&(e=e.Qb());return new Aa.Zo(e)},Event:function(f){var h={target:e.vo({Field:"Field",Page:"Doc",Doc:"Doc"}[f.type],f.target)};Object.defineProperties(h,{value:{get:function(){return Aa.utils.toString(f.value)},set:function(e){f.value=e},enumerable:!0}});Object.keys(f).forEach(function(e){f.hasOwnProperty(e)&&"target"!==e&&"value"!==e&&function(e){Object.defineProperty(h,e,{set:function(h){f[e]=
h},get:function(){return f[e]},enumerable:!0})}(e)});return h}}}function pa(){ya.call(this);this.WW=this.o2();h.Pca=this.WW;Object.keys(Da).forEach(function(e){Da.hasOwnProperty(e)&&(e in h||(h[e]=Da[e]))})}function Ha(){var e=this;ya.call(this);if(Na){this.Wm=document.createElement("iframe");this.Wm.style.display="none";document.body.appendChild(this.Wm);this.cn=this.Wm.contentWindow;this.cn.__assign=function(f,h){e.cn[f]=h;e.pl[f]=h};var f=this.cn.document;f.open();f.write("<script>var event = {};\x3c/script>");
f.write("<script>window.__add_action = function(__script){ return function(){eval(__script); } }\x3c/script>");f.close();this.Um=!1;this.QO="";this.pl={};Object.keys(Da).forEach(function(f){Da.hasOwnProperty(f)&&(e.pl[f]=Da[f])});n(this.pl)}}var Ca;h.Annotations=h.Annotations||{};h.Annotations.da=h.Annotations.da||{};h.Annotations.da.kc=h.Annotations.da.kc||{};var Aa=h.Annotations.da.kc;Aa.utils={isNumber:ca,pfa:ia,Uea:ja,Qea:ua,bea:y.a,Cea:y.b,dea:ra,Ct:na,toString:function(e){return Object(ba.isString)(e)?
e:Object(ba.isNumber)(e)?String(e):""},xfa:function(e){var f=e;ca(e)&&""!==e&&(f=ja(e));return f},B7:function(f,h){h=e(h);f=Object(y.d)(f);return h.format(f)},C7:function(e){var f=Array.prototype.slice.call(arguments,1),h=0;return e.replace(/%(,\d+)?([+ 0#]+)?(\d+)?(\.\d+)?([dfsx]+)/g,function(e,n,r,w,x,y){e=0;w=".";var z=",";if(n)switch(n.slice(1)){case "0":z=",";w=".";break;case "1":z="";w=".";break;case "2":z=".";w=",";break;case "3":z="",w=","}if(r)for(n=r.length-2,r=1;r<n;++r);x&&(e=x.slice(1));
x=f[h];h++;n=String(x);switch(y){case "f":n=Number(x).toFixed(e).replace(".",w);n=ia(n,z,w);break;case "d":n=Number(x).toFixed();break;case "x":n=Number(x).toString(16)}return n})},D7:function(e,f){for(var h="",n=0,r="",w=e.length,x=0;x<w;++x){var y=f,z=e[x],aa="";switch(z){case "?":aa="upper"===r?aa+y.charAt(n).toUpperCase():"lower"===r?aa+y.charAt(n).toLowerCase():aa+y.charAt(n);n++;break;case "X":for(;n<y.length;){z=y.charCodeAt(n);if(ma(z)||48<=z&&57>=z){aa="upper"===r?aa+y.charAt(n).toUpperCase():
"lower"===r?aa+y.charAt(n).toLowerCase():aa+y.charAt(n);n++;break}n++}break;case "A":for(;n<y.length;){if(ma(y.charCodeAt(n))){aa="upper"===r?aa+y.charAt(n).toUpperCase():"lower"===r?aa+y.charAt(n).toLowerCase():aa+y.charAt(n);n++;break}n++}break;case "9":for(;n<y.length;){if(ca(y.charAt(n))){aa+=y.charAt(n);n++;break}n++}break;case "*":aa="lower"===r?y.slice(n).toLowerCase():"upper"===r?y.slice(n).toUpperCase():y.slice(n);n=y.length-1;break;case "\\":break;case ">":r="upper";break;case "<":r="lower";
break;case "=":r="";break;default:aa=z}h+=aa}return h},GI:function(e,f){f=f||e;var n=h.Annotations.da.kc.wb.ek(Ca);if(e&&n){var r=n.length,w=e.length;if(Ca.willCommit&&r!==w&&0!==w)Ea.ta().te().alert("The value entered does not match the format of the field [ "+f+" ]"),Ca.rc=!1;else if(r&&w)if(r<=w)for(w=0;w<r;++w){if(!la(n.charCodeAt(w),e.charCodeAt(w))){Ca.rc=!1;Ea.ta().te().alert("The value entered does not match the format of the field [ "+f+" ]");break}}else Ea.ta().te().alert("The value entered does not match the format of the field [ "+
f+" ]"),Ca.rc=!1}},Zv:function(e){var f=String(Ca.value);f&&Ca.willCommit&&!Object(y.b)(f,e)&&(Ca.rc=!1,Ea.ta().te().alert("Invalid Date/Time: Input should match format "+e))}};Object.getOwnPropertyNames(String.prototype).forEach(function(e){w.prototype[e]=function(){return this.stringValue[e].apply(this.stringValue,arguments)}});w.prototype.valueOf=function(){this.mP||(this.mP=ja(this.stringValue));return this.mP};Ba.prototype={terminate:function(){this.nE||(this.nE=!0,this.tX(),this.l5.j1())}};
var Ea=Ca=null;var Da={AFNumber_Format:function(e,f,h,n,r,w){h=(h=Ea.ta().te().Qb(Ca.target.name))?h.ub():null;ca(h)&&null!==h&&""!==h&&(h=ja(h),Object(ba.isNaN)(h)||(h=h.toFixed(e),0===f?h=ia(h):2===f&&(h=ia(h),e=h.indexOf("."),h=h.split(",").join("."),0<=e&&(h=h.substr(0,e)+","+h.substr(e+1))),"-"===h.charAt(0)&&w?(h=h.substring(1,h.length),h="-"+r+h):h=w?r+h:h+r,Ca.value=h,Ca.rc=!0))},AFPercent_Format:function(e,f){var h=Ca.value;ca(h)&&(h=ja(h),h=(100*h).toFixed(e),f&&(h=ia(h)),Ca.value=h+"%",
Ca.rc=!0)},AFDate_KeystrokeEx:Aa.utils.Zv,AFDate_Keystroke:function(e){e<f.e.length&&Aa.utils.Zv(f.e[e])},AFDate_FormatEx:function(e){e=Object(y.a)(String(Ca.value),e);Object(ba.isNull)(e)||(Ca.value=e,Ca.rc=!0)},AFDate_Format:function(e){var h=String(Ca.value);e<f.e.length&&(e=Object(y.a)(h,f.e[e]),Object(ba.isNull)(e)||(Ca.value=e,Ca.rc=!0))},AFRange_Validate:function(e,f,h,n){var r=Number(Ca.value);r=(!e||r>=f)&&(!h||r<=n);if(!r){var w="Invalid value: must be";e&&(w+=" greater than or equal to "+
f);e&&h&&(w+=" and");h&&(w+=" less than or equal to "+n);Ea.ta().te().alert(w+".")}Ca.rc=r},AFTime_Format:function(e){Ca.value=ra(Ca.value,e);Ca.rc=!0},AFTime_FormatEx:function(e){e=Object(y.a)(String(Ca.value),e);Object(ba.isNull)(e)||(Ca.value=e,Ca.rc=!0)},AFTime_Keystroke:function(e){switch(e){case 0:e="HH:MM";break;case 1:e="h:MM tt";break;case 2:e="HH:MM:ss";break;case 3:e="h:MM:ss tt"}Aa.utils.Zv(e)},AFTime_KeyStrokeEx:Aa.utils.Zv,AFMakeNumber:function(e){return Number(e)},AFSimple_Calculate:function(e,
f){if(e={PRD:function(e,f){return e*f},SUM:function(e,f){return e+f},MIN:function(e,f){return f<e?f:e},MAX:function(e,f){return f>e?f:e}}[e])if("string"===typeof f&&(f=f.split(",")),0!==f.length){for(var h=[],n=f.map(function(e){return Ea.ta().te().Qb(e)});0<n.length;)f=n.pop(),f.XF()||f.ub()?h.push(f):f.FE().forEach(function(e){n.push(e)});Ca.value=h.map(function(e){return ja((new Aa.Zo(e)).value)}).reduce(e);Ca.rc=!0}},AFNumber_Keystroke:function(e,f){Ca.rc=ca(h.Annotations.da.kc.wb.ek(Ca),void 0,
f)},AFPercent_Keystroke:function(e){Ca.rc=ca(h.Annotations.da.kc.wb.ek(Ca),e+2)},AFMergeChange:function(e){return h.Annotations.da.kc.wb.ek(e)},AFParseDateEx:y.c,AFSpecial_Format:function(e){if(0===arguments.length)Ca.rc=!1;else{var f=Ca.value;switch(e){case 0:var h="99999";break;case 1:h="99999-9999";break;case 2:h=10<=f.length?"(999) 999-9999":"999-9999";break;case 3:h="999-99-9999"}Ca.value=f.match(/^\d+$/)?na(f,h):f;Ca.rc=!0}},AFSpecial_Keystroke:function(e){var f="";switch(e){case 0:f="99999";
var h="Zipcode";break;case 1:f="999999999";h="Zipcode + 4";break;case 2:f="9999999999";h="Phone";break;case 3:f="999999999",h="Social Security Number"}Aa.utils.GI(f,h)},AFSpecial_KeystrokeEx:Aa.utils.GI,util:{printd:Aa.utils.B7,printf:Aa.utils.C7,printx:Aa.utils.D7,scand:function(e,f){f=f.trim();return Object(y.c)(f,e).toDate()}},app:{beep:za("app.beep"),alert:function(e){if(Object(ba.isObject)(e)){var f=e.nType||0;e=e.cMsg;if(0===f)return Ea.ta().te().alert(e),1;e=window.confirm(e);return 1===f?
e?1:2:e?4:3}Ea.ta().te().alert(e);return 1},response:za("app.response"),setInterval:function(e,f){var h=Ea.getDocument().qp;e=h.Qp(e,Ea);var n=Ca,r=Ea,w=window.setInterval(function(){h.lr(e,n,r)},f);return new Ba(h,function(){window.clearInterval(w)})},clearInterval:function(e){e.terminate()},setTimeOut:function(e,f){var h=Ea.getDocument().qp,n;e=h.Qp(e,Ea);var r=Ca,w=Ea,x=window.setTimeout(function(){h.lr(e,r,w);n.terminate()},f);return n=new Ba(h,function(){window.clearTimeout(x)})},clearTimeOut:function(e){e.terminate()},
launchURL:za("app.launchURL")},console:{clear:function(){console.clear()},println:function(e){Object(da.f)(e)}},alert:function(e){Ea.ta().te().alert(e)},print:function(){Ea.ta().te().print()},ADBE:null,color:{transparent:["T"],black:["G",0],white:["G",1],red:["RGB",1,0,0],green:["RGB",0,1,0],blue:["RGB",0,0,1],cyan:["CMYK",1,0,0,0],magenta:["CMYK",0,1,0,0],yellow:["CMYK",0,0,1,0],dkGray:["G",.25],gray:["G",.5],ltGray:["G",.75]},border:{s:"solid",Md:"beveled",d:"dashed",i:"inset",zfa:"underline"},
style:{ch:"check",oda:"cross",Jda:"diamond",ci:"circle",rfa:"start",qfa:"square"},display:{visible:0,hidden:1,e6:2,f6:3}};Aa.Zo=function(e){this.field=e};Aa.Zo.prototype={insertItemAt:function(e,f,h){Object(ba.isUndefined)(f)&&(f=e);Object(ba.isUndefined)(h)&&(h=0);Object(ba.isArray)(e)&&(e=e[0]);Object(ba.isArray)(f)&&(f=f[0]);f={displayValue:e,value:f};var n=this.field.yh();h=-1===h?n.length-h:h;this.field.Ax(f,h);"Ch"!==this.field.type||this.field.flags.get(x.WidgetFlags.COMBO)||this.field.Tb(e)},
setAction:function(e,f){var h={MouseUp:"U",MouseDown:"D",MouseEnter:"E",MouseExit:"X",OnFocus:"Fo",OnBlur:"Bl",Keystroke:"K",Validate:"V",Calculate:"C",Format:"F"};this.field.widgets.forEach(function(n){var r=new z.g({javascript:f});n.xi(h[e],r,!0)})},getItemAt:function(e,f){f=Object(ba.isUndefined)(f)?!0:!!f;var h=this.field.yh();e=-1===e?h[h.length-1]:h[e];return f?e.value:e.displayValue},deleteItemAt:function(e){var f=this.field.yh();if(Object(ba.isUndefined)(e)){var h=this.field.ub();f.forEach(function(f,
n){f.value===h&&(e=n)});Object(ba.isUndefined)(e)||(f.splice(e,1),0===e?this.field.Tb(f[f.length-1].value):this.field.Tb(f[e-1].value))}else f.splice(e,1)},clearItems:function(){this.field.mf([]);this.field.Tb(null);this.field.Ph()},setItems:function(e){for(var f=[],h=e.length,n=0;n<h;++n){var r=e[n];Object(ba.isString)(r)?f.push({value:r}):Object(ba.isArray)(r)?f.push({displayValue:r[0],value:r[1]?r[1]:r[0]}):Object(ba.isObject)(r)&&f.push({value:r.toString()})}this.field.mf(f);this.field.Tb(f[0].value||
null);this.field.Ph()},setFocus:function(){var e;if(e="widgets"in this.field?this.field.widgets[0]:this.field)this.field.bg().Wp(e.PageNumber,e.X,e.Y,!0),e.innerElement.focus()},isBoxChecked:function(e){return(e=this.field.widgets[e])?e.appearance===e.gk()?1:0:0},checkThisBox:function(e,f){Object(ba.isUndefined)(f)&&(f=!0);if(e=this.field.widgets[e])f?this.field.Tb(e.gk()):this.field.ub()===e.gk()&&this.field.Tb("Off"),this.field.Ph()},buttonGetCaption:function(){var e=this.field.widgets.find(function(e){return e.captions&&
e.captions.Normal});if(e)return e.captions.Normal},buttonSetCaption:function(e){this.field.widgets.forEach(function(f){f.captions.Normal=String(e);delete f.appearances._DEFAULT;f.refresh()})},getArray:function(){var e=[],f=this.field.bg().na.Ci;this.field.yI({qG:function(){},aA:function(){},Ku:function(h){e.push(new Aa.Zo(f.Qb(h)))}},this.field.S2());return e}};Object.defineProperties(Aa.Zo.prototype,{name:{get:function(){return this.field.name},enumerable:!0},doc:{get:function(){return Aa.ZI(this.field.bg())},
enumerable:!0},value:{get:function(){var e=this.field.qq();return"number"===typeof e?e:ca(e)&&""!==e?"0"===e?0:new w(e):e||""},set:function(e){"Btn"===this.field.type&&this.field.options&&(e=this.field.options.findIndex(function(f){return f.value===e}));this.field.Tb(e)},enumerable:!0},valueAsString:{get:function(){var e=this.field.ub();return e?e.toString():""}},fillColor:{set:function(e){va(this.field,"backgroundColor",sa(e));this.field.Ph()},get:function(){return Aa.iw(this.field.widgets[0].backgroundColor)},
enumerable:!0},textColor:{set:function(e){var f=sa(e);this.field.font.fillColor=f;this.field.Jn(function(e){e.font.fillColor=f});this.field.Ph()},get:function(){return Aa.iw(this.field.font.fillColor)},enumerable:!0},bgColor:{set:function(e){va(this.field,"backgroundColor",sa(e));this.field.Ph()},get:function(){return Aa.iw(this.field.widgets[0].backgroundColor)},enumerable:!0},numItems:{get:function(){return(this.field.yh()||[]).length},enumerable:!0},charLimit:{set:function(e){e=Number(e);Object(ba.isNaN)(e)||
(this.field.maxLen=e)},get:function(){return this.field.maxLen},enumerable:!0},hidden:{set:function(e){this.field.nf(!e)},get:function(){return this.field.widgets[0].hidden},enumerable:!0},display:{set:function(e){e===Da.display.visible||e===Da.display.e6?this.field.nf(!0):(e===Da.display.hidden||e===Da.display.f6)&&this.field.nf(!1)},get:function(){return this.field.widgets[0].hidden},enumerable:!0},readonly:{set:function(e){this.field.flags.set(x.WidgetFlags.READ_ONLY,e);this.field.Ph()},get:function(){return this.field.flags.get(x.WidgetFlags.READ_ONLY)},
enumerable:!0},required:{set:function(e){this.field.flags.set(x.WidgetFlags.REQUIRED,e);this.field.Ph()},get:function(){return this.field.flags.get(x.WidgetFlags.REQUIRED)},enumerable:!0},userName:{set:function(e){this.field.userName=e;this.field.Ph()},get:function(){return this.field.userName},enumerable:!0},type:{get:function(){switch(this.field.type){case "Tx":return"text";case "Btn":return this.field.flags.get(x.WidgetFlags.PUSH_BUTTON)?"button":this.field.flags.get(x.WidgetFlags.RADIO)?"radiobutton":
"checkbox";case "Ch":return this.field.flags.get(x.WidgetFlags.COMBO)?"combobox":"listbox";case "Sig":return"signature"}return null},enumerable:!0},currentValueIndices:{get:function(){for(var e=this.field.yh(),f=this.field.value,h=0;h<e.length;++h)if(e[h].value===f)return h;return-1},set:function(e){(e=this.field.yh()[e].value)&&this.field.Tb(e)},enumerable:!0},commitOnSelChange:{get:function(){return this.field.flags.get(x.WidgetFlags.COMMIT_ON_SEL_CHANGE)},set:function(e){this.field.flags.set(x.WidgetFlags.COMMIT_ON_SEL_CHANGE,
e)},enumerable:!0}});ta.prototype={get:function(e){e=this.tK(e);e=this.RK[e];return Object(ba.isUndefined)(e)?null:e},set:function(e){this.RK[this.tK(e)]=e}};Aa.iw=function(e){return e?0!==e.A?["RGB",e.R/255,e.G/255,e.B/255]:["T"]:["T"]};Aa.ZI=function(e){var f=e.ta().te(),h={getField:function(e){return(e=Object(ba.isArray)(e)?f.Qb(e[0]):f.Qb(e))?new Aa.Zo(e):null},submitForm:function(f,h,n,r){Object(ba.isUndefined)(h)&&(h=!0);(new z.j({url:f,format:h?"fdf":"xfdf",includeEmpty:!!n,fields:r||[]})).onTriggered(null,
null,e)},resetForm:function(f){(new z.i({fields:f})).onTriggered(null,null,e)},calculateNow:function(){f.Qs(null)},getNthFieldName:function(e){var h,n=0;f.lq(function(f){n===e&&(h=f.name);++n});return h}};Object.defineProperties(h,{calculate:{set:function(e){f.wr=!!e},get:function(){return f.wr},enumerable:!0},numPages:{get:function(){return e.gc()},enumerable:!0},pageNum:{get:function(){return e.Mn()-1},set:function(f){e.Lf(f+1)},enumerable:!0},numFields:{get:function(){var e=0;f.lq(function(){++e});
return e},enumerable:!0}});return h};ya.prototype={Qp:function(){},lr:function(){},ce:function(){this.Aw.forEach(function(e){e()})},uI:function(e){return e},DI:function(e){return e},oB:function(e){return e},oU:function(e){return e},pU:function(e){return e},nU:function(e){return e},mU:function(e){return e},Nr:function(e){var f=null;if(Object(ba.isArray)(e))f=this.mU(e);else if(Object(ba.isNull)(e))f=null;else switch(typeof e){case "object":f=this.DI(e);break;case "function":f=this.oB(e);break;case "number":f=
this.oU(e);break;case "string":f=this.pU(e);break;case "boolean":f=this.nU(e);break;case "undefined":f=void 0;break;default:Object(da.h)("unrecognised type: "+typeof e)}return f},wrap:function(e,f){var h=this.PK[e];if(h){var n=h.get(f);if(!Object(ba.isNull)(n))return n}e=this.vo(e,f);e=this.Nr(e);h&&h.set(e);return e},vo:function(e,f){var h=this.PK[e];if(h){var n=h.get(f);if(!Object(ba.isNull)(n))return n}if(n=this.hX[e])return e=n(f),h&&h.set(e),e;Object(da.h)(e+" is not a valid normalizable embedded JS type",
f);return{}},Oba:function(e){0<this.fs?this.Aw.push(e):e()},Laa:function(){this.fs+=1},j1:function(){--this.fs;if(0===this.fs){var e=this.Aw;this.Aw=[];e.forEach(function(e){e()})}},o2:function(){return this.DI(Object.assign({},Da))}};Aa.kca=Da;var Ja=eval;pa.prototype=Object.assign(Object.create(ya.prototype),{gn:function(e){e=this.vo("Doc",e);for(var f=Object.keys(e),n=0;n<f.length;++n){var r=f[n];Object.defineProperty(h,r,Object.getOwnPropertyDescriptor(e,r))}},Qp:function(e){return function(f){Ca=
f;Ja("with(_PDFTRON_JS_API){"+e+"\n}");Ca=null}},lr:function(e,f,n){h.event=f;this.Um||(this.gn(n),this.Um=!0);var r=Ea;Ea=n;try{e(this.wrap("Event",f),this.wrap("Doc",n))}catch(Ia){Object(da.h)("Embedded JS error encountered: "+Ia+" "+e.bm)}Ea=r}});(function(){ya.call(this);this.Cj=continuum.tda();this.Um=!1;for(var e=Object.keys(Da),f=0;f<e.length;++f)this.Cj.global.cJ(e[f],this.Nr(Da[e[f]]))}).prototype=Object.assign(Object.create(ya.prototype),{Qp:function(e){return continuum.uda(e)},gn:function(e){e=
this.vo("Doc",e);for(var f=Object.keys(e),h=0;h<f.length;++h)this.Cj.global.cJ(f[h],this.Nr(e[f[h]]))},lr:function(e,f,h){this.Um||(this.gn(h),this.Um=!0);f=this.vo("Event",f);h=this.Nr(f);this.Cj.global.cJ("event",h);Ca=f;this.Cj.evaluate(e);Ca=null},uI:function(e){var f=this;if(Object(ba.isObject)(e)){if(e.bD)return e.bD.map(function(e){return f.uI(e)});Object(da.h)("object argument: ",e)}return e},oB:function(e){var f=this;return continuum.BD(function(){var h=Array.prototype.map.call(arguments,
function(e){return f.uI(e)});return f.Nr(e.apply(null,Cd(h)))})},oU:function(e){return this.Cj.evaluate(JSON.stringify(e))},pU:function(e){return this.Cj.evaluate(JSON.stringify(e))},nU:function(e){return this.Cj.evaluate(JSON.stringify(e))},mU:function(e){var f=this.Cj.evaluate("new Array()");Object(da.h)("array:",f);return e},DI:function(e){for(var f=this.Cj.evaluate("Object.create(null)"),h=Object.keys(e),n=h.length,r=0;r<n;++r){var w=h[r],x=Object.getOwnPropertyDescriptor(e,w),y={Enumerable:x.enumerable,
Writeable:x.writeable};Object(ba.isUndefined)(x.value)||(y.Value=this.Nr(x.value));Object(ba.isUndefined)(x.set)||(y.Set=this.oB(x.set));Object(ba.isUndefined)(x.get)||(y.Get=this.oB(x.get));f.fca(w,y)}return f}});var Na=!0;h.kb.t_=function(){Na=!1};h.Annotations.da.EB={update:function(e){n=e},ek:h.Annotations.da.kc.wb.ek};Ha.prototype=Object.assign(Object.create(ya.prototype),{taa:function(e){this.QO=e.reduce(function(e,f){return e+"var "+f+"=undefined;"},"")},Qp:function(e,f){if(Na)try{this.gn(f);
var h={ja:6},n=aa.a.parse(e,h);f=function(e,f,r,w){e=aa.a.parse("__assign('"+e+"', "+(f?"this."+e:e)+")",h);n.body.splice(r?0:w+1,0,e.body[0])};for(var r={},w=0;w<n.body.length;r={Vk:r.Vk},++w){var x=n.body[w],y=r.Vk=void 0,z=void 0;if("FunctionDeclaration"===x.type)r.Vk=x.id.name,z=!0;else if("VariableDeclaration"===x.type)x.declarations.forEach(function(e){return function(f){e.Vk=f.id.name}}(r));else if("ExpressionStatement"===x.type&&"AssignmentExpression"===x.expression.type){var ea=x.expression.left;
"Indentifier"===ea.type?r.Vk=ea.name:ea.object&&"ThisExpression"===ea.object.type&&(r.Vk=ea.property.name,y=!0)}r.Vk&&(f(r.Vk,y,z,w),w++)}var ba=this.QO+"\n"+Object(fa.a)(n),ia=this.cn.__add_action(ba);ia.bm=e;return ia}catch(ib){Object(da.h)("Failed to compile embedded JS script")}},gn:function(e){var f=this;if(!this.Um&&Na){this.Um=!0;var h=Object.getOwnPropertyNames(this.cn);"event Array Object Number Boolean String Function Date Math __assign parseInt parseFloat".split(" ").forEach(function(e){e=
h.indexOf(e);-1<e&&h.splice(e,1)});var n=this.vo("Doc",e);Object.keys(n).forEach(function(e){Object.defineProperty(f.pl,e,Object.getOwnPropertyDescriptor(n,e))});Object.keys(this.pl).forEach(function(e){Object.defineProperty(f.cn,e,Object.getOwnPropertyDescriptor(f.pl,e));e=h.indexOf(e);-1<e&&h.splice(e,1)});this.taa(h)}},ce:function(){ya.prototype.ce.call(this);this.Wm&&this.Wm.parentNode&&this.Wm.parentNode.removeChild(this.Wm)},lr:function(e,f,h){if(!e)Object(da.h)("Script could not be executed");
else if(Na){this.gn(h);var n=Ea;Ea=h;f=this.vo("Event",f);this.pl.event=f;this.cn.event=f;h=Ca;Ca=f;try{e.call(this.pl)}catch(Ia){Object(da.h)("Embedded JS error encountered, "+f.name+" event on "+(f.wfa||f.type),Ia),f=e.bm,e=e.bm.split("\n"),5<e.length&&(f=e.slice(0,5).join("\n")+"\n..."),Object(da.h)(f)}Ca=h;Ea=n}}});Aa.dca=pa;Aa.HZ=function(){return new Ha}})(window)},function(ha,ca,h){h(191)},function(ha,ca,h){function ba(e){"string"!==typeof e&&(e=String(e));if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");
return e.toLowerCase()}function aa(e){"string"!==typeof e&&(e=String(e));return e}function fa(e){var f={next:function(){var f=e.shift();return{done:void 0===f,value:f}}};oa.NP&&(mb(),Kb(),f[Symbol.iterator]=function(){return f});return f}function da(e){this.map={};e instanceof da?e.forEach(function(e,f){this.append(f,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(f){this.append(f,e[f])},this)}function z(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));
e.bodyUsed=!0}function y(e){return new Promise(function(f,h){e.onload=function(){f(e.result)};e.onerror=function(){h(e.error)}})}function f(e){var f=new FileReader,h=y(f);f.readAsArrayBuffer(e);return h}function e(e){e=new Uint8Array(e);for(var f=Array(e.length),h=0;h<e.length;h++)f[h]=String.fromCharCode(e[h]);return f.join("")}function x(e){if(e.slice)return e.slice(0);var f=new Uint8Array(e.byteLength);f.set(new Uint8Array(e));return f.buffer}function r(){this.bodyUsed=!1;this.wK=function(e){(this.Rm=
e)?"string"===typeof e?this.gs=e:oa.blob&&Blob.prototype.isPrototypeOf(e)?this.Qm=e:oa.formData&&FormData.prototype.isPrototypeOf(e)?this.OJ=e:oa.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this.gs=e.toString():oa.arrayBuffer&&oa.blob&&e&&DataView.prototype.isPrototypeOf(e)?(this.bl=x(e.buffer),this.Rm=new Blob([this.bl])):oa.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||la(e))?this.bl=x(e):this.gs=e=Object.prototype.toString.call(e):this.gs="";this.headers.get("content-type")||
("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this.Qm&&this.Qm.type?this.headers.set("content-type",this.Qm.type):oa.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))};oa.blob&&(this.blob=function(){var e=z(this);if(e)return e;if(this.Qm)return Promise.resolve(this.Qm);if(this.bl)return Promise.resolve(new Blob([this.bl]));if(this.OJ)throw Error("could not read FormData body as blob");
return Promise.resolve(new Blob([this.gs]))},this.arrayBuffer=function(){return this.bl?z(this)||Promise.resolve(this.bl):this.blob().then(f)});this.text=function(){var f=z(this);if(f)return f;if(this.Qm){f=this.Qm;var h=new FileReader,n=y(h);h.readAsText(f);return n}if(this.bl)return Promise.resolve(e(this.bl));if(this.OJ)throw Error("could not read FormData body as text");return Promise.resolve(this.gs)};oa.formData&&(this.formData=function(){return this.text().then(n)});this.json=function(){return this.text().then(JSON.parse)};
return this}function w(e,f){f=f||{};var h=f.body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url;this.credentials=e.credentials;f.headers||(this.headers=new da(e.headers));this.method=e.method;this.mode=e.mode;this.signal=e.signal;h||null==e.Rm||(h=e.Rm,e.bodyUsed=!0)}else this.url=String(e);this.credentials=f.credentials||this.credentials||"same-origin";if(f.headers||!this.headers)this.headers=new da(f.headers);e=f.method||this.method||"GET";var n=e.toUpperCase();
this.method=-1<ja.indexOf(n)?n:e;this.mode=f.mode||this.mode||null;this.signal=f.signal||this.signal;this.referrer=null;if(("GET"===this.method||"HEAD"===this.method)&&h)throw new TypeError("Body not allowed for GET or HEAD requests");this.wK(h)}function n(e){var f=new FormData;e.trim().split("&").forEach(function(e){if(e){var h=e.split("=");e=h.shift().replace(/\+/g," ");h=h.join("=").replace(/\+/g," ");f.append(decodeURIComponent(e),decodeURIComponent(h))}});return f}function ea(e){var f=new da;
e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var h=e.split(":");if(e=h.shift().trim())h=h.join(":").trim(),f.append(e,h)});return f}function ia(e,f){f||(f={});this.type="default";this.status=void 0===f.status?200:f.status;this.ok=200<=this.status&&300>this.status;this.statusText="statusText"in f?f.statusText:"OK";this.headers=new da(f.headers);this.url=f.url||"";this.wK(e)}function ka(e,f){return new Promise(function(h,n){function r(){y.abort()}var x=new w(e,f);if(x.signal&&x.signal.aborted)return n(new ra("Aborted",
"AbortError"));var y=new XMLHttpRequest;y.onload=function(){var e={status:y.status,statusText:y.statusText,headers:ea(y.getAllResponseHeaders()||"")};e.url="responseURL"in y?y.responseURL:e.headers.get("X-Request-URL");h(new ia("response"in y?y.response:y.responseText,e))};y.onerror=function(){n(new TypeError("Network request failed"))};y.ontimeout=function(){n(new TypeError("Network request failed"))};y.onabort=function(){n(new ra("Aborted","AbortError"))};y.open(x.method,x.url,!0);"include"===x.credentials?
y.withCredentials=!0:"omit"===x.credentials&&(y.withCredentials=!1);"responseType"in y&&oa.blob&&(y.responseType="blob");x.headers.forEach(function(e,f){y.setRequestHeader(f,e)});x.signal&&(x.signal.addEventListener("abort",r),y.onreadystatechange=function(){4===y.readyState&&x.signal.removeEventListener("abort",r)});y.send("undefined"===typeof x.Rm?null:x.Rm)})}h.r(ca);h.d(ca,"Headers",function(){return da});h.d(ca,"Request",function(){return w});h.d(ca,"Response",function(){return ia});h.d(ca,"DOMException",
function(){return ra});h.d(ca,"fetch",function(){return ka});mb();var oa={searchParams:"URLSearchParams"in self,NP:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&!0,formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};if(oa.arrayBuffer)var ma="[object Int8Array];[object Uint8Array];[object Uint8ClampedArray];[object Int16Array];[object Uint16Array];[object Int32Array];[object Uint32Array];[object Float32Array];[object Float64Array]".split(";"),la=ArrayBuffer.isView||
function(e){return e&&-1<ma.indexOf(Object.prototype.toString.call(e))};da.prototype.append=function(e,f){e=ba(e);f=aa(f);var h=this.map[e];this.map[e]=h?h+", "+f:f};da.prototype["delete"]=function(e){delete this.map[ba(e)]};da.prototype.get=function(e){e=ba(e);return this.has(e)?this.map[e]:null};da.prototype.has=function(e){return this.map.hasOwnProperty(ba(e))};da.prototype.set=function(e,f){this.map[ba(e)]=aa(f)};da.prototype.forEach=function(e,f){for(var h in this.map)this.map.hasOwnProperty(h)&&
e.call(f,this.map[h],h,this)};da.prototype.keys=function(){var e=[];this.forEach(function(f,h){e.push(h)});return fa(e)};da.prototype.values=function(){var e=[];this.forEach(function(f){e.push(f)});return fa(e)};da.prototype.entries=function(){var e=[];this.forEach(function(f,h){e.push([h,f])});return fa(e)};oa.NP&&(mb(),Kb(),da.prototype[Symbol.iterator]=da.prototype.entries);var ja="DELETE GET HEAD OPTIONS POST PUT".split(" ");w.prototype.clone=function(){return new w(this,{body:this.Rm})};r.call(w.prototype);
r.call(ia.prototype);ia.prototype.clone=function(){return new ia(this.Rm,{status:this.status,statusText:this.statusText,headers:new da(this.headers),url:this.url})};ia.error=function(){var e=new ia(null,{status:0,statusText:""});e.type="error";return e};var ua=[301,302,303,307,308];ia.redirect=function(e,f){if(-1===ua.indexOf(f))throw new RangeError("Invalid status code");return new ia(null,{status:f,headers:{location:e}})};var ra=self.DOMException;try{new ra}catch(na){ra=function(e,f){this.message=
e;this.name=f;this.stack=Error(e).stack},ra.prototype=Object.create(Error.prototype),ra.prototype.constructor=ra}ka.afa=!0;self.fetch||(self.fetch=ka,self.Headers=da,self.Request=w,self.Response=ia)}]);}).call(this || window)
