@mescius/dspdfviewer
Version:
Document Solutions PDF Viewer
2 lines • 1.38 MB
JavaScript
/*! For license information please see gcpdfviewer.worker.js.LICENSE.txt */
(()=>{var e={92:(e,t,r)=>{"use strict";var n=r(10522);e.exports=n("document","documentElement")},1531:(e,t,r)=>{"use strict";var n=r(19871),a=r(72747);e.exports=function(e,t,r){try{return n(a(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},1596:(e,t,r)=>{"use strict";var n=r(1531),a=r(48393),i=r(92035),o=r(88991);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return i(r),o(n),a(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},2092:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showTooltipPopup=t.hideTooltipPopup=void 0;var n=r(57488),a=r(24550),i={maxWidth:"320px",marginLeft:"-130px",fontSize:"11px",lineHeight:"11px",overflow:"visible",backgroundColor:"#ffffff",border:"1px solid #ff8100",cursor:"default",textAlign:"center",borderRadius:"6px",padding:"8px 4px",position:"absolute",zIndex:"1",bottom:"calc(100% + 4px)",left:"50%",webkitAnimation:"fadeIn 1s",animation:"fadeIn 1s"},o={};function s(e){if(e){var t=e.querySelector(".gc-tooltip-popup");t&&t.parentNode&&t.parentNode.removeChild(t)}}t.hideTooltipPopup=s,t.showTooltipPopup=function(e,t,r,c){if(void 0===c&&(c=3e4),e){var u="#000000",l="#ff8d00",h="#ffffff";r&&(r.textColor&&(u=r.textColor),r.backgroundColor&&(h=r.backgroundColor),r.borderColor&&(l=r.borderColor)),i.backgroundColor=h,i.borderColor=l;var f='.gc-tooltip-popup::after {\n content: "";\n position: absolute;\n top: 100%;\n left: 35%;\n margin-left: -7px;\n border-width: 7px;\n border-style: solid;\n border-color: $borderColor transparent transparent transparent;\n}\n.gc-tooltip-popup-bottom::after {\n top: -14px;\n border-color: transparent transparent $borderColor transparent;\n}\n@-webkit-keyframes fadeIn {\n from {opacity: 0;} \n to {opacity: 1;}\n}\n@keyframes fadeIn {\n from {opacity: 0;}\n to {opacity:1 ;}\n}'.replace(/\$borderColor/gm,l),d=(0,a.getShadowRootOrDocument)(e);(0,n.detachHeadCss)("gc-tooltip-popup",d),(0,n.attachHeadCss)(f,"gc-tooltip-popup",d),s(e);var p=document.createElement("span");for(var g in p.classList.add("gc-tooltip-popup"),p.innerHTML='<div class="gc-tooltip-popup-content" style="color: '+u+'; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">'+t+"</div>",p.title=t,p.onclick=function(){return s(e)},e.appendChild(p),i)p.style[g]=i[g];for(var m=e.offsetParent,v=0,y=!1;!y&&m;)v+=m.offsetTop,y=-1!==(getComputedStyle(m).overflow||"").toString().indexOf("hidden"),m=m.offsetParent;if(y&&v<20&&(p.style.bottom="inherit",p.style.top="calc(100% - 4px)",p.style.left="inherit",p.style.right="20%",p.classList.add("gc-tooltip-popup-bottom")),c>0){var b=e.id||e.name||"_"+e.offsetLeft+"_"+e.offsetTop+"_"+e.nodeName;o[b]&&clearTimeout(o[b]),o[b]=setTimeout((function(){delete o[b],s(e)}),c)}}}},2164:(e,t,r)=>{"use strict";var n=r(97476),a=r(7739),i=r(65656),o="__core-js_shared__",s=e.exports=a[o]||i(o,{});(s.versions||(s.versions=[])).push({version:"3.41.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"})},2166:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},2188:(e,t,r)=>{"use strict";var n=r(7739),a=r(65164),i=r(96224),o=r(39615),s=r(78410),c=r(91523),u=n.Symbol,l=a("wks"),h=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=s&&i(u,e)?u[e]:h("Symbol."+e)),l[e]}},2270:(e,t,r)=>{"use strict";var n=r(92035),a=Object;e.exports=function(e){return a(n(e))}},3800:(e,t,r)=>{"use strict";var n=r(28351),a=r(7739),i=r(63404),o=r(88151),s=r(96226),c=r(72747),u=r(49952),l=a.Promise,h=!1;n({target:"Promise",stat:!0,forced:!l||!l.try||u((function(){l.try((function(e){h=8===e}),8)})).error||!h},{try:function(e){var t=arguments.length>1?o(arguments,1):[],r=s.f(this),n=u((function(){return i(c(e),void 0,t)}));return(n.error?r.reject:r.resolve)(n.value),r.promise}})},5101:(e,t,r)=>{"use strict";var n=r(66070),a=Math.min;e.exports=function(e){var t=n(e);return t>0?a(t,9007199254740991):0}},5691:(e,t,r)=>{"use strict";var n=r(13144),a=r(52670),i=/#|\.prototype\./,o=function(e,t){var r=c[s(e)];return r===l||r!==u&&(a(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},6042:(e,t,r)=>{"use strict";var n=r(72067),a=r(19870),i=r(69546),o=r(74749),s=r(94938),c=r(19554),u=r(96224),l=r(28204),h=Object.getOwnPropertyDescriptor;t.f=n?h:function(e,t){if(e=s(e),t=c(t),l)try{return h(e,t)}catch(e){}if(u(e,t))return o(!a(i.f,e,t),e[t])}},6374:(e,t,r)=>{"use strict";var n=r(88675),a=r(66909),i=r(72283).CONSTRUCTOR;e.exports=i||!a((function(e){n.all(e).then(void 0,(function(){}))}))},7616:(e,t,r)=>{"use strict";var n=r(58227),a=r(52670),i=r(95683),o=r(2188)("toStringTag"),s=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),o))?r:c?i(t):"Object"===(n=i(t))&&a(t.callee)?"Arguments":n}},7739:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},7838:(e,t,r)=>{"use strict";var n=r(10522),a=r(19871),i=r(99711),o=r(2166),s=r(99460),c=a([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=o.f;return r?c(t,r(e)):t}},7891:(e,t,r)=>{"use strict";var n=r(99179),a=r(19870),i=r(99460),o=r(24380),s=r(10936),c=r(57907),u=r(27908),l=r(37936),h=r(20404),f=r(83582),d=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var m,v,y,b,w,k,x,S=r&&r.that,C=!(!r||!r.AS_ENTRIES),A=!(!r||!r.IS_RECORD),I=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),_=n(t,S),E=function(e){return m&&f(m,"normal",e),new p(!0,e)},P=function(e){return C?(i(e),T?_(e[0],e[1],E):_(e[0],e[1])):T?_(e,E):_(e)};if(A)m=e.iterator;else if(I)m=e;else{if(!(v=h(e)))throw new d(o(e)+" is not iterable");if(s(v)){for(y=0,b=c(e);b>y;y++)if((w=P(e[y]))&&u(g,w))return w;return new p(!1)}m=l(e,v)}for(k=A?e.next:m.next;!(x=a(k,m)).done;){try{w=P(x.value)}catch(e){f(m,"throw",e)}if("object"==typeof w&&w&&u(g,w))return w}return new p(!1)}},9556:e=>{"use strict";e.exports=function(e){return null==e}},9746:(e,t,r)=>{"use strict";var n=r(28351),a=r(19870),i=r(72747),o=r(96226),s=r(49952),c=r(7891);n({target:"Promise",stat:!0,forced:r(6374)},{all:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,l=s((function(){var r=i(t.resolve),o=[],s=0,l=1;c(e,(function(e){var i=s++,c=!1;l++,a(r,t,e).then((function(e){c||(c=!0,o[i]=e,--l||n(o))}),u)})),--l||n(o)}));return l.error&&u(l.value),r.promise}})},10522:(e,t,r)=>{"use strict";var n=r(7739),a=r(52670);e.exports=function(e,t){return arguments.length<2?(r=n[e],a(r)?r:void 0):n[e]&&n[e][t];var r}},10600:(e,t,r)=>{"use strict";var n=r(19870),a=r(48393),i=r(64854),o=r(67507),s=r(11961),c=r(2188),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!a(e)||i(e))return e;var r,c=o(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!a(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},10712:(e,t,r)=>{"use strict";var n=r(72067),a=r(28204),i=r(25345),o=r(99460),s=r(19554),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";t.f=n?i?function(e,t,r){if(o(e),t=s(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:h in r?r[h]:n[h],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=s(t),o(r),a)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},10936:(e,t,r)=>{"use strict";var n=r(2188),a=r(56234),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||o[i]===e)}},11277:(e,t,r)=>{"use strict";var n=r(72067),a=r(96224),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=a(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},11961:(e,t,r)=>{"use strict";var n=r(19870),a=r(52670),i=r(48393),o=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&a(r=e.toString)&&!i(s=n(r,e)))return s;if(a(r=e.valueOf)&&!i(s=n(r,e)))return s;if("string"!==t&&a(r=e.toString)&&!i(s=n(r,e)))return s;throw new o("Can't convert object to primitive value")}},12644:(e,t,r)=>{"use strict";var n=r(19871),a=r(13144),i=r(52670),o=r(96224),s=r(72067),c=r(11277).CONFIGURABLE,u=r(95011),l=r(60944),h=l.enforce,f=l.get,d=String,p=Object.defineProperty,g=n("".slice),m=n("".replace),v=n([].join),y=s&&!a((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===g(d(t),0,7)&&(t="["+m(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=h(e);return o(n,"source")||(n.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&f(this).source||u(this)}),"toString")},13144:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},13528:(e,t,r)=>{"use strict";var n=r(27908),a=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new a("Incorrect invocation")}},14098:(e,t,r)=>{"use strict";var n=r(19871),a=r(66070),i=r(23740),o=r(92035),s=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,h=i(o(t)),f=a(r),d=h.length;return f<0||f>=d?e?"":void 0:(n=c(h,f))<55296||n>56319||f+1===d||(l=c(h,f+1))<56320||l>57343?e?s(h,f):n:e?u(h,f,f+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},14328:(e,t,r)=>{"use strict";var n,a,i,o,s,c=r(7739),u=r(96174),l=r(99179),h=r(15484).set,f=r(80518),d=r(24185),p=r(27114),g=r(36423),m=r(76566),v=c.MutationObserver||c.WebKitMutationObserver,y=c.document,b=c.process,w=c.Promise,k=u("queueMicrotask");if(!k){var x=new f,S=function(){var e,t;for(m&&(e=b.domain)&&e.exit();t=x.get();)try{t()}catch(e){throw x.head&&n(),e}e&&e.enter()};d||m||g||!v||!y?!p&&w&&w.resolve?((o=w.resolve(void 0)).constructor=w,s=l(o.then,o),n=function(){s(S)}):m?n=function(){b.nextTick(S)}:(h=l(h,c),n=function(){h(S)}):(a=!0,i=y.createTextNode(""),new v(S).observe(i,{characterData:!0}),n=function(){i.data=a=!a}),k=function(e){x.head||n(),x.add(e)}}e.exports=k},15484:(e,t,r)=>{"use strict";var n,a,i,o,s=r(7739),c=r(63404),u=r(99179),l=r(52670),h=r(96224),f=r(13144),d=r(92),p=r(88151),g=r(46884),m=r(55535),v=r(24185),y=r(76566),b=s.setImmediate,w=s.clearImmediate,k=s.process,x=s.Dispatch,S=s.Function,C=s.MessageChannel,A=s.String,I=0,T={},_="onreadystatechange";f((function(){n=s.location}));var E=function(e){if(h(T,e)){var t=T[e];delete T[e],t()}},P=function(e){return function(){E(e)}},O=function(e){E(e.data)},M=function(e){s.postMessage(A(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){m(arguments.length,1);var t=l(e)?e:S(e),r=p(arguments,1);return T[++I]=function(){c(t,void 0,r)},a(I),I},w=function(e){delete T[e]},y?a=function(e){k.nextTick(P(e))}:x&&x.now?a=function(e){x.now(P(e))}:C&&!v?(o=(i=new C).port2,i.port1.onmessage=O,a=u(o.postMessage,o)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(M)?(a=M,s.addEventListener("message",O,!1)):a=_ in g("script")?function(e){d.appendChild(g("script"))[_]=function(){d.removeChild(this),E(e)}}:function(e){setTimeout(P(e),0)}),e.exports={set:b,clear:w}},15548:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},15980:(e,t,r)=>{"use strict";var n=r(28351),a=r(19870),i=r(72747),o=r(96226),s=r(49952),c=r(7891);n({target:"Promise",stat:!0,forced:r(6374)},{race:function(e){var t=this,r=o.f(t),n=r.reject,u=s((function(){var o=i(t.resolve);c(e,(function(e){a(o,t,e).then(r.resolve,n)}))}));return u.error&&n(u.value),r.promise}})},17643:(e,t)=>{"use strict";function r(e){if(e){if("string"==typeof e)return e;if(e.length>0)return"#"+((1<<24)+(Math.round(e[0]||0)<<16)+(Math.round(e[1]||0)<<8)+Math.round(e[2]||0)).toString(16).slice(1)}return""}function n(e){return e?0===e.indexOf("rgb")?(t=(e=(e=e.substr(e.indexOf("(")+1)).replace(")","")).split(",")).length>3?[parseInt(t[0]||"0",10),parseInt(t[1]||"0",10),parseInt(t[2]||"0",10),parseInt(t[3]||"1",10)]:[parseInt(t[0]||"0",10),parseInt(t[1]||"0",10),parseInt(t[2]||"0",10)]:(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:null:null;var t}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocalizedWebColorNames=t.toCssColor=t.applyColorOpacity=t.enlightColor=t.darkerColor=t.hexToRgb=t.rgbToHex=void 0,t.rgbToHex=r,t.hexToRgb=n,t.darkerColor=function(e,t){void 0===t&&(t=.7);var a="string"==typeof e?n(e):e;if(a){var i=[];return i[0]=a[0]-a[0]*t,i[1]=a[1]-a[1]*t,i[2]=a[2]-a[2]*t,r(i)}return e},t.enlightColor=function(e,t){void 0===t&&(t=.7);var a="string"==typeof e?n(e):e;if(a){var i=[];return i[0]=t*(255-a[0])+a[0],i[1]=t*(255-a[1])+a[1],i[2]=t*(255-a[2])+a[2],r(i)}return e},t.applyColorOpacity=function(e,t){void 0===t&&(t=1);var r="string"==typeof e?n(e):e;if(r){var a=[];return a[0]=r[0],a[1]=r[1],a[2]=r[2],a[3]=t,"rgba("+a.join(",")+")"}return e},t.toCssColor=function(e,t){try{return e?"string"==typeof e?e:e.length&&e.join?"".concat(e.length>3?"rgba":"rgb","(").concat(e.join(","),")"):e.length||Number.isFinite(e[0])?"rgba(".concat(e[0]||0,",").concat(e[1]||0,",").concat(e[2]||0,",").concat(e[3]||1,")"):t||"":t||""}catch(r){return console.error(r),console.error(e),t||""}},t.getLocalizedWebColorNames=function(e){var t={};return t.Transparent=e.t("editors.color-editor.webColorNames.transparent","Transparent"),t.Black=e.t("editors.color-editor.webColorNames.black","Black"),t.DarkSlateGray=e.t("editors.color-editor.webColorNames.darkslategray","DarkSlateGray"),t.SlateGray=e.t("editors.color-editor.webColorNames.slategray","SlateGray"),t.LightSlateGray=e.t("editors.color-editor.webColorNames.lightslategray","LightSlateGray"),t.DimGray=e.t("editors.color-editor.webColorNames.dimgray","DimGray"),t.Gray=e.t("editors.color-editor.webColorNames.gray","Gray"),t.DarkGray=e.t("editors.color-editor.webColorNames.darkgray","DarkGray"),t.Silver=e.t("editors.color-editor.webColorNames.silver","Silver"),t.LightGrey=e.t("editors.color-editor.webColorNames.lightgrey","LightGrey"),t.Gainsboro=e.t("editors.color-editor.webColorNames.gainsboro","Gainsboro"),t.WhiteSmoke=e.t("editors.color-editor.webColorNames.whitesmoke","WhiteSmoke"),t.White=e.t("editors.color-editor.webColorNames.white","White"),t.Snow=e.t("editors.color-editor.webColorNames.snow","Snow"),t.HoneyDew=e.t("editors.color-editor.webColorNames.honeydew","HoneyDew"),t.MintCream=e.t("editors.color-editor.webColorNames.mintcream","MintCream"),t.Azure=e.t("editors.color-editor.webColorNames.azure","Azure"),t.AliceBlue=e.t("editors.color-editor.webColorNames.aliceblue","AliceBlue"),t.GhostWhite=e.t("editors.color-editor.webColorNames.ghostwhite","GhostWhite"),t.SeaShell=e.t("editors.color-editor.webColorNames.seashell","SeaShell"),t.Beige=e.t("editors.color-editor.webColorNames.beige","Beige"),t.OldLace=e.t("editors.color-editor.webColorNames.oldlace","OldLace"),t.FloralWhite=e.t("editors.color-editor.webColorNames.floralwhite","FloralWhite"),t.Ivory=e.t("editors.color-editor.webColorNames.ivory","Ivory"),t.AntiqueWhite=e.t("editors.color-editor.webColorNames.antiquewhite","AntiqueWhite"),t.Linen=e.t("editors.color-editor.webColorNames.linen","Linen"),t.LavenderBlush=e.t("editors.color-editor.webColorNames.lavenderblush","LavenderBlush"),t.MistyRose=e.t("editors.color-editor.webColorNames.mistyrose","MistyRose"),t.Pink=e.t("editors.color-editor.webColorNames.pink","Pink"),t.LightPink=e.t("editors.color-editor.webColorNames.lightpink","LightPink"),t.HotPink=e.t("editors.color-editor.webColorNames.hotpink","HotPink"),t.DeepPink=e.t("editors.color-editor.webColorNames.deeppink","DeepPink"),t.PaleVioletRed=e.t("editors.color-editor.webColorNames.palevioletred","PaleVioletRed"),t.MediumVioletRed=e.t("editors.color-editor.webColorNames.mediumvioletred","MediumVioletRed"),t.LightSalmon=e.t("editors.color-editor.webColorNames.lightsalmon","LightSalmon"),t.Salmon=e.t("editors.color-editor.webColorNames.salmon","Salmon"),t.DarkSalmon=e.t("editors.color-editor.webColorNames.darksalmon","DarkSalmon"),t.LightCoral=e.t("editors.color-editor.webColorNames.lightcoral","LightCoral"),t.IndianRed=e.t("editors.color-editor.webColorNames.indianred","IndianRed"),t.Crimson=e.t("editors.color-editor.webColorNames.crimson","Crimson"),t.FireBrick=e.t("editors.color-editor.webColorNames.firebrick","FireBrick"),t.DarkRed=e.t("editors.color-editor.webColorNames.darkred","DarkRed"),t.Red=e.t("editors.color-editor.webColorNames.red","Red"),t.OrangeRed=e.t("editors.color-editor.webColorNames.orangered","OrangeRed"),t.Tomato=e.t("editors.color-editor.webColorNames.tomato","Tomato"),t.Coral=e.t("editors.color-editor.webColorNames.coral","Coral"),t.DarkOrange=e.t("editors.color-editor.webColorNames.darkorange","DarkOrange"),t.Orange=e.t("editors.color-editor.webColorNames.orange","Orange"),t.Yellow=e.t("editors.color-editor.webColorNames.yellow","Yellow"),t.LightYellow=e.t("editors.color-editor.webColorNames.lightyellow","LightYellow"),t.LemonChiffon=e.t("editors.color-editor.webColorNames.lemonchiffon","LemonChiffon"),t.LightGoldenrodYellow=e.t("editors.color-editor.webColorNames.lightgoldenrodyellow","LightGoldenrodYellow"),t.PapayaWhip=e.t("editors.color-editor.webColorNames.papayawhip","PapayaWhip"),t.Moccasin=e.t("editors.color-editor.webColorNames.moccasin","Moccasin"),t.PeachPuff=e.t("editors.color-editor.webColorNames.peachpuff","PeachPuff"),t.PaleGoldenrod=e.t("editors.color-editor.webColorNames.palegoldenrod","PaleGoldenrod"),t.Khaki=e.t("editors.color-editor.webColorNames.khaki","Khaki"),t.DarkKhaki=e.t("editors.color-editor.webColorNames.darkkhaki","DarkKhaki"),t.Gold=e.t("editors.color-editor.webColorNames.gold","Gold"),t.Cornsilk=e.t("editors.color-editor.webColorNames.cornsilk","Cornsilk"),t.BlanchedAlmond=e.t("editors.color-editor.webColorNames.blanchedalmond","BlanchedAlmond"),t.Bisque=e.t("editors.color-editor.webColorNames.bisque","Bisque"),t.NavajoWhite=e.t("editors.color-editor.webColorNames.navajowhite","NavajoWhite"),t.Wheat=e.t("editors.color-editor.webColorNames.wheat","Wheat"),t.BurlyWood=e.t("editors.color-editor.webColorNames.burlywood","BurlyWood"),t.Tan=e.t("editors.color-editor.webColorNames.tan","Tan"),t.RosyBrown=e.t("editors.color-editor.webColorNames.rosybrown","RosyBrown"),t.SandyBrown=e.t("editors.color-editor.webColorNames.sandybrown","SandyBrown"),t.Goldenrod=e.t("editors.color-editor.webColorNames.goldenrod","Goldenrod"),t.DarkGoldenrod=e.t("editors.color-editor.webColorNames.darkgoldenrod","DarkGoldenrod"),t.Peru=e.t("editors.color-editor.webColorNames.peru","Peru"),t.Chocolate=e.t("editors.color-editor.webColorNames.chocolate","Chocolate"),t.SaddleBrown=e.t("editors.color-editor.webColorNames.saddlebrown","SaddleBrown"),t.Sienna=e.t("editors.color-editor.webColorNames.sienna","Sienna"),t.Brown=e.t("editors.color-editor.webColorNames.brown","Brown"),t.Maroon=e.t("editors.color-editor.webColorNames.maroon","Maroon"),t.DarkOliveGreen=e.t("editors.color-editor.webColorNames.darkolivegreen","DarkOliveGreen"),t.Olive=e.t("editors.color-editor.webColorNames.olive","Olive"),t.OliveDrab=e.t("editors.color-editor.webColorNames.olivedrab","OliveDrab"),t.YellowGreen=e.t("editors.color-editor.webColorNames.yellowgreen","YellowGreen"),t.LimeGreen=e.t("editors.color-editor.webColorNames.limegreen","LimeGreen"),t.Lime=e.t("editors.color-editor.webColorNames.lime","Lime"),t.LawnGreen=e.t("editors.color-editor.webColorNames.lawngreen","LawnGreen"),t.Chartreuse=e.t("editors.color-editor.webColorNames.chartreuse","Chartreuse"),t.GreenYellow=e.t("editors.color-editor.webColorNames.greenyellow","GreenYellow"),t.SpringGreen=e.t("editors.color-editor.webColorNames.springgreen","SpringGreen"),t.MediumSpringGreen=e.t("editors.color-editor.webColorNames.mediumspringgreen","MediumSpringGreen"),t.LightGreen=e.t("editors.color-editor.webColorNames.lightgreen","LightGreen"),t.PaleGreen=e.t("editors.color-editor.webColorNames.palegreen","PaleGreen"),t.DarkSeaGreen=e.t("editors.color-editor.webColorNames.darkseagreen","DarkSeaGreen"),t.MediumAquamarine=e.t("editors.color-editor.webColorNames.mediumaquamarine","MediumAquamarine"),t.MediumSeaGreen=e.t("editors.color-editor.webColorNames.mediumseagreen","MediumSeaGreen"),t.SeaGreen=e.t("editors.color-editor.webColorNames.seagreen","SeaGreen"),t.ForestGreen=e.t("editors.color-editor.webColorNames.forestgreen","ForestGreen"),t.Green=e.t("editors.color-editor.webColorNames.green","Green"),t.DarkGreen=e.t("editors.color-editor.webColorNames.darkgreen","DarkGreen"),t.Aqua=e.t("editors.color-editor.webColorNames.aqua","Aqua"),t.Cyan=e.t("editors.color-editor.webColorNames.cyan","Cyan"),t.LightCyan=e.t("editors.color-editor.webColorNames.lightcyan","LightCyan"),t.PaleTurquoise=e.t("editors.color-editor.webColorNames.paleturquoise","PaleTurquoise"),t.Aquamarine=e.t("editors.color-editor.webColorNames.aquamarine","Aquamarine"),t.Turquoise=e.t("editors.color-editor.webColorNames.turquoise","Turquoise"),t.MediumTurquoise=e.t("editors.color-editor.webColorNames.mediumturquoise","MediumTurquoise"),t.DarkTurquoise=e.t("editors.color-editor.webColorNames.darkturquoise","DarkTurquoise"),t.LightSeaGreen=e.t("editors.color-editor.webColorNames.lightseagreen","LightSeaGreen"),t.CadetBlue=e.t("editors.color-editor.webColorNames.cadetblue","CadetBlue"),t.DarkCyan=e.t("editors.color-editor.webColorNames.darkcyan","DarkCyan"),t.Teal=e.t("editors.color-editor.webColorNames.teal","Teal"),t.LightSteelBlue=e.t("editors.color-editor.webColorNames.lightsteelblue","LightSteelBlue"),t.PowderBlue=e.t("editors.color-editor.webColorNames.powderblue","PowderBlue"),t.LightBlue=e.t("editors.color-editor.webColorNames.lightblue","LightBlue"),t.SkyBlue=e.t("editors.color-editor.webColorNames.skyblue","SkyBlue"),t.LightSkyBlue=e.t("editors.color-editor.webColorNames.lightskyblue","LightSkyBlue"),t.DeepSkyBlue=e.t("editors.color-editor.webColorNames.deepskyblue","DeepSkyBlue"),t.DodgerBlue=e.t("editors.color-editor.webColorNames.dodgerblue","DodgerBlue"),t.CornflowerBlue=e.t("editors.color-editor.webColorNames.cornflowerblue","CornflowerBlue"),t.SteelBlue=e.t("editors.color-editor.webColorNames.steelblue","SteelBlue"),t.RoyalBlue=e.t("editors.color-editor.webColorNames.royalblue","RoyalBlue"),t.Blue=e.t("editors.color-editor.webColorNames.blue","Blue"),t.MediumBlue=e.t("editors.color-editor.webColorNames.mediumblue","MediumBlue"),t.DarkBlue=e.t("editors.color-editor.webColorNames.darkblue","DarkBlue"),t.Navy=e.t("editors.color-editor.webColorNames.navy","Navy"),t.MidnightBlue=e.t("editors.color-editor.webColorNames.midnightblue","MidnightBlue"),t.Lavender=e.t("editors.color-editor.webColorNames.lavender","Lavender"),t.Thistle=e.t("editors.color-editor.webColorNames.thistle","Thistle"),t.Plum=e.t("editors.color-editor.webColorNames.plum","Plum"),t.Violet=e.t("editors.color-editor.webColorNames.violet","Violet"),t.Orchid=e.t("editors.color-editor.webColorNames.orchid","Orchid"),t.Fuchsia=e.t("editors.color-editor.webColorNames.fuchsia","Fuchsia"),t.Magenta=e.t("editors.color-editor.webColorNames.magenta","Magenta"),t.MediumOrchid=e.t("editors.color-editor.webColorNames.mediumorchid","MediumOrchid"),t.MediumPurple=e.t("editors.color-editor.webColorNames.mediumpurple","MediumPurple"),t.BlueViolet=e.t("editors.color-editor.webColorNames.blueviolet","BlueViolet"),t.DarkViolet=e.t("editors.color-editor.webColorNames.darkviolet","DarkViolet"),t.DarkOrchid=e.t("editors.color-editor.webColorNames.darkorchid","DarkOrchid"),t.DarkMagenta=e.t("editors.color-editor.webColorNames.darkmagenta","DarkMagenta"),t.Purple=e.t("editors.color-editor.webColorNames.purple","Purple"),t.Indigo=e.t("editors.color-editor.webColorNames.indigo","Indigo"),t.DarkSlateBlue=e.t("editors.color-editor.webColorNames.darkslateblue","DarkSlateBlue"),t.RebeccaPurple=e.t("editors.color-editor.webColorNames.rebeccapurple","RebeccaPurple"),t.SlateBlue=e.t("editors.color-editor.webColorNames.slateblue","SlateBlue"),t.MediumSlateBlue=e.t("editors.color-editor.webColorNames.mediumslateblue","MediumSlateBlue"),t}},18253:(e,t,r)=>{"use strict";var n=r(66070),a=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):i(r,t)}},19189:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationsSvgFactory=t.findDefaultAnnotationIconSize=void 0;var r="http://www.w3.org/2000/svg";t.findDefaultAnnotationIconSize=function(e,t){void 0===t&&(t=22);var r={width:t,height:t};if(!e)return r;var n=e.toLowerCase();switch(n){case"paperclip":r.width=.5*t;break;case"mic":r.width=.8*t;break;case"newparagraph":case"pushpin":r.width=.7*t;break;case"tag":r.width=1.21951*t;break;default:console.log("*** findDefaultAnnotationIconSize, deafult square ratio used.",e,n,t)}return r};var n=function(){function e(){}return e.instance=function(){return e._instance||(e._instance=new e),e._instance},e.prototype.create=function(e,t,n,a){void 0===n&&(n=null),void 0===a&&(a=null);var i=document.createElementNS(r,"svg:svg");if(i.setAttribute("version","1.1"),i.setAttribute("width",e+"px"),i.setAttribute("height",t+"px"),i.setAttribute("preserveAspectRatio","none"),i.setAttribute("viewBox","0 0 "+e+" "+t),n)for(var o in n)if(-1!==o.indexOf(".")){for(var s=o.split("."),c=i,u=0;u<s.length-1;u++)c=c[s[u]];c[s[s.length-1]]=n[o]}else i.setAttribute(o,n[o]);return a&&(i.innerHTML=a),i},e.prototype.createElement=function(e){return document.createElementNS(r,e)},e.prototype.createSvgRect=function(e){var t=e.x,r=e.y,n=e.w,a=e.h,i=e.stroke,o=e.strokeWidth,s=e.fill,c=e.strokeDashArray;return this.create(n,a,{fill:s||"none",stroke:i||"","stroke-width":o||1,"stroke-dasharray":c||""},'<rect x="'.concat(t,'" y="').concat(r,'" width="').concat(n,'" height="').concat(a,'"></rect>'))},e.prototype.getLineAppearance=function(e,t,r,n,a,i,o,s,c,u){var l=t[2]-t[0]||1,h=t[3]-t[1]||1,f=this.create(l,h);f.classList.add("gc-custom-appearance"),f.style.position="absolute",f.style.top="0px",f.style.left="0px",f.style.overflow="visible";var d=this.createSvgLine(f,e,t,r,n,a,i,o,s,c,u);return f.appendChild(d),f},e.prototype.createSvgLine=function(e,t,r,n,a,i,o,s,c,u,l){l||(l="_svgline");var h=r[2]-n[2]-t[0],f=r[3]-n[1]-t[1],d=r[2]-n[0]-t[0],p=r[3]-n[3]-t[1],g=Math.min(h,d),m=Math.min(f,p),v=this.createElement("svg:line");v.setAttribute("x1",h-g),v.setAttribute("y1",f-m),v.setAttribute("x2",d-g),v.setAttribute("y2",p-m),v.setAttribute("stroke-width",(o||1).toString()),v.setAttribute("stroke",a),s&&v.setAttribute("stroke-dasharray",s.join(" "));var y=this,b="";if(c){var w=y.getLineEndGraphics(c,{strokeColor:a,fillColor:i,caller:l}),k=w.markerId,x=w.markerGraphics;b="".concat(b).concat(x),v.setAttribute("marker-start",k)}if(u){var S=y.getLineEndGraphics(u,{strokeColor:a,fillColor:i,caller:l});k=S.markerId,x=S.markerGraphics,b="".concat(b).concat(x),v.setAttribute("marker-end",k)}if(b){var C=y.createElement("defs");C.innerHTML=b,e.appendChild(C)}return v},e.prototype.getLineEndGraphics=function(e,t){var r="",n=t.strokeColor,a=t.fillColor,i=t.caller,o=t.isStart,s="".concat(n?' stroke="'.concat(n,'"'):"").concat(a?' fill="'.concat(a,'"'):""),c="marker-".concat(e,"-n").concat(i||"");switch(e){case"OpenArrow":r=o?'<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="1" refY="5" markerWidth="6" markerHeight="6" orient="auto"><g><path ').concat(s,' d="M 0 5 L 10 10 M 0 5 L 10 0" /></g></marker>'):'<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto"><g><path ').concat(s,' d="M 10 5 L 0 10 M 0 0 L 10 5" /></g></marker>');break;case"ClosedArrow":r='<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path ').concat(s,' d="M 0 0 L 10 5 L 0 10 z" /></marker>');break;case"Circle":r='<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><circle ').concat(s,' cx="5" cy="5" r="3" /></marker>');break;case"Square":r='<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="4" refY="4" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><rect ').concat(s,' x="1" y="1" width="6" height="6" /></marker>');break;case"Diamond":r='<marker id="'.concat(c,'" viewBox="0 0 12 12" refX="6" refY="6" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path ').concat(s,' d="M6 .001l6 6-6 6-6-6 6-6z"/></marker>');break;case"Butt":r='<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="0" refY="5" markerWidth="12" markerHeight="6" orient="auto"><g><path ').concat(s,' d="M 0 0 L 0 10" /></g></marker>');break;case"ROpenArrow":r=o?'<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto"><g><path ').concat(s,' d="M 10 5 L 0 10 M 0 0 L 10 5" /></g></marker>'):'<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="1" refY="5" markerWidth="6" markerHeight="6" orient="auto"><g><path ').concat(s,' d="M 0 5 L 10 10 M 0 5 L 10 0" /></g></marker>');break;case"RClosedArrow":r='<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path ').concat(s,' d="M 10 0 L 0 5 L 10 10 z" /></marker>');break;case"Slash":r='<marker id="'.concat(c,'" viewBox="0 0 10 10" refX="0" refY="5" markerWidth="12" markerHeight="6" orient="auto"><g><path ').concat(s,' d="M 5 0 L -5 10" /></g></marker>')}return{markerId:"url(#".concat(c,")"),markerGraphics:r}},e.prototype.generateSvgLineHtml=function(e,t,r,n,a,i,o,s){return void 0===s&&(s=""),'<line x1="'.concat(e,'" y1="').concat(t,'" x2="').concat(r,'" y2="').concat(n,'" stroke-width="').concat(a,'"').concat(i?' stroke-dasharray="'+i.join(" ")+'"':"",' stroke="').concat(o,'"').concat(s?' marker-end="'+s+'"':"","></line>")},e}();t.AnnotationsSvgFactory=n},19554:(e,t,r)=>{"use strict";var n=r(10600),a=r(64854);e.exports=function(e){var t=n(e,"string");return a(t)?t:t+""}},19830:(e,t,r)=>{var n=r(55957).default;function a(){"use strict";e.exports=a=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},i=Object.prototype,o=i.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var a=t&&t.prototype instanceof w?t:w,i=Object.create(a.prototype),o=new B(n||[]);return s(i,"_invoke",{value:E(e,r,o)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=d;var g="suspendedStart",m="suspendedYield",v="executing",y="completed",b={};function w(){}function k(){}function x(){}var S={};f(S,u,(function(){return this}));var C=Object.getPrototypeOf,A=C&&C(C(R([])));A&&A!==i&&o.call(A,u)&&(S=A);var I=x.prototype=w.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(a,i,s,c){var u=p(e[a],e,i);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==n(h)&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):t.resolve(h).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,c)}))}c(u.arg)}var a;s(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(i,i):i()}})}function E(e,r,n){var a=g;return function(i,o){if(a===v)throw Error("Generator is already running");if(a===y){if("throw"===i)throw o;return{value:t,done:!0}}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var c=P(s,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===g)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var u=p(e,r,n);if("normal"===u.type){if(a=n.done?y:m,u.arg===b)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=y,n.method="throw",n.arg=u.arg)}}}function P(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=p(a,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function B(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function R(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function r(){for(;++a<e.length;)if(o.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(n(e)+" is not iterable")}return k.prototype=x,s(I,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:k,configurable:!0}),k.displayName=f(x,h,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,f(e,h,"GeneratorFunction")),e.prototype=Object.create(I),e},r.awrap=function(e){return{__await:e}},T(_.prototype),f(_.prototype,l,(function(){return this})),r.AsyncIterator=_,r.async=function(e,t,n,a,i){void 0===i&&(i=Promise);var o=new _(d(e,t,n,a),i);return r.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},T(I),f(I,h,"Generator"),f(I,u,(function(){return this})),f(I,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=R,B.prototype={constructor:B,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(M),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,a){return s.type="throw",s.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),M(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;M(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},r}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},19870:(e,t,r)=>{"use strict";var n=r(71749),a=Function.prototype.call;e.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},19871:(e,t,r)=>{"use strict";var n=r(71749),a=Function.prototype,i=a.call,o=n&&a.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},20264:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.validateAnnotationLayerField=t.validateField=void 0;var a=r(39180),i=r(2092),o=r(79349);function s(e,t,r,n,i,o){try{var s=t.fieldValue,c=s?s.toString().trim():"";if(!o){var u=t.gcProps||{},l=!!t.required;l||(l=!!n&&!!n.required)||(l=!!u.required);var h=u.type,f=u.minlength,d=u.maxlength,p=u.pattern,g=u.min,m=u.max,v=u.multiple;if(n&&(n.type&&(h=n.type),void 0!==n.minlength&&(f=n.minlength),void 0!==n.maxlength&&(d=n.maxlength),void 0!==n.min&&(g=n.min),void 0!==n.max&&(m=n.max),n.pattern&&(p=n.pattern),n.multiple&&(v=n.multiple)),l&&!s)return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.required-field-is-empty","Required field is empty"):"")};if("date"===h||"datetime"===h||"datetime-local"===h||"time"===h){var y=new a.DateTimeHelper(c,h);if(l&&y.isEmpty)return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.required-field-is-empty","Required field is empty"):"")};if(!y.isValid)return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.incorrect-input","Incorrect input"):"")}}else if("number"===h){var b=parseFloat(s?s.toString():"NaN");if(l&&!Number.isFinite(b))return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.required-number-is-incorrect","Required numeric value is invalid"):"")};if(null!=g&&b<g)return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.min-failed","The minimum value must be greater than or equal to {{min}}",{min:g}):"")};if(null!=m&&b>m)return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.max-failed","The maximum value must be less than or equal to {{max}}",{max:m}):"")}}else if("email"===h){var w=c.split(/[,\s]/gim);if((!w||w.length<1)&&(w=[c]),!v&&w.length>1)return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.multiple-emails-not-allowed","Multiple emails are not allowed"):"")};for(var k=0,x=w;k<x.length;k++){var S=x[k];S=(S||"").trim();try{var C=p?new RegExp(p,"gm"):/\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b/gim;if(S&&!C.test(S))return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.email-failed","The email address is incorrect"):"")}}catch(e){console.error(e)}}}if(void 0!==f&&isFinite(f)&&s.length<f)return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.minlength-failed","The minimum length of the input value must be greater than or equal to {{minlength}}",{minlength:f}):"")};if(void 0!==d&&isFinite(d)&&s.length>d)return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.maxlength-failed","The maximum length of the input value must be less than or equal to {{maxlength}}",{maxlength:d}):"")};if(p&&"email"!==h)try{if(!(C=new RegExp(p,"gm")).test(s.toString()))return{valid:!1,invalidLabel:u.validationmessage||(r?r.t("dialogs.form-filler.validation.regex-pattern-failed","The value does not match the regular expression pattern: {{pattern}}",{pattern:p}):"")}}catch(e){console.error(e)}}var A=(null==n?void 0:n.validator)||i;if(A){var I=A(t.fieldValue,t,{caller:e});return"string"==typeof I?{valid:!1,invalidLabel:I}:null===I||!0===I?{valid:!0}:{valid:!1,invalidLabel:""}}}catch(e){return{valid:!1,invalidLabel:((null==e?void 0:e.message)||e||"Unknown exception").toString()}}return{valid:!0}}t.validateField=s,t.validateAnnotationLayerField=function(e,t,r,a,c,u,l){var h;try{if(!e||!t)return{valid:!1,invalidLabel:"No field data to validate."};a||"function"===a||(a=void 0);var f=(null===(h=null==r?void 0:r.pdfViewer)||void 0===h?void 0:h.in17n)||o.SharedRef.i18n;t=n({},t);var d=e.querySelector("input,textarea");d&&(t.fieldValue=d.value);var p=s(l||"annotation-layer",t,f,void 0,a,u);return p.valid?c||(0,i.hideTooltipPopup)(e):c||(0,i.showTooltipPopup)(e,p.invalidLabel||"Invalid input"),p}catch(e){return{valid:!1,invalidLabel:((null==e?void 0:e.message)||e||"Unknown exception").toString()}}}},20404:(e,t,r)=>{"use strict";var n=r(7616),a=r(67507),i=r(9556),o=r(56234),s=r(2188)("iterator");e.exports=function(e){if(!i(e))return a(e,s)||a(e,"@@iterator")||o[n(e)]}},20575:(e,t,r)=>{"use strict";r(39130),r(46543),r(21148),r(64383),r(74174),r(61363),r(3800),r(80787),r(49358),r(81165);var n=r(87354);e.exports=n.Promise},21148:(e,t,r)=>{"use strict";var n=r(58227),a=r(40635),i=r(27362);n||a(Object.prototype,"toString",i,{unsafe:!0})},21388:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AudioOscilloscopeVisualizer=void 0;var r=function(){function e(e,t,r){this.container=e,this.audioElement=t,this.backColor="#000000",this.lineColor="lime",this.lineWidth=1,r=r||{},this._bottomMargin=Math.max(0,r.bottomMargin||0),this._init()}return e.prototype.start=function(){var e=this;if(!this._started){this._started=!0;var t=this._analyser;if(t){var r=t.fftSize,n=new Uint8Array(r),a=this._canvasCtx,i=a.canvas;a.fillStyle=this.backColor,a.strokeStyle=this.lineColor,a.lineWidth=this.lineWidth;var o=function(){t.getByteTimeDomainData(n);var s=i.width,c=i.height,u=s,l=c-e._bottomMargin,h=Math.min(l,Math.max(10,l-20)),f=u,d=(l-h)/2;a.fillRect(0,0,s,c),a.beginPath();for(var p=1*f/r,g=0,m=0;m<r;m++){var v=d+n[m]/128*h/2;0===m?a.moveTo(g,v):a.lineTo(g,v),g+=p}a.lineTo(0+f,d+h/2),a.stroke(),!e._disposed&&e._started&&requestAnimationFrame(o)};o()}else this._started=!1}},e.prototype.stop=function(){this._started=!1},e.prototype.captureStream=function(){var e=this._canvasCtx.canvas;return e.captureStream?e.captureStream():e.mozCaptureStream?e.mozCaptureStream():null},Object.defineProperty(e.prototype,"isDomRemoved",{get:function(){var e,t;return this._disposed||!(null===(t=null===(e=this._canvasCtx)||void 0===e?void 0:e.canvas)||void 0===t?void 0:t.parentNode)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){var e,t;this._disposed=!0,this._started=!1,this._mediaElementSource&&(this._mediaElementSource.disconnect(),delete this._mediaElementSource),this._analyser&&(this._analyser.disconnect(),delete this._analyser),this._audioContext&&(this._audioContext.close&&this._audioContext.close(),delete this._audioContext),null===(t=null===(e=this.container)||void 0===e?void 0:e.querySelector(".ds-oscilloscope-canvas"))||void 0===t||t.remove()},e.prototype._init=function(){var e=this.audioElement,t=new(window.AudioContext||window.webkitAudioContext);this._audioContext=t;var r=t.createAnalyser();this._analyser=r;var n=t.createMediaElementSource(e);n.connect(r),this._mediaElementSource=n,r.connect(t.destination),r.fftSize=2048;var a=this.container,i=document.createElement("canvas");i.classList.add("ds-oscilloscope-canvas"),i.width=a.offsetWidth,i.height=a.offsetHeight,a.appendChild(i),this._canvasCtx=i.getContext("2d")},e}();t.AudioOscilloscopeVisualizer=r},21554:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},23740:(e,t,r)=>{"use strict";var n=r(7616),a=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return a(e)}},24185:(e,t,r)=>{"use strict";var n=r(83718);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},24359:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCaretPosition=t.getCaretPosition=void 0,t.getCaretPosition=function(e,t){t||(t=e.ownerDocument||e.document||document);var r=null,n=-1;if(t&&(r=t.getSelection())&&r.rangeCount>0){var a=r.getRangeAt(0),i=a.cloneRange();i.selectNodeContents(e),i.setEnd(a.endContainer,a.endOffset),n=i.toString().length}return n},t.setCaretPosition=function(e,t,r){if(r||(r=e.ownerDocument||e.document||document),r){e.focus();var n=t,a=r.getSelection();a&&a.collapse(e.lastChild,n)}}},24380:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},24550:function(e,t){"use strict";var r=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))};function n(e){var t=null;return e&&e.getRootNode&&(t=e.getRootNode()),t||(t=document),t}function a(e,t){return e&&(" "+e.className+" ").indexOf(" "+t+" ")>-1}function i(){var e=(window.top||window).navigator,t=Number.isFinite(e.maxTouchPoints)?e.maxTouchPoints:e.msMaxTouchPoints;return Number.isFinite(t)?t>0&&256!==t:"ontouchstart"in window}function o(e,t){var r=document.createEvent("MouseEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeHTML=t.triggerFullStackClick=t.triggerMouseEvent=t.reversePopupRotation=t.getEventCoordinates=t.isTouchEventsEnabled=t.findElementIndex=t.findSelfOrAncestorAttr=t.findSelfOrAncestor=t.classListContains=t.isInputArea=t.getEventTarget=t.isDescendant=t.closestShadowRootOrBody=t.getShadowRootOrDocument=void 0,t.getShadowRootOrDocument=n,t.closestShadowRootOrBody=function(e){var t=n(e);return t.body?t.body:t},t.isDescendant=function(e,t){for(var r=e.parentNode;r;){if(r===t)return!0;r=r.parentNode}return!1},t.getEventTarget=function(e){return(e.path||e.composedPath&&e.composedPath()||[])[0]||e.target},t.isInputArea=function(e){if(!e)return!1;for(var t="INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName;e&&!t&&(t=e.hasAttribute&&e.hasAttribute("contenteditable")&&"true"===e.getAttribute("contenteditable"),"SECTION"!==e.tagName&&"BODY"!==e.tagName&&"HTML"!==e.tagName);)e=e.parentNode;return t},t.classListContains=a,t.findSelfOrAncestor=function(e,t){if(e&&!a(e,t))for(;(e=e.parentNode)&&!a(e,t););return e},t.findSelfOrAncestorAttr=function(e,t){if(e&&(!e.hasAttribute||!e.hasAttribute(t)))for(;(e=e.parentNode)&&e&&(!e.hasAttribute||!e.hasAttribute(t)););return e},t.findElementIndex=function(e){return e&&e.parentNode?r([],Array.from(e.parentNode.children),!0).indexOf(e):-1},t.isTouchEventsEnabled=i,t.getEventCoordinates=function(e){if(i()&&e.touches&&e.touches.length>0){var t=e.touches[0];return{pageX:t.pageX||0,pageY:t.pageY||0,clientX:t.clientX||0,clientY:t.clientY||0}}return{pageX:e.pageX||0,pageY:e.pageY||0,clientX:e.clientX||0,clientY:e.clientY||0}},t.reversePopupRotation=function(e,t,r){if(360===t&&(t=0),e){if(!e.parentNode)return;if(t){var n=parseInt((e.style.left||"").toString().replace("px",""))||0,a=Math.round(n/2);e.style.transform="rotate(-"+t+"deg)";var i="left";switch(t){case 90:case 180:case 270:i="-"+a+"px -"+a+"px"}e.style.transformOrigin=i}else e.style.transform="",e.style.transformOrigin=""}r&&(r.style.transform=t?"rotate(-"+t+"deg)":"")},t.triggerMouseEvent=o,t.triggerFullStackClick=function(e){e&&(o(e,"mouseover"),o(e,"mousedown"),o(e,"mouseup"),o(e,"click"))},t.sanitizeHTML=function(e){return e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi,"")}},24631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RadioButtonElement=void 0;t.RadioButtonElement=function(){}},25345:(e,t,r)=>{"use strict";var n=r(72067),a=r(13144);e.exports=n&&a((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},25571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckBoxElement=void 0;t.CheckBoxElement=function(){}},25702:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.SharedAccessMode=t.ModificationType=void 0,(n=t.ModificationType||(t.ModificationType={}))[n.NoChanges=0]="NoChanges",n[n.Structure=1]="Structure",n[n.RemoveAnnotation=2]="RemoveAnnotation",n[n.AddAnnotation=3]="AddAnnotation",n[n.UpdateAnnotation=4]="UpdateAnnotation",n[n.U