ngx-extended-pdf-viewer 28.0.0 → 28.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{pdf.sandbox-6.0.1161-es5.mjs → pdf.sandbox-6.0.1162-es5.mjs} +2 -2
- package/{bleeding-edge/pdf.sandbox-6.0.1163.min.mjs → assets/pdf.sandbox-6.0.1162.min.mjs} +2 -2
- package/{bleeding-edge/pdf.sandbox-6.0.1163-es5.mjs → assets/pdf.sandbox-6.0.1162.mjs} +2 -2
- package/{bleeding-edge/pdf.worker-6.0.1163-es5.mjs → assets/pdf.worker-6.0.1162-es5.mjs} +3 -3
- package/assets/{pdf.worker-6.0.1161.min.mjs → pdf.worker-6.0.1162.min.mjs} +3 -3
- package/assets/{pdf.worker-6.0.1161.mjs → pdf.worker-6.0.1162.mjs} +3 -3
- package/{bleeding-edge/viewer-6.0.1163-es5.mjs → assets/viewer-6.0.1162-es5.mjs} +9 -9
- package/assets/{viewer-6.0.1161.min.mjs → viewer-6.0.1162.min.mjs} +5 -5
- package/assets/{viewer-6.0.1161.mjs → viewer-6.0.1162.mjs} +9 -9
- package/{assets/pdf.sandbox-6.0.1161.mjs → bleeding-edge/pdf.sandbox-6.0.1164-es5.mjs} +2 -2
- package/{assets/pdf.sandbox-6.0.1161.min.mjs → bleeding-edge/pdf.sandbox-6.0.1164.min.mjs} +2 -2
- package/bleeding-edge/{pdf.sandbox-6.0.1163.mjs → pdf.sandbox-6.0.1164.mjs} +2 -2
- package/{assets/pdf.worker-6.0.1161-es5.mjs → bleeding-edge/pdf.worker-6.0.1164-es5.mjs} +3 -3
- package/bleeding-edge/{pdf.worker-6.0.1163.min.mjs → pdf.worker-6.0.1164.min.mjs} +3 -3
- package/bleeding-edge/{pdf.worker-6.0.1163.mjs → pdf.worker-6.0.1164.mjs} +3 -3
- package/{assets/viewer-6.0.1161-es5.mjs → bleeding-edge/viewer-6.0.1164-es5.mjs} +9 -9
- package/bleeding-edge/{viewer-6.0.1163.min.mjs → viewer-6.0.1164.min.mjs} +5 -5
- package/bleeding-edge/{viewer-6.0.1163.mjs → viewer-6.0.1164.mjs} +9 -9
- package/changelog.md +1 -0
- package/fesm2022/ngx-extended-pdf-viewer.mjs +6 -6
- package/fesm2022/ngx-extended-pdf-viewer.mjs.map +1 -1
- package/lib/options/pdf-default-options.d.ts +2 -2
- package/package.json +1 -1
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
* JavaScript code in this page
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
|
-
* pdfjsVersion = 6.0.
|
|
24
|
-
* pdfjsBuild =
|
|
23
|
+
* pdfjsVersion = 6.0.1162
|
|
24
|
+
* pdfjsBuild = 3fb0bcd55
|
|
25
25
|
*/var t={9306(t,e,r){var n=r(4901),i=r(6823),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},3506(t,e,r){var n=r(3925),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},8551(t,e,r){var n=r(34),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},9617(t,e,r){var n=r(5397),i=r(5610),o=r(6198),createMethod=function(t){return function(e,r,a){var s=n(e),u=o(s);if(0===u)return!t&&-1;var l,c=i(a,u);if(t&&r!=r){for(;u>c;)if((l=s[c++])!=l)return!0}else for(;u>c;c++)if((t||c in s)&&s[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},4527(t,e,r){var n=r(3724),i=r(4376),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},7680(t,e,r){var n=r(9504);t.exports=n([].slice)},2195(t,e,r){var n=r(9504),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},6955(t,e,r){var n=r(2140),i=r(4901),o=r(2195),a=r(8227)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},7740(t,e,r){var n=r(9297),i=r(5031),o=r(7347),a=r(4913);t.exports=function(t,e,r){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var h=s[c];n(t,h)||r&&n(r,h)||u(t,h,l(e,h))}}},6699(t,e,r){var n=r(3724),i=r(4913),o=r(6980);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){t[e]=r;return t}},6980(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6840(t,e,r){var n=r(4901),i=r(4913),o=r(283),a=r(9433);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:e;n(r)&&o(r,l,s);if(s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},9433(t,e,r){var n=r(4576),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},3724(t,e,r){var n=r(9039);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055(t,e,r){var n=r(4576),i=r(34),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},6837(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw new e("Maximum allowed index exceeded");return t}},8727(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839(t,e,r){var n=r(4576).navigator,i=n&&n.userAgent;t.exports=i?String(i):""},9519(t,e,r){var n,i,o=r(4576),a=r(2839),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1]));!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]);t.exports=i},6193(t,e,r){var n=r(9504),i=Error,o=n("".replace),a=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);t.exports=function(t,e){if(u&&"string"==typeof t&&!i.prepareStackTrace)for(;e--;)t=o(t,s,"");return t}},747(t,e,r){var n=r(6699),i=r(6193),o=r(4659),a=Error.captureStackTrace;t.exports=function(t,e,r,s){o&&(a?a(t,e):n(t,"stack",i(r,s)))}},4659(t,e,r){var n=r(9039),i=r(6980);t.exports=!n(function(){var t=new Error("a");if(!("stack"in t))return!0;Object.defineProperty(t,"stack",i(1,7));return 7!==t.stack})},6518(t,e,r){var n=r(4576),i=r(7347).f,o=r(6699),a=r(6840),s=r(9433),u=r(7740),l=r(2796);t.exports=function(t,e){var r,c,h,p,d,f=t.target,m=t.global,g=t.stat;if(r=m?n:g?n[f]||s(f,{}):n[f]&&n[f].prototype)for(c in e){p=e[c];h=t.dontCallGetSet?(d=i(r,c))&&d.value:r[c];if(!l(m?c:f+(g?".":"#")+c,t.forced)&&void 0!==h){if(typeof p==typeof h)continue;u(p,h)}(t.sham||h&&h.sham)&&o(p,"sham",!0);a(r,c,p,t)}}},9039(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},8745(t,e,r){var n=r(616),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},616(t,e,r){var n=r(9039);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},9565(t,e,r){var n=r(616),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},350(t,e,r){var n=r(3724),i=r(9297),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function something(){}.name,l=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},6706(t,e,r){var n=r(9504),i=r(9306);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},9504(t,e,r){var n=r(616),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},7751(t,e,r){var n=r(4576),i=r(4901);t.exports=function(t,e){return arguments.length<2?(r=n[t],i(r)?r:void 0):n[t]&&n[t][e];var r}},5966(t,e,r){var n=r(9306),i=r(4117);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},4576(t){var check=function(t){return t&&t.Math===Math&&t};t.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297(t,e,r){var n=r(9504),i=r(8981),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,e){return o(i(t),e)}},421(t){t.exports={}},5917(t,e,r){var n=r(3724),i=r(9039),o=r(4055);t.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},7055(t,e,r){var n=r(9504),i=r(9039),o=r(2195),a=Object,s=n("".split);t.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===o(t)?s(t,""):a(t)}:a},3167(t,e,r){var n=r(4901),i=r(34),o=r(2967);t.exports=function(t,e,r){var a,s;o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s);return t}},3706(t,e,r){var n=r(9504),i=r(4901),o=r(7629),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)});t.exports=o.inspectSource},7584(t,e,r){var n=r(34),i=r(6699);t.exports=function(t,e){n(e)&&"cause"in e&&i(t,"cause",e.cause)}},1181(t,e,r){var n,i,o,a=r(8622),s=r(4576),u=r(34),l=r(6699),c=r(9297),h=r(7629),p=r(6119),d=r(421),f="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||h.state){var _=h.state||(h.state=new g);_.get=_.get;_.has=_.has;_.set=_.set;n=function(t,e){if(_.has(t))throw new m(f);e.facade=t;_.set(t,e);return e};i=function(t){return _.get(t)||{}};o=function(t){return _.has(t)}}else{var y=p("state");d[y]=!0;n=function(t,e){if(c(t,y))throw new m(f);e.facade=t;l(t,y,e);return e};i=function(t){return c(t,y)?t[y]:{}};o=function(t){return c(t,y)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return r}}}},4376(t,e,r){var n=r(2195);t.exports=Array.isArray||function isArray(t){return"Array"===n(t)}},4901(t){var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796(t,e,r){var n=r(9039),i=r(4901),o=/#|\.prototype\./,isForced=function(t,e){var r=s[a(t)];return r===l||r!==u&&(i(e)?n(e):!!e)},a=isForced.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=isForced.data={},u=isForced.NATIVE="N",l=isForced.POLYFILL="P";t.exports=isForced},4117(t){t.exports=function(t){return null==t}},34(t,e,r){var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},3925(t,e,r){var n=r(34);t.exports=function(t){return n(t)||null===t}},6395(t){t.exports=!1},5810(t,e,r){var n=r(34),i=r(1181).get;t.exports=function isRawJSON(t){if(!n(t))return!1;var e=i(t);return!!e&&"RawJSON"===e.type}},757(t,e,r){var n=r(7751),i=r(4901),o=r(1625),a=r(7040),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},6198(t,e,r){var n=r(8014);t.exports=function(t){return n(t.length)}},283(t,e,r){var n=r(9504),i=r(9039),o=r(4901),a=r(9297),s=r(3724),u=r(350).CONFIGURABLE,l=r(3706),c=r(1181),h=c.enforce,p=c.get,d=String,f=Object.defineProperty,m=n("".slice),g=n("".replace),_=n([].join),y=s&&!i(function(){return 8!==f(function(){},"length",{value:8}).length}),v=String(String).split("String"),b=t.exports=function(t,e,r){"Symbol("===m(d(e),0,7)&&(e="["+g(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]");r&&r.getter&&(e="get "+e);r&&r.setter&&(e="set "+e);(!a(t,"name")||u&&t.name!==e)&&(s?f(t,"name",{value:e,configurable:!0}):t.name=e);y&&r&&a(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=h(t);a(n,"source")||(n.source=_(v,"string"==typeof e?e:""));return t};Function.prototype.toString=b(function toString(){return o(this)&&p(this).source||l(this)},"toString")},2248(t,e,r){var n=r(9504),i=Map.prototype;t.exports={Map,set:n(i.set),get:n(i.get),has:n(i.has),remove:n(i.delete),proto:i}},741(t){var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function trunc(t){var n=+t;return(n>0?r:e)(n)}},7819(t,e,r){var n=r(9039);t.exports=!n(function(){var t="9007199254740993",e=JSON.rawJSON(t);return!JSON.isRawJSON(e)||JSON.stringify(e)!==t})},2603(t,e,r){var n=r(655);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},4913(t,e,r){var n=r(3724),i=r(5917),o=r(8686),a=r(8551),s=r(6969),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",p="configurable",d="writable";e.f=n?o?function defineProperty(t,e,r){a(t);e=s(e);a(r);if("function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=c(t,e);if(n&&n[d]){t[e]=r.value;r={configurable:p in r?r[p]:n[p],enumerable:h in r?r[h]:n[h],writable:!1}}}return l(t,e,r)}:l:function defineProperty(t,e,r){a(t);e=s(e);a(r);if(i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");"value"in r&&(t[e]=r.value);return t}},7347(t,e,r){var n=r(3724),i=r(9565),o=r(8773),a=r(6980),s=r(5397),u=r(6969),l=r(9297),c=r(5917),h=Object.getOwnPropertyDescriptor;e.f=n?h:function getOwnPropertyDescriptor(t,e){t=s(t);e=u(e);if(c)try{return h(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},8480(t,e,r){var n=r(1828),i=r(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return n(t,i)}},3717(t,e){e.f=Object.getOwnPropertySymbols},1625(t,e,r){var n=r(9504);t.exports=n({}.isPrototypeOf)},1828(t,e,r){var n=r(9504),i=r(9297),o=r(5397),a=r(9617).indexOf,s=r(421),u=n([].push);t.exports=function(t,e){var r,n=o(t),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;e.length>l;)i(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},8773(t,e){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function propertyIsEnumerable(t){var e=n(this,t);return!!e&&e.enumerable}:r},2967(t,e,r){var n=r(6706),i=r(34),o=r(7750),a=r(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]);e=r instanceof Array}catch(t){}return function setPrototypeOf(r,n){o(r);a(n);if(!i(r))return r;e?t(r,n):r.__proto__=n;return r}}():void 0)},4270(t,e,r){var n=r(9565),i=r(4901),o=r(34),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},5031(t,e,r){var n=r(7751),i=r(9504),o=r(8480),a=r(3717),s=r(8551),u=i([].concat);t.exports=n("Reflect","ownKeys")||function ownKeys(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},8235(t,e,r){var n=r(9504),i=r(9297),o=SyntaxError,a=parseInt,s=String.fromCharCode,u=n("".charAt),l=n("".slice),c=n(/./.exec),h={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},p=/^[\da-f]{4}$/i,d=/^[\u0000-\u001F]$/;t.exports=function(t,e){for(var r=!0,n="";e<t.length;){var f=u(t,e);if("\\"===f){var m=l(t,e,e+2);if(i(h,m)){n+=h[m];e+=2}else{if("\\u"!==m)throw new o('Unknown escape sequence: "'+m+'"');var g=l(t,e+=2,e+4);if(!c(p,g))throw new o("Bad Unicode escape at: "+e);n+=s(a(g,16));e+=4}}else{if('"'===f){r=!1;e++;break}if(c(d,f))throw new o("Bad control character in string literal at: "+e);n+=f;e++}}if(r)throw new o("Unterminated string at: "+e);return{value:n,end:e}}},1056(t,e,r){var n=r(4913).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},7750(t,e,r){var n=r(4117),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},6119(t,e,r){var n=r(5745),i=r(3392),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},7629(t,e,r){var n=r(6395),i=r(4576),o=r(9433),a="__core-js_shared__",s=t.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745(t,e,r){var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},4495(t,e,r){var n=r(9519),i=r(9039),o=r(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},5610(t,e,r){var n=r(1291),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},5397(t,e,r){var n=r(7055),i=r(7750);t.exports=function(t){return n(i(t))}},1291(t,e,r){var n=r(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8014(t,e,r){var n=r(1291),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},8981(t,e,r){var n=r(7750),i=Object;t.exports=function(t){return i(n(t))}},2777(t,e,r){var n=r(9565),i=r(34),o=r(757),a=r(5966),s=r(4270),u=r(8227),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,c);if(u){void 0===e&&(e="default");r=n(u,t,e);if(!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}void 0===e&&(e="number");return s(t,e)}},6969(t,e,r){var n=r(2777),i=r(757);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},2140(t,e,r){var n={};n[r(8227)("toStringTag")]="z";t.exports="[object z]"===String(n)},655(t,e,r){var n=r(6955),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},6823(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392(t,e,r){var n=r(9504),i=0,o=Math.random(),a=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},7040(t,e,r){var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686(t,e,r){var n=r(3724),i=r(9039);t.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8622(t,e,r){var n=r(4576),i=r(4901),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},8227(t,e,r){var n=r(4576),i=r(5745),o=r(9297),a=r(3392),s=r(4495),u=r(7040),l=n.Symbol,c=i("wks"),h=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){o(c,t)||(c[t]=s&&o(l,t)?l[t]:h("Symbol."+t));return c[t]}},4601(t,e,r){var n=r(7751),i=r(9297),o=r(6699),a=r(1625),s=r(2967),u=r(7740),l=r(1056),c=r(3167),h=r(2603),p=r(7584),d=r(747),f=r(3724),m=r(6395);t.exports=function(t,e,r,g){var _="stackTraceLimit",y=g?2:1,v=t.split("."),b=v[v.length-1],w=n.apply(null,v);if(w){var x=w.prototype;!m&&i(x,"cause")&&delete x.cause;if(!r)return w;var S=n("Error"),A=e(function(t,e){var r=h(g?e:t,void 0),n=g?new w(t):new w;void 0!==r&&o(n,"message",r);d(n,A,n.stack,2);this&&a(x,this)&&c(n,this,A);arguments.length>y&&p(n,arguments[y]);return n});A.prototype=x;if("Error"!==b)s?s(A,S):u(A,S,{name:!0});else if(f&&_ in w){l(A,w,_);l(A,w,"prepareStackTrace")}u(A,w);if(!m)try{x.name!==b&&o(x,"name",b);x.constructor=A}catch(t){}return A}}},4114(t,e,r){var n=r(6518),i=r(8981),o=r(6198),a=r(4527),s=r(6837);n({target:"Array",proto:!0,arity:1,forced:r(9039)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function push(t){var e=i(this),r=o(e),n=arguments.length;s(r+n);for(var u=0;u<n;u++){e[r]=arguments[u];r++}a(e,r);return r}})},6280(t,e,r){var n=r(6518),i=r(4576),o=r(8745),a=r(4601),s="WebAssembly",u=i[s],l=7!==new Error("e",{cause:7}).cause,exportGlobalErrorCauseWrapper=function(t,e){var r={};r[t]=a(t,e,l);n({global:!0,constructor:!0,arity:1,forced:l},r)},exportWebAssemblyErrorCauseWrapper=function(t,e){if(u&&u[t]){var r={};r[t]=a(s+"."+t,e,l);n({target:s,stat:!0,constructor:!0,arity:1,forced:l},r)}};exportGlobalErrorCauseWrapper("Error",function(t){return function Error(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("EvalError",function(t){return function EvalError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("RangeError",function(t){return function RangeError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("ReferenceError",function(t){return function ReferenceError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("SyntaxError",function(t){return function SyntaxError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("TypeError",function(t){return function TypeError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("URIError",function(t){return function URIError(e){return o(t,this,arguments)}});exportWebAssemblyErrorCauseWrapper("CompileError",function(t){return function CompileError(e){return o(t,this,arguments)}});exportWebAssemblyErrorCauseWrapper("LinkError",function(t){return function LinkError(e){return o(t,this,arguments)}});exportWebAssemblyErrorCauseWrapper("RuntimeError",function(t){return function RuntimeError(e){return o(t,this,arguments)}})},3110(t,e,r){var n=r(6518),i=r(7751),o=r(8745),a=r(9565),s=r(9504),u=r(9039),l=r(4376),c=r(4901),h=r(5810),p=r(757),d=r(2195),f=r(655),m=r(7680),g=r(8235),_=r(3392),y=r(4495),v=r(7819),b=String,w=i("JSON","stringify"),x=s(/./.exec),S=s("".charAt),A=s("".charCodeAt),P=s("".replace),E=s("".slice),I=s([].push),O=s(1.1.toString),C=/[\uD800-\uDFFF]/g,T=/^[\uD800-\uDBFF]$/,j=/^[\uDC00-\uDFFF]$/,F=_(),k=F.length,M=!y||u(function(){var t=i("Symbol")("stringify detection");return"[null]"!==w([t])||"{}"!==w({a:t})||"{}"!==w(Object(t))}),D=u(function(){return'"\\udf06\\ud834"'!==w("\udf06\ud834")||'"\\udead"'!==w("\udead")}),R=M?function(t,e){var r=m(arguments),n=getReplacerFunction(e);if(c(n)||void 0!==t&&!p(t)){r[1]=function(t,e){c(n)&&(e=a(n,this,b(t),e));if(!p(e))return e};return o(w,null,r)}}:w,fixIllFormedJSON=function(t,e,r){var n=S(r,e-1),i=S(r,e+1);return x(T,t)&&!x(j,i)||x(j,t)&&!x(T,n)?"\\u"+O(A(t,0),16):t},getReplacerFunction=function(t){if(c(t))return t;if(l(t)){for(var e=t.length,r=[],n=0;n<e;n++){var i=t[n];"string"==typeof i?I(r,i):"number"!=typeof i&&"Number"!==d(i)&&"String"!==d(i)||I(r,f(i))}var o=r.length,a=!0;return function(t,e){if(a){a=!1;return e}if(l(this))return e;for(var n=0;n<o;n++)if(r[n]===t)return e}}};w&&n({target:"JSON",stat:!0,arity:3,forced:M||D||!v},{stringify:function stringify(t,e,r){var n=getReplacerFunction(e),i=[],o=R(t,function(t,e){var r=c(n)?a(n,this,b(t),e):e;return!v&&h(r)?F+(I(i,r.rawJSON)-1):r},r);if("string"!=typeof o)return o;D&&(o=P(o,C,fixIllFormedJSON));if(v)return o;for(var s="",u=o.length,l=0;l<u;l++){var p=S(o,l);if('"'===p){var d=g(o,++l).end-1,f=E(o,l,d);s+=E(f,0,k)===F?i[E(f,k)]:'"'+f+'"';l=d}else s+=p}return s}})},2731(t,e,r){var n=r(6518),i=r(9306),o=r(2248),a=r(6395),s=o.get,u=o.has,l=o.set;n({target:"Map",proto:!0,real:!0,forced:a},{getOrInsertComputed:function getOrInsertComputed(t,e){var r=u(this,t);i(e);if(r)return s(this,t);0===t&&1/t==-1/0&&(t=0);var n=e(t);l(this,t,n);return n}})},5367(t,e,r){var n=r(6518),i=r(2248),o=r(6395),a=i.get,s=i.has,u=i.set;n({target:"Map",proto:!0,real:!0,forced:o},{getOrInsert:function getOrInsert(t,e){if(s(this,t))return a(this,t);u(this,t,e);return e}})}},e={};function __webpack_require__(r){var n=e[r];if(void 0!==n)return n.exports;var i=e[r]={exports:{}};t[r].call(i.exports,i,i.exports,__webpack_require__);return i.exports}__webpack_require__.d=(t,e)=>{for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})};__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);__webpack_require__(6280),__webpack_require__(4114),__webpack_require__(3110);class NgxConsole{static log(t,e){NgxConsole.ngxConsoleFilter("log",t)&&(void 0!==e?console.log("%s",t,e):console.log(t))}static error(t,e){NgxConsole.ngxConsoleFilter("error",t)&&(void 0!==e?console.error("%s",t,e):console.error(t))}static warn(t,e){NgxConsole.ngxConsoleFilter("warn",t)&&(void 0!==e?console.warn("%s",t,e):console.warn(t))}static debug(t,e){NgxConsole.ngxConsoleFilter("debug",t)&&(void 0!==e?console.warn("%s",t,e):console.warn(t))}get ngxConsoleFilter(){return NgxConsole.ngxConsoleFilter}set ngxConsoleFilter(t){NgxConsole.ngxConsoleFilter=t}reset(){NgxConsole.ngxConsoleFilter=(t,e)=>!0}}!function _defineProperty(t,e,r){return(e=function _toPropertyKey(t){var e=function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}(NgxConsole,"ngxConsoleFilter",(t,e)=>!0);__webpack_require__(5367),__webpack_require__(2731);class SandboxSupportBase{constructor(t){this.win=t;this.timeoutIds=new Map;this.commFun=null}destroy(){this.commFun=null;for(const t of this.timeoutIds.values())this.win.clearTimeout(t);this.timeoutIds=null}exportValueToSandbox(t){throw new Error("Not implemented")}importValueFromSandbox(t){throw new Error("Not implemented")}createErrorForSandbox(t){throw new Error("Not implemented")}callSandboxFunction(t,e){if(this.commFun)try{e=this.exportValueToSandbox(e);this.commFun(t,e)}catch(t){this.win.console.error(t)}}createSandboxExternals(){const t={setTimeout:(t,e)=>{if("number"!=typeof t||"number"!=typeof e)return;0===t&&this.win.clearTimeout(this.timeoutIds.get(t));const r=this.win.setTimeout(()=>{this.timeoutIds.delete(t);this.callSandboxFunction("timeoutCb",{callbackId:t,interval:!1})},e);this.timeoutIds.set(t,r)},clearTimeout:t=>{this.win.clearTimeout(this.timeoutIds.get(t));this.timeoutIds.delete(t)},setInterval:(t,e)=>{if("number"!=typeof t||"number"!=typeof e)return;const r=this.win.setInterval(()=>{this.callSandboxFunction("timeoutCb",{callbackId:t,interval:!0})},e);this.timeoutIds.set(t,r)},clearInterval:t=>{this.win.clearInterval(this.timeoutIds.get(t));this.timeoutIds.delete(t)},alert:t=>{"string"==typeof t&&this.win.alert(t)},confirm:t=>"string"==typeof t&&this.win.confirm(t),prompt:(t,e)=>"string"!=typeof t||"string"!=typeof e?null:this.win.prompt(t,e),parseURL:t=>{const e=new this.win.URL(t);return Object.fromEntries(["hash","host","hostname","href","origin","password","pathname","port","protocol","search","searchParams","username"].map(t=>[t,e[t].toString()]))},send:t=>{if(!t)return;const e=new this.win.CustomEvent("updatefromsandbox",{detail:this.importValueFromSandbox(t)});this.win.dispatchEvent(e)}};Object.setPrototypeOf(t,null);return(e,r)=>{try{const n=t[e](...r);return this.exportValueToSandbox(n)}catch(t){throw this.createErrorForSandbox(t?.toString()??"")}}}}class SandboxSupport extends SandboxSupportBase{exportValueToSandbox(t){return JSON.stringify(t)}importValueFromSandbox(t){return t}createErrorForSandbox(t){return new Error(t)}}class Sandbox{constructor(t,e){this.support=new SandboxSupport(t,this);e.externalCall=this.support.createSandboxExternals();this._module=e;this._alertOnError=0}create(t){const e=['var t={9306(t,e,r){var n=r(4901),i=r(6823),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},3506(t,e,r){var n=r(3925),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can\'t set "+i(t)+" as a prototype")}},7080(t,e,r){var n=r(4402).has;t.exports=function(t){n(t);return t}},4328(t,e,r){var n=r(4995),i=new n.WeakMap,o=n.set,s=n.remove;t.exports=function(t){o(i,t,1);s(i,t);return t}},6557(t,e,r){var n=r(4995).has;t.exports=function(t){n(t);return t}},6469(t,e,r){var n=r(8227),i=r(2360),o=r(4913).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:i(null)});t.exports=function(t){a[s][t]=!0}},679(t,e,r){var n=r(1625),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},8551(t,e,r){var n=r(34),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},9617(t,e,r){var n=r(5397),i=r(5610),o=r(6198),createMethod=function(t){return function(e,r,s){var a=n(e),l=o(a);if(0===l)return!t&&-1;var u,c=i(s,l);if(t&&r!=r){for(;l>c;)if((u=a[c++])!=u)return!0}else for(;l>c;c++)if((t||c in a)&&a[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},4527(t,e,r){var n=r(3724),i=r(4376),o=TypeError,s=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(i(t)&&!s(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},7680(t,e,r){var n=r(9504);t.exports=n([].slice)},6319(t,e,r){var n=r(8551),i=r(9539);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},2195(t,e,r){var n=r(9504),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},6955(t,e,r){var n=r(2140),i=r(4901),o=r(2195),s=r(8227)("toStringTag"),a=Object,l="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:l?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},7740(t,e,r){var n=r(9297),i=r(5031),o=r(7347),s=r(4913);t.exports=function(t,e,r){for(var a=i(e),l=s.f,u=o.f,c=0;c<a.length;c++){var h=a[c];n(t,h)||r&&n(r,h)||l(t,h,u(e,h))}}},2211(t,e,r){var n=r(9039);t.exports=!n(function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype})},2529(t){t.exports=function(t,e){return{value:t,done:e}}},6699(t,e,r){var n=r(3724),i=r(4913),o=r(6980);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){t[e]=r;return t}},6980(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2278(t,e,r){var n=r(3724),i=r(4913),o=r(6980);t.exports=function(t,e,r){n?i.f(t,e,o(0,r)):t[e]=r}},2106(t,e,r){var n=r(283),i=r(4913);t.exports=function(t,e,r){r.get&&n(r.get,e,{getter:!0});r.set&&n(r.set,e,{setter:!0});return i.f(t,e,r)}},6840(t,e,r){var n=r(4901),i=r(4913),o=r(283),s=r(9433);t.exports=function(t,e,r,a){a||(a={});var l=a.enumerable,u=void 0!==a.name?a.name:e;n(r)&&o(r,u,a);if(a.global)l?t[e]=r:s(e,r);else{try{a.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},6279(t,e,r){var n=r(6840);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},9433(t,e,r){var n=r(4576),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},3724(t,e,r){var n=r(9039);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055(t,e,r){var n=r(4576),i=r(34),o=n.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},6837(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw new e("Maximum allowed index exceeded");return t}},8727(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839(t,e,r){var n=r(4576).navigator,i=n&&n.userAgent;t.exports=i?String(i):""},9519(t,e,r){var n,i,o=r(4576),s=r(2839),a=o.process,l=o.Deno,u=a&&a.versions||l&&l.version,c=u&&u.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1]));!i&&s&&(!(n=s.match(/Edge\\/(\\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\\/(\\d+)/))&&(i=+n[1]);t.exports=i},6193(t,e,r){var n=r(9504),i=Error,o=n("".replace),s=String(new i("zxcasd").stack),a=/\\n\\s*at [^:]*:[^\\n]*/,l=a.test(s);t.exports=function(t,e){if(l&&"string"==typeof t&&!i.prepareStackTrace)for(;e--;)t=o(t,a,"");return t}},747(t,e,r){var n=r(6699),i=r(6193),o=r(4659),s=Error.captureStackTrace;t.exports=function(t,e,r,a){o&&(s?s(t,e):n(t,"stack",i(r,a)))}},4659(t,e,r){var n=r(9039),i=r(6980);t.exports=!n(function(){var t=new Error("a");if(!("stack"in t))return!0;Object.defineProperty(t,"stack",i(1,7));return 7!==t.stack})},6518(t,e,r){var n=r(4576),i=r(7347).f,o=r(6699),s=r(6840),a=r(9433),l=r(7740),u=r(2796);t.exports=function(t,e){var r,c,h,d,p,f=t.target,_=t.global,m=t.stat;if(r=_?n:m?n[f]||a(f,{}):n[f]&&n[f].prototype)for(c in e){d=e[c];h=t.dontCallGetSet?(p=i(r,c))&&p.value:r[c];if(!u(_?c:f+(m?".":"#")+c,t.forced)&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0);s(r,c,d,t)}}},9039(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},8745(t,e,r){var n=r(616),i=Function.prototype,o=i.apply,s=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},6080(t,e,r){var n=r(7476),i=r(9306),o=r(616),s=n(n.bind);t.exports=function(t,e){i(t);return void 0===e?t:o?s(t,e):function(){return t.apply(e,arguments)}}},616(t,e,r){var n=r(9039);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},9565(t,e,r){var n=r(616),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},350(t,e,r){var n=r(3724),i=r(9297),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),l=a&&"something"===function something(){}.name,u=a&&(!n||n&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:l,CONFIGURABLE:u}},6706(t,e,r){var n=r(9504),i=r(9306);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},7476(t,e,r){var n=r(2195),i=r(9504);t.exports=function(t){if("Function"===n(t))return i(t)}},9504(t,e,r){var n=r(616),i=Function.prototype,o=i.call,s=n&&i.bind.bind(o,o);t.exports=n?s:function(t){return function(){return o.apply(t,arguments)}}},7751(t,e,r){var n=r(4576),i=r(4901);t.exports=function(t,e){return arguments.length<2?(r=n[t],i(r)?r:void 0):n[t]&&n[t][e];var r}},1767(t){t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},851(t,e,r){var n=r(6955),i=r(5966),o=r(4117),s=r(6269),a=r(8227)("iterator");t.exports=function(t){if(!o(t))return i(t,a)||i(t,"@@iterator")||s[n(t)]}},81(t,e,r){var n=r(9565),i=r(9306),o=r(8551),s=r(6823),a=r(851),l=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(i(r))return o(n(r,t));throw new l(s(t)+" is not iterable")}},5966(t,e,r){var n=r(9306),i=r(4117);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},3789(t,e,r){var n=r(9306),i=r(8551),o=r(9565),s=r(1291),a=r(1767),l="Invalid size",u=RangeError,c=TypeError,h=Math.max,SetRecord=function(t,e){this.set=t;this.size=h(e,0);this.has=n(t.has);this.keys=n(t.keys)};SetRecord.prototype={getIterator:function(){return a(i(o(this.keys,this.set)))},includes:function(t){return o(this.has,this.set,t)}};t.exports=function(t){i(t);var e=+t.size;if(e!=e)throw new c(l);var r=s(e);if(r<0)throw new u(l);return new SetRecord(t,r)}},4576(t){var check=function(t){return t&&t.Math===Math&&t};t.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297(t,e,r){var n=r(9504),i=r(8981),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,e){return o(i(t),e)}},421(t){t.exports={}},397(t,e,r){var n=r(7751);t.exports=n("document","documentElement")},5917(t,e,r){var n=r(3724),i=r(9039),o=r(4055);t.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},7055(t,e,r){var n=r(9504),i=r(9039),o=r(2195),s=Object,a=n("".split);t.exports=i(function(){return!s("z").propertyIsEnumerable(0)})?function(t){return"String"===o(t)?a(t,""):s(t)}:s},3167(t,e,r){var n=r(4901),i=r(34),o=r(2967);t.exports=function(t,e,r){var s,a;o&&n(s=e.constructor)&&s!==r&&i(a=s.prototype)&&a!==r.prototype&&o(t,a);return t}},3706(t,e,r){var n=r(9504),i=r(4901),o=r(7629),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return s(t)});t.exports=o.inspectSource},7584(t,e,r){var n=r(34),i=r(6699);t.exports=function(t,e){n(e)&&"cause"in e&&i(t,"cause",e.cause)}},1181(t,e,r){var n,i,o,s=r(8622),a=r(4576),l=r(34),u=r(6699),c=r(9297),h=r(7629),d=r(6119),p=r(421),f="Object already initialized",_=a.TypeError,m=a.WeakMap;if(s||h.state){var g=h.state||(h.state=new m);g.get=g.get;g.has=g.has;g.set=g.set;n=function(t,e){if(g.has(t))throw new _(f);e.facade=t;g.set(t,e);return e};i=function(t){return g.get(t)||{}};o=function(t){return g.has(t)}}else{var y=d("state");p[y]=!0;n=function(t,e){if(c(t,y))throw new _(f);e.facade=t;u(t,y,e);return e};i=function(t){return c(t,y)?t[y]:{}};o=function(t){return c(t,y)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!l(e)||(r=i(e)).type!==t)throw new _("Incompatible receiver, "+t+" required");return r}}}},4209(t,e,r){var n=r(8227),i=r(6269),o=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[o]===t)}},4376(t,e,r){var n=r(2195);t.exports=Array.isArray||function isArray(t){return"Array"===n(t)}},4901(t){var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796(t,e,r){var n=r(9039),i=r(4901),o=/#|\\.prototype\\./,isForced=function(t,e){var r=a[s(t)];return r===u||r!==l&&(i(e)?n(e):!!e)},s=isForced.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=isForced.data={},l=isForced.NATIVE="N",u=isForced.POLYFILL="P";t.exports=isForced},4117(t){t.exports=function(t){return null==t}},34(t,e,r){var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},3925(t,e,r){var n=r(34);t.exports=function(t){return n(t)||null===t}},6395(t){t.exports=!1},5810(t,e,r){var n=r(34),i=r(1181).get;t.exports=function isRawJSON(t){if(!n(t))return!1;var e=i(t);return!!e&&"RawJSON"===e.type}},757(t,e,r){var n=r(7751),i=r(4901),o=r(1625),s=r(7040),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,a(t))}},507(t,e,r){var n=r(9565);t.exports=function(t,e,r){for(var i,o,s=r?t:t.iterator,a=t.next;!(i=n(a,s)).done;)if(void 0!==(o=e(i.value)))return o}},2652(t,e,r){var n=r(6080),i=r(9565),o=r(8551),s=r(6823),a=r(4209),l=r(6198),u=r(1625),c=r(81),h=r(851),d=r(9539),p=TypeError,Result=function(t,e){this.stopped=t;this.result=e},f=Result.prototype;t.exports=function(t,e,r){var _,m,g,y,v,b,w,A=r&&r.that,x=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),I=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),T=n(e,A),stop=function(t){var e=_;_=void 0;e&&d(e,"normal");return new Result(!0,t)},callFn=function(t){if(x){o(t);return P?T(t[0],t[1],stop):T(t[0],t[1])}return P?T(t,stop):T(t)};if(S)_=t.iterator;else if(I)_=t;else{if(!(m=h(t)))throw new p(s(t)+" is not iterable");if(a(m)){for(g=0,y=l(t);y>g;g++)if((v=callFn(t[g]))&&u(f,v))return v;return new Result(!1)}_=c(t,m)}b=S?t.next:_.next;for(;!(w=i(b,_)).done;){var E=w.value;try{v=callFn(E)}catch(t){if(!_)throw t;d(_,"throw",t)}if("object"==typeof v&&v&&u(f,v))return v}return new Result(!1)}},1385(t,e,r){var n=r(9539);t.exports=function(t,e,r){for(var i=t.length-1;i>=0;i--)if(void 0!==t[i])try{r=n(t[i].iterator,e,r)}catch(t){e="throw";r=t}if("throw"===e)throw r;return r}},9539(t,e,r){var n=r(9565),i=r(8551),o=r(5966);t.exports=function(t,e,r){var s,a;i(t);try{if(!(s=o(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){a=!0;s=t}if("throw"===e)throw r;if(a)throw s;i(s);return r}},9462(t,e,r){var n=r(9565),i=r(2360),o=r(6699),s=r(6279),a=r(8227),l=r(1181),u=r(5966),c=r(7657).IteratorPrototype,h=r(2529),d=r(9539),p=r(1385),f=a("toStringTag"),_="IteratorHelper",m="WrapForValidIterator",g="normal",y="throw",v=l.set,createIteratorProxyPrototype=function(t){var e=l.getterFor(t?m:_);return s(i(c),{next:function next(){var r=e(this);if(t)return r.nextHandler();if(r.done)return h(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:h(n,r.done)}catch(t){r.done=!0;throw t}},return:function(){var r=e(this),i=r.iterator,o=r.done;r.done=!0;if(t){var s=u(i,"return");return s?n(s,i):h(void 0,!0)}if(o)return h(void 0,!0);if(r.inner)try{d(r.inner.iterator,g)}catch(t){return d(i,y,t)}if(r.openIters)try{p(r.openIters,g)}catch(t){if(i)return d(i,y,t);throw t}i&&d(i,g);return h(void 0,!0)}})},b=createIteratorProxyPrototype(!0),w=createIteratorProxyPrototype(!1);o(w,f,"Iterator Helper");t.exports=function(t,e,r){var n=function Iterator(n,i){if(i){i.iterator=n.iterator;i.next=n.next}else i=n;i.type=e?m:_;i.returnHandlerResult=!!r;i.nextHandler=t;i.counter=0;i.done=!1;v(this,i)};n.prototype=e?b:w;return n}},684(t){t.exports=function(t,e){var r="function"==typeof Iterator&&Iterator.prototype[t];if(r)try{r.call({next:null},e).next()}catch(t){return!0}}},4549(t,e,r){var n=r(4576);t.exports=function(t,e){var r=n.Iterator,i=r&&r.prototype,o=i&&i[t],s=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(t){t instanceof e||(s=!1)}if(!s)return o}},7657(t,e,r){var n,i,o,s=r(9039),a=r(4901),l=r(34),u=r(2360),c=r(2787),h=r(6840),d=r(8227),p=r(6395),f=d("iterator"),_=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):_=!0);!l(n)||s(function(){var t={};return n[f].call(t)!==t})?n={}:p&&(n=u(n));a(n[f])||h(n,f,function(){return this});t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:_}},6269(t){t.exports={}},6198(t,e,r){var n=r(8014);t.exports=function(t){return n(t.length)}},283(t,e,r){var n=r(9504),i=r(9039),o=r(4901),s=r(9297),a=r(3724),l=r(350).CONFIGURABLE,u=r(3706),c=r(1181),h=c.enforce,d=c.get,p=String,f=Object.defineProperty,_=n("".slice),m=n("".replace),g=n([].join),y=a&&!i(function(){return 8!==f(function(){},"length",{value:8}).length}),v=String(String).split("String"),b=t.exports=function(t,e,r){"Symbol("===_(p(e),0,7)&&(e="["+m(p(e),/^Symbol\\(([^)]*)\\).*$/,"$1")+"]");r&&r.getter&&(e="get "+e);r&&r.setter&&(e="set "+e);(!s(t,"name")||l&&t.name!==e)&&(a?f(t,"name",{value:e,configurable:!0}):t.name=e);y&&r&&s(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=h(t);s(n,"source")||(n.source=g(v,"string"==typeof e?e:""));return t};Function.prototype.toString=b(function toString(){return o(this)&&d(this).source||u(this)},"toString")},2248(t,e,r){var n=r(9504),i=Map.prototype;t.exports={Map,set:n(i.set),get:n(i.get),has:n(i.has),remove:n(i.delete),proto:i}},741(t){var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function trunc(t){var n=+t;return(n>0?r:e)(n)}},7819(t,e,r){var n=r(9039);t.exports=!n(function(){var t="9007199254740993",e=JSON.rawJSON(t);return!JSON.isRawJSON(e)||JSON.stringify(e)!==t})},2603(t,e,r){var n=r(655);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},2360(t,e,r){var n,i=r(8551),o=r(6801),s=r(8727),a=r(421),l=r(397),u=r(4055),c=r(6119),h="prototype",d="script",p=c("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return"<"+d+">"+t+"</"+d+">"},NullProtoObjectViaActiveX=function(t){t.write(scriptTag(""));t.close();var e=t.parentWindow.Object;t=null;return e},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):function(){var t,e=u("iframe"),r="java"+d+":";e.style.display="none";l.appendChild(e);e.src=String(r);(t=e.contentWindow.document).open();t.write(scriptTag("document.F=Object"));t.close();return t.F}():NullProtoObjectViaActiveX(n);for(var t=s.length;t--;)delete NullProtoObject[h][s[t]];return NullProtoObject()};a[p]=!0;t.exports=Object.create||function create(t,e){var r;if(null!==t){EmptyConstructor[h]=i(t);r=new EmptyConstructor;EmptyConstructor[h]=null;r[p]=t}else r=NullProtoObject();return void 0===e?r:o.f(r,e)}},6801(t,e,r){var n=r(3724),i=r(8686),o=r(4913),s=r(8551),a=r(5397),l=r(1072);e.f=n&&!i?Object.defineProperties:function defineProperties(t,e){s(t);for(var r,n=a(e),i=l(e),u=i.length,c=0;u>c;)o.f(t,r=i[c++],n[r]);return t}},4913(t,e,r){var n=r(3724),i=r(5917),o=r(8686),s=r(8551),a=r(6969),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",p="writable";e.f=n?o?function defineProperty(t,e,r){s(t);e=a(e);s(r);if("function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=c(t,e);if(n&&n[p]){t[e]=r.value;r={configurable:d in r?r[d]:n[d],enumerable:h in r?r[h]:n[h],writable:!1}}}return u(t,e,r)}:u:function defineProperty(t,e,r){s(t);e=a(e);s(r);if(i)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new l("Accessors not supported");"value"in r&&(t[e]=r.value);return t}},7347(t,e,r){var n=r(3724),i=r(9565),o=r(8773),s=r(6980),a=r(5397),l=r(6969),u=r(9297),c=r(5917),h=Object.getOwnPropertyDescriptor;e.f=n?h:function getOwnPropertyDescriptor(t,e){t=a(t);e=l(e);if(c)try{return h(t,e)}catch(t){}if(u(t,e))return s(!i(o.f,t,e),t[e])}},8480(t,e,r){var n=r(1828),i=r(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return n(t,i)}},3717(t,e){e.f=Object.getOwnPropertySymbols},2787(t,e,r){var n=r(9297),i=r(4901),o=r(8981),s=r(6119),a=r(2211),l=s("IE_PROTO"),u=Object,c=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=o(t);if(n(e,l))return e[l];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof u?c:null}},1625(t,e,r){var n=r(9504);t.exports=n({}.isPrototypeOf)},1828(t,e,r){var n=r(9504),i=r(9297),o=r(5397),s=r(9617).indexOf,a=r(421),l=n([].push);t.exports=function(t,e){var r,n=o(t),u=0,c=[];for(r in n)!i(a,r)&&i(n,r)&&l(c,r);for(;e.length>u;)i(n,r=e[u++])&&(~s(c,r)||l(c,r));return c}},1072(t,e,r){var n=r(1828),i=r(8727);t.exports=Object.keys||function keys(t){return n(t,i)}},8773(t,e){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function propertyIsEnumerable(t){var e=n(this,t);return!!e&&e.enumerable}:r},2967(t,e,r){var n=r(6706),i=r(34),o=r(7750),s=r(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]);e=r instanceof Array}catch(t){}return function setPrototypeOf(r,n){o(r);s(n);if(!i(r))return r;e?t(r,n):r.__proto__=n;return r}}():void 0)},4270(t,e,r){var n=r(9565),i=r(4901),o=r(34),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&i(r=t.toString)&&!o(a=n(r,t)))return a;if(i(r=t.valueOf)&&!o(a=n(r,t)))return a;if("string"!==e&&i(r=t.toString)&&!o(a=n(r,t)))return a;throw new s("Can\'t convert object to primitive value")}},5031(t,e,r){var n=r(7751),i=r(9504),o=r(8480),s=r(3717),a=r(8551),l=i([].concat);t.exports=n("Reflect","ownKeys")||function ownKeys(t){var e=o.f(a(t)),r=s.f;return r?l(e,r(t)):e}},8235(t,e,r){var n=r(9504),i=r(9297),o=SyntaxError,s=parseInt,a=String.fromCharCode,l=n("".charAt),u=n("".slice),c=n(/./.exec),h={\'\\\\"\':\'"\',"\\\\\\\\":"\\\\","\\\\/":"/","\\\\b":"\\b","\\\\f":"\\f","\\\\n":"\\n","\\\\r":"\\r","\\\\t":"\\t"},d=/^[\\da-f]{4}$/i,p=/^[\\u0000-\\u001F]$/;t.exports=function(t,e){for(var r=!0,n="";e<t.length;){var f=l(t,e);if("\\\\"===f){var _=u(t,e,e+2);if(i(h,_)){n+=h[_];e+=2}else{if("\\\\u"!==_)throw new o(\'Unknown escape sequence: "\'+_+\'"\');var m=u(t,e+=2,e+4);if(!c(d,m))throw new o("Bad Unicode escape at: "+e);n+=a(s(m,16));e+=4}}else{if(\'"\'===f){r=!1;e++;break}if(c(p,f))throw new o("Bad control character in string literal at: "+e);n+=f;e++}}if(r)throw new o("Unterminated string at: "+e);return{value:n,end:e}}},1056(t,e,r){var n=r(4913).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},7750(t,e,r){var n=r(4117),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can\'t call method on "+t);return t}},9286(t,e,r){var n=r(4402),i=r(8469),o=n.Set,s=n.add;t.exports=function(t){var e=new o;i(t,function(t){s(e,t)});return e}},3440(t,e,r){var n=r(7080),i=r(4402),o=r(9286),s=r(5170),a=r(3789),l=r(8469),u=r(507),c=i.has,h=i.remove;t.exports=function difference(t){var e=n(this),r=a(t),i=o(e);s(i)<=r.size?l(i,function(t){r.includes(t)&&h(i,t)}):u(r.getIterator(),function(t){c(i,t)&&h(i,t)});return i}},4402(t,e,r){var n=r(9504),i=Set.prototype;t.exports={Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},8750(t,e,r){var n=r(7080),i=r(4402),o=r(5170),s=r(3789),a=r(8469),l=r(507),u=i.Set,c=i.add,h=i.has;t.exports=function intersection(t){var e=n(this),r=s(t),i=new u;o(e)>r.size?l(r.getIterator(),function(t){h(e,t)&&c(i,t)}):a(e,function(t){r.includes(t)&&c(i,t)});return i}},4449(t,e,r){var n=r(7080),i=r(4402).has,o=r(5170),s=r(3789),a=r(8469),l=r(507),u=r(9539);t.exports=function isDisjointFrom(t){var e=n(this),r=s(t);if(o(e)<=r.size)return!1!==a(e,function(t){if(r.includes(t))return!1},!0);var c=r.getIterator();return!1!==l(c,function(t){if(i(e,t))return u(c.iterator,"normal",!1)})}},3838(t,e,r){var n=r(7080),i=r(5170),o=r(8469),s=r(3789);t.exports=function isSubsetOf(t){var e=n(this),r=s(t);return!(i(e)>r.size)&&!1!==o(e,function(t){if(!r.includes(t))return!1},!0)}},8527(t,e,r){var n=r(7080),i=r(4402).has,o=r(5170),s=r(3789),a=r(507),l=r(9539);t.exports=function isSupersetOf(t){var e=n(this),r=s(t);if(o(e)<r.size)return!1;var u=r.getIterator();return!1!==a(u,function(t){if(!i(e,t))return l(u.iterator,"normal",!1)})}},8469(t,e,r){var n=r(9504),i=r(507),o=r(4402),s=o.Set,a=o.proto,l=n(a.forEach),u=n(a.keys),c=u(new s).next;t.exports=function(t,e,r){return r?i({iterator:u(t),next:c},e):l(t,e)}},4916(t,e,r){var n=r(7751),createSetLike=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},createSetLikeWithInfinitySize=function(t){return{size:t,has:function(){return!0},keys:function(){throw new Error("e")}}};t.exports=function(t,e){var r=n("Set");try{(new r)[t](createSetLike(0));try{(new r)[t](createSetLike(-1));return!1}catch(n){if(!e)return!0;try{(new r)[t](createSetLikeWithInfinitySize(-1/0));return!1}catch(n){return e(new r([1,2])[t](createSetLikeWithInfinitySize(1/0)))}}}catch(t){return!1}}},9835(t){t.exports=function(t){try{var e=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){e.clear();e.add(4);return function(){return{done:!0}}}})}},n=e[t](r);return 1===n.size&&4===n.values().next().value}catch(t){return!1}}},5170(t,e,r){var n=r(6706),i=r(4402);t.exports=n(i.proto,"size","get")||function(t){return t.size}},3650(t,e,r){var n=r(7080),i=r(4402),o=r(9286),s=r(3789),a=r(507),l=i.add,u=i.has,c=i.remove;t.exports=function symmetricDifference(t){var e=n(this),r=s(t).getIterator(),i=o(e);a(r,function(t){u(e,t)?c(i,t):l(i,t)});return i}},4204(t,e,r){var n=r(7080),i=r(4402).add,o=r(9286),s=r(3789),a=r(507);t.exports=function union(t){var e=n(this),r=s(t).getIterator(),l=o(e);a(r,function(t){i(l,t)});return l}},6119(t,e,r){var n=r(5745),i=r(3392),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},7629(t,e,r){var n=r(6395),i=r(4576),o=r(9433),s="__core-js_shared__",a=t.exports=i[s]||o(s,{});(a.versions||(a.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745(t,e,r){var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},4495(t,e,r){var n=r(9519),i=r(9039),o=r(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},5610(t,e,r){var n=r(1291),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},5397(t,e,r){var n=r(7055),i=r(7750);t.exports=function(t){return n(i(t))}},1291(t,e,r){var n=r(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8014(t,e,r){var n=r(1291),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},8981(t,e,r){var n=r(7750),i=Object;t.exports=function(t){return i(n(t))}},2777(t,e,r){var n=r(9565),i=r(34),o=r(757),s=r(5966),a=r(4270),l=r(8227),u=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,l=s(t,c);if(l){void 0===e&&(e="default");r=n(l,t,e);if(!i(r)||o(r))return r;throw new u("Can\'t convert object to primitive value")}void 0===e&&(e="number");return a(t,e)}},6969(t,e,r){var n=r(2777),i=r(757);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},2140(t,e,r){var n={};n[r(8227)("toStringTag")]="z";t.exports="[object z]"===String(n)},655(t,e,r){var n=r(6955),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},6823(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392(t,e,r){var n=r(9504),i=0,o=Math.random(),s=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++i+o,36)}},7040(t,e,r){var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686(t,e,r){var n=r(3724),i=r(9039);t.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8622(t,e,r){var n=r(4576),i=r(4901),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},4995(t,e,r){var n=r(9504),i=WeakMap.prototype;t.exports={WeakMap,set:n(i.set),get:n(i.get),has:n(i.has),remove:n(i.delete)}},8227(t,e,r){var n=r(4576),i=r(5745),o=r(9297),s=r(3392),a=r(4495),l=r(7040),u=n.Symbol,c=i("wks"),h=l?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){o(c,t)||(c[t]=a&&o(u,t)?u[t]:h("Symbol."+t));return c[t]}},4601(t,e,r){var n=r(7751),i=r(9297),o=r(6699),s=r(1625),a=r(2967),l=r(7740),u=r(1056),c=r(3167),h=r(2603),d=r(7584),p=r(747),f=r(3724),_=r(6395);t.exports=function(t,e,r,m){var g="stackTraceLimit",y=m?2:1,v=t.split("."),b=v[v.length-1],w=n.apply(null,v);if(w){var A=w.prototype;!_&&i(A,"cause")&&delete A.cause;if(!r)return w;var x=n("Error"),S=e(function(t,e){var r=h(m?e:t,void 0),n=m?new w(t):new w;void 0!==r&&o(n,"message",r);p(n,S,n.stack,2);this&&s(A,this)&&c(n,this,S);arguments.length>y&&d(n,arguments[y]);return n});S.prototype=A;if("Error"!==b)a?a(S,x):l(S,x,{name:!0});else if(f&&g in w){u(S,w,g);u(S,w,"prepareStackTrace")}l(S,w);if(!_)try{A.name!==b&&o(A,"name",b);A.constructor=S}catch(t){}return S}}},4423(t,e,r){var n=r(6518),i=r(9617).includes,o=r(9039),s=r(6469),a=o(function(){return!Array(1).includes()}),l=o(function(){return[,1].includes(void 0,1)});n({target:"Array",proto:!0,forced:a||l},{includes:function includes(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}});s("includes")},4114(t,e,r){var n=r(6518),i=r(8981),o=r(6198),s=r(4527),a=r(6837);n({target:"Array",proto:!0,arity:1,forced:r(9039)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function push(t){var e=i(this),r=o(e),n=arguments.length;a(r+n);for(var l=0;l<n;l++){e[r]=arguments[l];r++}s(e,r);return r}})},6280(t,e,r){var n=r(6518),i=r(4576),o=r(8745),s=r(4601),a="WebAssembly",l=i[a],u=7!==new Error("e",{cause:7}).cause,exportGlobalErrorCauseWrapper=function(t,e){var r={};r[t]=s(t,e,u);n({global:!0,constructor:!0,arity:1,forced:u},r)},exportWebAssemblyErrorCauseWrapper=function(t,e){if(l&&l[t]){var r={};r[t]=s(a+"."+t,e,u);n({target:a,stat:!0,constructor:!0,arity:1,forced:u},r)}};exportGlobalErrorCauseWrapper("Error",function(t){return function Error(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("EvalError",function(t){return function EvalError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("RangeError",function(t){return function RangeError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("ReferenceError",function(t){return function ReferenceError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("SyntaxError",function(t){return function SyntaxError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("TypeError",function(t){return function TypeError(e){return o(t,this,arguments)}});exportGlobalErrorCauseWrapper("URIError",function(t){return function URIError(e){return o(t,this,arguments)}});exportWebAssemblyErrorCauseWrapper("CompileError",function(t){return function CompileError(e){return o(t,this,arguments)}});exportWebAssemblyErrorCauseWrapper("LinkError",function(t){return function LinkError(e){return o(t,this,arguments)}});exportWebAssemblyErrorCauseWrapper("RuntimeError",function(t){return function RuntimeError(e){return o(t,this,arguments)}})},8111(t,e,r){var n=r(6518),i=r(4576),o=r(679),s=r(8551),a=r(4901),l=r(2787),u=r(2106),c=r(2278),h=r(9039),d=r(9297),p=r(8227),f=r(7657).IteratorPrototype,_=r(3724),m=r(6395),g="constructor",y="Iterator",v=p("toStringTag"),b=TypeError,w=i[y],A=m||!a(w)||w.prototype!==f||!h(function(){w({})}),x=function Iterator(){o(this,f);if(l(this)===f)throw new b("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(t,e){_?u(f,t,{configurable:!0,get:function(){return e},set:function(e){s(this);if(this===f)throw new b("You can\'t redefine this property");d(this,t)?this[t]=e:c(this,t,e)}}):f[t]=e};d(f,v)||defineIteratorPrototypeAccessor(v,y);!A&&d(f,g)&&f[g]!==Object||defineIteratorPrototypeAccessor(g,x);x.prototype=f;n({global:!0,constructor:!0,forced:A},{Iterator:x})},1148(t,e,r){var n=r(6518),i=r(9565),o=r(2652),s=r(9306),a=r(8551),l=r(1767),u=r(9539),c=r(4549)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{every:function every(t){a(this);try{s(t)}catch(t){u(this,"throw",t)}if(c)return i(c,this,t);var e=l(this),r=0;return!o(e,function(e,n){if(!t(e,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},2489(t,e,r){var n=r(6518),i=r(9565),o=r(9306),s=r(8551),a=r(1767),l=r(9462),u=r(6319),c=r(6395),h=r(9539),d=r(684),p=r(4549),f=!c&&!d("filter",function(){}),_=!c&&!f&&p("filter",TypeError),m=c||f||_,g=l(function(){for(var t,e,r=this.iterator,n=this.predicate,o=this.next;;){t=s(i(o,r));if(this.done=!!t.done)return;e=t.value;if(u(r,n,[e,this.counter++],!0))return e}});n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function filter(t){s(this);try{o(t)}catch(t){h(this,"throw",t)}return _?i(_,this,t):new g(a(this),{predicate:t})}})},7588(t,e,r){var n=r(6518),i=r(9565),o=r(2652),s=r(9306),a=r(8551),l=r(1767),u=r(9539),c=r(4549)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function forEach(t){a(this);try{s(t)}catch(t){u(this,"throw",t)}if(c)return i(c,this,t);var e=l(this),r=0;o(e,function(e){t(e,r++)},{IS_RECORD:!0})}})},1701(t,e,r){var n=r(6518),i=r(9565),o=r(9306),s=r(8551),a=r(1767),l=r(9462),u=r(6319),c=r(9539),h=r(684),d=r(4549),p=r(6395),f=!p&&!h("map",function(){}),_=!p&&!f&&d("map",TypeError),m=p||f||_,g=l(function(){var t=this.iterator,e=s(i(this.next,t));if(!(this.done=!!e.done))return u(t,this.mapper,[e.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function map(t){s(this);try{o(t)}catch(t){c(this,"throw",t)}return _?i(_,this,t):new g(a(this),{mapper:t})}})},8237(t,e,r){var n=r(6518),i=r(2652),o=r(9306),s=r(8551),a=r(1767),l=r(9539),u=r(4549),c=r(8745),h=r(9039),d=TypeError,p=h(function(){[].keys().reduce(function(){},void 0)}),f=!p&&u("reduce",d);n({target:"Iterator",proto:!0,real:!0,forced:p||f},{reduce:function reduce(t){s(this);try{o(t)}catch(t){l(this,"throw",t)}var e=arguments.length<2,r=e?void 0:arguments[1];if(f)return c(f,this,e?[t]:[t,r]);var n=a(this),u=0;i(n,function(n){if(e){e=!1;r=n}else r=t(r,n,u);u++},{IS_RECORD:!0});if(e)throw new d("Reduce of empty iterator with no initial value");return r}})},3579(t,e,r){var n=r(6518),i=r(9565),o=r(2652),s=r(9306),a=r(8551),l=r(1767),u=r(9539),c=r(4549)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{some:function some(t){a(this);try{s(t)}catch(t){u(this,"throw",t)}if(c)return i(c,this,t);var e=l(this),r=0;return o(e,function(e,n){if(t(e,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3110(t,e,r){var n=r(6518),i=r(7751),o=r(8745),s=r(9565),a=r(9504),l=r(9039),u=r(4376),c=r(4901),h=r(5810),d=r(757),p=r(2195),f=r(655),_=r(7680),m=r(8235),g=r(3392),y=r(4495),v=r(7819),b=String,w=i("JSON","stringify"),A=a(/./.exec),x=a("".charAt),S=a("".charCodeAt),I=a("".replace),P=a("".slice),T=a([].push),E=a(1.1.toString),C=/[\\uD800-\\uDFFF]/g,O=/^[\\uD800-\\uDBFF]$/,j=/^[\\uDC00-\\uDFFF]$/,k=g(),M=k.length,D=!y||l(function(){var t=i("Symbol")("stringify detection");return"[null]"!==w([t])||"{}"!==w({a:t})||"{}"!==w(Object(t))}),R=l(function(){return\'"\\\\udf06\\\\ud834"\'!==w("\\udf06\\ud834")||\'"\\\\udead"\'!==w("\\udead")}),V=D?function(t,e){var r=_(arguments),n=getReplacerFunction(e);if(c(n)||void 0!==t&&!d(t)){r[1]=function(t,e){c(n)&&(e=s(n,this,b(t),e));if(!d(e))return e};return o(w,null,r)}}:w,fixIllFormedJSON=function(t,e,r){var n=x(r,e-1),i=x(r,e+1);return A(O,t)&&!A(j,i)||A(j,t)&&!A(O,n)?"\\\\u"+E(S(t,0),16):t},getReplacerFunction=function(t){if(c(t))return t;if(u(t)){for(var e=t.length,r=[],n=0;n<e;n++){var i=t[n];"string"==typeof i?T(r,i):"number"!=typeof i&&"Number"!==p(i)&&"String"!==p(i)||T(r,f(i))}var o=r.length,s=!0;return function(t,e){if(s){s=!1;return e}if(u(this))return e;for(var n=0;n<o;n++)if(r[n]===t)return e}}};w&&n({target:"JSON",stat:!0,arity:3,forced:D||R||!v},{stringify:function stringify(t,e,r){var n=getReplacerFunction(e),i=[],o=V(t,function(t,e){var r=c(n)?s(n,this,b(t),e):e;return!v&&h(r)?k+(T(i,r.rawJSON)-1):r},r);if("string"!=typeof o)return o;R&&(o=I(o,C,fixIllFormedJSON));if(v)return o;for(var a="",l=o.length,u=0;u<l;u++){var d=x(o,u);if(\'"\'===d){var p=m(o,++u).end-1,f=P(o,u,p);a+=P(f,0,M)===k?i[P(f,M)]:\'"\'+f+\'"\';u=p}else a+=d}return a}})},2731(t,e,r){var n=r(6518),i=r(9306),o=r(2248),s=r(6395),a=o.get,l=o.has,u=o.set;n({target:"Map",proto:!0,real:!0,forced:s},{getOrInsertComputed:function getOrInsertComputed(t,e){var r=l(this,t);i(e);if(r)return a(this,t);0===t&&1/t==-1/0&&(t=0);var n=e(t);u(this,t,n);return n}})},5367(t,e,r){var n=r(6518),i=r(2248),o=r(6395),s=i.get,a=i.has,l=i.set;n({target:"Map",proto:!0,real:!0,forced:o},{getOrInsert:function getOrInsert(t,e){if(a(this,t))return s(this,t);l(this,t,e);return e}})},3068(t,e,r){var n=r(6518),i=r(9504),o=r(2652),s=RangeError,a=TypeError,l=1/0,u=Math.abs,c=Math.pow,h=i([].push),d=c(2,1023),p=c(2,53)-1,f=Number.MAX_VALUE,_=c(2,971),m={},g={},y={},v={},b={},twosum=function(t,e){var r=t+e;return{hi:r,lo:e-(r-t)}};n({target:"Math",stat:!0},{sumPrecise:function sumPrecise(t){var e=[],r=0,n=v;o(t,function(t){if(++r>p)throw new s("Maximum allowed index exceeded");if("number"!=typeof t)throw new a("Value is not a number");if(n!==m)if(t!=t)n=m;else if(t===l)n=n===g?m:y;else if(t===-1/0)n=n===y?m:g;else if(!(0===t&&1/t!==l||n!==v&&n!==b)){n=b;h(e,t)}});switch(n){case m:return NaN;case g:return-1/0;case y:return l;case v:return-0}for(var i,c,w,A,x,S,I=[],P=0,T=0;T<e.length;T++){i=e[T];for(var E=0,C=0;C<I.length;C++){c=I[C];if(u(i)<u(c)){S=i;i=c;c=S}A=(w=twosum(i,c)).hi;x=w.lo;if(u(A)===l){var O=A===l?1:-1;P+=O;if(u(i=i-O*d-O*d)<u(c)){S=i;i=c;c=S}A=(w=twosum(i,c)).hi;x=w.lo}0!==x&&(I[E++]=x);i=A}I.length=E;0!==i&&h(I,i)}var j=I.length-1;A=0;x=0;if(0!==P){var k=j>=0?I[j]:0;j--;if(u(P)>1||P>0&&k>0||P<0&&k<0)return P>0?l:-1/0;A=(w=twosum(P*d,k/2)).hi;x=w.lo;x*=2;if(u(2*A)===l)return A>0?A===d&&x===-_/2&&j>=0&&I[j]<0?f:l:A===-d&&x===_/2&&j>=0&&I[j]>0?-f:-1/0;if(0!==x){I[++j]=x;x=0}A*=2}for(;j>=0;){A=(w=twosum(A,I[j--])).hi;if(0!==(x=w.lo))break}j>=0&&(x<0&&I[j]<0||x>0&&I[j]>0)&&(c=2*x)===(i=A+c)-A&&(A=i);return A}})},8347(t,e,r){r(6518)({target:"Object",stat:!0},{hasOwn:r(9297)})},7642(t,e,r){var n=r(6518),i=r(3440),o=r(9039);n({target:"Set",proto:!0,real:!0,forced:!r(4916)("difference",function(t){return 0===t.size})||o(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;e.has(1)&&e.clear();return{done:r,value:2}}}}},e=new Set([1,2,3,4]);return 3!==e.difference(t).size})},{difference:i})},8004(t,e,r){var n=r(6518),i=r(9039),o=r(8750);n({target:"Set",proto:!0,real:!0,forced:!r(4916)("intersection",function(t){return 2===t.size&&t.has(1)&&t.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:o})},3853(t,e,r){var n=r(6518),i=r(4449);n({target:"Set",proto:!0,real:!0,forced:!r(4916)("isDisjointFrom",function(t){return!t})},{isDisjointFrom:i})},5876(t,e,r){var n=r(6518),i=r(3838);n({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSubsetOf",function(t){return t})},{isSubsetOf:i})},2475(t,e,r){var n=r(6518),i=r(8527);n({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSupersetOf",function(t){return!t})},{isSupersetOf:i})},5024(t,e,r){var n=r(6518),i=r(3650),o=r(9835);n({target:"Set",proto:!0,real:!0,forced:!r(4916)("symmetricDifference")||!o("symmetricDifference")},{symmetricDifference:i})},1698(t,e,r){var n=r(6518),i=r(4204),o=r(9835);n({target:"Set",proto:!0,real:!0,forced:!r(4916)("union")||!o("union")},{union:i})},9452(t,e,r){var n=r(6518),i=r(9306),o=r(6557),s=r(4328),a=r(4995),l=r(6395),u=a.get,c=a.has,h=a.set;n({target:"WeakMap",proto:!0,real:!0,forced:l||!function(){try{WeakMap.prototype.getOrInsertComputed&&(new WeakMap).getOrInsertComputed(1,function(){throw 1})}catch(t){return t instanceof TypeError}}()},{getOrInsertComputed:function getOrInsertComputed(t,e){l||o(this);s(t);i(e);if(c(this,t))return u(this,t);var r=e(t);h(this,t,r);return r}})},8454(t,e,r){var n=r(6518),i=r(4995),o=r(6395),s=i.get,a=i.has,l=i.set;n({target:"WeakMap",proto:!0,real:!0,forced:o},{getOrInsert:function getOrInsert(t,e){if(a(this,t))return s(this,t);l(this,t,e);return e}})}},e={};function __webpack_require__(r){var n=e[r];if(void 0!==n)return n.exports;var i=e[r]={exports:{}};t[r].call(i.exports,i,i.exports,__webpack_require__);return i.exports}__webpack_require__(6280),__webpack_require__(4114),__webpack_require__(8111),__webpack_require__(1701);const r=Object.freeze({s:"solid",d:"dashed",b:"beveled",i:"inset",u:"underline"}),n=Object.freeze({visible:0,hidden:1,delay:2}),i=Object.freeze({visible:0,hidden:1,noPrint:2,noView:3}),o=Object.freeze({Times:"Times-Roman",TimesB:"Times-Bold",TimesI:"Times-Italic",TimesBI:"Times-BoldItalic",Helv:"Helvetica",HelvB:"Helvetica-Bold",HelvI:"Helvetica-Oblique",HelvBI:"Helvetica-BoldOblique",Cour:"Courier",CourB:"Courier-Bold",CourI:"Courier-Oblique",CourBI:"Courier-BoldOblique",Symbol:"Symbol",ZapfD:"ZapfDingbats",KaGo:"HeiseiKakuGo-W5-UniJIS-UCS2-H",KaMi:"HeiseiMin-W3-UniJIS-UCS2-H"}),s=Object.freeze({n:"none",i:"invert",p:"push",o:"outline"}),a=Object.freeze({textOnly:0,iconOnly:1,iconTextV:2,textIconV:3,iconTextH:4,textIconH:5,overlay:6}),l=Object.freeze({proportional:0,anamorphic:1}),u=Object.freeze({always:0,never:1,tooBig:2,tooSmall:3}),c=Object.freeze({ch:"check",cr:"cross",di:"diamond",ci:"circle",st:"star",sq:"square"}),h=Object.freeze({blindsH:"BlindsHorizontal",blindsV:"BlindsVertical",boxI:"BoxIn",boxO:"BoxOut",dissolve:"Dissolve",glitterD:"GlitterDown",glitterR:"GlitterRight",glitterRD:"GlitterRightDown",random:"Random",replace:"Replace",splitHI:"SplitHorizontalIn",splitHO:"SplitHorizontalOut",splitVI:"SplitVerticalIn",splitVO:"SplitVerticalOut",wipeD:"WipeDown",wipeL:"WipeLeft",wipeR:"WipeRight",wipeU:"WipeUp"}),d=Object.freeze({none:"NoVary",fitP:"FitPage",fitW:"FitWidth",fitH:"FitHeight",fitV:"FitVisibleWidth",pref:"Preferred",refW:"ReflowWidth"}),p=Object.freeze({IDS_GREATER_THAN:"Invalid value: must be greater than or equal to % s.",IDS_GT_AND_LT:"Invalid value: must be greater than or equal to % s and less than or equal to % s.",IDS_LESS_THAN:"Invalid value: must be less than or equal to % s.",IDS_INVALID_MONTH:"** Invalid **",IDS_INVALID_DATE:"Invalid date / time: please ensure that the date / time exists. Field",IDS_INVALID_DATE2:" should match format ",IDS_INVALID_VALUE:"The value entered does not match the format of the field",IDS_AM:"am",IDS_PM:"pm",IDS_MONTH_INFO:"January[1] February[2] March[3] April[4] May[5] June[6] July[7] August[8] September[9] October[10] November[11] December[12] Sept[9] Jan[1] Feb[2] Mar[3] Apr[4] Jun[6] Jul[7] Aug[8] Sep[9] Oct[10] Nov[11] Dec[12]",IDS_STARTUP_CONSOLE_MSG:"** ^ _ ^ **",RE_NUMBER_ENTRY_DOT_SEP:["[+-]?\\\\d*\\\\.?\\\\d*"],RE_NUMBER_COMMIT_DOT_SEP:["[+-]?\\\\d+(\\\\.\\\\d+)?","[+-]?\\\\.\\\\d+","[+-]?\\\\d+\\\\."],RE_NUMBER_ENTRY_COMMA_SEP:["[+-]?\\\\d*,?\\\\d*"],RE_NUMBER_COMMIT_COMMA_SEP:["[+-]?\\\\d+([.,]\\\\d+)?","[+-]?[.,]\\\\d+","[+-]?\\\\d+[.,]"],RE_ZIP_ENTRY:["\\\\d{0,5}"],RE_ZIP_COMMIT:["\\\\d{5}"],RE_ZIP4_ENTRY:["\\\\d{0,5}(\\\\.|[- ])?\\\\d{0,4}"],RE_ZIP4_COMMIT:["\\\\d{5}(\\\\.|[- ])?\\\\d{4}"],RE_PHONE_ENTRY:["\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,4}","\\\\(\\\\d{0,3}","\\\\(\\\\d{0,3}\\\\)(\\\\.|[- ])?\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,4}","\\\\(\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,4}","\\\\d{0,3}\\\\)(\\\\.|[- ])?\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,4}","011(\\\\.|[- \\\\d])*"],RE_PHONE_COMMIT:["\\\\d{3}(\\\\.|[- ])?\\\\d{4}","\\\\d{3}(\\\\.|[- ])?\\\\d{3}(\\\\.|[- ])?\\\\d{4}","\\\\(\\\\d{3}\\\\)(\\\\.|[- ])?\\\\d{3}(\\\\.|[- ])?\\\\d{4}","011(\\\\.|[- \\\\d])*"],RE_SSN_ENTRY:["\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,2}(\\\\.|[- ])?\\\\d{0,4}"],RE_SSN_COMMIT:["\\\\d{3}(\\\\.|[- ])?\\\\d{2}(\\\\.|[- ])?\\\\d{4}"]});__webpack_require__(1148),__webpack_require__(2489),__webpack_require__(7588),__webpack_require__(3579),__webpack_require__(8347),__webpack_require__(7642),__webpack_require__(8004),__webpack_require__(3853),__webpack_require__(5876),__webpack_require__(2475),__webpack_require__(5024),__webpack_require__(1698),__webpack_require__(5367),__webpack_require__(2731);const f=0,_=1,m=2,g=3,y=4;function createActionsMap(t){return new Map(t?Object.entries(t):null)}function MathClamp(t,e,r){return Math.min(Math.max(t,e),r)}function _slicedToArray(t,e){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,s,a=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(t,e)||function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,e):void 0}}(t,e)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function makeColorComp(t){return Math.floor(255*MathClamp(t,0,1)).toString(16).padStart(2,"0")}function scaleAndClamp(t){return 255*MathClamp(t,0,1)}class ColorConverters{static CMYK_G(t){let e=_slicedToArray(t,4),r=e[0],n=e[1],i=e[2],o=e[3];return["G",1-Math.min(1,.3*r+.59*i+.11*n+o)]}static G_CMYK(t){return["CMYK",0,0,0,1-_slicedToArray(t,1)[0]]}static G_RGB(t){let e=_slicedToArray(t,1)[0];return["RGB",e,e,e]}static G_rgb(t){let e=_slicedToArray(t,1)[0];e=scaleAndClamp(e);return[e,e,e]}static G_HTML(t){const e=makeColorComp(_slicedToArray(t,1)[0]);return`#${e}${e}${e}`}static RGB_G(t){let e=_slicedToArray(t,3);return["G",.3*e[0]+.59*e[1]+.11*e[2]]}static RGB_rgb(t){return t.map(scaleAndClamp)}static RGB_HTML(t){return`#${t.map(makeColorComp).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB(t){let e=_slicedToArray(t,4),r=e[0],n=e[1],i=e[2],o=e[3];return["RGB",1-Math.min(1,r+o),1-Math.min(1,i+o),1-Math.min(1,n+o)]}static CMYK_rgb(t){let e=_slicedToArray(t,4),r=e[0],n=e[1],i=e[2],o=e[3];return[scaleAndClamp(1-Math.min(1,r+o)),scaleAndClamp(1-Math.min(1,i+o)),scaleAndClamp(1-Math.min(1,n+o))]}static CMYK_HTML(t){const e=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(e)}static RGB_CMYK(t){let e=_slicedToArray(t,3);const r=1-e[0],n=1-e[1],i=1-e[2];return["CMYK",r,n,i,Math.min(r,n,i)]}}const v=["m/d","m/d/yy","mm/dd/yy","mm/yy","d-mmm","d-mmm-yy","dd-mmm-yy","yy-mm-dd","mmm-yy","mmmm-yy","mmm d, yyyy","mmmm d, yyyy","m/d/yy h:MM tt","m/d/yy HH:MM"],b=["HH:MM","h:MM tt","HH:MM:ss","h:MM:ss tt"];class PDFObject{constructor(t){this._expandos=Object.create(null);this._send=t.send||null;this._id=t.id||null}}function _defineProperty(t,e,r){return(e=function _toPropertyKey(t){var e=function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Color extends PDFObject{constructor(){super({});_defineProperty(this,"transparent",["T"]);_defineProperty(this,"black",["G",0]);_defineProperty(this,"white",["G",1]);_defineProperty(this,"red",["RGB",1,0,0]);_defineProperty(this,"green",["RGB",0,1,0]);_defineProperty(this,"blue",["RGB",0,0,1]);_defineProperty(this,"cyan",["CMYK",1,0,0,0]);_defineProperty(this,"magenta",["CMYK",0,1,0,0]);_defineProperty(this,"yellow",["CMYK",0,0,1,0]);_defineProperty(this,"dkGray",["G",.25]);_defineProperty(this,"gray",["G",.5]);_defineProperty(this,"ltGray",["G",.75])}static _isValidSpace(t){return"string"==typeof t&&("T"===t||"G"===t||"RGB"===t||"CMYK"===t)}static _isValidColor(t){if(!Array.isArray(t)||0===t.length)return!1;const e=t[0];if(!Color._isValidSpace(e))return!1;switch(e){case"T":if(1!==t.length)return!1;break;case"G":if(2!==t.length)return!1;break;case"RGB":if(4!==t.length)return!1;break;case"CMYK":if(5!==t.length)return!1;break;default:return!1}return t.slice(1).every(t=>"number"==typeof t&&t>=0&&t<=1)}static _getCorrectColor(t){return Color._isValidColor(t)?t:["G",0]}convert(t,e){return Color._isValidSpace(e)?"T"===e?["T"]:(t=Color._getCorrectColor(t))[0]===e?t:"T"===t[0]?this.convert(this.black,e):ColorConverters[`${t[0]}_${e}`](t.slice(1)):this.black}equal(t,e){t=Color._getCorrectColor(t);e=Color._getCorrectColor(e);if("T"===t[0]||"T"===e[0])return"T"===t[0]&&"T"===e[0];t[0]!==e[0]&&(e=this.convert(e,t[0]));return t.slice(1).every((t,r)=>t===e[r+1])}}__webpack_require__(8237),__webpack_require__(3068);function serializeError(t){return{command:"error",value:`${t.toString()}\\n${t.stack}`}}const makeArr=()=>[],makeMap=()=>new Map;"function"!=typeof Math.sumPrecise&&(Math.sumPrecise=function(t){return t.reduce((t,e)=>t+e,0)});"function"!=typeof Map.prototype.getOrInsertComputed&&(Map.prototype.getOrInsertComputed=function(t,e){this.has(t)||this.set(t,e(t));return this.get(t)});class Field extends PDFObject{constructor(t){super(t);this.alignment=t.alignment||"left";this.borderStyle=t.borderStyle||"";this.buttonAlignX=t.buttonAlignX||50;this.buttonAlignY=t.buttonAlignY||50;this.buttonFitBounds=t.buttonFitBounds;this.buttonPosition=t.buttonPosition;this.buttonScaleHow=t.buttonScaleHow;this.ButtonScaleWhen=t.buttonScaleWhen;this.calcOrderIndex=t.calcOrderIndex;this.comb=t.comb;this.commitOnSelChange=t.commitOnSelChange;this.currentValueIndices=t.currentValueIndices;this.defaultStyle=t.defaultStyle;this.defaultValue=t.defaultValue;this.doNotScroll=t.doNotScroll;this.doNotSpellCheck=t.doNotSpellCheck;this.delay=t.delay;this.display=t.display;this.doc=t.doc.wrapped;this.editable=t.editable;this.exportValues=t.exportValues;this.fileSelect=t.fileSelect;this.hidden=t.hidden;this.highlight=t.highlight;this.lineWidth=t.lineWidth;this.multiline=t.multiline;this.multipleSelection=!!t.multipleSelection;this.name=t.name;this.password=t.password;this.print=t.print;this.radiosInUnison=t.radiosInUnison;this.readonly=t.readonly;this.rect=t.rect;this.required=t.required;this.richText=t.richText;this.richValue=t.richValue;this.style=t.style;this.submitName=t.submitName;this.textFont=t.textFont;this.textSize=t.textSize;this.type=t.type;this.userName=t.userName;this._actions=createActionsMap(t.actions);this._browseForFileToSubmit=t.browseForFileToSubmit||null;this._buttonCaption=null;this._buttonIcon=null;this._charLimit=t.charLimit;this._children=null;this._currentValueIndices=t.currentValueIndices||0;this._document=t.doc;this._fieldPath=t.fieldPath;this._fillColor=t.fillColor||["T"];this._isChoice=Array.isArray(t.items);this._items=t.items||[];this._hasValue=Object.hasOwn(t,"value");this._page=t.page||0;this._strokeColor=t.strokeColor||["G",0];this._textColor=t.textColor||["G",0];this._value=null;this._kidIds=t.kidIds||null;this._fieldType=function getFieldType(t){let e=t.get("Format");if(!e)return f;e=e[0];e=e.trim();return e.startsWith("AFNumber_")?_:e.startsWith("AFPercent_")?m:e.startsWith("AFDate_")?g:e.startsWith("AFTime_")?y:f}(this._actions);this._siblings=t.siblings||null;this._rotation=t.rotation||0;this._datetimeFormat=t.datetimeFormat||null;this._hasDateOrTime=!!t.hasDatetimeHTML;this._util=t.util;this._globalEval=t.globalEval;this._appObjects=t.appObjects;this.value=t.value||""}get currentValueIndices(){return this._isChoice?this._currentValueIndices:0}set currentValueIndices(t){if(this._isChoice){Array.isArray(t)||(t=[t]);if(t.every(t=>"number"==typeof t&&Number.isInteger(t)&&t>=0&&t<this.numItems)){t.sort();if(this.multipleSelection){this._currentValueIndices=t;this._value=[];t.forEach(t=>{this._value.push(this._items[t].displayValue)})}else if(t.length>0){t=t.splice(1,t.length-1);this._currentValueIndices=t[0];this._value=this._items[this._currentValueIndices]}this._send({id:this._id,indices:t})}}}get fillColor(){return this._fillColor}set fillColor(t){Color._isValidColor(t)&&(this._fillColor=t)}get bgColor(){return this.fillColor}set bgColor(t){this.fillColor=t}get charLimit(){return this._charLimit}set charLimit(t){if("number"!=typeof t)throw new Error("Invalid argument value");this._charLimit=Math.max(0,Math.floor(t))}get numItems(){if(!this._isChoice)throw new Error("Not a choice widget");return this._items.length}set numItems(t){throw new Error("field.numItems is read-only")}get strokeColor(){return this._strokeColor}set strokeColor(t){Color._isValidColor(t)&&(this._strokeColor=t)}get borderColor(){return this.strokeColor}set borderColor(t){this.strokeColor=t}get page(){return this._page}set page(t){throw new Error("field.page is read-only")}get rotation(){return this._rotation}set rotation(t){if((t=Math.floor(t))%90!=0)throw new Error("Invalid rotation: must be a multiple of 90");(t%=360)<0&&(t+=360);this._rotation=t}get textColor(){return this._textColor}set textColor(t){Color._isValidColor(t)&&(this._textColor=t)}get fgColor(){return this.textColor}set fgColor(t){this.textColor=t}get value(){return this._value}set value(t){if(this._isChoice){this._setChoiceValue(t);return}if(this._hasDateOrTime&&t){const e=this._util.scand(this._datetimeFormat,t);if(e){this._originalValue=e.valueOf();t=this._util.printd(this._datetimeFormat,e);this._value=isNaN(t)?t:parseFloat(t);return}}if(""===t||"string"!=typeof t||this._fieldType>=g){this._originalValue=void 0;this._value=t;return}this._originalValue=t;const e=t.trim().replace(",",".");this._value=isNaN(e)?t:parseFloat(e)}get _initialValue(){return this._hasDateOrTime&&this._originalValue||null}_getValue(){return this._originalValue??this.value}_setChoiceValue(t){if(this.multipleSelection){Array.isArray(t)||(t=[t]);const e=new Set(t);if(Array.isArray(this._currentValueIndices)){this._currentValueIndices.length=0;this._value.length=0}else{this._currentValueIndices=[];this._value=[]}this._items.forEach((t,r)=>{if(e.has(t.exportValue)){this._currentValueIndices.push(r);this._value.push(t.exportValue)}})}else{Array.isArray(t)&&(t=t[0]);const e=this._items.findIndex(e=>{let r=e.exportValue;return t===r});if(-1!==e){this._currentValueIndices=e;this._value=this._items[e].exportValue}}}get valueAsString(){return(this._value??"").toString()}set valueAsString(t){}browseForFileToSubmit(){this._browseForFileToSubmit&&this._browseForFileToSubmit()}buttonGetCaption(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this._buttonCaption?this._buttonCaption[t]:""}buttonGetIcon(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this._buttonIcon?this._buttonIcon[t]:null}buttonImportIcon(){}buttonSetCaption(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._buttonCaption||(this._buttonCaption=["","",""]);this._buttonCaption[e]=t}buttonSetIcon(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._buttonIcon||(this._buttonIcon=[null,null,null]);this._buttonIcon[e]=t}checkThisBox(t){}clearItems(){if(!this._isChoice)throw new Error("Not a choice widget");this._items=[];this._send({id:this._id,clear:null})}deleteItemAt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!this._isChoice)throw new Error("Not a choice widget");if(this.numItems){if(null===t){t=Array.isArray(this._currentValueIndices)?this._currentValueIndices[0]:this._currentValueIndices;t||=0}(t<0||t>=this.numItems)&&(t=this.numItems-1);this._items.splice(t,1);if(Array.isArray(this._currentValueIndices)){let e=this._currentValueIndices.findIndex(e=>e>=t);if(-1!==e){this._currentValueIndices[e]===t&&this._currentValueIndices.splice(e,1);for(const t=this._currentValueIndices.length;e<t;e++)--this._currentValueIndices[e]}}else this._currentValueIndices===t?this._currentValueIndices=this.numItems>0?0:-1:this._currentValueIndices>t&&--this._currentValueIndices;this._send({id:this._id,remove:t})}}getItemAt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._isChoice)throw new Error("Not a choice widget");(t<0||t>=this.numItems)&&(t=this.numItems-1);const r=this._items[t];return e?r.exportValue:r.displayValue}getArray(){if(this._kidIds){const t=[],fillArrayWithKids=e=>{for(const r of e){const e=this._appObjects[r];if(e){e.obj._hasValue&&t.push(e.wrapped);e.obj._kidIds&&fillArrayWithKids(e.obj._kidIds)}}};fillArrayWithKids(this._kidIds);return t}return this._children??=this._document.obj._getTerminalChildren(this._fieldPath)}getLock(){}isBoxChecked(t){return!1}isDefaultChecked(t){return!1}insertItemAt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!this._isChoice)throw new Error("Not a choice widget");if(!t)return;(r<0||r>this.numItems)&&(r=this.numItems);if(this._items.some(e=>e.displayValue===t))return;void 0===e&&(e=t);const n={displayValue:t,exportValue:e};this._items.splice(r,0,n);if(Array.isArray(this._currentValueIndices)){let t=this._currentValueIndices.findIndex(t=>t>=r);if(-1!==t)for(const e=this._currentValueIndices.length;t<e;t++)++this._currentValueIndices[t]}else this._currentValueIndices>=r&&++this._currentValueIndices;this._send({id:this._id,insert:{index:r,...n}})}setAction(t,e){if("string"==typeof t&&"string"==typeof e){t in this._actions||(this._actions[t]=[]);this._actions[t].push(e)}}setFocus(){this._send({id:this._id,focus:!0})}setItems(t){if(!this._isChoice)throw new Error("Not a choice widget");this._items.length=0;for(const e of t){let t,r;if(Array.isArray(e)){t=e[0]?.toString()||"";r=e[1]?.toString()||""}else t=r=e?.toString()||"";this._items.push({displayValue:t,exportValue:r})}this._currentValueIndices=0;this._send({id:this._id,items:this._items})}setLock(){}signatureGetModifications(){}signatureGetSeedValue(){}signatureInfo(){}signatureSetSeedValue(){}signatureSign(){}signatureValidate(){}_isButton(){return!1}_reset(){this.value=this.defaultValue}_runActions(t){const e=t.name;if(!this._actions.has(e))return!1;const r=this._actions.get(e);for(const t of r)try{this._globalEval(t)}catch(t){const r=serializeError(t);r.value=`Error when executing "${e}" for field "${this._id}"\\n${r.value}`;this._send(r)}return!0}}class RadioButtonField extends Field{constructor(t,e){super(e);this.exportValues=[this.exportValues];this._radioIds=[this._id];this._radioActions=[this._actions];for(const e of t){this.exportValues.push(e.exportValues);this._radioIds.push(e.id);this._radioActions.push(createActionsMap(e.actions));this._value===e.exportValues&&(this._id=e.id)}this._hasBeenInitialized=!0;this._value=e.value||""}get _siblings(){return this._radioIds.filter(t=>t!==this._id)}set _siblings(t){}get value(){return this._value}set value(t){if(!this._hasBeenInitialized)return;null==t&&(this._value="");const e=this.exportValues.indexOf(t);if(0<=e&&e<this._radioIds.length){this._id=this._radioIds[e];this._value=t}else if("Off"===t&&2===this._radioIds.length){const t=(1+this._radioIds.indexOf(this._id))%2;this._id=this._radioIds[t];this._value=this.exportValues[t]}}checkThisBox(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!(t<0||t>=this._radioIds.length)&&e){this._id=this._radioIds[t];this._value=this.exportValues[t];this._send({id:this._id,value:this._value})}}isBoxChecked(t){return t>=0&&t<this._radioIds.length&&this._id===this._radioIds[t]}isDefaultChecked(t){return t>=0&&t<this.exportValues.length&&this.defaultValue===this.exportValues[t]}_getExportValue(t){const e=this._radioIds.indexOf(this._id);return this.exportValues[e]}_runActions(t){const e=this._radioIds.indexOf(this._id);this._actions=this._radioActions[e];return super._runActions(t)}_isButton(){return!0}}class CheckboxField extends RadioButtonField{get value(){return this._value}set value(t){t&&"Off"!==t?super.value=t:this._value="Off"}_getExportValue(t){return t?super._getExportValue(t):"Off"}isBoxChecked(t){return"Off"!==this._value&&super.isBoxChecked(t)}isDefaultChecked(t){return"Off"===this.defaultValue?"Off"===this._value:super.isDefaultChecked(t)}checkThisBox(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!(t<0||t>=this._radioIds.length)){this._id=this._radioIds[t];this._value=e?this.exportValues[t]:"Off";this._send({id:this._id,value:this._value})}}}function _classPrivateMethodInitSpec(t,e){(function _checkPrivateRedeclaration(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function _assertClassBrand(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var w=new WeakSet;class AForm{constructor(t,e,r,n){_classPrivateMethodInitSpec(this,w);this._document=t;this._app=e;this._util=r;this._color=n;this._emailRegex=new RegExp("^[\\\\w.!#$%&\'*+/=?^`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$")}_mkTargetName(t){return t.target?`[ ${t.target.name} ]`:""}_parseDate(t,e){let r=null;try{r=this._util._scand(t,e,!1)}catch{}if(r)return r;r=Date.parse(e);return isNaN(r)?null:new Date(r)}AFMergeChange(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:globalThis.event;return t.willCommit?t.value.toString():this._app._eventDispatcher.mergeChange(t)}AFParseDateEx(t,e){return this._parseDate(e,t)}AFExtractNums(t){if("number"==typeof t)return[t];if(!t||"string"!=typeof t)return null;const e=t.charAt(0);"."!==e&&","!==e||(t=`0${t}`);const r=t.match(/(\\d+)/g);return 0===r.length?null:r}AFMakeNumber(t){if("number"==typeof t)return t;if("string"!=typeof t)return null;t=t.trim().replace(",",".");const e=parseFloat(t);return isNaN(e)||!isFinite(e)?null:e}AFMakeArrayFromList(t){return"string"==typeof t?t.split(/, ?/g):t}AFNumber_Format(t,e,r,n,i,o){const s=globalThis.event;let a=this.AFMakeNumber(s.value);if(null===a){s.value="";return}const l=Math.sign(a),u=[];let c=!1;-1===l&&o&&0===r&&u.push("-");if((2===r||3===r)&&-1===l){u.push("(");c=!0}o&&u.push(i);e=MathClamp(Math.floor(e),0,4);u.push("%,",e,".",t.toString(),"f");o||u.push(i);c&&u.push(")");1!==r&&3!==r||(s.target.textColor=1===l?this._color.black:this._color.red);0===r&&!o||-1!==l||(a=-a);const h=u.join("");s.value=this._util.printf(h,a)}AFNumber_Keystroke(t,e,r,n,i,o){const s=globalThis.event;let a,l=this.AFMergeChange(s);if(l){l=l.trim();a=e>1?s.willCommit?/^[+-]?(\\d+(,\\d*)?|,\\d+)$/:/^[+-]?\\d*(?:,\\d*)?$/:s.willCommit?/^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)$/:/^[+-]?\\d*(?:\\.\\d*)?$/;if(!a.test(l)){if(s.willCommit){const t=`${p.IDS_INVALID_VALUE} ${this._mkTargetName(s)}`;this._app.alert(t)}s.rc=!1}s.willCommit&&e>1&&(s.value=parseFloat(l.replace(",",".")))}}AFPercent_Format(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("number"!=typeof t)return;if("number"!=typeof e)return;if(t<0)throw new Error("Invalid nDec value in AFPercent_Format");const n=globalThis.event;if(t>512){n.value="%";return}t=Math.floor(t);e=MathClamp(Math.floor(e),0,4);let i=this.AFMakeNumber(n.value);if(null===i){n.value="%";return}const o=`%,${e}.${t}f`;i=this._util.printf(o,100*i);n.value=r?`%${i}`:`${i}%`}AFPercent_Keystroke(t,e){this.AFNumber_Keystroke(t,e,0,0,"",!0)}AFDate_FormatEx(t){const e=globalThis.event,r=e.value;if(!r)return;const n=this._parseDate(t,r);null!==n&&(e.value=this._util.printd(t,n))}AFDate_Format(t){this.AFDate_FormatEx(v[t]??t)}AFDate_KeystrokeEx(t){const e=globalThis.event;if(!e.willCommit)return;const r=this.AFMergeChange(e);if(r&&null===this._parseDate(t,r)){const r=p.IDS_INVALID_DATE,n=p.IDS_INVALID_DATE2,i=`${r} ${this._mkTargetName(e)}${n}${t}`;this._app.alert(i);e.rc=!1}}AFDate_Keystroke(t){t>=0&&t<v.length&&this.AFDate_KeystrokeEx(v[t])}AFRange_Validate(t,e,r,n){const i=globalThis.event;if(!i.value)return;const o=this.AFMakeNumber(i.value);if(null===o)return;r=!!r;if((t=!!t)&&null===(e=this.AFMakeNumber(e)))return;if(r&&null===(n=this.AFMakeNumber(n)))return;let s="";t&&r?(o<e||o>n)&&(s=this._util.printf(p.IDS_GT_AND_LT,e,n)):t?o<e&&(s=this._util.printf(p.IDS_GREATER_THAN,e)):o>n&&(s=this._util.printf(p.IDS_LESS_THAN,n));if(s){this._app.alert(s);i.rc=!1}}AFSimple(t,e,r){const n=this.AFMakeNumber(e);if(null===n)throw new Error("Invalid nValue1 in AFSimple");const i=this.AFMakeNumber(r);if(null===i)throw new Error("Invalid nValue2 in AFSimple");switch(t){case"AVG":return(n+i)/2;case"SUM":return n+i;case"PRD":return n*i;case"MIN":return Math.min(n,i);case"MAX":return Math.max(n,i)}throw new Error("Invalid cFunction in AFSimple")}AFSimple_Calculate(t,e){const r={AVG:t=>Math.sumPrecise(t)/t.length,SUM:t=>Math.sumPrecise(t),PRD:t=>t.reduce((t,e)=>t*e,1),MIN:t=>Math.min(...t),MAX:t=>Math.max(...t)};if(!(t in r))throw new TypeError("Invalid function in AFSimple_Calculate");const n=globalThis.event,i=[];e=this.AFMakeArrayFromList(e);for(const t of e){const e=this._document.getField(t);if(e)for(const t of e.getArray()){const e=this.AFMakeNumber(t.value);i.push(e??0)}}if(0===i.length){n.value=0;return}const o=r[t](i);n.value=Math.round(1e6*o)/1e6}AFSpecial_Format(t){const e=globalThis.event;if(!e.value)return;let r;switch(t=this.AFMakeNumber(t)){case 0:r="99999";break;case 1:r="99999-9999";break;case 2:r=this._util.printx("9999999999",e.value).length>=10?"(999) 999-9999":"999-9999";break;case 3:r="999-99-9999";break;default:throw new Error("Invalid psf in AFSpecial_Format")}e.value=this._util.printx(r,e.value)}AFSpecial_KeystrokeEx(t){const e=globalThis.event,r=t.replaceAll(/[^9AOX]/g,"");_assertClassBrand(w,this,_AFSpecial_KeystrokeEx_helper).call(this,r,null,!1);if(!e.rc){e.rc=!0;_assertClassBrand(w,this,_AFSpecial_KeystrokeEx_helper).call(this,t,null,!0)}}AFSpecial_Keystroke(t){const e=globalThis.event;t=this.AFMakeNumber(t);let r,n,i=this.AFMergeChange(e);switch(t){case 0:r="99999";break;case 1:r="99999-9999";break;case 2:r="999-9999";n="(999) 999-9999";break;case 3:r="999-99-9999";break;default:throw new Error("Invalid psf in AFSpecial_Keystroke")}const o=n?[r,n]:[r];for(const t of o){_assertClassBrand(w,this,_AFSpecial_KeystrokeEx_helper).call(this,t,i,!1);if(e.rc)return;e.rc=!0}const s=/[-()\\s]+/g;i=i.replaceAll(s,"");for(const t of o){_assertClassBrand(w,this,_AFSpecial_KeystrokeEx_helper).call(this,t.replaceAll(s,""),i,!1);if(e.rc)return;e.rc=!0}this.AFSpecial_KeystrokeEx((n&&i.match(/\\d/g)||[]).length>7?n:r)}AFTime_FormatEx(t){this.AFDate_FormatEx(t)}AFTime_Format(t){this.AFDate_FormatEx(b[t]??t)}AFTime_KeystrokeEx(t){this.AFDate_KeystrokeEx(t)}AFTime_Keystroke(t){t>=0&&t<b.length&&this.AFDate_KeystrokeEx(b[t])}eMailValidate(t){return this._emailRegex.test(t)}AFExactMatch(t,e){return t instanceof RegExp?e.match(t)?.[0]===e||0:t.findIndex(t=>e.match(t)?.[0]===e)+1}}function _AFSpecial_KeystrokeEx_helper(t,e,r){if(!t)return;const n=globalThis.event;e||=this.AFMergeChange(n);if(!e)return;const i=new Map([["9",t=>t>="0"&&t<="9"],["A",t=>"a"<=t&&t<="z"||"A"<=t&&t<="Z"],["O",t=>"a"<=t&&t<="z"||"A"<=t&&t<="Z"||"0"<=t&&t<="9"],["X",t=>!0]]);function _checkValidity(t,e){for(let r=0,n=t.length;r<n;r++){const n=e.charAt(r),o=t.charAt(r),s=i.get(n);if(s){if(!s(o))return!1}else if(n!==o)return!1}return!0}const o=`${p.IDS_INVALID_VALUE} = "${t}"`;if(e.length>t.length){r&&this._app.alert(o);n.rc=!1}else if(n.willCommit){if(e.length<t.length){r&&this._app.alert(o);n.rc=!1;return}if(!_checkValidity(e,t)){r&&this._app.alert(o);n.rc=!1;return}n.value+=t.substring(e.length)}else{e.length<t.length&&(t=t.substring(0,e.length));if(!_checkValidity(e,t)){r&&this._app.alert(o);n.rc=!1}}}__webpack_require__(4423),__webpack_require__(8454),__webpack_require__(9452);class Event{constructor(t){this.change=t.change||"";this.changeEx=t.changeEx||null;this.commitKey=t.commitKey||0;this.fieldFull=t.fieldFull||!1;this.keyDown=t.keyDown||!1;this.modifier=t.modifier||!1;this.name=t.name;this.rc=!0;this.richChange=t.richChange||[];this.richChangeEx=t.richChangeEx||[];this.richValue=t.richValue||[];this.selEnd=t.selEnd??-1;this.selStart=t.selStart??-1;this.shift=t.shift||!1;this.source=t.source||null;this.target=t.target||null;this.targetName="";this.type="Field";this.value=t.value||"";this.willCommit=t.willCommit||!1}}class EventDispatcher{constructor(t,e,r,n){this._document=t;this._calculationOrder=e;this._objects=r;this._externalCall=n;this._document.obj._eventDispatcher=this;this._isCalculating=!1}mergeChange(t){let e=t.value;if(Array.isArray(e))return e;"string"!=typeof e&&(e=e.toString());const r=t.selStart>=0?e.substring(0,t.selStart):"",n=t.selEnd>=0&&t.selEnd<=e.length?e.substring(t.selEnd):"";return`${r}${t.change}${n}`}userActivation(){this._document.obj._userActivation=!0;this._externalCall("setTimeout",[0,5e3])}dispatch(t){const e=t.id;if(!(e in this._objects)){let r;if("doc"===e||"page"===e){r=globalThis.event=new Event(t);r.source=r.target=this._document.wrapped;r.name=t.name}if("doc"===e){const t=r.name;if("Open"===t){this.userActivation();this._document.obj._initActions();this.formatAll()}["DidPrint","DidSave","WillPrint","WillSave"].includes(t)||this.userActivation();this._document.obj._dispatchDocEvent(r.name)}else if("page"===e){this.userActivation();this._document.obj._dispatchPageEvent(r.name,t.actions,t.pageNumber)}else if("app"===e&&"ResetForm"===t.name){this.userActivation();for(const e of t.ids){const t=this._objects[e];t?.obj._reset()}}return}const r=t.name,n=this._objects[e],i=globalThis.event=new Event(t);let o;this.userActivation();if(n.obj._isButton()){n.obj._id=e;i.value=n.obj._getExportValue(i.value);"Action"===r&&(n.obj._value=i.value)}switch(r){case"Keystroke":o={value:i.value,changeEx:i.changeEx,change:i.change,selStart:i.selStart,selEnd:i.selEnd};break;case"Blur":case"Focus":Object.defineProperty(i,"value",{configurable:!1,writable:!1,enumerable:!0,value:i.value});break;case"Validate":this.runValidation(n,i);return;case"Action":this.runActions(n,n,i,r);this.runCalculate(n,i);return}this.runActions(n,n,i,r);if("Keystroke"===r)if(i.rc)if(i.willCommit)this.runValidation(n,i);else{if(n.obj._isChoice){n.obj.value=o.changeEx;n.obj._send({id:n.obj._id,siblings:n.obj._siblings,value:n.obj.value});return}const t=n.obj.value=this.mergeChange(i);let e,r;if(i.selStart!==o.selStart||i.selEnd!==o.selEnd){e=i.selStart;r=i.selEnd}else r=e=o.selStart+i.change.length;n.obj._send({id:n.obj._id,siblings:n.obj._siblings,value:t,selRange:[e,r]})}else i.willCommit?n.obj._send({id:n.obj._id,siblings:n.obj._siblings,value:"",formattedValue:null,selRange:[0,0]}):n.obj._send({id:n.obj._id,siblings:n.obj._siblings,value:o.value,selRange:[o.selStart,o.selEnd]})}formatAll(){const t=globalThis.event=new Event({});for(const e of Object.values(this._objects)){t.value=e.obj._getValue();this.runActions(e,e,t,"Format")}}runValidation(t,e){const r=this.runActions(t,t,e,"Validate");if(e.rc){t.obj.value=e.value;this.runCalculate(t,e);const r=e.value=t.obj._getValue();let n=null;this.runActions(t,t,e,"Format")&&(n=e.value?.toString?.());t.obj._send({id:t.obj._id,siblings:t.obj._siblings,value:r,formattedValue:n});e.value=r}else r&&t.obj._send({id:t.obj._id,siblings:t.obj._siblings,value:"",formattedValue:null,selRange:[0,0],focus:!0})}runActions(t,e,r,n){r.source=t.wrapped;r.target=e.wrapped;r.name=n;r.targetName=e.obj.name;r.rc=!0;return e.obj._runActions(r)}calculateNow(){if(!this._calculationOrder||this._isCalculating||!this._document.obj.calculate)return;this._isCalculating=!0;const t=this._calculationOrder[0],e=this._objects[t];globalThis.event=new Event({});this.runCalculate(e,globalThis.event);this._isCalculating=!1}runCalculate(t,e){if(this._calculationOrder&&this._document.obj.calculate)for(const r of this._calculationOrder){if(!(r in this._objects))continue;if(!this._document.obj.calculate)break;e.value=null;const n=this._objects[r];let i=n.obj._getValue();this.runActions(t,n,e,"Calculate");if(!e.rc)continue;null!==e.value?n.obj.value=e.value:e.value=n.obj._getValue();this.runActions(n,n,e,"Validate");if(!e.rc){n.obj._getValue()!==i&&(n.wrapped.value=i);continue}null===e.value&&(e.value=n.obj._getValue());i=n.obj._getValue();let o=null;this.runActions(n,n,e,"Format")&&(o=e.value?.toString?.());n.obj._send({id:n.obj._id,siblings:n.obj._siblings,value:i,formattedValue:o})}}}function fullscreen_defineProperty(t,e,r){return(e=function fullscreen_toPropertyKey(t){var e=function fullscreen_toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class FullScreen extends PDFObject{constructor(){super(...arguments);fullscreen_defineProperty(this,"_backgroundColor",[]);fullscreen_defineProperty(this,"_clickAdvances",!0);fullscreen_defineProperty(this,"_cursor",n.hidden);fullscreen_defineProperty(this,"_defaultTransition","");fullscreen_defineProperty(this,"_escapeExits",!0);fullscreen_defineProperty(this,"_isFullScreen",!0);fullscreen_defineProperty(this,"_loop",!1);fullscreen_defineProperty(this,"_timeDelay",3600);fullscreen_defineProperty(this,"_usePageTiming",!1);fullscreen_defineProperty(this,"_useTimer",!1)}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){}get clickAdvances(){return this._clickAdvances}set clickAdvances(t){}get cursor(){return this._cursor}set cursor(t){}get defaultTransition(){return this._defaultTransition}set defaultTransition(t){}get escapeExits(){return this._escapeExits}set escapeExits(t){}get isFullScreen(){return this._isFullScreen}set isFullScreen(t){}get loop(){return this._loop}set loop(t){}get timeDelay(){return this._timeDelay}set timeDelay(t){}get transitions(){return["Replace","WipeRight","WipeLeft","WipeDown","WipeUp","SplitHorizontalIn","SplitHorizontalOut","SplitVerticalIn","SplitVerticalOut","BlindsHorizontal","BlindsVertical","BoxIn","BoxOut","GlitterRight","GlitterDown","GlitterRightDown","Dissolve","Random"]}set transitions(t){throw new Error("fullscreen.transitions is read-only")}get usePageTiming(){return this._usePageTiming}set usePageTiming(t){}get useTimer(){return this._useTimer}set useTimer(t){}}function thermometer_defineProperty(t,e,r){return(e=function thermometer_toPropertyKey(t){var e=function thermometer_toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Thermometer extends PDFObject{constructor(){super(...arguments);thermometer_defineProperty(this,"_cancelled",!1);thermometer_defineProperty(this,"_duration",100);thermometer_defineProperty(this,"_text","");thermometer_defineProperty(this,"_value",0)}get cancelled(){return this._cancelled}set cancelled(t){throw new Error("thermometer.cancelled is read-only")}get duration(){return this._duration}set duration(t){this._duration=t}get text(){return this._text}set text(t){this._text=t}get value(){return this._value}set value(t){this._value=t}begin(){}end(){}}function app_slicedToArray(t,e){return function app_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function app_iterableToArrayLimit(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,s,a=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(t,e)||function app_unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return app_arrayLikeToArray(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?app_arrayLikeToArray(t,e):void 0}}(t,e)||function app_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function app_arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}class App extends PDFObject{constructor(t){super(t);this._constants=null;this._focusRect=!0;this._fs=null;this._language=App._getLanguage(t.language);this._openInPlace=!1;this._platform=App._getPlatform(t.platform);this._runtimeHighlight=!1;this._runtimeHighlightColor=["T"];this._thermometer=null;this._toolbar=!1;this._document=t._document;this._proxyHandler=t.proxyHandler;this._objects=Object.create(null);this._eventDispatcher=new EventDispatcher(this._document,t.calculationOrder,this._objects,t.externalCall);this._timeoutIds=new WeakMap;this._timeoutIdsRegistry=new FinalizationRegistry(this._cleanTimeout.bind(this));this._timeoutCallbackIds=new Map;this._timeoutCallbackId=1;this._globalEval=t.globalEval;this._externalCall=t.externalCall}_dispatchEvent(t){this._eventDispatcher.dispatch(t)}_registerTimeoutCallback(t){const e=this._timeoutCallbackId++;this._timeoutCallbackIds.set(e,t);return e}_unregisterTimeoutCallback(t){this._timeoutCallbackIds.delete(t)}_evalCallback(t){let e=t.callbackId,r=t.interval;const n=this._document.obj;if(0===e){n._userActivation=!1;return}const i=this._timeoutCallbackIds.get(e);r||this._unregisterTimeoutCallback(e);if(i){const t=n._userActivation;n._userActivation=!1;this._globalEval(i);n._userActivation=t}}_registerTimeout(t,e){const r=Object.create(null),n={callbackId:t,interval:e};this._timeoutIds.set(r,n);this._timeoutIdsRegistry.register(r,n);return r}_unregisterTimeout(t){this._timeoutIdsRegistry.unregister(t);const e=this._timeoutIds.get(t);if(e){this._timeoutIds.delete(t);this._cleanTimeout(e)}}_cleanTimeout(t){let e=t.callbackId,r=t.interval;this._unregisterTimeoutCallback(e);r?this._externalCall("clearInterval",[e]):this._externalCall("clearTimeout",[e])}static _getPlatform(t){if("string"==typeof t){if((t=t.toLowerCase()).includes("win"))return"WIN";if(t.includes("mac"))return"MAC"}return"UNIX"}static _getLanguage(t){const e=app_slicedToArray(t.toLowerCase().split(/[-_]/,2),2),r=e[0],n=e[1];switch(r){case"zh":return"cn"===n||"sg"===n?"CHS":"CHT";case"da":return"DAN";case"de":return"DEU";case"es":return"ESP";case"fr":return"FRA";case"it":return"ITA";case"ko":return"KOR";case"ja":return"JPN";case"nl":return"NLD";case"no":return"NOR";case"pt":return"br"===n?"PTB":"ENU";case"fi":return"SUO";case"SV":return"SVE";default:return"ENU"}}get activeDocs(){return[this._document.wrapped]}set activeDocs(t){throw new Error("app.activeDocs is read-only")}get calculate(){return this._document.obj.calculate}set calculate(t){this._document.obj.calculate=t}get constants(){return this._constants??=Object.freeze({align:Object.freeze({left:0,center:1,right:2,top:3,bottom:4})})}set constants(t){throw new Error("app.constants is read-only")}get focusRect(){return this._focusRect}set focusRect(t){this._focusRect=t}get formsVersion(){return 21.00720099}set formsVersion(t){throw new Error("app.formsVersion is read-only")}get fromPDFConverters(){return[]}set fromPDFConverters(t){throw new Error("app.fromPDFConverters is read-only")}get fs(){return this._fs??=new Proxy(new FullScreen({send:this._send}),this._proxyHandler)}set fs(t){throw new Error("app.fs is read-only")}get language(){return this._language}set language(t){throw new Error("app.language is read-only")}get media(){}set media(t){throw new Error("app.media is read-only")}get monitors(){return[]}set monitors(t){throw new Error("app.monitors is read-only")}get numPlugins(){return 0}set numPlugins(t){throw new Error("app.numPlugins is read-only")}get openInPlace(){return this._openInPlace}set openInPlace(t){this._openInPlace=t}get platform(){return this._platform}set platform(t){throw new Error("app.platform is read-only")}get plugins(){return[]}set plugins(t){throw new Error("app.plugins is read-only")}get printColorProfiles(){return[]}set printColorProfiles(t){throw new Error("app.printColorProfiles is read-only")}get printerNames(){return[]}set printerNames(t){throw new Error("app.printerNames is read-only")}get runtimeHighlight(){return this._runtimeHighlight}set runtimeHighlight(t){this._runtimeHighlight=t}get runtimeHighlightColor(){return this._runtimeHighlightColor}set runtimeHighlightColor(t){Color._isValidColor(t)&&(this._runtimeHighlightColor=t)}get thermometer(){return this._thermometer??=new Proxy(new Thermometer({send:this._send}),this._proxyHandler)}set thermometer(t){throw new Error("app.thermometer is read-only")}get toolbar(){return this._toolbar}set toolbar(t){this._toolbar=t}get toolbarHorizontal(){return this.toolbar}set toolbarHorizontal(t){this.toolbar=t}get toolbarVertical(){return this.toolbar}set toolbarVertical(t){this.toolbar=t}get viewerType(){return"PDF.js"}set viewerType(t){throw new Error("app.viewerType is read-only")}get viewerVariation(){return"Full"}set viewerVariation(t){throw new Error("app.viewerVariation is read-only")}get viewerVersion(){return 21.00720099}set viewerVersion(t){throw new Error("app.viewerVersion is read-only")}addMenuItem(){}addSubMenu(){}addToolButton(){}alert(t){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!this._document.obj._userActivation)return 0;this._document.obj._userActivation=!1;if(t&&"object"==typeof t){e=t.nType;t=t.cMsg}if(!(t=(t||"").toString()))return 0;e="number"!=typeof e||isNaN(e)||e<0||e>3?0:e;if(e>=2)return this._externalCall("confirm",[t])?4:3;this._externalCall("alert",[t]);return 1}beep(){}beginPriv(){}browseForDoc(){}clearInterval(t){this._unregisterTimeout(t)}clearTimeOut(t){this._unregisterTimeout(t)}endPriv(){}execDialog(){}execMenuItem(t){if(this._document.obj._userActivation){this._document.obj._userActivation=!1;switch(t){case"SaveAs":if(this._document.obj._disableSaving)return;this._send({command:t});break;case"FirstPage":case"LastPage":case"NextPage":case"PrevPage":case"ZoomViewIn":case"ZoomViewOut":this._send({command:t});break;case"FitPage":this._send({command:"zoom",value:"page-fit"});break;case"Print":if(this._document.obj._disablePrinting)return;this._send({command:"print"})}}}getNthPlugInName(){}getPath(){}goBack(){}goForward(){}hideMenuItem(){}hideToolbarButton(){}launchURL(){}listMenuItems(){}listToolbarButtons(){}loadPolicyFile(){}mailGetAddrs(){}mailMsg(){}newDoc(){}newCollection(){}newFDF(){}openDoc(){}openFDF(){}popUpMenu(){}popUpMenuEx(){}removeToolButton(){}response(t){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!this._document.obj._userActivation)return null;this._document.obj._userActivation=!1;if(t&&"object"==typeof t){e=t.cDefault;t=t.cQuestion}t=(t||"").toString();e=(e||"").toString();return this._externalCall("prompt",[t,e||""])}setInterval(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t&&"object"==typeof t){e=t.nMilliseconds||0;t=t.cExpr}if("string"!=typeof t)throw new TypeError("First argument of app.setInterval must be a string");if("number"!=typeof e)throw new TypeError("Second argument of app.setInterval must be a number");const r=this._registerTimeoutCallback(t);this._externalCall("setInterval",[r,e]);return this._registerTimeout(r,!0)}setTimeOut(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t&&"object"==typeof t){e=t.nMilliseconds||0;t=t.cExpr}if("string"!=typeof t)throw new TypeError("First argument of app.setTimeOut must be a string");if("number"!=typeof e)throw new TypeError("Second argument of app.setTimeOut must be a number");const r=this._registerTimeoutCallback(t);this._externalCall("setTimeout",[r,e]);return this._registerTimeout(r,!1)}trustedFunction(){}trustPropagatorFunction(){}}__webpack_require__(3110);class Console extends PDFObject{clear(){this._send({id:"clear"})}hide(){}println(t){if("string"!=typeof t)try{t=JSON.stringify(t)}catch{t=t.toString?.()||"[Unserializable object]"}this._send({command:"println",value:"PDF.js Console:: "+t})}show(){}}function print_params_defineProperty(t,e,r){return(e=function print_params_toPropertyKey(t){var e=function print_params_toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class PrintParams{constructor(t){print_params_defineProperty(this,"binaryOk",!0);print_params_defineProperty(this,"bitmapDPI",150);print_params_defineProperty(this,"booklet",{binding:0,duplexMode:0,subsetFrom:0,subsetTo:-1});print_params_defineProperty(this,"colorOverride",0);print_params_defineProperty(this,"colorProfile","");print_params_defineProperty(this,"constants",Object.freeze({bookletBindings:Object.freeze({Left:0,Right:1,LeftTall:2,RightTall:3}),bookletDuplexMode:Object.freeze({BothSides:0,FrontSideOnly:1,BasicSideOnly:2}),colorOverrides:Object.freeze({auto:0,gray:1,mono:2}),fontPolicies:Object.freeze({everyPage:0,jobStart:1,pageRange:2}),handling:Object.freeze({none:0,fit:1,shrink:2,tileAll:3,tileLarge:4,nUp:5,booklet:6}),interactionLevel:Object.freeze({automatic:0,full:1,silent:2}),nUpPageOrders:Object.freeze({Horizontal:0,HorizontalReversed:1,Vertical:2}),printContents:Object.freeze({doc:0,docAndComments:1,formFieldsOnly:2}),flagValues:Object.freeze({applyOverPrint:1,applySoftProofSettings:2,applyWorkingColorSpaces:4,emitHalftones:8,emitPostScriptXObjects:16,emitFormsAsPSForms:32,maxJP2KRes:64,setPageSize:128,suppressBG:256,suppressCenter:512,suppressCJKFontSubst:1024,suppressCropClip:2,suppressRotate:4096,suppressTransfer:8192,suppressUCR:16384,useTrapAnnots:32768,usePrintersMarks:65536}),rasterFlagValues:Object.freeze({textToOutline:1,strokesToOutline:2,allowComplexClip:4,preserveOverprint:8}),subsets:Object.freeze({all:0,even:1,odd:2}),tileMarks:Object.freeze({none:0,west:1,east:2}),usages:Object.freeze({auto:0,use:1,noUse:2})}));print_params_defineProperty(this,"downloadFarEastFonts",!1);print_params_defineProperty(this,"fileName","");print_params_defineProperty(this,"firstPage",0);print_params_defineProperty(this,"flags",0);print_params_defineProperty(this,"fontPolicy",0);print_params_defineProperty(this,"gradientDPI",150);print_params_defineProperty(this,"interactive",1);print_params_defineProperty(this,"npUpAutoRotate",!1);print_params_defineProperty(this,"npUpNumPagesH",2);print_params_defineProperty(this,"npUpNumPagesV",2);print_params_defineProperty(this,"npUpPageBorder",!1);print_params_defineProperty(this,"npUpPageOrder",0);print_params_defineProperty(this,"pageHandling",0);print_params_defineProperty(this,"pageSubset",0);print_params_defineProperty(this,"printAsImage",!1);print_params_defineProperty(this,"printContent",0);print_params_defineProperty(this,"printerName","");print_params_defineProperty(this,"psLevel",0);print_params_defineProperty(this,"rasterFlags",0);print_params_defineProperty(this,"reversePages",!1);print_params_defineProperty(this,"tileLabel",!1);print_params_defineProperty(this,"tileMark",0);print_params_defineProperty(this,"tileOverlap",0);print_params_defineProperty(this,"tileScale",1);print_params_defineProperty(this,"transparencyLevel",75);print_params_defineProperty(this,"usePrinterCRD",0);print_params_defineProperty(this,"useT1Conversion",0);this.lastPage=t.lastPage}}function doc_slicedToArray(t,e){return function doc_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function doc_iterableToArrayLimit(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,s,a=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(t,e)||function doc_unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return doc_arrayLikeToArray(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?doc_arrayLikeToArray(t,e):void 0}}(t,e)||function doc_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function doc_arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function _classPrivateFieldInitSpec(t,e,r){(function doc_checkPrivateRedeclaration(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}function _classPrivateFieldSet(t,e,r){return t.set(doc_assertClassBrand(t,e),r),r}function _classPrivateFieldGet(t,e){return t.get(doc_assertClassBrand(t,e))}function doc_assertClassBrand(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}class InfoProxyHandler{static get(t,e){return t[e.toLowerCase()]}static set(t,e,r){throw new Error(`doc.info.${e} is read-only`)}}var A=new WeakMap,x=new WeakMap;class Doc extends PDFObject{constructor(t){super(t);_classPrivateFieldInitSpec(this,A,null);_classPrivateFieldInitSpec(this,x,null);this._expandos=globalThis;this._baseURL=t.baseURL||"";this._calculate=!0;this._delay=!1;this._dirty=!1;this._disclosed=!1;this._media=void 0;this._metadata=t.metadata||"";this._noautocomplete=void 0;this._nocache=void 0;this._spellDictionaryOrder=[];this._spellLanguageOrder=[];this._printParams=null;this._fields=new Map;this._fieldNames=[];this._event=null;this._author=t.Author||"";this._creator=t.Creator||"";this._creationDate=this._getDate(t.CreationDate)||null;this._docID=t.docID||["",""];this._documentFileName=t.filename||"";this._filesize=t.filesize||0;this._keywords=t.Keywords||"";this._layout=t.layout||"";this._modDate=this._getDate(t.ModDate)||null;this._numFields=0;this._numPages=t.numPages||1;this._pageNum=t.pageNum||0;this._producer=t.Producer||"";this._securityHandler=t.EncryptFilterName||null;this._subject=t.Subject||"";this._title=t.Title||"";this._URL=t.URL||"";this._info=new Proxy({title:this._title,author:this._author,authors:t.authors||[this._author],subject:this._subject,keywords:this._keywords,creator:this._creator,producer:this._producer,creationdate:this._creationDate,moddate:this._modDate,trapped:t.Trapped||"Unknown"},InfoProxyHandler);this._zoomType=d.none;this._zoom=t.zoom||100;this._actions=createActionsMap(t.actions);this._globalEval=t.globalEval;this._userActivation=!1;this._disablePrinting=!1;this._disableSaving=!1}_initActions(){for(const t of this._fields.values()){const e=t.obj,r=e._initialValue;r&&this._send({id:e._id,siblings:e._siblings,value:r,formattedValue:e.value.toString()})}const t=new Set(["WillClose","WillSave","DidSave","WillPrint","DidPrint","OpenAction"]);this._disableSaving=!0;for(const e of this._actions.keys())t.has(e)||this._runActions(e);this._runActions("OpenAction");this._disableSaving=!1}_dispatchDocEvent(t){switch(t){case"Open":this._disableSaving=!0;this._runActions("OpenAction");this._disableSaving=!1;break;case"WillPrint":this._disablePrinting=!0;try{this._runActions(t)}catch(t){this._send(serializeError(t))}this._send({command:"WillPrintFinished"});this._disablePrinting=!1;break;case"WillSave":this._disableSaving=!0;this._runActions(t);this._disableSaving=!1;break;default:this._runActions(t)}}_dispatchPageEvent(t,e,r){if("PageOpen"===t){_classPrivateFieldGet(A,this)??_classPrivateFieldSet(A,this,new Map);_classPrivateFieldGet(A,this).has(r)||_classPrivateFieldGet(A,this).set(r,createActionsMap(e));this._pageNum=r-1}for(const n of[_classPrivateFieldGet(A,this),_classPrivateFieldGet(x,this)]){e=n?.get(r)?.get(t);if(e)for(const t of e)this._globalEval(t)}}_runActions(t){const e=this._actions.get(t);if(e)for(const r of e)try{this._globalEval(r)}catch(e){const r=serializeError(e);r.value=`Error when executing "${t}" for document\\n${r.value}`;this._send(r)}}_addField(t,e){this._fields.set(t,e);this._fieldNames.push(t);this._numFields++;const r=e.obj._actions.get("PageOpen"),n=e.obj._actions.get("PageClose");if(r||n){_classPrivateFieldGet(x,this)??_classPrivateFieldSet(x,this,new Map);const t=_classPrivateFieldGet(x,this).getOrInsertComputed(e.obj._page+1,makeMap);r&&t.getOrInsertComputed("PageOpen",makeArr).push(...r);n&&t.getOrInsertComputed("PageClose",makeArr).push(...n)}}_getDate(t){if(!t||t.length<15||!t.startsWith("D:"))return t;const e=(t=t.substring(2)).substring(0,4),r=t.substring(4,6),n=t.substring(6,8),i=t.substring(8,10),o=t.substring(10,12),s=t.charAt(12);let a,l;if("Z"===s||"+"===s||"-"===s){a="00";l=12}else{a=t.substring(12,14);l=14}const u=t.substring(l).replaceAll("\'","");return new Date(`${e}-${r}-${n}T${i}:${o}:${a}${u}`)}get author(){return this._author}set author(t){throw new Error("doc.author is read-only")}get baseURL(){return this._baseURL}set baseURL(t){this._baseURL=t}get bookmarkRoot(){}set bookmarkRoot(t){throw new Error("doc.bookmarkRoot is read-only")}get calculate(){return this._calculate}set calculate(t){this._calculate=t}get creator(){return this._creator}set creator(t){throw new Error("doc.creator is read-only")}get dataObjects(){return[]}set dataObjects(t){throw new Error("doc.dataObjects is read-only")}get delay(){return this._delay}set delay(t){this._delay=t}get dirty(){return this._dirty}set dirty(t){this._dirty=t}get disclosed(){return this._disclosed}set disclosed(t){this._disclosed=t}get docID(){return this._docID}set docID(t){throw new Error("doc.docID is read-only")}get documentFileName(){return this._documentFileName}set documentFileName(t){throw new Error("doc.documentFileName is read-only")}get dynamicXFAForm(){return!1}set dynamicXFAForm(t){throw new Error("doc.dynamicXFAForm is read-only")}get external(){return false}set external(t){throw new Error("doc.external is read-only")}get filesize(){return this._filesize}set filesize(t){throw new Error("doc.filesize is read-only")}get hidden(){return!1}set hidden(t){throw new Error("doc.hidden is read-only")}get hostContainer(){}set hostContainer(t){throw new Error("doc.hostContainer is read-only")}get icons(){}set icons(t){throw new Error("doc.icons is read-only")}get info(){return this._info}set info(t){throw new Error("doc.info is read-only")}get innerAppWindowRect(){return[0,0,0,0]}set innerAppWindowRect(t){throw new Error("doc.innerAppWindowRect is read-only")}get innerDocWindowRect(){return[0,0,0,0]}set innerDocWindowRect(t){throw new Error("doc.innerDocWindowRect is read-only")}get isModal(){return!1}set isModal(t){throw new Error("doc.isModal is read-only")}get keywords(){return this._keywords}set keywords(t){throw new Error("doc.keywords is read-only")}get layout(){return this._layout}set layout(t){if(this._userActivation){this._userActivation=!1;if("string"==typeof t){"SinglePage"!==t&&"OneColumn"!==t&&"TwoColumnLeft"!==t&&"TwoPageLeft"!==t&&"TwoColumnRight"!==t&&"TwoPageRight"!==t&&(t="SinglePage");this._send({command:"layout",value:t});this._layout=t}}}get media(){return this._media}set media(t){this._media=t}get metadata(){return this._metadata}set metadata(t){this._metadata=t}get modDate(){return this._modDate}set modDate(t){throw new Error("doc.modDate is read-only")}get mouseX(){return 0}set mouseX(t){throw new Error("doc.mouseX is read-only")}get mouseY(){return 0}set mouseY(t){throw new Error("doc.mouseY is read-only")}get noautocomplete(){return this._noautocomplete}set noautocomplete(t){this._noautocomplete=t}get nocache(){return this._nocache}set nocache(t){this._nocache=t}get numFields(){return this._numFields}set numFields(t){throw new Error("doc.numFields is read-only")}get numPages(){return this._numPages}set numPages(t){throw new Error("doc.numPages is read-only")}get numTemplates(){return 0}set numTemplates(t){throw new Error("doc.numTemplates is read-only")}get outerAppWindowRect(){return[0,0,0,0]}set outerAppWindowRect(t){throw new Error("doc.outerAppWindowRect is read-only")}get outerDocWindowRect(){return[0,0,0,0]}set outerDocWindowRect(t){throw new Error("doc.outerDocWindowRect is read-only")}get pageNum(){return this._pageNum}set pageNum(t){if(this._userActivation){this._userActivation=!1;if(!("number"!=typeof t||t<0||t>=this._numPages)){this._send({command:"page-num",value:t});this._pageNum=t}}}get pageWindowRect(){return[0,0,0,0]}set pageWindowRect(t){throw new Error("doc.pageWindowRect is read-only")}get path(){return""}set path(t){throw new Error("doc.path is read-only")}get permStatusReady(){return!0}set permStatusReady(t){throw new Error("doc.permStatusReady is read-only")}get producer(){return this._producer}set producer(t){throw new Error("doc.producer is read-only")}get requiresFullSave(){return!1}set requiresFullSave(t){throw new Error("doc.requiresFullSave is read-only")}get securityHandler(){return this._securityHandler}set securityHandler(t){throw new Error("doc.securityHandler is read-only")}get selectedAnnots(){return[]}set selectedAnnots(t){throw new Error("doc.selectedAnnots is read-only")}get sounds(){return[]}set sounds(t){throw new Error("doc.sounds is read-only")}get spellDictionaryOrder(){return this._spellDictionaryOrder}set spellDictionaryOrder(t){this._spellDictionaryOrder=t}get spellLanguageOrder(){return this._spellLanguageOrder}set spellLanguageOrder(t){this._spellLanguageOrder=t}get subject(){return this._subject}set subject(t){throw new Error("doc.subject is read-only")}get templates(){return[]}set templates(t){throw new Error("doc.templates is read-only")}get title(){return this._title}set title(t){throw new Error("doc.title is read-only")}get URL(){return this._URL}set URL(t){throw new Error("doc.URL is read-only")}get viewState(){}set viewState(t){throw new Error("doc.viewState is read-only")}get xfa(){return this._xfa}set xfa(t){throw new Error("doc.xfa is read-only")}get XFAForeground(){return!1}set XFAForeground(t){throw new Error("doc.XFAForeground is read-only")}get zoomType(){return this._zoomType}set zoomType(t){if(this._userActivation){this._userActivation=!1;if("string"==typeof t){switch(t){case d.none:this._send({command:"zoom",value:1});break;case d.fitP:this._send({command:"zoom",value:"page-fit"});break;case d.fitW:this._send({command:"zoom",value:"page-width"});break;case d.fitH:this._send({command:"zoom",value:"page-height"});break;case d.fitV:this._send({command:"zoom",value:"auto"});break;case d.pref:case d.refW:break;default:return}this._zoomType=t}}}get zoom(){return this._zoom}set zoom(t){if(this._userActivation){this._userActivation=!1;"number"!=typeof t||t<8.33||t>6400||this._send({command:"zoom",value:t/100})}}addAnnot(){}addField(){}addIcon(){}addLink(){}addRecipientListCryptFilter(){}addRequirement(){}addScript(){}addThumbnails(){}addWatermarkFromFile(){}addWatermarkFromText(){}addWeblinks(){}bringToFront(){}calculateNow(){this._eventDispatcher.calculateNow()}closeDoc(){}colorConvertPage(){}createDataObject(){}createTemplate(){}deletePages(){}deleteSound(){}embedDocAsDataObject(){}embedOutputIntent(){}encryptForRecipients(){}encryptUsingPolicy(){}exportAsFDF(){}exportAsFDFStr(){}exportAsText(){}exportAsXFDF(){}exportAsXFDFStr(){}exportDataObject(){}exportXFAData(){}extractPages(){}flattenPages(){}getAnnot(){}getAnnots(){}getAnnot3D(){}getAnnots3D(){}getColorConvertAction(){}getDataObject(){}getDataObjectContents(){}_getField(t){t&&"object"==typeof t&&(t=t.cName);if("string"!=typeof t)throw new TypeError("Invalid field name: must be a string");const e=this._fields.get(t);if(e)return e;const r=t.split("#");let n=NaN;if(2===r.length){n=Math.floor(parseFloat(r[1]));t=r[0]}for(const e of this._fields){var i=doc_slicedToArray(e,2);const r=i[0],o=i[1];if(r.endsWith(t)){if(!isNaN(n)){const e=this._getChildren(r);(n<0||n>=e.length)&&(n=0);if(n<e.length){this._fields.set(t,e[n]);return e[n]}}this._fields.set(t,o);return o}}return null}getField(t){const e=this._getField(t);return e?e.wrapped:null}_getChildren(t){const e=t.length,r=[],n=/^\\.[^.]+$/;for(const o of this._fields){var i=doc_slicedToArray(o,2);const s=i[0],a=i[1];if(s.startsWith(t)){const t=s.slice(e);n.test(t)&&r.push(a)}}return r}_getTerminalChildren(t){const e=[],r=t.length;for(const i of this._fields){var n=doc_slicedToArray(i,2);const o=n[0],s=n[1];if(o.startsWith(t)){const t=o.slice(r);s.obj._hasValue&&(""===t||t.startsWith("."))&&e.push(s.wrapped)}}return e}getIcon(){}getLegalWarnings(){}getLinks(){}getNthFieldName(t){t&&"object"==typeof t&&(t=t.nIndex);if("number"!=typeof t)throw new TypeError("Invalid field index: must be a number");return 0<=t&&t<this.numFields?this._fieldNames[Math.trunc(t)]:null}getNthTemplate(){return null}getOCGs(){}getOCGOrder(){}getPageBox(){}getPageLabel(){}getPageNthWord(){}getPageNthWordQuads(){}getPageNumWords(){}getPageRotation(){}getPageTransition(){}getPrintParams(){return this._printParams||=new PrintParams({lastPage:this._numPages-1})}getSound(){}getTemplate(){}getURL(){}gotoNamedDest(){}importAnFDF(){}importAnXFDF(){}importDataObject(){}importIcon(){}importSound(){}importTextData(){}importXFAData(){}insertPages(){}mailDoc(){}mailForm(){}movePage(){}newPage(){}openDataObject(){}print(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=!(arguments.length>7&&void 0!==arguments[7])||arguments[7],l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null;if(!this._disablePrinting&&this._userActivation){this._userActivation=!1;if(t&&"object"==typeof t){e=t.nStart;r=t.nEnd;n=t.bSilent;i=t.bShrinkToFit;o=t.bPrintAsImage;s=t.bReverse;a=t.bAnnotations;l=t.printParams;t=t.bUI}if(l){e=l.firstPage;r=l.lastPage}e="number"==typeof e?Math.max(0,Math.trunc(e)):0;r="number"==typeof r?Math.max(0,Math.trunc(r)):-1;this._send({command:"print",start:e,end:r})}}removeDataObject(){}removeField(){}removeIcon(){}removeLinks(){}removeRequirement(){}removeScript(){}removeTemplate(){}removeThumbnails(){}removeWeblinks(){}replacePages(){}resetForm(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&"object"==typeof t&&!Array.isArray(t)&&(t=t.aFields);t&&!Array.isArray(t)&&(t=[t]);let e,r=!1;if(t){e=[];for(const n of t){if(!n)continue;if("string"!=typeof n){e=null;break}const t=this._getField(n);if(t){e.push(t);r=!0}}}if(!e){e=this._fields.values();r=0!==this._fields.size}for(const t of e){t.obj.value=t.obj.defaultValue;this._send({id:t.obj._id,siblings:t.obj._siblings,value:t.obj.defaultValue,formattedValue:null,selRange:[0,0]})}r&&this.calculateNow()}saveAs(){}scroll(){}selectPageNthWord(){}setAction(){}setDataObjectContents(){}setOCGOrder(){}setPageAction(){}setPageBoxes(){}setPageLabels(){}setPageRotations(){}setPageTabOrder(){}setPageTransitions(){}spawnPageFromTemplate(){}submitForm(){}syncAnnotScan(){}}function proxy_defineProperty(t,e,r){return(e=function proxy_toPropertyKey(t){var e=function proxy_toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class ProxyHandler{constructor(){proxy_defineProperty(this,"nosend",new Set(["delay"]))}get(t,e){if(e in t._expandos){const r=t._expandos[e];return"function"==typeof r?r.bind(t):r}if("string"==typeof e&&!e.startsWith("_")&&e in t){const r=t[e];return"function"==typeof r?r.bind(t):r}}set(t,e,r){t._kidIds&&t._kidIds.forEach(n=>{t._appObjects[n].wrapped[e]=r});if("string"==typeof e&&!e.startsWith("_")&&e in t){const n=t[e];t[e]=r;if(!this.nosend.has(e)&&t._send&&null!==t._id&&"function"!=typeof n){const r={id:t._id};r[e]="value"===e?t._getValue():t[e];if(t._siblings){r.siblings=t._siblings;t._send(r)}else t._send(r)}}else t._expandos[e]=r;return!0}has(t,e){return e in t._expandos||"string"==typeof e&&!e.startsWith("_")&&e in t}getPrototypeOf(t){return null}setPrototypeOf(t,e){return!1}isExtensible(t){return!0}preventExtensions(t){return!1}getOwnPropertyDescriptor(t,e){return e in t._expandos?{configurable:!0,enumerable:!0,value:t._expandos[e]}:"string"==typeof e&&!e.startsWith("_")&&e in t?{configurable:!0,enumerable:!0,value:t[e]}:void 0}defineProperty(t,e,r){Object.defineProperty(t._expandos,e,r);return!0}deleteProperty(t,e){e in t._expandos&&delete t._expandos[e]}ownKeys(t){const e=Reflect.ownKeys(t._expandos),r=Reflect.ownKeys(t).filter(t=>!t.startsWith("_"));return e.concat(r)}}function util_slicedToArray(t,e){return function util_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function util_iterableToArrayLimit(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,s,a=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(t,e)||function util_unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return util_arrayLikeToArray(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?util_arrayLikeToArray(t,e):void 0}}(t,e)||function util_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function util_arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function util_checkPrivateRedeclaration(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function util_classPrivateFieldGet(t,e){return t.get(util_assertClassBrand(t,e))}function util_assertClassBrand(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var S=new WeakMap,I=new WeakSet;class Util extends PDFObject{constructor(t){super(t);!function util_classPrivateMethodInitSpec(t,e){util_checkPrivateRedeclaration(t,e),e.add(t)}(this,I);!function util_classPrivateFieldInitSpec(t,e,r){util_checkPrivateRedeclaration(t,e),e.set(t,r)}(this,S,null);this._scandCache=new Map;this._months=["January","February","March","April","May","June","July","August","September","October","November","December"];this._days=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];this.MILLISECONDS_IN_DAY=864e5;this.MILLISECONDS_IN_WEEK=6048e5;this._externalCall=t.externalCall}printf(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(0===e.length)throw new Error("Invalid number of params in printf");if("string"!=typeof e[0])throw new TypeError("First argument of printf must be a string");let n=0;return e[0].replaceAll(/%(,[0-4])?([+ 0#]+)?(\\d+)?(\\.\\d+)?(.)/g,function(t,r,i,o,s,a){if("d"!==a&&"f"!==a&&"s"!==a&&"x"!==a){const t=["%"];for(const e of[r,i,o,s,a])e&&t.push(e);return t.join("")}n++;if(n===e.length)throw new Error("Not enough arguments in printf");const l=e[n];if("s"===a)return l.toString();let u=0;if(i)for(const t of i)switch(t){case"+":u|=1;break;case" ":u|=2;break;case"0":u|=4;break;case"#":u|=8}i=u;o&&(o=parseInt(o));let c=Math.trunc(l);if("x"===a){let t=Math.abs(c).toString(16).toUpperCase();void 0!==o&&(t=t.padStart(o,4&i?"0":" "));8&i&&(t=`0x${t}`);return t}s&&(s=parseInt(s.substring(1)));const h=util_slicedToArray({0:[",","."],1:["","."],2:[".",","],3:["",","],4:["\'","."]}[r=r?r.substring(1):"0"],2),d=h[0],p=h[1];let f="";if("f"===a){f=void 0!==s?Math.abs(l-c).toFixed(s):Math.abs(l-c).toString();if(f.length>2)if(/^1\\.0+$/.test(f)){c+=Math.sign(l);f=`${p}${f.split(".")[1]}`}else f=`${p}${f.substring(2)}`;else{"1"===f&&(c+=Math.sign(l));f=8&i?".":""}}let _="";if(c<0){_="-";c=-c}else 1&i?_="+":2&i&&(_=" ");if(d&&c>=1e3){const t=[];for(;;){t.push((c%1e3).toString().padStart(3,"0"));c=Math.trunc(c/1e3);if(c<1e3){t.push(c.toString());break}}c=t.reverse().join(d)}else c=c.toString();let m=`${c}${f}`;void 0!==o&&(m=m.padStart(o-_.length,4&i?"0":" "));return`${_}${m}`})}iconStreamFromIcon(){}printd(t,e){switch(t){case 0:return this.printd("D:yyyymmddHHMMss",e);case 1:return this.printd("yyyy.mm.dd HH:MM:ss",e);case 2:return this.printd("m/d/yy h:MM:ss tt",e)}const r={mmmm:t=>this._months[t.month],mmm:t=>this._months[t.month].substring(0,3),mm:t=>(t.month+1).toString().padStart(2,"0"),m:t=>(t.month+1).toString(),dddd:t=>this._days[t.dayOfWeek],ddd:t=>this._days[t.dayOfWeek].substring(0,3),dd:t=>t.day.toString().padStart(2,"0"),d:t=>t.day.toString(),yyyy:t=>t.year.toString().padStart(4,"0"),yy:t=>(t.year%100).toString().padStart(2,"0"),HH:t=>t.hours.toString().padStart(2,"0"),H:t=>t.hours.toString(),hh:t=>(1+(t.hours+11)%12).toString().padStart(2,"0"),h:t=>(1+(t.hours+11)%12).toString(),MM:t=>t.minutes.toString().padStart(2,"0"),M:t=>t.minutes.toString(),ss:t=>t.seconds.toString().padStart(2,"0"),s:t=>t.seconds.toString(),tt:t=>t.hours<12?"am":"pm",t:t=>t.hours<12?"a":"p"},n={year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),dayOfWeek:e.getDay(),hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()};return t.replaceAll(/(mmmm|mmm|mm|m|dddd|ddd|dd|d|yyyy|yy|HH|H|hh|h|MM|M|ss|s|tt|t|\\\\.)/g,function(t,e){return e in r?r[e](n):e.charCodeAt(1)})}printx(t,e){const r=[t=>t,t=>t.toUpperCase(),t=>t.toLowerCase()],n=[];let i=0;const o=(e=(e??"").toString()).length;let s=r[0],a=!1;for(const l of t)if(a){n.push(l);a=!1}else{if(i>=o)break;switch(l){case"?":n.push(s(e.charAt(i++)));break;case"X":for(;i<o;){const t=e.charAt(i++);if("a"<=t&&t<="z"||"A"<=t&&t<="Z"||"0"<=t&&t<="9"){n.push(s(t));break}}break;case"A":for(;i<o;){const t=e.charAt(i++);if("a"<=t&&t<="z"||"A"<=t&&t<="Z"){n.push(s(t));break}}break;case"9":for(;i<o;){const t=e.charAt(i++);if("0"<=t&&t<="9"){n.push(t);break}}break;case"*":for(;i<o;)n.push(s(e.charAt(i++)));break;case"\\\\":a=!0;break;case">":s=r[1];break;case"<":s=r[2];break;case"=":s=r[0];break;default:n.push(l)}}return n.join("")}scand(t,e){return this._scand(t,e)}_scand(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e)return new Date(e);if(""===e)return new Date;switch(t){case 0:return this.scand("D:yyyymmddHHMMss",e);case 1:return this.scand("yyyy.mm.dd HH:MM:ss",e);case 2:return this.scand("m/d/yy h:MM:ss tt",e)}if(!this._scandCache.has(t)){const e=this._months,r=this._days,n={mmmm:{pattern:`(${e.join("|")})`,action:(t,r)=>{r.month=e.indexOf(t)}},mmm:{pattern:`(${e.map(t=>t.substring(0,3)).join("|")})`,action:(t,r)=>{r.month=e.findIndex(e=>e.substring(0,3)===t)}},mm:{pattern:"(\\\\d{2})",action:(t,e)=>{e.month=parseInt(t)-1}},m:{pattern:"(\\\\d{1,2})",action:(t,e)=>{e.month=parseInt(t)-1}},dddd:{pattern:`(${r.join("|")})`,action:(t,e)=>{e.day=r.indexOf(t)}},ddd:{pattern:`(${r.map(t=>t.substring(0,3)).join("|")})`,action:(t,e)=>{e.day=r.findIndex(e=>e.substring(0,3)===t)}},dd:{pattern:"(\\\\d{2})",action:(t,e)=>{e.day=parseInt(t)}},d:{pattern:"(\\\\d{1,2})",action:(t,e)=>{e.day=parseInt(t)}},yyyy:{pattern:"(\\\\d{4})",action:(t,e)=>{e.year=parseInt(t)}},yy:{pattern:"(\\\\d{2})",action:(t,e)=>{e.year=2e3+parseInt(t)}},HH:{pattern:"(\\\\d{2})",action:(t,e)=>{e.hours=parseInt(t)}},H:{pattern:"(\\\\d{1,2})",action:(t,e)=>{e.hours=parseInt(t)}},hh:{pattern:"(\\\\d{2})",action:(t,e)=>{e.hours=parseInt(t)}},h:{pattern:"(\\\\d{1,2})",action:(t,e)=>{e.hours=parseInt(t)}},MM:{pattern:"(\\\\d{2})",action:(t,e)=>{e.minutes=parseInt(t)}},M:{pattern:"(\\\\d{1,2})",action:(t,e)=>{e.minutes=parseInt(t)}},ss:{pattern:"(\\\\d{2})",action:(t,e)=>{e.seconds=parseInt(t)}},s:{pattern:"(\\\\d{1,2})",action:(t,e)=>{e.seconds=parseInt(t)}},tt:{pattern:"([aApP][mM])",action:(t,e)=>{const r=t.charAt(0);e.am="a"===r||"A"===r}},t:{pattern:"([aApP])",action:(t,e)=>{e.am="a"===t||"A"===t}}},i=t.replaceAll(/[.*+\\-?^${}()|[\\]\\\\]/g,"\\\\$&"),o=/(mmmm|mmm|mm|m|dddd|ddd|dd|d|yyyy|yy|HH|H|hh|h|MM|M|ss|s|tt|t)/g,s=[],a=i.replaceAll(o,function(t,e){const r=n[e],i=r.pattern,o=r.action;s.push(o);return i});this._scandCache.set(t,[a,s])}const n=util_slicedToArray(this._scandCache.get(t),2),i=n[0],o=n[1],s=new RegExp(`^${i}$`,"g").exec(e);if(!s||s.length!==o.length+1)return r?null:util_assertClassBrand(I,this,_tryToGuessDate).call(this,t,e);const a={year:2e3,month:0,day:1,hours:0,minutes:0,seconds:0,am:null};o.forEach((t,e)=>t(s[e+1],a));null!==a.am&&(a.hours=a.hours%12+(a.am?0:12));return new Date(a.year,a.month,a.day,a.hours,a.minutes,a.seconds)}spansToXML(){}stringFromStream(){}xmlToSpans(){}}function _tryToGuessDate(t,e){let r=(util_classPrivateFieldGet(S,this)||function util_classPrivateFieldSet(t,e,r){return t.set(util_assertClassBrand(t,e),r),r}(S,this,new Map)).get(t);if(!r){r=[];util_classPrivateFieldGet(S,this).set(t,r);t.replaceAll(/(d+)|(m+)|(y+)|(H+)|(M+)|(s+)/g,function(t,e,n,i,o,s,a){e?r.push((t,e)=>{if(t>=1&&t<=31){e.day=t;return!0}return!1}):n?r.push((t,e)=>{if(t>=1&&t<=12){e.month=t-1;return!0}return!1}):i?r.push((t,e)=>{t<50?t+=2e3:t<100&&(t+=1900);e.year=t;return!0}):o?r.push((t,e)=>{if(t>=0&&t<=23){e.hours=t;return!0}return!1}):s?r.push((t,e)=>{if(t>=0&&t<=59){e.minutes=t;return!0}return!1}):a&&r.push((t,e)=>{if(t>=0&&t<=59){e.seconds=t;return!0}return!1});return""})}const n=/\\d+/g;let i,o=0;const s={year:(new Date).getFullYear(),month:0,day:1,hours:12,minutes:0,seconds:0};for(;null!==(i=n.exec(e))&&o<r.length;)if(!r[o++](parseInt(i[0]),s))return null;return 0===o?null:new Date(s.year,s.month,s.day,s.hours,s.minutes,s.seconds)}function initialization_slicedToArray(t,e){return function initialization_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function initialization_iterableToArrayLimit(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,s,a=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(t,e)||function initialization_unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return initialization_arrayLikeToArray(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?initialization_arrayLikeToArray(t,e):void 0}}(t,e)||function initialization_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function initialization_arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}globalThis.pdfjsScripting={initSandbox:function initSandbox(t){delete globalThis.pdfjsScripting;const e=globalThis.callExternalFunction;delete globalThis.callExternalFunction;const globalEval=t=>globalThis.eval(t),send=t=>e("send",[t]),f=new ProxyHandler,_=t.data,m=new Doc({send,globalEval,..._.docInfo}),g={obj:m,wrapped:new Proxy(m,f)},y=new App({send,globalEval,externalCall:e,_document:g,calculationOrder:_.calculationOrder,proxyHandler:f,..._.appInfo}),v=new Util({externalCall:e}),b=y._objects;if(_.objects){const t=[];for(const e of Object.entries(_.objects)){var w=initialization_slicedToArray(e,2);const r=w[0],n=w[1];t.length=0;let i=null;for(const e of n)""!==e.type?t.push(e):i=e;let o=i;if(t.length>0){o=t[0];o.send=send}o.globalEval=globalEval;o.doc=g;o.fieldPath=r;o.appObjects=b;o.util=v;const s=t.slice(1);let a;switch(o.type){case"radiobutton":a=new RadioButtonField(s,o);break;case"checkbox":a=new CheckboxField(s,o);break;default:s.length>0&&(o.siblings=s.map(t=>t.id));a=new Field(o)}const l={obj:a,wrapped:new Proxy(a,f)};m._addField(r,l);for(const t of n)b[t.id]=l;i&&(b[i.id]=l)}}const A=new Color;globalThis.event=null;globalThis.global=Object.create(null);globalThis.app=new Proxy(y,f);globalThis.color=new Proxy(A,f);globalThis.console=new Proxy(new Console({send}),f);globalThis.util=new Proxy(v,f);globalThis.border=r;globalThis.cursor=n;globalThis.display=i;globalThis.font=o;globalThis.highlight=s;globalThis.position=a;globalThis.scaleHow=l;globalThis.scaleWhen=u;globalThis.style=c;globalThis.trans=h;globalThis.zoomtype=d;globalThis.ADBE={Reader_Value_Asked:!0,Viewer_Value_Asked:!0};const x=new AForm(m,y,v,A);for(const t of Object.getOwnPropertyNames(AForm.prototype))"constructor"===t||t.startsWith("_")||(globalThis[t]=x[t].bind(x));for(const t of Object.entries(p)){var S=initialization_slicedToArray(t,2);const e=S[0],r=S[1];Object.defineProperty(globalThis,e,{value:r,writable:!1})}Object.defineProperties(globalThis,{ColorConvert:{value:A.convert.bind(A),writable:!0},ColorEqual:{value:A.equal.bind(A),writable:!0}});const I=Object.create(null);for(const t of Object.getOwnPropertyNames(Doc.prototype)){if("constructor"===t||t.startsWith("_"))continue;const e=Object.getOwnPropertyDescriptor(Doc.prototype,t);e.get?I[t]={get:e.get.bind(m),set:e.set.bind(m)}:I[t]={value:Doc.prototype[t].bind(m)}}Object.defineProperties(globalThis,I);const P={dispatchEvent:y._dispatchEvent.bind(y),timeoutCb:y._evalCallback.bind(y)};return(t,e)=>{try{P[t](e)}catch(t){send(serializeError(t))}}}};'];e.push("delete dump;");let r=!1,n=0;try{const i=JSON.stringify(t);e.push(`pdfjsScripting.initSandbox({ data: ${i} })`);n=this._module.stringToNewUTF8(e.join("\n"));r=!!this._module.ccall("init","number",["number","number"],[n,this._alertOnError])}catch(t){NgxConsole.error(t)}finally{n&&this._module.ccall("free","number",["number"],[n])}if(!r){this.nukeSandbox();throw new Error("Cannot start sandbox")}this.support.commFun=this._module.cwrap("commFun",null,["string","string"])}dispatchEvent(t){this.support?.callSandboxFunction("dispatchEvent",t)}dumpMemoryUse(){this._module?.ccall("dumpMemoryUse",null,[])}nukeSandbox(){if(null!==this._module){this.support.destroy();this.support=null;this._module.ccall("nukeSandbox",null,[]);this._module=null}}evalForTesting(t,e){throw new Error("Not implemented: evalForTesting")}}async function QuickJSSandbox(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"../web/wasm/";const e=(await import(
|
|
26
26
|
/*webpackIgnore: true*/
|
|
27
27
|
/*@vite-ignore*/
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* pdfjsVersion = 6.0.
|
|
25
|
-
* pdfjsBuild =
|
|
24
|
+
* pdfjsVersion = 6.0.1162
|
|
25
|
+
* pdfjsBuild = 3fb0bcd55
|
|
26
26
|
*/
|
|
27
27
|
/******/ var __webpack_modules__ = ({
|
|
28
28
|
|
|
@@ -72839,7 +72839,7 @@ class WorkerMessageHandler {
|
|
|
72839
72839
|
const _docParams = docParams,
|
|
72840
72840
|
docId = _docParams.docId,
|
|
72841
72841
|
apiVersion = _docParams.apiVersion;
|
|
72842
|
-
const workerVersion = "6.0.
|
|
72842
|
+
const workerVersion = "6.0.1162";
|
|
72843
72843
|
if (apiVersion !== workerVersion) {
|
|
72844
72844
|
throw new Error(`The API version "${apiVersion}" does not match ` + `the Worker version "${workerVersion}".`);
|
|
72845
72845
|
}
|