Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pdftron/pdfjs-express-viewer

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pdftron/pdfjs-express-viewer - npm Package Compare versions

Comparing version 8.7.2 to 8.7.3

2

package.json
{
"version": "8.7.2",
"version": "8.7.3",
"name": "@pdftron/pdfjs-express-viewer",

@@ -4,0 +4,0 @@ "main": "webviewer.min.js",

/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[23],{400:function(ia){(function(){ia.exports={CR:function(){function y(e,f){this.scrollLeft=e;this.scrollTop=f}function e(e){if(null===e||"object"!==typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"===typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.");}function fa(e,h){if("Y"===
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[23],{400:function(ia){(function(){ia.exports={DR:function(){function y(e,f){this.scrollLeft=e;this.scrollTop=f}function e(e){if(null===e||"object"!==typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"===typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.");}function fa(e,h){if("Y"===
h)return e.clientHeight+f<e.scrollHeight;if("X"===h)return e.clientWidth+f<e.scrollWidth}function x(e,f){e=ba.getComputedStyle(e,null)["overflow"+f];return"auto"===e||"scroll"===e}function ha(e){var f=fa(e,"Y")&&x(e,"Y");e=fa(e,"X")&&x(e,"X");return f||e}function ea(e){var f=(h()-e.startTime)/468;var n=.5*(1-Math.cos(Math.PI*(1<f?1:f)));f=e.Xv+(e.x-e.Xv)*n;n=e.Yv+(e.y-e.Yv)*n;e.method.call(e.hB,f,n);f===e.x&&n===e.y||ba.requestAnimationFrame(ea.bind(ba,e))}function da(e,f,x){var n=h();if(e===w.body){var z=
ba;var aa=ba.scrollX||ba.pageXOffset;e=ba.scrollY||ba.pageYOffset;var ca=r.scroll}else z=e,aa=e.scrollLeft,e=e.scrollTop,ca=y;ea({hB:z,method:ca,startTime:n,Xv:aa,Yv:e,x:f,y:x})}var ba=window,w=document;if(!("scrollBehavior"in w.documentElement.style&&!0!==ba.Ffa)){var z=ba.HTMLElement||ba.Element,r={scroll:ba.scroll||ba.scrollTo,scrollBy:ba.scrollBy,sN:z.prototype.scroll||y,scrollIntoView:z.prototype.scrollIntoView},h=ba.performance&&ba.performance.now?ba.performance.now.bind(ba.performance):Date.now,
ba;var aa=ba.scrollX||ba.pageXOffset;e=ba.scrollY||ba.pageYOffset;var ca=r.scroll}else z=e,aa=e.scrollLeft,e=e.scrollTop,ca=y;ea({hB:z,method:ca,startTime:n,Xv:aa,Yv:e,x:f,y:x})}var ba=window,w=document;if(!("scrollBehavior"in w.documentElement.style&&!0!==ba.Gfa)){var z=ba.HTMLElement||ba.Element,r={scroll:ba.scroll||ba.scrollTo,scrollBy:ba.scrollBy,sN:z.prototype.scroll||y,scrollIntoView:z.prototype.scrollIntoView},h=ba.performance&&ba.performance.now?ba.performance.now.bind(ba.performance):Date.now,
f=/MSIE |Trident\/|Edge\//.test(ba.navigator.userAgent)?1:0;ba.scroll=ba.scrollTo=function(f,h){void 0!==f&&(!0===e(f)?r.scroll.call(ba,void 0!==f.left?f.left:"object"!==typeof f?f:ba.scrollX||ba.pageXOffset,void 0!==f.top?f.top:void 0!==h?h:ba.scrollY||ba.pageYOffset):da.call(ba,w.body,void 0!==f.left?~~f.left:ba.scrollX||ba.pageXOffset,void 0!==f.top?~~f.top:ba.scrollY||ba.pageYOffset))};ba.scrollBy=function(f,h){void 0!==f&&(e(f)?r.scrollBy.call(ba,void 0!==f.left?f.left:"object"!==typeof f?f:

@@ -6,0 +6,0 @@ 0,void 0!==f.top?f.top:void 0!==h?h:0):da.call(ba,w.body,~~f.left+(ba.scrollX||ba.pageXOffset),~~f.top+(ba.scrollY||ba.pageYOffset)))};z.prototype.scroll=z.prototype.scrollTo=function(f,h){if(void 0!==f)if(!0===e(f)){if("number"===typeof f&&void 0===h)throw new SyntaxError("Value could not be converted");r.sN.call(this,void 0!==f.left?~~f.left:"object"!==typeof f?~~f:this.scrollLeft,void 0!==f.top?~~f.top:void 0!==h?~~h:this.scrollTop)}else h=f.left,f=f.top,da.call(this,this,"undefined"===typeof h?

/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[24],{402:function(ia,y,e){e.r(y);var fa=e(1),x=e(14),ha=e(2);ia=e(48);var ea=e(32),da=e(9);e=function(){function e(){this.init()}e.prototype.init=function(){this.b0=!1;this.ue=this.$j=this.connection=null;this.Sp={};this.Ba=this.PB=null};e.prototype.aea=function(e){for(var w=this,r=0;r<e.length;++r){var h=e[r];switch(h.at){case "create":this.Sp[h.author]||(this.Sp[h.author]=h.aName);this.b7(h);break;case "modify":this.Ba.Tq(h.xfdf).then(function(e){w.Ba.ZR(e[0])});
break;case "delete":this.Ba.Tq("<delete><id>"+h.aId+"</id></delete>")}}};e.prototype.b7=function(e){var w=this;this.Ba.Tq(e.xfdf).then(function(r){r=r[0];r.authorId=e.author;w.Ba.ZR(r);w.Ba.trigger(x.a.UPDATE_ANNOTATION_PERMISSION,[r])})};e.prototype.C6=function(e,x,r){this.$j&&this.$j(e,x,r)};e.prototype.preloadAnnotations=function(e){this.addEventListener("webViewerServerAnnotationsEnabled",this.C6.bind(this,e,"add",{imported:!1}),{once:!0})};e.prototype.initiateCollaboration=function(w,y,r){var h=
this;if(w){h.ue=y;h.Ba=r.La();r.addEventListener(x.d.DOCUMENT_UNLOADED,function(){h.disableCollaboration()});h.xea(w);var f=new XMLHttpRequest;f.addEventListener("load",function(){if(200===f.status&&0<f.responseText.length)try{var n=JSON.parse(f.responseText);h.connection=exports.Sa.gfa(Object(ea.h)(h.ue,"blackbox/"),"annot");h.PB=n.id;h.Sp[n.id]=n.user_name;h.Ba.fT(n.id);h.connection.rla(function(e){e.t&&e.t.startsWith("a_")&&e.data&&h.aea(e.data)},function(){h.connection.send({t:"a_retrieve",dId:w});
h.trigger(e.Events.WEBVIEWER_SERVER_ANNOTATIONS_ENABLED,[h.Sp[n.id],h.PB])},function(){h.disableCollaboration()})}catch(ca){Object(ha.g)(ca.message)}});f.open("GET",Object(ea.h)(this.ue,"demo/SessionInfo.jsp"));f.withCredentials=!0;f.send();h.b0=!0;h.Ba.Sba(function(e){return h.Sp[e.Author]||e.Author})}else Object(ha.g)("Document ID required for collaboration")};e.prototype.disableCollaboration=function(){this.$j&&(this.Ba.removeEventListener(da.a.Events.ANNOTATION_CHANGED,this.$j),this.$j=null);
this.connection&&this.connection.Rn();this.Ba&&this.Ba.fT("Guest");this.init();this.trigger(e.Events.WEBVIEWER_SERVER_ANNOTATIONS_DISABLED)};e.prototype.xea=function(e){var w=this;this.$j&&this.Ba.removeEventListener(da.a.Events.ANNOTATION_CHANGED,this.$j);this.$j=function(r,h,f){return Object(fa.b)(this,void 0,void 0,function(){var n,x,y,z,ba,da,ea,ha,ia;return Object(fa.d)(this,function(aa){switch(aa.label){case 0:if(f.imported)return[2];n={t:"a_"+h,dId:e,annots:[]};return[4,w.Ba.p3()];case 1:x=
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[24],{402:function(ia,y,e){e.r(y);var fa=e(1),x=e(14),ha=e(2);ia=e(48);var ea=e(32),da=e(9);e=function(){function e(){this.init()}e.prototype.init=function(){this.c0=!1;this.ue=this.$j=this.connection=null;this.Sp={};this.Ba=this.PB=null};e.prototype.bea=function(e){for(var w=this,r=0;r<e.length;++r){var h=e[r];switch(h.at){case "create":this.Sp[h.author]||(this.Sp[h.author]=h.aName);this.c7(h);break;case "modify":this.Ba.Tq(h.xfdf).then(function(e){w.Ba.$R(e[0])});
break;case "delete":this.Ba.Tq("<delete><id>"+h.aId+"</id></delete>")}}};e.prototype.c7=function(e){var w=this;this.Ba.Tq(e.xfdf).then(function(r){r=r[0];r.authorId=e.author;w.Ba.$R(r);w.Ba.trigger(x.a.UPDATE_ANNOTATION_PERMISSION,[r])})};e.prototype.D6=function(e,x,r){this.$j&&this.$j(e,x,r)};e.prototype.preloadAnnotations=function(e){this.addEventListener("webViewerServerAnnotationsEnabled",this.D6.bind(this,e,"add",{imported:!1}),{once:!0})};e.prototype.initiateCollaboration=function(w,y,r){var h=
this;if(w){h.ue=y;h.Ba=r.La();r.addEventListener(x.d.DOCUMENT_UNLOADED,function(){h.disableCollaboration()});h.yea(w);var f=new XMLHttpRequest;f.addEventListener("load",function(){if(200===f.status&&0<f.responseText.length)try{var n=JSON.parse(f.responseText);h.connection=exports.Sa.hfa(Object(ea.h)(h.ue,"blackbox/"),"annot");h.PB=n.id;h.Sp[n.id]=n.user_name;h.Ba.gT(n.id);h.connection.sla(function(e){e.t&&e.t.startsWith("a_")&&e.data&&h.bea(e.data)},function(){h.connection.send({t:"a_retrieve",dId:w});
h.trigger(e.Events.WEBVIEWER_SERVER_ANNOTATIONS_ENABLED,[h.Sp[n.id],h.PB])},function(){h.disableCollaboration()})}catch(ca){Object(ha.g)(ca.message)}});f.open("GET",Object(ea.h)(this.ue,"demo/SessionInfo.jsp"));f.withCredentials=!0;f.send();h.c0=!0;h.Ba.Tba(function(e){return h.Sp[e.Author]||e.Author})}else Object(ha.g)("Document ID required for collaboration")};e.prototype.disableCollaboration=function(){this.$j&&(this.Ba.removeEventListener(da.a.Events.ANNOTATION_CHANGED,this.$j),this.$j=null);
this.connection&&this.connection.Rn();this.Ba&&this.Ba.gT("Guest");this.init();this.trigger(e.Events.WEBVIEWER_SERVER_ANNOTATIONS_DISABLED)};e.prototype.yea=function(e){var w=this;this.$j&&this.Ba.removeEventListener(da.a.Events.ANNOTATION_CHANGED,this.$j);this.$j=function(r,h,f){return Object(fa.b)(this,void 0,void 0,function(){var n,x,y,z,ba,da,ea,ha,ia;return Object(fa.d)(this,function(aa){switch(aa.label){case 0:if(f.imported)return[2];n={t:"a_"+h,dId:e,annots:[]};return[4,w.Ba.q3()];case 1:x=
aa.ea();"delete"!==h&&(y=(new DOMParser).parseFromString(x,"text/xml"),z=new XMLSerializer);for(ba=0;ba<r.length;ba++)da=r[ba],ha=ea=void 0,"add"===h?(ea=y.querySelector('[name="'+da.Id+'"]'),ha=z.serializeToString(ea),ia=null,da.InReplyTo&&(ia=w.Ba.LE(da.InReplyTo).authorId||"default"),n.annots.push({at:"create",aId:da.Id,author:w.PB,aName:w.Sp[w.PB],parent:ia,xfdf:"<add>"+ha+"</add>"})):"modify"===h?(ea=y.querySelector('[name="'+da.Id+'"]'),ha=z.serializeToString(ea),n.annots.push({at:"modify",
aId:da.Id,xfdf:"<modify>"+ha+"</modify>"})):"delete"===h&&n.annots.push({at:"delete",aId:da.Id});0<n.annots.length&&w.connection.send(n);return[2]}})})}.bind(w);this.Ba.addEventListener(da.a.Events.ANNOTATION_CHANGED,this.$j)};e.Events={WEBVIEWER_SERVER_ANNOTATIONS_ENABLED:"webViewerServerAnnotationsEnabled",WEBVIEWER_SERVER_ANNOTATIONS_DISABLED:"webViewerServerAnnotationsDisabled"};return e}();Object(ia.a)(e);y["default"]=e}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[7],{143:function(ia,y,e){function fa(e,f,h,n){return Object(ma.b)(void 0,void 0,void 0,function(){var r,w,x,y,z,aa,ba,da,fa;return Object(ma.d)(this,function(ha){switch(ha.label){case 0:return r=Ia.getDocument(),w=[1],[4,Object(Aa.c)(f,{extension:"pdf"})];case 1:return x=ha.ea(),y=Ia.La(),ba=(aa=ta.a).A$,[4,x.Uy()];case 2:return z=ba.apply(aa,[ha.ea().xfdfString,e]),da=!0,[4,r.af(x,w,e,da)];case 3:return ha.ea(),[4,r.Nf([e+1],da)];
case 4:return ha.ea(),fa=y.Mg().filter(function(f){return f.MP()&&f.PageNumber===e}),y.Kt(fa,{force:!0,source:"contentEditTool"}),[4,y.pP(z)];case 5:return ha.ea(),Ia.getDocument().rH(),Ia.qH(e),Ia.xe(),ea(e),ca(e,h.galleys,n),ca(e,h.objects,n),[2]}})})}function x(e){e=(new DOMParser).parseFromString(e,"text/html").documentElement.querySelector("body");e.querySelectorAll("p").forEach(function(e){e.querySelectorAll("span").forEach(function(e){var f=e.getAttribute("style");f=ha(f,e.innerHTML);e.innerHTML=
f});var f=e.getAttribute("style"),h=e.innerHTML.oi("<br>","");e.innerHTML=ha(f,h)});return e.innerHTML.trim()}function ha(e,f){e.includes("bold")&&(f="<strong>"+f+"</strong>");e.includes("italic")&&(f="<em>"+f+"</em>");e.includes("text-decoration: underline")&&(f="<u>"+f+"</u>");return f}function ea(e){var f=Ia.La(),h=f.Mg().filter(function(f){return f.Cu()&&f.PageNumber===e});f.Kt(h,{force:!0,source:"contentEditTool"})}function da(e,f){f.forEach(function(f){Ga[e]||(Ga[e]=[]);Ga[e].find(function(e){return e.id===
f.id})||Ga[e].push(f)})}function ba(e,f){f.forEach(function(f){Fa[e]||(Fa[e]=[]);Fa[e].find(function(e){return e.id===f.id})||Fa[e].push(f)})}function w(e){var f=new DOMParser,h=f.parseFromString(e,"text/xml");h.querySelector("parsererror")&&(h=f.parseFromString("<Root>"+e+"</Root>","text/xml"));h.querySelectorAll("a").forEach(function(e){var f=e.childNodes[0];Array.from(e.querySelectorAll("*")).find(function(e){return"u"===e.tagName.toLowerCase()})||(e=document.createElement("u"),f.after(e),e.appendChild(f))});
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[7],{143:function(ia,y,e){function fa(e,f,h,n){return Object(na.b)(void 0,void 0,void 0,function(){var r,w,x,y,z,aa,ba,da,fa;return Object(na.d)(this,function(ha){switch(ha.label){case 0:return r=Ia.getDocument(),w=[1],[4,Object(za.c)(f,{extension:"pdf"})];case 1:return x=ha.ea(),y=Ia.La(),ba=(aa=ua.a).B$,[4,x.Uy()];case 2:return z=ba.apply(aa,[ha.ea().xfdfString,e]),da=!0,[4,r.af(x,w,e,da)];case 3:return ha.ea(),[4,r.Nf([e+1],da)];
case 4:return ha.ea(),fa=y.Ng().filter(function(f){return f.NP()&&f.PageNumber===e}),y.Kt(fa,{force:!0,source:"contentEditTool"}),[4,y.qP(z)];case 5:return ha.ea(),Ia.getDocument().rH(),Ia.qH(e),Ia.xe(),ea(e),ca(e,h.galleys,n),ca(e,h.objects,n),[2]}})})}function x(e){e=(new DOMParser).parseFromString(e,"text/html").documentElement.querySelector("body");e.querySelectorAll("p").forEach(function(e){e.querySelectorAll("span").forEach(function(e){var f=e.getAttribute("style");f=ha(f,e.innerHTML);e.innerHTML=
f});var f=e.getAttribute("style"),h=e.innerHTML.oi("<br>","");e.innerHTML=ha(f,h)});return e.innerHTML.trim()}function ha(e,f){e.includes("bold")&&(f="<strong>"+f+"</strong>");e.includes("italic")&&(f="<em>"+f+"</em>");e.includes("text-decoration: underline")&&(f="<u>"+f+"</u>");return f}function ea(e){var f=Ia.La(),h=f.Ng().filter(function(f){return f.Cu()&&f.PageNumber===e});f.Kt(h,{force:!0,source:"contentEditTool"})}function da(e,f){f.forEach(function(f){Ga[e]||(Ga[e]=[]);Ga[e].find(function(e){return e.id===
f.id})||Ga[e].push(f)})}function ba(e,f){f.forEach(function(f){Ea[e]||(Ea[e]=[]);Ea[e].find(function(e){return e.id===f.id})||Ea[e].push(f)})}function w(e){var f=new DOMParser,h=f.parseFromString(e,"text/xml");h.querySelector("parsererror")&&(h=f.parseFromString("<Root>"+e+"</Root>","text/xml"));h.querySelectorAll("a").forEach(function(e){var f=e.childNodes[0];Array.from(e.querySelectorAll("*")).find(function(e){return"u"===e.tagName.toLowerCase()})||(e=document.createElement("u"),f.after(e),e.appendChild(f))});
return(new XMLSerializer).serializeToString(h)}function z(e,f,h,n){this.top=e;this.left=f;this.bottom=h;this.right=n;this.topVal=function(){return Math.round(this.top)};this.bottomVal=function(){return Math.round(this.bottom)};this.leftVal=function(){return Math.round(this.left)};this.rightVal=function(){return Math.round(this.right)};this.height=function(){return Math.round(Math.abs(this.top-this.bottom))};this.width=function(){return Math.round(this.right-this.left)};this.fM=function(e){return this.topVal()!==
e.topVal()||this.leftVal()!==e.leftVal()||this.bottomVal()!==e.bottomVal()||this.rightVal()!==e.rightVal()}}function r(e,f,h,n,r){this.id=e;this.pagenum=f;this.galleysContents=h;this.contents=n;this.galleyBox=r;Object(wa.d)(Fa)}function h(e,f,h,n){this.id=f;this.type=e;this.bbox=h;this.pagenum=n}function f(e,f,h,n,r){this.id=e;this.pagecount=f;this.pageBBox=h;this.galleys=n;this.objects=r}function n(e,f,h,n,r){var w=[];(new DOMParser).parseFromString(n,"text/html").documentElement.querySelectorAll("p").forEach(function(e,
e.topVal()||this.leftVal()!==e.leftVal()||this.bottomVal()!==e.bottomVal()||this.rightVal()!==e.rightVal()}}function r(e,f,h,n,r){this.id=e;this.pagenum=f;this.galleysContents=h;this.contents=n;this.galleyBox=r;Object(Fa.d)(Ea)}function h(e,f,h,n){this.id=f;this.type=e;this.bbox=h;this.pagenum=n}function f(e,f,h,n,r){this.id=e;this.pagecount=f;this.pageBBox=h;this.galleys=n;this.objects=r}function n(e,f,h,n,r){var w=[];(new DOMParser).parseFromString(n,"text/html").documentElement.querySelectorAll("p").forEach(function(e,
f){w[f]=e.innerHTML});h=(new DOMParser).parseFromString(h,"text/html");var x=null;h.documentElement.querySelectorAll("p").forEach(function(e,f){f<w.length?(e.innerHTML=w[f],x=e.getAttribute("style"),x=x.replace("font:italic","font:normal"),x=x.replace(" bold "," normal "),x=x.replace("underline:1;","underline:0;"),e.setAttribute("style",x)):e.remove()});for(n=h.documentElement.querySelectorAll("p").length;n<w.length;n++){var y=document.createElement("p");y.setAttribute("id","0");y.innerHTML=w[n];
null!=x&&y.setAttribute("style",x);h.documentElement.querySelector("body").appendChild(y)}h=h.documentElement.querySelector("body").innerHTML;var z="";Fa[e].forEach(function(e){e.id===r&&(z=e)});if(""===z)return"";f="<DOC id='"+f.id+"' pagecount='"+f.pagecount+"'>";f=f+("<STORY galley_ids='"+r+"' pagenum='"+e+"'>")+("<galleys>"+z.galleysContents+"</galleys>");z.contents=h;f=f+h+"\n</STORY>";return f+="</DOC>"}function ca(e,f,n){var w=[],x=Ia.getDocument(),y=null;f.forEach(function(f){if(f instanceof
h){var z=x.lm(e,f.bbox.leftVal(),f.bbox.topVal());var aa=z.x;var ba=z.y;var ca=x.lm(e,f.bbox.rightVal(),f.bbox.bottomVal());z=ca.x;ca=ca.y}else if(f instanceof r)z=x.lm(e,f.galleyBox.leftVal(),f.galleyBox.topVal()),aa=z.x,ba=z.y,ca=x.lm(e,f.galleyBox.rightVal(),f.galleyBox.bottomVal()),z=ca.x,ca=ca.y;else return;var da=new window.Core.Annotations.RectangleAnnotation,ea=ua.a.OBJECT;f instanceof r&&(ea=ua.a.TEXT);da.Xba(f,ea);da.PageNumber=f.pagenum;da.X=aa;da.Y=ba;da.Width=z-aa;da.Height=ca-ba;da.StrokeColor=
new qa.a("#3183C8");da.FillColor=new qa.a(255,255,255,.01);da.Style="dash";da.Dashes="4,3";da.eN();da.selectionModel=Ea.a;w.push(da);"undefined"!==typeof n&&n===f.id&&(y=da)});f=Ia.La();f.un(w);y&&f.Wo(y);f.Ui(w)}function aa(e,f,h){return Object(ma.b)(this,void 0,void 0,function(){var n,r,w,x,y;return Object(ma.d)(this,function(z){switch(z.label){case 0:n=e.data;w=n.cmd;switch(w){case "isReady":return[3,1];case "initialiseInfixServer":return[3,3];case "exportFile":return[3,4];case "importText":return[3,
5];case "transformObject":return[3,5];case "deleteObject":return[3,6]}return[3,7];case 1:return[4,Object(oa.b)()];case 2:return x=z.ea(),Da.postMessage({cmd:"initialiseInfixServer",l:x}),[3,7];case 3:return(y=ja(n.resultsXML))?f():h("License key does not have content edit permission"),[3,7];case 4:return n.exportPerformed?ka(n.pageNumber,n.exportXML,n.objectXML,n.resultsXML):(r=Ca[n.pageNumber],ba(n.pageNumber,r.galleys),da(n.pageNumber,r.objects),ea(n.pageNumber),ca(n.pageNumber,r.galleys),ca(n.pageNumber,
r.objects)),[3,7];case 5:return r=Ca[n.pageNumber],la(n.pageNumber,n.resultsXML),fa(n.pageNumber,n.pdfBuffer,r,n.id),[3,7];case 6:return r=Ca[n.pageNumber],la(n.pageNumber,n.resultsXML),r.galleys=r.galleys.filter(function(e){return e.id!==n.id}),r.objects=r.objects.filter(function(e){return e.id!==n.id}),fa(n.pageNumber,n.pdfBuffer,r),[3,7];case 7:return[2]}})})}function ja(e){e=new Uint8Array(e);var f=(new TextDecoder("utf-8")).decode(e);e=!1;f=(new DOMParser).parseFromString(f,"text/xml").getElementsByTagName("LicenseCheck");
null!==f&&0<f.length&&(f=f[0].getElementsByTagName("Status")[0].innerHTML,"error"!==f&&"ok"===f&&(e=!0));return e}function ka(e,f,h,n){var r=new Uint8Array(f),w=new TextDecoder("utf-8");f=w.decode(r);r=new Uint8Array(h);h=w.decode(r);r=new Uint8Array(n);n=w.decode(r);Ca[e]=xa(e,f,h,n);n=Ca[e];ba(e,n.galleys);da(e,n.objects);ea(e);ca(e,n.galleys);ca(e,n.objects)}function ya(e,f){e=parseFloat(e);return isNaN(f)||f<e?e:f}function xa(e,n,w,x){var y;var aa=new DOMParser;x=aa.parseFromString(x,"text/xml");
null!=x&&y.setAttribute("style",x);h.documentElement.querySelector("body").appendChild(y)}h=h.documentElement.querySelector("body").innerHTML;var z="";Ea[e].forEach(function(e){e.id===r&&(z=e)});if(""===z)return"";f="<DOC id='"+f.id+"' pagecount='"+f.pagecount+"'>";f=f+("<STORY galley_ids='"+r+"' pagenum='"+e+"'>")+("<galleys>"+z.galleysContents+"</galleys>");z.contents=h;f=f+h+"\n</STORY>";return f+="</DOC>"}function ca(e,f,n){var w=[],x=Ia.getDocument(),y=null;f.forEach(function(f){if(f instanceof
h){var z=x.lm(e,f.bbox.leftVal(),f.bbox.topVal());var aa=z.x;var ba=z.y;var ca=x.lm(e,f.bbox.rightVal(),f.bbox.bottomVal());z=ca.x;ca=ca.y}else if(f instanceof r)z=x.lm(e,f.galleyBox.leftVal(),f.galleyBox.topVal()),aa=z.x,ba=z.y,ca=x.lm(e,f.galleyBox.rightVal(),f.galleyBox.bottomVal()),z=ca.x,ca=ca.y;else return;var da=new window.Core.Annotations.RectangleAnnotation,ea=va.a.OBJECT;f instanceof r&&(ea=va.a.TEXT);da.Yba(f,ea);da.PageNumber=f.pagenum;da.X=aa;da.Y=ba;da.Width=z-aa;da.Height=ca-ba;da.StrokeColor=
new ra.a("#3183C8");da.FillColor=new ra.a(255,255,255,.01);da.Style="dash";da.Dashes="4,3";da.eN();da.selectionModel=Da.a;w.push(da);"undefined"!==typeof n&&n===f.id&&(y=da)});f=Ia.La();f.un(w);y&&f.Wo(y);f.Ui(w)}function aa(e,f,h){return Object(na.b)(this,void 0,void 0,function(){var n,r,w,x,y;return Object(na.d)(this,function(z){switch(z.label){case 0:n=e.data;w=n.cmd;switch(w){case "isReady":return[3,1];case "initialiseInfixServer":return[3,3];case "exportFile":return[3,4];case "importText":return[3,
5];case "transformObject":return[3,5];case "deleteObject":return[3,6]}return[3,7];case 1:return[4,Object(oa.b)()];case 2:return x=z.ea(),Ca.postMessage({cmd:"initialiseInfixServer",l:x}),[3,7];case 3:return(y=ja(n.resultsXML))?f():h("License key does not have content edit permission"),[3,7];case 4:return n.exportPerformed?ka(n.pageNumber,n.exportXML,n.objectXML,n.resultsXML):(r=Ba[n.pageNumber],ba(n.pageNumber,r.galleys),da(n.pageNumber,r.objects),ea(n.pageNumber),ca(n.pageNumber,r.galleys),ca(n.pageNumber,
r.objects)),[3,7];case 5:return r=Ba[n.pageNumber],la(n.pageNumber,n.resultsXML),fa(n.pageNumber,n.pdfBuffer,r,n.id),[3,7];case 6:return r=Ba[n.pageNumber],la(n.pageNumber,n.resultsXML),r.galleys=r.galleys.filter(function(e){return e.id!==n.id}),r.objects=r.objects.filter(function(e){return e.id!==n.id}),fa(n.pageNumber,n.pdfBuffer,r),[3,7];case 7:return[2]}})})}function ja(e){e=new Uint8Array(e);var f=(new TextDecoder("utf-8")).decode(e);e=!1;f=(new DOMParser).parseFromString(f,"text/xml").getElementsByTagName("LicenseCheck");
null!==f&&0<f.length&&(f=f[0].getElementsByTagName("Status")[0].innerHTML,"error"!==f&&"ok"===f&&(e=!0));return e}function ka(e,f,h,n){var r=new Uint8Array(f),w=new TextDecoder("utf-8");f=w.decode(r);r=new Uint8Array(h);h=w.decode(r);r=new Uint8Array(n);n=w.decode(r);Ba[e]=xa(e,f,h,n);n=Ba[e];ba(e,n.galleys);da(e,n.objects);ea(e);ca(e,n.galleys);ca(e,n.objects)}function pa(e,f){e=parseFloat(e);return isNaN(f)||f<e?e:f}function xa(e,n,w,x){var y;var aa=new DOMParser;x=aa.parseFromString(x,"text/xml");
Array.prototype.slice.call(x.getElementsByTagName("BBox")).forEach(function(e){if("CropBox"===e.getAttribute("Name")){var f=parseFloat(e.getElementsByTagName("Top").item(0).innerHTML),h=parseFloat(e.getElementsByTagName("Bottom").item(0).innerHTML),n=parseFloat(e.getElementsByTagName("Left").item(0).innerHTML);e=parseFloat(e.getElementsByTagName("Right").item(0).innerHTML);y=new z(f,n,h,e)}});aa=new DOMParser;x=aa.parseFromString(n,"text/xml");var ba=[];Array.prototype.slice.call(x.getElementsByTagName("STORY")).forEach(function(f){var h=
f.getAttribute("galley_ids"),n=Array.prototype.slice.call(f.getElementsByTagName("g"))[0],w=n.getAttribute("bbox").split(" ");w=new z(parseFloat(w[0]),parseFloat(w[1]),parseFloat(w[2]),parseFloat(w[3]));n=n.innerHTML;var x=Array.prototype.slice.call(f.getElementsByTagName("galleys"))[0];x.parentNode.removeChild(x);f=f.innerHTML;f=(new DOMParser).parseFromString(f,"text/html").documentElement.querySelector("body").innerHTML.trim();h=new r(h,e,n,f,w);ba.push(h)});aa=new DOMParser;var ca=[];n=aa.parseFromString(w,
"text/xml").getElementsByTagName("Object");Array.prototype.slice.call(n).forEach(function(f){var n=f.getAttribute("Type"),r=f.getAttribute("OID");f=Array.prototype.slice.call(f.getElementsByTagName("Point"));var w=Number.NaN,x=Number.NaN,y=Number.NaN,aa=Number.NaN;f.forEach(function(e){var f=e.getAttribute("Name");"TL"===f?(w=ya(e.getAttribute("Y"),w),y=ya(e.getAttribute("X"),y)):"TR"===f?(w=ya(e.getAttribute("Y"),w),aa=ya(e.getAttribute("X"),aa)):"BR"===f?(x=ya(e.getAttribute("Y"),x),aa=ya(e.getAttribute("X"),
aa)):"BL"===f&&(x=ya(e.getAttribute("Y"),x),y=ya(e.getAttribute("X"),y))});ca.push(new h(n,r,new z(w,y,x,aa),e))});n=Array.prototype.slice.call(x.getElementsByTagName("DOC"))[0].getAttribute("id");return new f(n,1,y,ba,ca)}function la(e,f){var h;f=(new TextDecoder("utf-8")).decode(f);var n=(new DOMParser).parseFromString(f,"text/xml");f=n.getElementsByTagName("Galley").item(0);if(null!=f){var r=f.getAttribute("id");f=n.getElementsByTagName("BBox");f=Array.prototype.slice.call(f);f.forEach(function(e){var f=
e.getElementsByTagName("Top"),n=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Left");var r=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Bottom");var w=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Right");e=parseFloat(f.item(0).innerHTML);h=new z(n,r,w,e)});Fa[e].forEach(function(e){e.id===r&&!0===h.fM(e.galleyBox)&&(e.galleyBox=h)})}f=n.getElementsByTagName("Object").item(0);if(null!=f){var w=f.getAttribute("OID");f=n.getElementsByTagName("BBox");f=Array.prototype.slice.call(f);
f.forEach(function(e){var f=e.getElementsByTagName("Top"),n=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Left");var r=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Bottom");var w=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Right");e=parseFloat(f.item(0).innerHTML);h=new z(n,r,w,e)});Ga[e].forEach(function(e){e.id===w&&!0===h.fM(e.bbox)&&(e.bbox=h)})}f=n.getElementsByTagName("NewParas").item(0);if(null!=f){var x=f.getAttribute("id");Fa[e].forEach(function(e){if(e.id===
x){var f="<Contents>"+e.contents;f+="</Contents>";var h=Array.prototype.slice.call(n.getElementsByTagName("NewPara"));f=(new DOMParser).parseFromString(f,"text/xml");var r=Array.prototype.slice.call(f.getElementsByTagName("p"));h.forEach(function(e){var f=parseFloat(e.innerHTML),h=!1;r.forEach(function(e){var n=e.getAttribute("id");!1===h&&"0"===n&&(e.setAttribute("id",f),h=!0)})});e.contents=f.getElementsByTagName("Contents").item(0).innerHTML}})}}e.r(y);var ma=e(1),Aa=e(49),qa=e(17),Ea=e(429),ra=
e(34),oa=e(68),na=e(2),ua=e(258),wa=e(154),ta=e(6),Da=null,Ba=null,Fa={},Ga={},Ca={},Ia;y["default"]={y$:function(e){return Object(ma.b)(void 0,void 0,void 0,function(){return Object(ma.d)(this,function(){Ba||(Ia=e,Ba=new Promise(function(e,f){Da=new Worker(window.Core.getWorkerPath()+"contentEdit/InfixServerModule.js");Da.onmessage=function(h){aa(h,e,f)};Da.postMessage({cmd:"isReady"})}));return[2,Ba]})})},gka:function(e,f,h){return Object(ma.b)(void 0,void 0,void 0,function(){var n,r,w,x;return Object(ma.d)(this,
function(y){switch(y.label){case 0:return ea(f),Fa[f]=[],Ga[f]=[],[4,e.ge([f])];case 1:return n=y.ea(),r=new TextEncoder,w=r.encode(""),x=w.buffer,Da.postMessage({cmd:"exportFile",pageNumber:f,performExport:h,pdfFile:n,tableData:x},[n,x]),[2]}})})},Tga:function(e){return Object(ma.b)(void 0,void 0,void 0,function(){var f,h,n,r,w,x,y,z;return Object(ma.d)(this,function(aa){switch(aa.label){case 0:return f=e.id,h=e.isText,n=e.pageNumber,r=Ia.getDocument(),[4,r.ge([n])];case 1:return w=aa.ea(),x=new TextEncoder,
y=x.encode(""),z=y.buffer,Da.postMessage({cmd:"deleteObject",pdfFile:w,pageNumber:n,objectID:f,isText:h,tableData:z},[z]),[2]}})})},Ala:function(e){return Object(ma.b)(void 0,void 0,void 0,function(){var f,h,n,r,w,x,y,z,aa,ba,ca,da,ea;return Object(ma.d)(this,function(fa){switch(fa.label){case 0:return f=e.id,h=e.position,n=h.top,r=h.left,w=h.bottom,x=h.right,y=e.isText,z=e.pageNumber,aa=Ia.getDocument(),[4,aa.ge([z])];case 1:return ba=fa.ea(),ca=new TextEncoder,da=ca.encode(""),ea=da.buffer,Da.postMessage({cmd:"transformObject",
pdfFile:ba,pageNumber:z,objectID:f,isText:y,topVal:n,leftVal:r,bottomVal:w,rightVal:x,tableData:ea},[ea]),[2]}})})},fea:function(e,f){return Object(ma.b)(void 0,void 0,void 0,function(){var h,r,y,z,aa,ba,ca,da,ea,fa,ha,ia,ja,ka,la,oa,qa,ta;return Object(ma.d)(this,function(ma){switch(ma.label){case 0:h=f.oi("<p><br></p>","");r=w(h);r=r.replace(/<span style="color: var\(--text-color\);">(.*?)<\/span>/g,"$1");y=e.oC.id;z=e.PageNumber;aa=Ca[z];ba=aa.galleys.find(function(e){return e.id===y});ca=x(ba.contents);
da=n(z,aa,ca,r,y);if(""===da)return[3,2];ea=new TextEncoder;fa=ea.encode(da);ha=fa.buffer;ia=Object(ra.c)()||"https://www.pdftron.com/webfonts/v2/";ja=Ia.getDocument();return[4,ja.ge([z])];case 1:return ka=ma.ea(),ea=new TextEncoder,la=ea.encode(""),oa=la.buffer,Da.postMessage({cmd:"importText",pdfFile:ka,pageNumber:z,webFontURL:ia,galleyId:y,importData:ha,tableData:oa},[ha,oa]),qa={},ba&&(ta=ba.galleyBox,qa={top:ta.top,left:ta.left,bottom:ta.bottom,right:ta.right}),Object(wa.e)(ca,r,qa),[3,3];case 2:Object(na.g)("Unable to generate import XML"),
ma.label=3;case 3:return[2]}})})},L4:function(e){if(e)return x(e.contents);Object(na.g)("Unable to extract document content")}}},429:function(ia,y,e){var fa=e(1);ia=e(73);var x=e(45);e=function(e){function y(){return null!==e&&e.apply(this,arguments)||this}Object(fa.c)(y,e);y.prototype.testSelection=function(e,y,w){return x.a.Yj(e,y,w)};return y}(ia.a);y.a=e}}]);}).call(this || window)
"text/xml").getElementsByTagName("Object");Array.prototype.slice.call(n).forEach(function(f){var n=f.getAttribute("Type"),r=f.getAttribute("OID");f=Array.prototype.slice.call(f.getElementsByTagName("Point"));var w=Number.NaN,x=Number.NaN,y=Number.NaN,aa=Number.NaN;f.forEach(function(e){var f=e.getAttribute("Name");"TL"===f?(w=pa(e.getAttribute("Y"),w),y=pa(e.getAttribute("X"),y)):"TR"===f?(w=pa(e.getAttribute("Y"),w),aa=pa(e.getAttribute("X"),aa)):"BR"===f?(x=pa(e.getAttribute("Y"),x),aa=pa(e.getAttribute("X"),
aa)):"BL"===f&&(x=pa(e.getAttribute("Y"),x),y=pa(e.getAttribute("X"),y))});ca.push(new h(n,r,new z(w,y,x,aa),e))});n=Array.prototype.slice.call(x.getElementsByTagName("DOC"))[0].getAttribute("id");return new f(n,1,y,ba,ca)}function la(e,f){var h;f=(new TextDecoder("utf-8")).decode(f);var n=(new DOMParser).parseFromString(f,"text/xml");f=n.getElementsByTagName("Galley").item(0);if(null!=f){var r=f.getAttribute("id");f=n.getElementsByTagName("BBox");f=Array.prototype.slice.call(f);f.forEach(function(e){var f=
e.getElementsByTagName("Top"),n=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Left");var r=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Bottom");var w=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Right");e=parseFloat(f.item(0).innerHTML);h=new z(n,r,w,e)});Ea[e].forEach(function(e){e.id===r&&!0===h.fM(e.galleyBox)&&(e.galleyBox=h)})}f=n.getElementsByTagName("Object").item(0);if(null!=f){var w=f.getAttribute("OID");f=n.getElementsByTagName("BBox");f=Array.prototype.slice.call(f);
f.forEach(function(e){var f=e.getElementsByTagName("Top"),n=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Left");var r=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Bottom");var w=parseFloat(f.item(0).innerHTML);f=e.getElementsByTagName("Right");e=parseFloat(f.item(0).innerHTML);h=new z(n,r,w,e)});Ga[e].forEach(function(e){e.id===w&&!0===h.fM(e.bbox)&&(e.bbox=h)})}f=n.getElementsByTagName("NewParas").item(0);if(null!=f){var x=f.getAttribute("id");Ea[e].forEach(function(e){if(e.id===
x){var f="<Contents>"+e.contents;f+="</Contents>";var h=Array.prototype.slice.call(n.getElementsByTagName("NewPara"));f=(new DOMParser).parseFromString(f,"text/xml");var r=Array.prototype.slice.call(f.getElementsByTagName("p"));h.forEach(function(e){var f=parseFloat(e.innerHTML),h=!1;r.forEach(function(e){var n=e.getAttribute("id");!1===h&&"0"===n&&(e.setAttribute("id",f),h=!0)})});e.contents=f.getElementsByTagName("Contents").item(0).innerHTML}})}}e.r(y);var na=e(1),za=e(49),ra=e(17),Da=e(429),sa=
e(34),oa=e(68),ma=e(2),va=e(258),Fa=e(154),ua=e(6),Ca=null,Aa=null,Ea={},Ga={},Ba={},Ia;y["default"]={z$:function(e){return Object(na.b)(void 0,void 0,void 0,function(){return Object(na.d)(this,function(){Aa||(Ia=e,Aa=new Promise(function(e,f){Ca=new Worker(window.Core.getWorkerPath()+"contentEdit/InfixServerModule.js");Ca.onmessage=function(h){aa(h,e,f)};Ca.postMessage({cmd:"isReady"})}));return[2,Aa]})})},hka:function(e,f,h){return Object(na.b)(void 0,void 0,void 0,function(){var n,r,w,x;return Object(na.d)(this,
function(y){switch(y.label){case 0:return ea(f),Ea[f]=[],Ga[f]=[],[4,e.ge([f])];case 1:return n=y.ea(),r=new TextEncoder,w=r.encode(""),x=w.buffer,Ca.postMessage({cmd:"exportFile",pageNumber:f,performExport:h,pdfFile:n,tableData:x},[n,x]),[2]}})})},Uga:function(e){return Object(na.b)(void 0,void 0,void 0,function(){var f,h,n,r,w,x,y,z;return Object(na.d)(this,function(aa){switch(aa.label){case 0:return f=e.id,h=e.isText,n=e.pageNumber,r=Ia.getDocument(),[4,r.ge([n])];case 1:return w=aa.ea(),x=new TextEncoder,
y=x.encode(""),z=y.buffer,Ca.postMessage({cmd:"deleteObject",pdfFile:w,pageNumber:n,objectID:f,isText:h,tableData:z},[z]),[2]}})})},Bla:function(e){return Object(na.b)(void 0,void 0,void 0,function(){var f,h,n,r,w,x,y,z,aa,ba,ca,da,ea;return Object(na.d)(this,function(fa){switch(fa.label){case 0:return f=e.id,h=e.position,n=h.top,r=h.left,w=h.bottom,x=h.right,y=e.isText,z=e.pageNumber,aa=Ia.getDocument(),[4,aa.ge([z])];case 1:return ba=fa.ea(),ca=new TextEncoder,da=ca.encode(""),ea=da.buffer,Ca.postMessage({cmd:"transformObject",
pdfFile:ba,pageNumber:z,objectID:f,isText:y,topVal:n,leftVal:r,bottomVal:w,rightVal:x,tableData:ea},[ea]),[2]}})})},gea:function(e,f){return Object(na.b)(void 0,void 0,void 0,function(){var h,r,y,z,aa,ba,ca,da,ea,fa,ha,ia,ja,ka,la,oa,pa,ra;return Object(na.d)(this,function(na){switch(na.label){case 0:h=f.oi("<p><br></p>","");r=w(h);r=r.replace(/<span style="color: var\(--text-color\);">(.*?)<\/span>/g,"$1");y=e.oC.id;z=e.PageNumber;aa=Ba[z];ba=aa.galleys.find(function(e){return e.id===y});ca=x(ba.contents);
da=n(z,aa,ca,r,y);if(""===da)return[3,2];ea=new TextEncoder;fa=ea.encode(da);ha=fa.buffer;ia=Object(sa.c)()||"https://www.pdftron.com/webfonts/v2/";ja=Ia.getDocument();return[4,ja.ge([z])];case 1:return ka=na.ea(),ea=new TextEncoder,la=ea.encode(""),oa=la.buffer,Ca.postMessage({cmd:"importText",pdfFile:ka,pageNumber:z,webFontURL:ia,galleyId:y,importData:ha,tableData:oa},[ha,oa]),pa={},ba&&(ra=ba.galleyBox,pa={top:ra.top,left:ra.left,bottom:ra.bottom,right:ra.right}),Object(Fa.e)(ca,r,pa),[3,3];case 2:Object(ma.g)("Unable to generate import XML"),
na.label=3;case 3:return[2]}})})},M4:function(e){if(e)return x(e.contents);Object(ma.g)("Unable to extract document content")}}},429:function(ia,y,e){var fa=e(1);ia=e(73);var x=e(45);e=function(e){function y(){return null!==e&&e.apply(this,arguments)||this}Object(fa.c)(y,e);y.prototype.testSelection=function(e,y,w){return x.a.Yj(e,y,w)};return y}(ia.a);y.a=e}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[8],{399:function(ia,y,e){e.r(y);var fa=e(1),x=e(426),ha=e(427),ea;(function(e){e[e.EXTERNAL_XFDF_NOT_REQUESTED=0]="EXTERNAL_XFDF_NOT_REQUESTED";e[e.EXTERNAL_XFDF_NOT_AVAILABLE=1]="EXTERNAL_XFDF_NOT_AVAILABLE";e[e.EXTERNAL_XFDF_AVAILABLE=2]="EXTERNAL_XFDF_AVAILABLE"})(ea||(ea={}));ia=function(){function e(e){this.aa=e;this.state=ea.EXTERNAL_XFDF_NOT_REQUESTED}e.prototype.v6=function(){var e=this;return function(w,x,r){return Object(fa.b)(e,
void 0,void 0,function(){var e,f,n,y,z,ba,da,ha=this,ia;return Object(fa.d)(this,function(h){switch(h.label){case 0:if(this.state!==ea.EXTERNAL_XFDF_NOT_REQUESTED)return[3,2];e=this.aa.getDocument().uq();return[4,this.R4(e)];case 1:f=h.ea(),n=this.z0(f),this.zE=null!==(ia=null===n||void 0===n?void 0:n.parse())&&void 0!==ia?ia:null,this.state=null===this.zE?ea.EXTERNAL_XFDF_NOT_AVAILABLE:ea.EXTERNAL_XFDF_AVAILABLE,h.label=2;case 2:if(this.state===ea.EXTERNAL_XFDF_NOT_AVAILABLE)return r(w),[2];y=new DOMParser;
z=y.parseFromString(w,"text/xml");x.forEach(function(e){ha.merge(z,ha.zE,e-1)});ba=new XMLSerializer;da=ba.serializeToString(z);r(da);return[2]}})})}};e.prototype.SH=function(e){this.R4=e};e.prototype.fe=function(){this.zE=void 0;this.state=ea.EXTERNAL_XFDF_NOT_REQUESTED};e.prototype.z0=function(e){return e?Array.isArray(e)?new x.a(e):"string"!==typeof e?null:(new DOMParser).parseFromString(e,"text/xml").querySelector("xfdf > add")?new x.a(e):new ha.a(e):null};e.prototype.merge=function(e,w,x){var r=
this;0===x&&(this.N8(e,w.Bn),this.P8(e,w.lE));var h=w.ca[x];h&&(this.Q8(e,h.Il),this.T8(e,h.TU,w.Vt),this.S8(e,h.page,x),this.O8(e,h.VM));h=this.aa.Ob();if(x===h-1){var f=w.Vt;Object.keys(f).forEach(function(h){f[h].GF||r.sQ(e,h,f[h])})}};e.prototype.N8=function(e,w){null!==w&&(e=this.jt(e),this.Oo(e,"calculation-order",w))};e.prototype.P8=function(e,w){null!==w&&(e=this.jt(e),this.Oo(e,"document-actions",w))};e.prototype.Q8=function(e,w){var x=this,r=this.it(e.querySelector("xfdf"),"annots");Object.keys(w).forEach(function(e){x.Oo(r,
'[name="'+e+'"]',w[e])})};e.prototype.T8=function(e,w,x){var r=this;if(0!==w.length){var h=this.jt(e);w.forEach(function(f){var n=f.getAttribute("field"),w=x[n];w&&(r.sQ(e,n,w),r.Oo(h,"null",f))})}};e.prototype.sQ=function(e,w,x){var r=this.jt(e);null!==x.Vy&&this.Oo(r,'ffield [name="'+w+'"]',x.Vy);e=this.it(e.querySelector("xfdf"),"fields");w=w.split(".");this.iH(e,w,0,x.value);x.GF=!0};e.prototype.S8=function(e,w,x){null!==w&&(e=this.jt(e),e=this.it(e,"pages"),this.Oo(e,'[number="'+(x+1)+'"]',w))};
e.prototype.O8=function(e,w){Object.keys(w).forEach(function(w){(w=e.querySelector('annots [name="'+w+'"]'))&&w.parentElement.removeChild(w)})};e.prototype.iH=function(e,w,x,r){if(x===w.length)w=document.createElementNS("","value"),w.textContent=r,this.Oo(e,"value",w);else{var h=w[x];this.it(e,'[name="'+h+'"]',"field").setAttribute("name",h);e=e.querySelectorAll('[name="'+h+'"]');1===e.length?this.iH(e[0],w,x+1,r):(h=this.F3(e),this.iH(x===w.length-1?h:this.Nda(e,h),w,x+1,r))}};e.prototype.F3=function(e){for(var w=
null,x=0;x<e.length;x++){var r=e[x];if(0===r.childElementCount||1===r.childElementCount&&"value"===r.children[0].tagName){w=r;break}}return w};e.prototype.Nda=function(e,w){for(var x=0;x<e.length;x++)if(e[x]!==w)return e[x];return null};e.prototype.Oo=function(e,w,x){w=e.querySelector(w);null!==w&&e.removeChild(w);e.appendChild(x)};e.prototype.jt=function(e){var w=e.querySelector("pdf-info");if(null!==w)return w;w=this.it(e.querySelector("xfdf"),"pdf-info");w.setAttribute("xmlns","http://www.pdftron.com/pdfinfo");
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[8],{399:function(ia,y,e){e.r(y);var fa=e(1),x=e(426),ha=e(427),ea;(function(e){e[e.EXTERNAL_XFDF_NOT_REQUESTED=0]="EXTERNAL_XFDF_NOT_REQUESTED";e[e.EXTERNAL_XFDF_NOT_AVAILABLE=1]="EXTERNAL_XFDF_NOT_AVAILABLE";e[e.EXTERNAL_XFDF_AVAILABLE=2]="EXTERNAL_XFDF_AVAILABLE"})(ea||(ea={}));ia=function(){function e(e){this.aa=e;this.state=ea.EXTERNAL_XFDF_NOT_REQUESTED}e.prototype.w6=function(){var e=this;return function(w,x,r){return Object(fa.b)(e,
void 0,void 0,function(){var e,f,n,y,z,ba,da,ha=this,ia;return Object(fa.d)(this,function(h){switch(h.label){case 0:if(this.state!==ea.EXTERNAL_XFDF_NOT_REQUESTED)return[3,2];e=this.aa.getDocument().uq();return[4,this.S4(e)];case 1:f=h.ea(),n=this.A0(f),this.zE=null!==(ia=null===n||void 0===n?void 0:n.parse())&&void 0!==ia?ia:null,this.state=null===this.zE?ea.EXTERNAL_XFDF_NOT_AVAILABLE:ea.EXTERNAL_XFDF_AVAILABLE,h.label=2;case 2:if(this.state===ea.EXTERNAL_XFDF_NOT_AVAILABLE)return r(w),[2];y=new DOMParser;
z=y.parseFromString(w,"text/xml");x.forEach(function(e){ha.merge(z,ha.zE,e-1)});ba=new XMLSerializer;da=ba.serializeToString(z);r(da);return[2]}})})}};e.prototype.SH=function(e){this.S4=e};e.prototype.fe=function(){this.zE=void 0;this.state=ea.EXTERNAL_XFDF_NOT_REQUESTED};e.prototype.A0=function(e){return e?Array.isArray(e)?new x.a(e):"string"!==typeof e?null:(new DOMParser).parseFromString(e,"text/xml").querySelector("xfdf > add")?new x.a(e):new ha.a(e):null};e.prototype.merge=function(e,w,x){var r=
this;0===x&&(this.O8(e,w.Bn),this.Q8(e,w.lE));var h=w.ca[x];h&&(this.S8(e,h.Il),this.U8(e,h.UU,w.Vt),this.T8(e,h.page,x),this.P8(e,h.VM));h=this.aa.Ob();if(x===h-1){var f=w.Vt;Object.keys(f).forEach(function(h){f[h].GF||r.tQ(e,h,f[h])})}};e.prototype.O8=function(e,w){null!==w&&(e=this.jt(e),this.Oo(e,"calculation-order",w))};e.prototype.Q8=function(e,w){null!==w&&(e=this.jt(e),this.Oo(e,"document-actions",w))};e.prototype.S8=function(e,w){var x=this,r=this.it(e.querySelector("xfdf"),"annots");Object.keys(w).forEach(function(e){x.Oo(r,
'[name="'+e+'"]',w[e])})};e.prototype.U8=function(e,w,x){var r=this;if(0!==w.length){var h=this.jt(e);w.forEach(function(f){var n=f.getAttribute("field"),w=x[n];w&&(r.tQ(e,n,w),r.Oo(h,"null",f))})}};e.prototype.tQ=function(e,w,x){var r=this.jt(e);null!==x.Vy&&this.Oo(r,'ffield [name="'+w+'"]',x.Vy);e=this.it(e.querySelector("xfdf"),"fields");w=w.split(".");this.iH(e,w,0,x.value);x.GF=!0};e.prototype.T8=function(e,w,x){null!==w&&(e=this.jt(e),e=this.it(e,"pages"),this.Oo(e,'[number="'+(x+1)+'"]',w))};
e.prototype.P8=function(e,w){Object.keys(w).forEach(function(w){(w=e.querySelector('annots [name="'+w+'"]'))&&w.parentElement.removeChild(w)})};e.prototype.iH=function(e,w,x,r){if(x===w.length)w=document.createElementNS("","value"),w.textContent=r,this.Oo(e,"value",w);else{var h=w[x];this.it(e,'[name="'+h+'"]',"field").setAttribute("name",h);e=e.querySelectorAll('[name="'+h+'"]');1===e.length?this.iH(e[0],w,x+1,r):(h=this.G3(e),this.iH(x===w.length-1?h:this.Oda(e,h),w,x+1,r))}};e.prototype.G3=function(e){for(var w=
null,x=0;x<e.length;x++){var r=e[x];if(0===r.childElementCount||1===r.childElementCount&&"value"===r.children[0].tagName){w=r;break}}return w};e.prototype.Oda=function(e,w){for(var x=0;x<e.length;x++)if(e[x]!==w)return e[x];return null};e.prototype.Oo=function(e,w,x){w=e.querySelector(w);null!==w&&e.removeChild(w);e.appendChild(x)};e.prototype.jt=function(e){var w=e.querySelector("pdf-info");if(null!==w)return w;w=this.it(e.querySelector("xfdf"),"pdf-info");w.setAttribute("xmlns","http://www.pdftron.com/pdfinfo");
w.setAttribute("version","2");w.setAttribute("import-version","4");return w};e.prototype.it=function(e,w,x){var r=e.querySelector(w);if(null!==r)return r;r=document.createElementNS("",x||w);e.appendChild(r);return r};return e}();y["default"]=ia},412:function(ia,y){ia=function(){function e(){}e.prototype.Lx=function(e){var x={Bn:null,lE:null,Vt:{},ca:{}};e=(new DOMParser).parseFromString(e,"text/xml");x.Bn=e.querySelector("pdf-info calculation-order");x.lE=e.querySelector("pdf-info document-actions");
x.Vt=this.L9(e);x.ca=this.X9(e);return x};e.prototype.L9=function(e){var x=e.querySelector("fields");e=e.querySelectorAll("pdf-info > ffield");if(null===x&&null===e)return{};var y={};this.pZ(y,x);this.mZ(y,e);return y};e.prototype.pZ=function(e,x){if(null!==x&&x.children){for(var y=[],ea=0;ea<x.children.length;ea++){var da=x.children[ea];y.push({name:da.getAttribute("name"),element:da})}for(;0!==y.length;)for(x=y.shift(),ea=0;ea<x.element.children.length;ea++)da=x.element.children[ea],"value"===da.tagName?
e[x.name]={value:da.textContent,Vy:null,GF:!1}:da.children&&y.push({name:x.name+"."+da.getAttribute("name"),element:da})}};e.prototype.mZ=function(e,x){x.forEach(function(x){var y=x.getAttribute("name");e[y]?e[y].Vy=x:e[y]={value:null,Vy:x,GF:!1}})};e.prototype.X9=function(e){var x=this,y={};e.querySelectorAll("pdf-info widget").forEach(function(e){var da=parseInt(e.getAttribute("page"),10)-1;x.Pz(y,da);y[da].TU.push(e)});e.querySelectorAll("pdf-info page").forEach(function(e){var da=parseInt(e.getAttribute("number"),
10)-1;x.Pz(y,da);y[da].page=e});this.BO(e).forEach(function(e){var da=parseInt(e.getAttribute("page"),10),ba=e.getAttribute("name");x.Pz(y,da);y[da].Il[ba]=e});this.nO(e).forEach(function(e){var da=parseInt(e.getAttribute("page"),10);e=e.textContent;x.Pz(y,da);y[da].VM[e]=!0});return y};e.prototype.Pz=function(e,x){e[x]||(e[x]={Il:{},VM:{},TU:[],page:null})};return e}();y.a=ia},426:function(ia,y,e){var fa=e(1),x=e(0);e.n(x);ia=function(e){function y(x){var y=e.call(this)||this;y.r3=Array.isArray(x)?
x:[x];return y}Object(fa.c)(y,e);y.prototype.parse=function(){var e=this,y={Bn:null,lE:null,Vt:{},ca:{}};this.r3.forEach(function(w){y=Object(x.merge)(y,e.Lx(w))});return y};y.prototype.BO=function(e){var x=[];e.querySelectorAll("add > *").forEach(function(e){x.push(e)});e.querySelectorAll("modify > *").forEach(function(e){x.push(e)});return x};y.prototype.nO=function(e){return e.querySelectorAll("delete > *")};return y}(e(412).a);y.a=ia},427:function(ia,y,e){var fa=e(1);ia=function(e){function x(x){var y=
e.call(this)||this;y.s3=x;return y}Object(fa.c)(x,e);x.prototype.parse=function(){return this.Lx(this.s3)};x.prototype.BO=function(e){return e.querySelectorAll("annots > *")};x.prototype.nO=function(){return[]};return x}(e(412).a);y.a=ia}}]);}).call(this || window)
x.Vt=this.M9(e);x.ca=this.Y9(e);return x};e.prototype.M9=function(e){var x=e.querySelector("fields");e=e.querySelectorAll("pdf-info > ffield");if(null===x&&null===e)return{};var y={};this.qZ(y,x);this.nZ(y,e);return y};e.prototype.qZ=function(e,x){if(null!==x&&x.children){for(var y=[],ea=0;ea<x.children.length;ea++){var da=x.children[ea];y.push({name:da.getAttribute("name"),element:da})}for(;0!==y.length;)for(x=y.shift(),ea=0;ea<x.element.children.length;ea++)da=x.element.children[ea],"value"===da.tagName?
e[x.name]={value:da.textContent,Vy:null,GF:!1}:da.children&&y.push({name:x.name+"."+da.getAttribute("name"),element:da})}};e.prototype.nZ=function(e,x){x.forEach(function(x){var y=x.getAttribute("name");e[y]?e[y].Vy=x:e[y]={value:null,Vy:x,GF:!1}})};e.prototype.Y9=function(e){var x=this,y={};e.querySelectorAll("pdf-info widget").forEach(function(e){var da=parseInt(e.getAttribute("page"),10)-1;x.Pz(y,da);y[da].UU.push(e)});e.querySelectorAll("pdf-info page").forEach(function(e){var da=parseInt(e.getAttribute("number"),
10)-1;x.Pz(y,da);y[da].page=e});this.BO(e).forEach(function(e){var da=parseInt(e.getAttribute("page"),10),ba=e.getAttribute("name");x.Pz(y,da);y[da].Il[ba]=e});this.nO(e).forEach(function(e){var da=parseInt(e.getAttribute("page"),10);e=e.textContent;x.Pz(y,da);y[da].VM[e]=!0});return y};e.prototype.Pz=function(e,x){e[x]||(e[x]={Il:{},VM:{},UU:[],page:null})};return e}();y.a=ia},426:function(ia,y,e){var fa=e(1),x=e(0);e.n(x);ia=function(e){function y(x){var y=e.call(this)||this;y.s3=Array.isArray(x)?
x:[x];return y}Object(fa.c)(y,e);y.prototype.parse=function(){var e=this,y={Bn:null,lE:null,Vt:{},ca:{}};this.s3.forEach(function(w){y=Object(x.merge)(y,e.Lx(w))});return y};y.prototype.BO=function(e){var x=[];e.querySelectorAll("add > *").forEach(function(e){x.push(e)});e.querySelectorAll("modify > *").forEach(function(e){x.push(e)});return x};y.prototype.nO=function(e){return e.querySelectorAll("delete > *")};return y}(e(412).a);y.a=ia},427:function(ia,y,e){var fa=e(1);ia=function(e){function x(x){var y=
e.call(this)||this;y.t3=x;return y}Object(fa.c)(x,e);x.prototype.parse=function(){return this.Lx(this.t3)};x.prototype.BO=function(e){return e.querySelectorAll("annots > *")};x.prototype.nO=function(){return[]};return x}(e(412).a);y.a=ia}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[9],{391:function(ia,y,e){e.r(y);var fa=e(1);ia=e(48);var x=e(142),ha=e(316),ea=e(405),da=window;e=function(){function e(e,x){this.KP=function(e){e=e.split(".");return e[e.length-1].match(/(jpg|jpeg|png|gif)$/i)};x=x||{};this.url=e;this.filename=x.filename||e;this.He=x.customHeaders;this.pea=!!x.useDownloader;this.withCredentials=!!x.withCredentials}e.prototype.mB=function(e){this.He=e};e.prototype.getCustomHeaders=function(){return this.He};
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[9],{391:function(ia,y,e){e.r(y);var fa=e(1);ia=e(48);var x=e(142),ha=e(316),ea=e(405),da=window;e=function(){function e(e,x){this.LP=function(e){e=e.split(".");return e[e.length-1].match(/(jpg|jpeg|png|gif)$/i)};x=x||{};this.url=e;this.filename=x.filename||e;this.He=x.customHeaders;this.qea=!!x.useDownloader;this.withCredentials=!!x.withCredentials}e.prototype.mB=function(e){this.He=e};e.prototype.getCustomHeaders=function(){return this.He};
e.prototype.getFileData=function(w){var y=this,r=this,h=new XMLHttpRequest,f=0===this.url.indexOf("blob:")?"blob":"arraybuffer";h.open("GET",this.url,!0);h.withCredentials=this.withCredentials;h.responseType=f;this.He&&Object.keys(this.He).forEach(function(e){h.setRequestHeader(e,y.He[e])});var n=/^https?:/i.test(this.url);h.addEventListener("load",function(f){return Object(fa.b)(this,void 0,void 0,function(){var h,y,z,ba,ca,da;return Object(fa.d)(this,function(aa){switch(aa.label){case 0:if(200!==
this.status&&(n||0!==this.status))return[3,10];r.trigger(e.Events.DOCUMENT_LOADING_PROGRESS,[f.loaded,f.loaded]);if("blob"!==this.responseType)return[3,4];h=this.response;return r.KP(r.filename)?[4,Object(ea.a)(h)]:[3,2];case 1:return y=aa.ea(),r.fileSize=y.byteLength,w(new Uint8Array(y)),[3,3];case 2:z=new FileReader,z.onload=function(e){e=new Uint8Array(e.target.result);r.fileSize=e.length;w(e)},z.readAsArrayBuffer(h),aa.label=3;case 3:return[3,9];case 4:aa.Sf.push([4,8,,9]);ba=new Uint8Array(this.response);
if(!r.KP(r.filename))return[3,6];h=new Blob([ba.buffer]);return[4,Object(ea.a)(h)];case 5:return y=aa.ea(),r.fileSize=y.byteLength,w(new Uint8Array(y)),[3,7];case 6:r.fileSize=ba.length,w(ba),aa.label=7;case 7:return[3,9];case 8:return aa.ea(),r.trigger(e.Events.ERROR,["pdfLoad","Out of memory"]),[3,9];case 9:return[3,11];case 10:ca=f.currentTarget,da=Object(x.b)(ca),r.trigger(e.Events.ERROR,["pdfLoad",this.status+" "+ca.statusText,da]),aa.label=11;case 11:return r.uw=null,[2]}})})},!1);h.onprogress=
function(f){r.trigger(e.Events.DOCUMENT_LOADING_PROGRESS,[f.loaded,0<f.total?f.total:0])};h.addEventListener("error",function(){r.trigger(e.Events.ERROR,["pdfLoad","Network failure"]);r.uw=null},!1);h.send();this.uw=h};e.prototype.getFile=function(){var e=this;return new Promise(function(w){da.utils.isJSWorker&&w(e.url);if(e.pea){var r=Object(fa.a)({url:e.url},e.He?{customHeaders:e.He}:{});w(r)}w(null)})};e.prototype.abort=function(){this.uw&&(this.uw.abort(),this.uw=null)};e.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress",
this.status&&(n||0!==this.status))return[3,10];r.trigger(e.Events.DOCUMENT_LOADING_PROGRESS,[f.loaded,f.loaded]);if("blob"!==this.responseType)return[3,4];h=this.response;return r.LP(r.filename)?[4,Object(ea.a)(h)]:[3,2];case 1:return y=aa.ea(),r.fileSize=y.byteLength,w(new Uint8Array(y)),[3,3];case 2:z=new FileReader,z.onload=function(e){e=new Uint8Array(e.target.result);r.fileSize=e.length;w(e)},z.readAsArrayBuffer(h),aa.label=3;case 3:return[3,9];case 4:aa.Sf.push([4,8,,9]);ba=new Uint8Array(this.response);
if(!r.LP(r.filename))return[3,6];h=new Blob([ba.buffer]);return[4,Object(ea.a)(h)];case 5:return y=aa.ea(),r.fileSize=y.byteLength,w(new Uint8Array(y)),[3,7];case 6:r.fileSize=ba.length,w(ba),aa.label=7;case 7:return[3,9];case 8:return aa.ea(),r.trigger(e.Events.ERROR,["pdfLoad","Out of memory"]),[3,9];case 9:return[3,11];case 10:ca=f.currentTarget,da=Object(x.b)(ca),r.trigger(e.Events.ERROR,["pdfLoad",this.status+" "+ca.statusText,da]),aa.label=11;case 11:return r.uw=null,[2]}})})},!1);h.onprogress=
function(f){r.trigger(e.Events.DOCUMENT_LOADING_PROGRESS,[f.loaded,0<f.total?f.total:0])};h.addEventListener("error",function(){r.trigger(e.Events.ERROR,["pdfLoad","Network failure"]);r.uw=null},!1);h.send();this.uw=h};e.prototype.getFile=function(){var e=this;return new Promise(function(w){da.utils.isJSWorker&&w(e.url);if(e.qea){var r=Object(fa.a)({url:e.url},e.He?{customHeaders:e.He}:{});w(r)}w(null)})};e.prototype.abort=function(){this.uw&&(this.uw.abort(),this.uw=null)};e.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress",
ERROR:"error"};return e}();Object(ia.a)(e);Object(ha.a)(e);Object(ha.b)(e);y["default"]=e}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[2],{405:function(ia,y,e){function fa(e){return new Promise(function(w){return Object(da.b)(void 0,void 0,void 0,function(){var r,h,f,n,y,z,ba,fa;return Object(da.d)(this,function(aa){switch(aa.label){case 0:return[4,ea(e)];case 1:return r=aa.ea(),1<r?[4,x(e)]:[3,3];case 2:h=aa.ea();f=h.split(",")[1];n=window.atob(f);y=n.length;z=new Uint8Array(y);for(ba=0;ba<y;ba++)z[ba]=n.charCodeAt(ba);w(z);return[3,4];case 3:fa=new FileReader,
fa.readAsArrayBuffer(e),fa.onloadend=function(){w(fa.result)},aa.label=4;case 4:return[2]}})})})}function x(e,x){return new Promise(function(r){var h=new Image,f=new FileReader;f.readAsDataURL(e);h.onload=function(){return Object(da.b)(this,void 0,void 0,function(){var n,w,y,z,fa,ia;return Object(da.d)(this,function(aa){switch(aa.label){case 0:return n=h.width,w=h.height,y=document.createElement("canvas"),z=y.getContext("2d"),[4,ha()];case 1:return fa=aa.ea(),y.width=n,y.height=w,[4,ea(e)];case 2:ia=
aa.ea();if(!fa)switch(4<ia&&9>ia&&(y.width=w,y.height=n),ia){case 2:z&&z.transform(-1,0,0,1,n,0);break;case 3:z&&z.transform(-1,0,0,-1,n,w);break;case 4:z&&z.transform(1,0,0,-1,0,w);break;case 5:z&&z.transform(0,1,1,0,0,0);break;case 6:z&&z.transform(0,1,-1,0,w,0);break;case 7:z&&z.transform(0,-1,-1,0,w,n);break;case 8:z&&z.transform(0,-1,1,0,0,n)}1<ia?(z.drawImage(h,0,0),r(y.toDataURL(x&&x.mimeType?x.mimeType:ba.JPEG,x&&x.Y6?x.Y6:.9))):r(f.result);return[2]}})})};f.onloadend=function(){h.src=f.result}})}
aa.ea();if(!fa)switch(4<ia&&9>ia&&(y.width=w,y.height=n),ia){case 2:z&&z.transform(-1,0,0,1,n,0);break;case 3:z&&z.transform(-1,0,0,-1,n,w);break;case 4:z&&z.transform(1,0,0,-1,0,w);break;case 5:z&&z.transform(0,1,1,0,0,0);break;case 6:z&&z.transform(0,1,-1,0,w,0);break;case 7:z&&z.transform(0,-1,-1,0,w,n);break;case 8:z&&z.transform(0,-1,1,0,0,n)}1<ia?(z.drawImage(h,0,0),r(y.toDataURL(x&&x.mimeType?x.mimeType:ba.JPEG,x&&x.Z6?x.Z6:.9))):r(f.result);return[2]}})})};f.onloadend=function(){h.src=f.result}})}
function ha(){return new Promise(function(e,x){var r=new Image;r.onload=function(){e(1===r.naturalWidth)};r.onerror=x;r.src="data:image/jpeg;base64,/9j/4QBiRXhpZgAATU0AKgAAAAgABQESAAMAAAABAAYAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAAAAABIAAAAAQAAAEgAAAAB/9sAQwAEAwMEAwMEBAMEBQQEBQYKBwYGBgYNCQoICg8NEBAPDQ8OERMYFBESFxIODxUcFRcZGRsbGxAUHR8dGh8YGhsa/9sAQwEEBQUGBQYMBwcMGhEPERoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoa/8IAEQgAAQACAwERAAIRAQMRAf/EABQAAQAAAAAAAAAAAAAAAAAAAAf/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAF/P//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAQUCf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Bf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Bf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEABj8Cf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8hf//aAAwDAQACAAMAAAAQH//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Qf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Qf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8Qf//Z"})}
function ea(e){return new Promise(function(w){var r=new FileReader;r.onload=function(){var e=new DataView(r.result);65496!==e.getUint16(0,!1)&&w(-2);for(var f=e.byteLength,n=2;n<f;){var x=e.getUint16(n,!1);n+=2;if(65505===x){1165519206!==e.getUint32(n+=2,!1)&&w(-1);x=18761===e.getUint16(n+=6,!1);n+=e.getUint32(n+4,x);var y=e.getUint16(n,x);n+=2;for(var z=0;z<y;z++)274===e.getUint16(n+12*z,x)&&w(e.getUint16(n+12*z+8,x))}else if(65280!==(x&65280))break;else n+=e.getUint16(n,!1)}w(-1)};r.readAsArrayBuffer(e.slice(0,
65536))})}e.d(y,"a",function(){return fa});var da=e(1),ba;(function(e){e.JPEG="image/jpeg";e.PNG="image/png"})(ba||(ba={}))}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[0],{384:function(ia,y,e){e.r(y);e.d(y,"ByteRangeRequest",function(){return ja});var fa=e(1),x=e(0);e.n(x);var ha=e(2),ea=e(132);ia=e(84);var da=e(216),ba=e(65),w=e(61),z=e(215),r=e(142);e=e(316);var h=[],f=[],n=window,ca=function(){return function(){this.Rk=1}}(),aa;(function(f){f[f.UNSENT=0]="UNSENT";f[f.DONE=4]="DONE"})(aa||(aa={}));var ja=function(){function e(f,e,h,r){var w=this;this.url=f;this.range=e;this.He=h;this.withCredentials=
r;this.zX=aa;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);n.Uint8Array&&(this.request.responseType="arraybuffer");r&&(this.request.withCredentials=r);ka.DISABLE_RANGE_HEADER||(Object(x.isUndefined)(e.stop)?this.request.setRequestHeader("Range","bytes="+e.start):this.request.setRequestHeader("Range",["bytes=",e.start,"-",e.stop-1].join("")));h&&Object.keys(h).forEach(function(f){w.request.setRequestHeader(f,h[f])});this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):
this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=z.a.NOT_STARTED}e.prototype.start=function(f){var e=this,h=this.request;h.onreadystatechange=function(){if(e.aborted)return e.status=z.a.ABORTED,f({code:z.a.ABORTED});if(this.readyState===e.zX.DONE){e.vz();var r=0===window.document.URL.indexOf("file:///");200===h.status||206===h.status||r&&0===h.status?(r=n.LO(this),e.Wr(r,f)):(e.status=z.a.ERROR,f({code:e.status,status:e.status}))}};this.request.send(null);this.status=z.a.STARTED};
r;this.AX=aa;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);n.Uint8Array&&(this.request.responseType="arraybuffer");r&&(this.request.withCredentials=r);ka.DISABLE_RANGE_HEADER||(Object(x.isUndefined)(e.stop)?this.request.setRequestHeader("Range","bytes="+e.start):this.request.setRequestHeader("Range",["bytes=",e.start,"-",e.stop-1].join("")));h&&Object.keys(h).forEach(function(f){w.request.setRequestHeader(f,h[f])});this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):
this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=z.a.NOT_STARTED}e.prototype.start=function(f){var e=this,h=this.request;h.onreadystatechange=function(){if(e.aborted)return e.status=z.a.ABORTED,f({code:z.a.ABORTED});if(this.readyState===e.AX.DONE){e.vz();var r=0===window.document.URL.indexOf("file:///");200===h.status||206===h.status||r&&0===h.status?(r=n.MO(this),e.Wr(r,f)):(e.status=z.a.ERROR,f({code:e.status,status:e.status}))}};this.request.send(null);this.status=z.a.STARTED};
e.prototype.Wr=function(f,e){this.status=z.a.SUCCESS;if(e)return e(!1,f)};e.prototype.abort=function(){this.vz();this.aborted=!0;this.request.abort()};e.prototype.vz=function(){var n=Object(r.c)(this.url,this.range,f);-1!==n&&f.splice(n,1);if(0<h.length){n=h.shift();var w=new e(n.url,n.range,this.He,this.withCredentials);n.request=w;f.push(n);w.start(Object(r.d)(n))}};e.prototype.extend=function(f){var e=Object.assign({},this,f.prototype);e.constructor=f;return e};return e}(),ka=function(e){function n(f,
h,n,r,w){n=e.call(this,f,n,r)||this;n.Uk={};n.hy=h;n.url=f;n.DISABLE_RANGE_HEADER=!1;n.xv=ja;n.rJ=3;n.He=w||{};return n}Object(fa.c)(n,e);n.prototype.Ft=function(f,e,h){var n=-1===f.indexOf("?")?"?":"&";switch(h){case !1:case w.a.NEVER_CACHE:f=f+n+"_="+Object(x.uniqueId)();break;case !0:case w.a.CACHE:f=f+n+"_="+e.start+","+(Object(x.isUndefined)(e.stop)?"":e.stop)}return f};n.prototype.NM=function(f,e,h,n){void 0===h&&(h={});return new this.xv(f,e,h,n)};n.prototype.i3=function(e,n,r,w,aa){for(var z=
0;z<h.length;z++)if(Object(x.isEqual)(h[z].range,n)&&Object(x.isEqual)(h[z].url,e))return h[z].eg.push(w),h[z].tA++,null;for(z=0;z<f.length;z++)if(Object(x.isEqual)(f[z].range,n)&&Object(x.isEqual)(f[z].url,e))return f[z].eg.push(w),f[z].tA++,null;r={url:e,range:n,hy:r,eg:[w],tA:1};if(0===h.length&&f.length<this.rJ)return f.push(r),r.request=this.NM(e,n,aa,this.withCredentials),r;h.push(r);return null};n.prototype.wm=function(e,n,w){var x=this.Ft(e,n,this.hy);(e=this.i3(x,n,this.hy,w,this.He))&&e.request.start(Object(r.d)(e));
return function(){var e=Object(r.c)(x,n,f);if(-1!==e){var w=--f[e].tA;0===w&&f[e].request&&f[e].request.abort()}else e=Object(r.c)(x,n,h),-1!==e&&(w=--h[e].tA,0===w&&h.splice(e,1))}};n.prototype.sO=function(){return{start:-ea.a}};n.prototype.F6=function(){var f=-(ea.a+ea.e);return{start:f-ea.d,end:f}};n.prototype.hr=function(f){var e=this;this.ny=!0;var h=ea.a;this.wm(this.url,this.sO(),function(n,r,w){function x(){var h=e.wd.oO();e.wm(e.url,h,function(n,r){if(n)return Object(ha.j)("Error loading central directory: "+
n),f(n);r=Object(ba.a)(r);if(r.length!==h.stop-h.start)return f("Invalid XOD file: Zip central directory data is wrong size! Should be "+(h.stop-h.start)+" but is "+r.length);e.wd.OR(r);e.QD=!0;e.ny=!1;return f(!1)})}if(n)return Object(ha.j)("Error loading end header: "+n),f(n,r,w);r=Object(ba.a)(r);if(r.length!==h)return f("Invalid XOD file: Zip end header data is wrong size!");try{e.wd=new da.a(r)}catch(na){return f(na)}e.wd.k8?e.wm(e.url,e.F6(),function(h,n){if(h)return Object(ha.j)("Error loading zip64 header: "+
h),f(h);n=Object(ba.a)(n);e.wd.B8(n);x()}):x()})};n.prototype.JO=function(f){f(Object.keys(this.wd.Wl))};n.prototype.lH=function(f,e){var h=this;if(this.wd.EM(f)){var n=this.wd.oz(f);if(n in this.Uk){var r=this.fh[f];r.Vp=this.Uk[n];r.Vp.Rk++;r.cancel=r.Vp.cancel}else{var w=this.wd.V4(f),x=this.wm(this.url,w,function(r,x){r?(Object(ha.j)('Error loading part "'+f+'": '+r),h.wm(h.url,w,function(r,x){if(r)return e(r,f);h.SR(x,w,n,f,e)})):h.SR(x,w,n,f,e)}),aa=this.fh[f];aa&&(aa.eU=!0,aa.cancel=function(){aa.Vp.Rk--;
0===aa.Vp.Rk&&(x(),delete h.Uk[n])},this.Uk[n]=new ca(n),aa.Vp=this.Uk[n],aa.Vp.cancel=aa.cancel)}}else delete this.fh[f],e(Error('File not found: "'+f+'"'),f)};n.prototype.SR=function(f,e,h,n,r){if(f.length!==e.stop-e.start)r(Error("Part data is wrong size!"),n);else{do{if(!this.Uk[h])return;n=this.Uk[h].Rk;for(var w=e.Po.length,x=0;x<w;++x){var aa=e.Po[x];r(!1,aa.Mo,f["string"===typeof f?"substring":"subarray"](aa.start,aa.stop),this.wd.EP(aa.Mo));aa.Mo in this.fh&&delete this.fh[aa.Mo]}}while(n!==
this.Uk[h].Rk);delete this.Uk[h]}};n.DISABLE_RANGE_HEADER=!1;n.rJ=3;return n}(ia.a);(function(f){function e(e,h,n){var r=f.call(this)||this,w;for(w in e)r[w]=e[w];r.Wja=e;r.startOffset=h;r.endOffset=n;r.NM=function(f,h,n,w){Object(x.isUndefined)(h.stop)?(h.start+=r.endOffset,h.stop=r.endOffset):(h.start+=r.startOffset,h.stop+=r.startOffset);f=r.Ft(r.url,h,r.hy);return new e.xv(f,h,n,w)};return r}Object(fa.c)(e,f);return e})(ka);Object(e.a)(ka);Object(e.b)(ka);y["default"]=ka}}]);}).call(this || window)
h,n,r,w){n=e.call(this,f,n,r)||this;n.Uk={};n.hy=h;n.url=f;n.DISABLE_RANGE_HEADER=!1;n.xv=ja;n.rJ=3;n.He=w||{};return n}Object(fa.c)(n,e);n.prototype.Ft=function(f,e,h){var n=-1===f.indexOf("?")?"?":"&";switch(h){case !1:case w.a.NEVER_CACHE:f=f+n+"_="+Object(x.uniqueId)();break;case !0:case w.a.CACHE:f=f+n+"_="+e.start+","+(Object(x.isUndefined)(e.stop)?"":e.stop)}return f};n.prototype.NM=function(f,e,h,n){void 0===h&&(h={});return new this.xv(f,e,h,n)};n.prototype.j3=function(e,n,r,w,aa){for(var z=
0;z<h.length;z++)if(Object(x.isEqual)(h[z].range,n)&&Object(x.isEqual)(h[z].url,e))return h[z].eg.push(w),h[z].tA++,null;for(z=0;z<f.length;z++)if(Object(x.isEqual)(f[z].range,n)&&Object(x.isEqual)(f[z].url,e))return f[z].eg.push(w),f[z].tA++,null;r={url:e,range:n,hy:r,eg:[w],tA:1};if(0===h.length&&f.length<this.rJ)return f.push(r),r.request=this.NM(e,n,aa,this.withCredentials),r;h.push(r);return null};n.prototype.wm=function(e,n,w){var x=this.Ft(e,n,this.hy);(e=this.j3(x,n,this.hy,w,this.He))&&e.request.start(Object(r.d)(e));
return function(){var e=Object(r.c)(x,n,f);if(-1!==e){var w=--f[e].tA;0===w&&f[e].request&&f[e].request.abort()}else e=Object(r.c)(x,n,h),-1!==e&&(w=--h[e].tA,0===w&&h.splice(e,1))}};n.prototype.sO=function(){return{start:-ea.a}};n.prototype.G6=function(){var f=-(ea.a+ea.e);return{start:f-ea.d,end:f}};n.prototype.hr=function(f){var e=this;this.ny=!0;var h=ea.a;this.wm(this.url,this.sO(),function(n,r,w){function x(){var h=e.wd.oO();e.wm(e.url,h,function(n,r){if(n)return Object(ha.j)("Error loading central directory: "+
n),f(n);r=Object(ba.a)(r);if(r.length!==h.stop-h.start)return f("Invalid XOD file: Zip central directory data is wrong size! Should be "+(h.stop-h.start)+" but is "+r.length);e.wd.PR(r);e.QD=!0;e.ny=!1;return f(!1)})}if(n)return Object(ha.j)("Error loading end header: "+n),f(n,r,w);r=Object(ba.a)(r);if(r.length!==h)return f("Invalid XOD file: Zip end header data is wrong size!");try{e.wd=new da.a(r)}catch(ma){return f(ma)}e.wd.l8?e.wm(e.url,e.G6(),function(h,n){if(h)return Object(ha.j)("Error loading zip64 header: "+
h),f(h);n=Object(ba.a)(n);e.wd.C8(n);x()}):x()})};n.prototype.KO=function(f){f(Object.keys(this.wd.Wl))};n.prototype.lH=function(f,e){var h=this;if(this.wd.EM(f)){var n=this.wd.oz(f);if(n in this.Uk){var r=this.fh[f];r.Vp=this.Uk[n];r.Vp.Rk++;r.cancel=r.Vp.cancel}else{var w=this.wd.W4(f),x=this.wm(this.url,w,function(r,x){r?(Object(ha.j)('Error loading part "'+f+'": '+r),h.wm(h.url,w,function(r,x){if(r)return e(r,f);h.TR(x,w,n,f,e)})):h.TR(x,w,n,f,e)}),aa=this.fh[f];aa&&(aa.fU=!0,aa.cancel=function(){aa.Vp.Rk--;
0===aa.Vp.Rk&&(x(),delete h.Uk[n])},this.Uk[n]=new ca(n),aa.Vp=this.Uk[n],aa.Vp.cancel=aa.cancel)}}else delete this.fh[f],e(Error('File not found: "'+f+'"'),f)};n.prototype.TR=function(f,e,h,n,r){if(f.length!==e.stop-e.start)r(Error("Part data is wrong size!"),n);else{do{if(!this.Uk[h])return;n=this.Uk[h].Rk;for(var w=e.Po.length,x=0;x<w;++x){var aa=e.Po[x];r(!1,aa.Mo,f["string"===typeof f?"substring":"subarray"](aa.start,aa.stop),this.wd.FP(aa.Mo));aa.Mo in this.fh&&delete this.fh[aa.Mo]}}while(n!==
this.Uk[h].Rk);delete this.Uk[h]}};n.DISABLE_RANGE_HEADER=!1;n.rJ=3;return n}(ia.a);(function(f){function e(e,h,n){var r=f.call(this)||this,w;for(w in e)r[w]=e[w];r.Xja=e;r.startOffset=h;r.endOffset=n;r.NM=function(f,h,n,w){Object(x.isUndefined)(h.stop)?(h.start+=r.endOffset,h.stop=r.endOffset):(h.start+=r.startOffset,h.stop+=r.startOffset);f=r.Ft(r.url,h,r.hy);return new e.xv(f,h,n,w)};return r}Object(fa.c)(e,f);return e})(ka);Object(e.a)(ka);Object(e.b)(ka);y["default"]=ka}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[10],{392:function(ia,y,e){e.r(y);var fa=e(1),x=e(215);ia=e(384);var ha=e(32);e=e(316);var ea={},da=function(e){function w(w,r){var h=e.call(this,w,r)||this;h.url=w;h.range=r;h.status=x.a.NOT_STARTED;return h}Object(fa.c)(w,e);w.prototype.start=function(e){var r=this;ea[this.range.start]={Wr:function(f){var h=atob(f),w,x=h.length;f=new Uint8Array(x);for(w=0;w<x;++w)f[w]=h.charCodeAt(w);h=f.length;w="";var z=0;if(Object(ha.o)())for(;z<
h;)x=f.subarray(z,z+1024),z+=1024,w+=String.fromCharCode.apply(null,x);else for(x=Array(1024);z<h;){for(var ba=0,y=Math.min(z+1024,h);z<y;ba++,z++)x[ba]=f[z];w+=String.fromCharCode.apply(null,1024>ba?x.slice(0,ba):x)}r.Wr(w,e)},FN:function(){r.status=x.a.ERROR;e({code:r.status})}};var h=document.createElement("IFRAME");h.setAttribute("src",this.url);document.documentElement.appendChild(h);h.parentNode.removeChild(h);h=null;this.status=x.a.STARTED;r.vz()};return w}(ia.ByteRangeRequest);ia=function(e){function w(w,
r,h,f){w=e.call(this,w,r,h,f)||this;w.xv=da;return w}Object(fa.c)(w,e);w.prototype.Ft=function(e,r){return e+"#"+r.start+"&"+(r.stop?r.stop:"")};w.aka=function(e,r){var h=ea[r];delete ea[r];h.Wr(e)};w.$ja=function(e,r){e=ea[r];delete ea[r];e.FN()};return w}(ia["default"]);Object(e.a)(ia);Object(e.b)(ia);y["default"]=ia}}]);}).call(this || window)
r,h,f){w=e.call(this,w,r,h,f)||this;w.xv=da;return w}Object(fa.c)(w,e);w.prototype.Ft=function(e,r){return e+"#"+r.start+"&"+(r.stop?r.stop:"")};w.bka=function(e,r){var h=ea[r];delete ea[r];h.Wr(e)};w.aka=function(e,r){e=ea[r];delete ea[r];e.FN()};return w}(ia["default"]);Object(e.a)(ia);Object(e.b)(ia);y["default"]=ia}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[11],{386:function(ia,y,e){e.r(y);var fa=e(1),x=e(2),ha=e(132);ia=e(84);var ea=e(216);e=e(316);var da=window;ia=function(e){function w(w,r,h){r=e.call(this,w,r,h)||this;if(w.name&&"xod"!==w.name.toLowerCase().split(".").pop())throw Error("Not an XOD file");if(!da.FileReader||!da.File||!da.Blob)throw Error("File API is not supported in this browser");r.file=w;r.ry=[];r.dE=0;return r}Object(fa.c)(w,e);w.prototype.pG=function(e,r,h){var f=
this,n=new FileReader;n.onloadend=function(e){if(0<f.ry.length){var w=f.ry.shift();w.gaa.readAsBinaryString(w.file)}else f.dE--;if(n.error){e=n.error;if(e.code===e.ABORT_ERR){Object(x.j)("Request for chunk "+r.start+"-"+r.stop+" was aborted");return}return h(e)}if(e=n.content||e.target.result)return h(!1,e);Object(x.j)("No data was returned from FileReader.")};r&&(e=(e.slice||e.webkitSlice||e.mozSlice||e.Sha).call(e,r.start,r.stop));0===f.ry.length&&50>f.dE?(n.readAsBinaryString(e),f.dE++):f.ry.push({gaa:n,
file:e});return function(){n.abort()}};w.prototype.hr=function(e){var r=this;r.ny=!0;var h=ha.a;r.pG(r.file,{start:-h,stop:r.file.size},function(f,n){if(f)return Object(x.j)("Error loading end header: %s "+f),e(f);if(n.length!==h)throw Error("Zip end header data is wrong size!");r.wd=new ea.a(n);var w=r.wd.oO();r.pG(r.file,w,function(f,h){if(f)return Object(x.j)("Error loading central directory: %s "+f),e(f);if(h.length!==w.stop-w.start)throw Error("Zip central directory data is wrong size!");r.wd.OR(h);
r.QD=!0;r.ny=!1;return e(!1)})})};w.prototype.lH=function(e,r){var h=this,f=h.fh[e];if(h.wd.EM(e)){var n=h.wd.gu(e),w=h.pG(h.file,n,function(f,w){delete h.fh[e];if(f)return Object(x.j)('Error loading part "%s": %s, '+e+", "+f),r(f);if(w.length!==n.stop-n.start)throw Error("Part data is wrong size!");r(!1,e,w,h.wd.EP(e))});f.eU=!0;f.cancel=w}else r(Error('File not found: "'+e+'"'),e)};return w}(ia.a);Object(e.a)(ia);Object(e.b)(ia);y["default"]=ia}}]);}).call(this || window)
this,n=new FileReader;n.onloadend=function(e){if(0<f.ry.length){var w=f.ry.shift();w.haa.readAsBinaryString(w.file)}else f.dE--;if(n.error){e=n.error;if(e.code===e.ABORT_ERR){Object(x.j)("Request for chunk "+r.start+"-"+r.stop+" was aborted");return}return h(e)}if(e=n.content||e.target.result)return h(!1,e);Object(x.j)("No data was returned from FileReader.")};r&&(e=(e.slice||e.webkitSlice||e.mozSlice||e.Tha).call(e,r.start,r.stop));0===f.ry.length&&50>f.dE?(n.readAsBinaryString(e),f.dE++):f.ry.push({haa:n,
file:e});return function(){n.abort()}};w.prototype.hr=function(e){var r=this;r.ny=!0;var h=ha.a;r.pG(r.file,{start:-h,stop:r.file.size},function(f,n){if(f)return Object(x.j)("Error loading end header: %s "+f),e(f);if(n.length!==h)throw Error("Zip end header data is wrong size!");r.wd=new ea.a(n);var w=r.wd.oO();r.pG(r.file,w,function(f,h){if(f)return Object(x.j)("Error loading central directory: %s "+f),e(f);if(h.length!==w.stop-w.start)throw Error("Zip central directory data is wrong size!");r.wd.PR(h);
r.QD=!0;r.ny=!1;return e(!1)})})};w.prototype.lH=function(e,r){var h=this,f=h.fh[e];if(h.wd.EM(e)){var n=h.wd.gu(e),w=h.pG(h.file,n,function(f,w){delete h.fh[e];if(f)return Object(x.j)('Error loading part "%s": %s, '+e+", "+f),r(f);if(w.length!==n.stop-n.start)throw Error("Part data is wrong size!");r(!1,e,w,h.wd.FP(e))});f.fU=!0;f.cancel=w}else r(Error('File not found: "'+e+'"'),e)};return w}(ia.a);Object(e.a)(ia);Object(e.b)(ia);y["default"]=ia}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{387:function(ia,y,e){e.r(y);var fa=e(1);ia=e(48);var x=e(316),ha=e(405),ea=e(19),da=window;e=function(){function e(e){var w=this;this.K7=function(e){return e&&("image"===e.type.split("/")[0].toLowerCase()||e.name&&!!e.name.match(/.(jpg|jpeg|png|gif)$/i))};this.file=e;this.X7=new Promise(function(r){return Object(fa.b)(w,void 0,void 0,function(){var h;return Object(fa.d)(this,function(f){switch(f.label){case 0:return this.K7(this.file)?
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{387:function(ia,y,e){e.r(y);var fa=e(1);ia=e(48);var x=e(316),ha=e(405),ea=e(19),da=window;e=function(){function e(e){var w=this;this.L7=function(e){return e&&("image"===e.type.split("/")[0].toLowerCase()||e.name&&!!e.name.match(/.(jpg|jpeg|png|gif)$/i))};this.file=e;this.Y7=new Promise(function(r){return Object(fa.b)(w,void 0,void 0,function(){var h;return Object(fa.d)(this,function(f){switch(f.label){case 0:return this.L7(this.file)?
[4,Object(ha.a)(e)]:[3,2];case 1:h=f.ea(),this.file=ea.o?new Blob([h],{type:e.type}):new File([h],null===e||void 0===e?void 0:e.name,{type:e.type}),f.label=2;case 2:return r(!0),[2]}})})})}e.prototype.getFileData=function(w){var x=this,r=new FileReader;r.onload=function(h){x.trigger(e.Events.DOCUMENT_LOADING_PROGRESS,[h.loaded,h.loaded]);w(new Uint8Array(h.target.result))};r.onprogress=function(h){h.lengthComputable&&x.trigger(e.Events.DOCUMENT_LOADING_PROGRESS,[h.loaded,0<h.total?h.total:0])};r.readAsArrayBuffer(this.file)};
e.prototype.getFile=function(){return Object(fa.b)(this,void 0,Promise,function(){return Object(fa.d)(this,function(e){switch(e.label){case 0:return[4,this.X7];case 1:return e.ea(),da.utils.isJSWorker?[2,this.file.path]:[2,this.file]}})})};e.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress"};return e}();Object(ia.a)(e);Object(x.a)(e);Object(x.b)(e);y["default"]=e}}]);}).call(this || window)
e.prototype.getFile=function(){return Object(fa.b)(this,void 0,Promise,function(){return Object(fa.d)(this,function(e){switch(e.label){case 0:return[4,this.Y7];case 1:return e.ea(),da.utils.isJSWorker?[2,this.file.path]:[2,this.file]}})})};e.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress"};return e}();Object(ia.a)(e);Object(x.a)(e);Object(x.b)(e);y["default"]=e}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[13],{398:function(ia,y,e){function fa(e){e.Ia();e.advance();var f=e.current.textContent;e.Ua();return f}function x(e){var f=[];for(e.Ia();e.advance();){var h=e.Ma();"field"===h?f.push(String(e.fa("name"))):Object(aa.j)("unrecognised field list element: "+h)}e.Ua();return f}function ha(e,f){return f?"false"!==e:"true"===e}function ea(e,f){var h=e.Ma();switch(h){case "javascript":return{name:"JavaScript",javascript:e.current.textContent};
case "uri":return{name:"URI",uri:e.fa("uri")};case "goto":h=null;e.Ia();if(e.advance()){var n=e.fa("fit");h={page:e.fa("page"),fit:n};if("0"===h.page)Object(aa.j)("null page encountered in dest");else switch(f=f(Number(h.page)),n){case "Fit":case "FitB":break;case "FitH":case "FitBH":h.top=f.pa({x:0,y:e.fa("top")||0}).y;break;case "FitV":case "FitBV":h.left=f.pa({x:e.fa("left")||0,y:0}).x;break;case "FitR":n=f.pa({x:e.fa("left")||0,y:e.fa("top")||0});f=f.pa({x:e.fa("right")||0,y:e.fa("bottom")||0});
f=new ya.d(n.x,n.y,f.x,f.y);h.top=f.ja;h.left=f.ma;h.bottom=f.ka;h.right=f.na;break;case "XYZ":n=f.pa({x:e.fa("left")||0,y:e.fa("top")||0});h.top=n.y;h.left=n.x;h.zoom=e.fa("zoom")||0;break;default:Object(aa.j)("unknown dest fit: "+n)}h={name:"GoTo",dest:h}}else Object(aa.j)("missing dest in GoTo action");e.Ua();return h;case "submit-form":h={name:"SubmitForm",url:e.fa("url"),format:e.fa("format"),method:e.fa("method")||"POST",exclude:ha(e.fa("exclude"),!1)};f=e.fa("flags");h.flags=f?f.split(" "):
f=new pa.d(n.x,n.y,f.x,f.y);h.top=f.ja;h.left=f.ma;h.bottom=f.ka;h.right=f.na;break;case "XYZ":n=f.pa({x:e.fa("left")||0,y:e.fa("top")||0});h.top=n.y;h.left=n.x;h.zoom=e.fa("zoom")||0;break;default:Object(aa.j)("unknown dest fit: "+n)}h={name:"GoTo",dest:h}}else Object(aa.j)("missing dest in GoTo action");e.Ua();return h;case "submit-form":h={name:"SubmitForm",url:e.fa("url"),format:e.fa("format"),method:e.fa("method")||"POST",exclude:ha(e.fa("exclude"),!1)};f=e.fa("flags");h.flags=f?f.split(" "):
[];for(e.Ia();e.advance();)switch(f=e.Ma(),f){case "fields":h.fields=x(e);break;default:Object(aa.j)("unrecognised submit-form child: "+f)}e.Ua();return h;case "reset-form":h={name:"ResetForm",exclude:ha(e.fa("exclude"),!1)};for(e.Ia();e.advance();)switch(f=e.Ma(),f){case "fields":h.fields=x(e);break;default:Object(aa.j)("unrecognised reset-form child: "+f)}e.Ua();return h;case "hide":h={name:"Hide",hide:ha(e.fa("hide"),!0)};for(e.Ia();e.advance();)switch(f=e.Ma(),f){case "fields":h.fields=x(e);break;

@@ -9,9 +9,9 @@ default:Object(aa.j)("unrecognised hide child: "+f)}e.Ua();return h;case "named":return{name:"Named",action:e.fa("name")};default:Object(aa.j)("Encountered unexpected action type: "+h)}return null}function da(e,f,h){var n={};for(e.Ia();e.advance();){var r=e.Ma();switch(r){case "action":r=e.fa("trigger");if(f?-1!==f.indexOf(r):1){n[r]=[];for(e.Ia();e.advance();){var w=ea(e,h);Object(ja.isNull)(w)||n[r].push(w)}e.Ua()}else Object(aa.j)("encountered unexpected trigger on field: "+r);break;default:Object(aa.j)("encountered unknown action child: "+

n)}e.Ua();return h}function z(e){return{value:e.fa("value"),displayValue:e.fa("display-value")||void 0}}function r(e){var f=[];for(e.Ia();e.advance();){var h=e.Ma();switch(h){case "option":f.push(z(e));break;default:Object(aa.j)("unrecognised options child: "+h)}}e.Ua();return f}function h(e,f){var h=e.fa("name"),n={type:e.fa("type"),quadding:e.fa("quadding")||"Left-justified",maxLen:e.fa("max-len")||-1},x=e.fa("flags");Object(ja.isString)(x)&&(n.flags=x.split(" "));for(e.Ia();e.advance();)switch(x=
e.Ma(),x){case "actions":n.actions=da(e,["C","F","K","V"],function(){return f});break;case "default-value":n.defaultValue=fa(e);break;case "font":n.font=w(e,f);break;case "options":n.options=r(e);break;default:Object(aa.j)("unknown field child: "+x)}e.Ua();return new window.Annotations.ga.ra(h,n)}function f(e,f){switch(e.type){case "Tx":try{if(Object(ma.c)(e.actions))return new ka.a.DatePickerWidgetAnnotation(e,f)}catch(ra){Object(aa.j)(ra)}return new ka.a.TextWidgetAnnotation(e,f);case "Ch":return e.flags.get(Aa.WidgetFlags.COMBO)?
new ka.a.ChoiceWidgetAnnotation(e,f):new ka.a.ListWidgetAnnotation(e,f);case "Btn":return e.flags.get(Aa.WidgetFlags.PUSH_BUTTON)?new ka.a.PushButtonWidgetAnnotation(e,f):e.flags.get(Aa.WidgetFlags.RADIO)?new ka.a.RadioButtonWidgetAnnotation(e,f):new ka.a.CheckButtonWidgetAnnotation(e,f);case "Sig":return new ka.a.SignatureWidgetAnnotation(e,f);default:Object(aa.j)("Unrecognised field type: "+e.type)}return null}function n(e,f){var h={number:e.fa("number")};for(e.Ia();e.advance();){var n=e.Ma();switch(n){case "actions":h.actions=
e.Ma(),x){case "actions":n.actions=da(e,["C","F","K","V"],function(){return f});break;case "default-value":n.defaultValue=fa(e);break;case "font":n.font=w(e,f);break;case "options":n.options=r(e);break;default:Object(aa.j)("unknown field child: "+x)}e.Ua();return new window.Annotations.ga.ra(h,n)}function f(e,f){switch(e.type){case "Tx":try{if(Object(na.c)(e.actions))return new ka.a.DatePickerWidgetAnnotation(e,f)}catch(sa){Object(aa.j)(sa)}return new ka.a.TextWidgetAnnotation(e,f);case "Ch":return e.flags.get(za.WidgetFlags.COMBO)?
new ka.a.ChoiceWidgetAnnotation(e,f):new ka.a.ListWidgetAnnotation(e,f);case "Btn":return e.flags.get(za.WidgetFlags.PUSH_BUTTON)?new ka.a.PushButtonWidgetAnnotation(e,f):e.flags.get(za.WidgetFlags.RADIO)?new ka.a.RadioButtonWidgetAnnotation(e,f):new ka.a.CheckButtonWidgetAnnotation(e,f);case "Sig":return new ka.a.SignatureWidgetAnnotation(e,f);default:Object(aa.j)("Unrecognised field type: "+e.type)}return null}function n(e,f){var h={number:e.fa("number")};for(e.Ia();e.advance();){var n=e.Ma();switch(n){case "actions":h.actions=
da(e,["O","C"],f);break;default:Object(aa.j)("unrecognised page child: "+n)}}e.Ua();return h}function ca(e,r,z,y){var ca=[],ea={};e.Ia();var fa=[],ha={},ia=[];Object(la.a)(function(){if(e.advance()){var z=e.Ma();switch(z){case "calculation-order":fa="calculation-order"===e.Ma()?x(e):[];break;case "document-actions":ha=da(e,["Init","Open"],r);break;case "pages":z=[];for(e.Ia();e.advance();){var y=e.Ma();switch(y){case "page":z.push(n(e,r));break;default:Object(aa.j)("unrecognised page child: "+y)}}e.Ua();
ia=z;break;case "field":y=h(e,r(1));ea[y.name]=y;break;case "widget":z={border:{style:"Solid",width:1},backgroundColor:[],fieldName:e.fa("field"),page:e.fa("page"),index:e.fa("index")||0,rotation:e.fa("rotation")||0,flags:[],isImporting:!0};(y=e.fa("appearance"))&&(z.appearance=y);(y=e.fa("flags"))&&(z.flags=y.split(" "));for(e.Ia();e.advance();)switch(y=e.Ma(),y){case "rect":var ja=e,ka=r(Number(z.page));y=ka.pa({x:ja.fa("x1")||0,y:ja.fa("y1")||0});ja=ka.pa({x:ja.fa("x2")||0,y:ja.fa("y2")||0});y=
new ya.d(y.x,y.y,ja.x,ja.y);y.normalize();z.rect={x1:y.x1,y1:y.y1,x2:y.x2,y2:y.y2};break;case "border":y=e;ja={style:y.fa("style")||"Solid",width:y.fa("width")||1,color:[0,0,0]};for(y.Ia();y.advance();)switch(ka=y.Ma(),ka){case "color":ja.color=ba(y);break;default:Object(aa.j)("unrecognised border child: "+ka)}y.Ua();z.border=ja;break;case "background-color":z.backgroundColor=ba(e);break;case "actions":z.actions=da(e,"E X D U Fo Bl PO PC PV PI".split(" "),r);break;case "appearances":y=e;ja=Object(ma.b)(z,
"appearances");for(y.Ia();y.advance();)if(ka=y.Ma(),"appearance"===ka){ka=y.fa("name");var ra=Object(ma.b)(ja,ka);ka=y;for(ka.Ia();ka.advance();){var la=ka.Ma();switch(la){case "Normal":Object(ma.b)(ra,"Normal").data=ka.current.textContent;break;default:Object(aa.j)("unexpected appearance state: ",la)}}ka.Ua()}else Object(aa.j)("unexpected appearances child: "+ka);y.Ua();break;case "extra":y=e;ja=r;ka={};for(y.Ia();y.advance();)switch(ra=y.Ma(),ra){case "font":ka.font=w(y,ja(1));break;default:Object(aa.j)("unrecognised extra child: "+
ra)}y.Ua();y=ka;y.font&&(z.font=y.font);break;case "captions":ja=e;y={};(ka=ja.fa("Normal"))&&(y.Normal=ka);(ka=ja.fa("Rollover"))&&(y.Rollover=ka);(ja=ja.fa("Down"))&&(y.Down=ja);z.captions=y;break;default:Object(aa.j)("unrecognised widget child: "+y)}e.Ua();(y=ea[z.fieldName])?(z=f(y,z),ca.push(z)):Object(aa.j)("ignoring widget with no corresponding field data: "+z.fieldName);break;default:Object(aa.j)("Unknown element encountered in PDFInfo: "+z)}return!0}return!1},function(){e.Ua();z({calculationOrder:fa,
widgets:ca,fields:ea,documentActions:ha,pages:ia,custom:[]})},y)}e.r(y);e.d(y,"parse",function(){return ca});var aa=e(2),ja=e(0);e.n(ja);var ka=e(106),ya=e(3),xa=e(17),la=e(19),ma=e(93),Aa=e(30)}}]);}).call(this || window)
new pa.d(y.x,y.y,ja.x,ja.y);y.normalize();z.rect={x1:y.x1,y1:y.y1,x2:y.x2,y2:y.y2};break;case "border":y=e;ja={style:y.fa("style")||"Solid",width:y.fa("width")||1,color:[0,0,0]};for(y.Ia();y.advance();)switch(ka=y.Ma(),ka){case "color":ja.color=ba(y);break;default:Object(aa.j)("unrecognised border child: "+ka)}y.Ua();z.border=ja;break;case "background-color":z.backgroundColor=ba(e);break;case "actions":z.actions=da(e,"E X D U Fo Bl PO PC PV PI".split(" "),r);break;case "appearances":y=e;ja=Object(na.b)(z,
"appearances");for(y.Ia();y.advance();)if(ka=y.Ma(),"appearance"===ka){ka=y.fa("name");var sa=Object(na.b)(ja,ka);ka=y;for(ka.Ia();ka.advance();){var la=ka.Ma();switch(la){case "Normal":Object(na.b)(sa,"Normal").data=ka.current.textContent;break;default:Object(aa.j)("unexpected appearance state: ",la)}}ka.Ua()}else Object(aa.j)("unexpected appearances child: "+ka);y.Ua();break;case "extra":y=e;ja=r;ka={};for(y.Ia();y.advance();)switch(sa=y.Ma(),sa){case "font":ka.font=w(y,ja(1));break;default:Object(aa.j)("unrecognised extra child: "+
sa)}y.Ua();y=ka;y.font&&(z.font=y.font);break;case "captions":ja=e;y={};(ka=ja.fa("Normal"))&&(y.Normal=ka);(ka=ja.fa("Rollover"))&&(y.Rollover=ka);(ja=ja.fa("Down"))&&(y.Down=ja);z.captions=y;break;default:Object(aa.j)("unrecognised widget child: "+y)}e.Ua();(y=ea[z.fieldName])?(z=f(y,z),ca.push(z)):Object(aa.j)("ignoring widget with no corresponding field data: "+z.fieldName);break;default:Object(aa.j)("Unknown element encountered in PDFInfo: "+z)}return!0}return!1},function(){e.Ua();z({calculationOrder:fa,
widgets:ca,fields:ea,documentActions:ha,pages:ia,custom:[]})},y)}e.r(y);e.d(y,"parse",function(){return ca});var aa=e(2),ja=e(0);e.n(ja);var ka=e(106),pa=e(3),xa=e(17),la=e(19),na=e(93),za=e(30)}}]);}).call(this || window)

@@ -8,7 +8,7 @@ /** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/

(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[20],{385:function(ia,y){!function(e,fa){if("object"==typeof y){try{var x=require("moment")}catch(ha){}ia.exports=fa(x)}else"function"==typeof define&&define.amd?define(function(e){try{x=e("moment")}catch(ea){}return fa(x)}):e.Pikaday=fa(e.moment)}(this,function(e){function y(f){var h=this,r=h.config(f);h._onMouseDown=function(e){if(h._v){var f=(e=e||window.event).target||e.srcElement;if(f)if(ka(f,"is-disabled")||(!ka(f,"pika-button")||
ka(f,"is-empty")||ka(f.parentNode,"is-disabled")?ka(f,"pika-prev")?h.prevMonth():ka(f,"pika-next")?h.nextMonth():ka(f,"pika-set-today")&&(h.setDate(new Date),h.hide()):(h.setDate(new Date(f.getAttribute("data-pika-year"),f.getAttribute("data-pika-month"),f.getAttribute("data-pika-day"))),r.bound&&qa(function(){h.hide();r.blurFieldOnSelect&&r.field&&r.field.blur()},100))),ka(f,"pika-select"))h._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}};h._onChange=function(e){var f=
ka(f,"is-empty")||ka(f.parentNode,"is-disabled")?ka(f,"pika-prev")?h.prevMonth():ka(f,"pika-next")?h.nextMonth():ka(f,"pika-set-today")&&(h.setDate(new Date),h.hide()):(h.setDate(new Date(f.getAttribute("data-pika-year"),f.getAttribute("data-pika-month"),f.getAttribute("data-pika-day"))),r.bound&&ra(function(){h.hide();r.blurFieldOnSelect&&r.field&&r.field.blur()},100))),ka(f,"pika-select"))h._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}};h._onChange=function(e){var f=
(e=e||window.event).target||e.srcElement;f&&(ka(f,"pika-select-month")?h.gotoMonth(f.value):ka(f,"pika-select-year")&&h.gotoYear(f.value))};h._onKeyChange=function(e){if(e=e||window.event,h.isVisible())switch(e.keyCode){case 13:case 27:r.field&&r.field.blur();break;case 37:h.adjustDate("subtract",1);break;case 38:h.adjustDate("subtract",7);break;case 39:h.adjustDate("add",1);break;case 40:h.adjustDate("add",7);break;case 8:case 46:h.setDate(null)}};h._parseFieldValue=function(){if(r.parse)return r.parse(r.field.value,
r.format);if(la){var f=e(r.field.value,r.format,r.formatStrict);return f&&f.isValid()?f.toDate():null}return new Date(Date.parse(r.field.value))};h._onInputChange=function(e){var f;e.firedBy!==h&&(f=h._parseFieldValue(),n(f)&&h.setDate(f),h._v||h.show())};h._onInputFocus=function(){h.show()};h._onInputClick=function(){h.show()};h._onInputBlur=function(){var e=Aa.activeElement;do if(ka(e,"pika-single"))return;while(e=e.parentNode);h._c||(h._b=qa(function(){h.hide()},50));h._c=!1};h._onClick=function(e){var f=
(e=e||window.event).target||e.srcElement;if(e=f){!ma&&ka(f,"pika-select")&&(f.onchange||(f.setAttribute("onchange","return;"),xa(f,"change",h._onChange)));do if(ka(e,"pika-single")||e===r.trigger)return;while(e=e.parentNode);h._v&&f!==r.trigger&&e!==r.trigger&&h.hide()}};h.el=Aa.createElement("div");h.el.className="pika-single"+(r.isRTL?" is-rtl":"")+(r.theme?" "+r.theme:"");xa(h.el,"mousedown",h._onMouseDown,!0);xa(h.el,"touchend",h._onMouseDown,!0);xa(h.el,"change",h._onChange);r.keyboardInput&&
xa(Aa,"keydown",h._onKeyChange);r.field&&(r.container?r.container.appendChild(h.el):r.bound?Aa.body.appendChild(h.el):r.field.parentNode.insertBefore(h.el,r.field.nextSibling),xa(r.field,"change",h._onInputChange),r.defaultDate||(r.defaultDate=h._parseFieldValue(),r.setDefaultDate=!0));f=r.defaultDate;n(f)?r.setDefaultDate?h.setDate(f,!0):h.gotoDate(f):h.gotoDate(new Date);r.bound?(this.hide(),h.el.className+=" is-bound",xa(r.trigger,"click",h._onInputClick),xa(r.trigger,"focus",h._onInputFocus),
r.format);if(la){var f=e(r.field.value,r.format,r.formatStrict);return f&&f.isValid()?f.toDate():null}return new Date(Date.parse(r.field.value))};h._onInputChange=function(e){var f;e.firedBy!==h&&(f=h._parseFieldValue(),n(f)&&h.setDate(f),h._v||h.show())};h._onInputFocus=function(){h.show()};h._onInputClick=function(){h.show()};h._onInputBlur=function(){var e=za.activeElement;do if(ka(e,"pika-single"))return;while(e=e.parentNode);h._c||(h._b=ra(function(){h.hide()},50));h._c=!1};h._onClick=function(e){var f=
(e=e||window.event).target||e.srcElement;if(e=f){!na&&ka(f,"pika-select")&&(f.onchange||(f.setAttribute("onchange","return;"),xa(f,"change",h._onChange)));do if(ka(e,"pika-single")||e===r.trigger)return;while(e=e.parentNode);h._v&&f!==r.trigger&&e!==r.trigger&&h.hide()}};h.el=za.createElement("div");h.el.className="pika-single"+(r.isRTL?" is-rtl":"")+(r.theme?" "+r.theme:"");xa(h.el,"mousedown",h._onMouseDown,!0);xa(h.el,"touchend",h._onMouseDown,!0);xa(h.el,"change",h._onChange);r.keyboardInput&&
xa(za,"keydown",h._onKeyChange);r.field&&(r.container?r.container.appendChild(h.el):r.bound?za.body.appendChild(h.el):r.field.parentNode.insertBefore(h.el,r.field.nextSibling),xa(r.field,"change",h._onInputChange),r.defaultDate||(r.defaultDate=h._parseFieldValue(),r.setDefaultDate=!0));f=r.defaultDate;n(f)?r.setDefaultDate?h.setDate(f,!0):h.gotoDate(f):h.gotoDate(new Date);r.bound?(this.hide(),h.el.className+=" is-bound",xa(r.trigger,"click",h._onInputClick),xa(r.trigger,"focus",h._onInputFocus),
xa(r.trigger,"blur",h._onInputBlur)):this.show()}function x(e,f,h){return'<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="'+h+'">'+function(e){var f,h=[];e.showWeekNumber&&h.push("<th></th>");for(f=0;7>f;f++)h.push('<th scope="col"><abbr title="'+w(e,f)+'">'+w(e,f,!0)+"</abbr></th>");return"<thead><tr>"+(e.isRTL?h.reverse():h).join("")+"</tr></thead>"}(e)+("<tbody>"+f.join("")+"</tbody>")+(e.showTodayButton?function(e){var f=[];return f.push('<td colspan="'+

@@ -20,9 +20,9 @@ (e.showWeekNumber?"8":"7")+'"><button class="pika-set-today">'+e.i18n.today+"</button></td>"),"<tfoot>"+(e.isRTL?f.reverse():f).join("")+"</tfoot>"}(e):"")+"</table>"}function ha(e,f,h,n,r,w){var x,y,z=e._o,aa=h===z.minYear,ba=h===z.maxYear,ea='<div id="'+w+'" class="pika-title" role="heading" aria-live="assertive">',da=!0,fa=!0;var ha=[];for(w=0;12>w;w++)ha.push('<option value="'+(h===r?w-f:12+w-f)+'"'+(w===n?' selected="selected"':"")+(aa&&w<z.minMonth||ba&&w>z.maxMonth?' disabled="disabled"':"")+

f.push("is-selection-disabled")}return e.isDisabled&&f.push("is-disabled"),e.isToday&&f.push("is-today"),e.isSelected&&(f.push("is-selected"),h="true"),e.hasEvent&&f.push("has-event"),e.isInRange&&f.push("is-inrange"),e.isStartRange&&f.push("is-startrange"),e.isEndRange&&f.push("is-endrange"),'<td data-day="'+e.day+'" class="'+f.join(" ")+'" aria-selected="'+h+'"><button class="pika-button pika-day" type="button" data-pika-year="'+e.year+'" data-pika-month="'+e.month+'" data-pika-day="'+e.day+'">'+
e.day+"</button></td>"}function w(e,f,h){for(f+=e.firstDay;7<=f;)f-=7;return h?e.i18n.weekdaysShort[f]:e.i18n.weekdays[f]}function z(e){return 0>e.month&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),11<e.month&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e}function r(e,f,n){var r;Aa.createEvent?((r=Aa.createEvent("HTMLEvents")).initEvent(f,!0,!1),r=h(r,n),e.dispatchEvent(r)):Aa.createEventObject&&(r=Aa.createEventObject(),r=h(r,n),e.fireEvent("on"+f,r))}function h(e,f,r){var w,
e.day+"</button></td>"}function w(e,f,h){for(f+=e.firstDay;7<=f;)f-=7;return h?e.i18n.weekdaysShort[f]:e.i18n.weekdays[f]}function z(e){return 0>e.month&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),11<e.month&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e}function r(e,f,n){var r;za.createEvent?((r=za.createEvent("HTMLEvents")).initEvent(f,!0,!1),r=h(r,n),e.dispatchEvent(r)):za.createEventObject&&(r=za.createEventObject(),r=h(r,n),e.fireEvent("on"+f,r))}function h(e,f,r){var w,
x;for(w in f)(x=void 0!==e[w])&&"object"==typeof f[w]&&null!==f[w]&&void 0===f[w].nodeName?n(f[w])?r&&(e[w]=new Date(f[w].getTime())):ca(f[w])?r&&(e[w]=f[w].slice(0)):e[w]=h({},f[w],r):!r&&x||(e[w]=f[w]);return e}function f(e){n(e)&&e.setHours(0,0,0,0)}function n(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())}function ca(e){return/Array/.test(Object.prototype.toString.call(e))}function aa(e,f){var h;e.className=(h=(" "+e.className+" ").replace(" "+f+" "," ")).trim?h.trim():
h.replace(/^\s+|\s+$/g,"")}function ia(e,f){ka(e,f)||(e.className=""===e.className?f:e.className+" "+f)}function ka(e,f){return-1!==(" "+e.className+" ").indexOf(" "+f+" ")}function ya(e,f,h,n){ma?e.removeEventListener(f,h,!!n):e.detachEvent("on"+f,h)}function xa(e,f,h,n){ma?e.addEventListener(f,h,!!n):e.attachEvent("on"+f,h)}var la="function"==typeof e,ma=!!window.addEventListener,Aa=window.document,qa=window.setTimeout,Ea={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",
h.replace(/^\s+|\s+$/g,"")}function ia(e,f){ka(e,f)||(e.className=""===e.className?f:e.className+" "+f)}function ka(e,f){return-1!==(" "+e.className+" ").indexOf(" "+f+" ")}function pa(e,f,h,n){na?e.removeEventListener(f,h,!!n):e.detachEvent("on"+f,h)}function xa(e,f,h,n){na?e.addEventListener(f,h,!!n):e.attachEvent("on"+f,h)}var la="function"==typeof e,na=!!window.addEventListener,za=window.document,ra=window.setTimeout,Da={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",
reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,firstWeekOfYearMinDays:4,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,showTodayButton:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,
blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",today:"Today",months:"January February March April May June July August September October November December".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" ")},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0};return y.prototype={config:function(e){this._o||(this._o=h({},Ea,!0));e=h(this._o,
blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",today:"Today",months:"January February March April May June July August September October November December".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" ")},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0};return y.prototype={config:function(e){this._o||(this._o=h({},Da,!0));e=h(this._o,
e,!0);e.isRTL=!!e.isRTL;e.field=e.field&&e.field.nodeName?e.field:null;e.theme="string"==typeof e.theme&&e.theme?e.theme:null;e.bound=!!(void 0!==e.bound?e.field&&e.bound:e.field);e.trigger=e.trigger&&e.trigger.nodeName?e.trigger:e.field;e.disableWeekends=!!e.disableWeekends;e.disableDayFn="function"==typeof e.disableDayFn?e.disableDayFn:null;var f=parseInt(e.numberOfMonths,10)||1;(e.numberOfMonths=4<f?4:f,n(e.minDate)||(e.minDate=!1),n(e.maxDate)||(e.maxDate=!1),e.minDate&&e.maxDate&&e.maxDate<e.minDate&&
(e.maxDate=e.minDate=!1),e.minDate&&this.setMinDate(e.minDate),e.maxDate&&this.setMaxDate(e.maxDate),ca(e.yearRange))?(f=(new Date).getFullYear()-10,e.yearRange[0]=parseInt(e.yearRange[0],10)||f,e.yearRange[1]=parseInt(e.yearRange[1],10)||f):(e.yearRange=Math.abs(parseInt(e.yearRange,10))||Ea.yearRange,100<e.yearRange&&(e.yearRange=100));return e},toString:function(f){return f=f||this._o.format,n(this._d)?this._o.toString?this._o.toString(this._d,f):la?e(this._d).format(f):this._d.toDateString():
(e.maxDate=e.minDate=!1),e.minDate&&this.setMinDate(e.minDate),e.maxDate&&this.setMaxDate(e.maxDate),ca(e.yearRange))?(f=(new Date).getFullYear()-10,e.yearRange[0]=parseInt(e.yearRange[0],10)||f,e.yearRange[1]=parseInt(e.yearRange[1],10)||f):(e.yearRange=Math.abs(parseInt(e.yearRange,10))||Da.yearRange,100<e.yearRange&&(e.yearRange=100));return e},toString:function(f){return f=f||this._o.format,n(this._d)?this._o.toString?this._o.toString(this._d,f):la?e(this._d).format(f):this._d.toDateString():
""},getMoment:function(){return la?e(this._d):null},setMoment:function(f,h){la&&e.isMoment(f)&&this.setDate(f.toDate(),h)},getDate:function(){return n(this._d)?new Date(this._d.getTime()):null},setDate:function(e,f){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",r(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),n(e)){var h=this._o.minDate,w=this._o.maxDate;n(h)&&e<h?e=h:n(w)&&e>w&&(e=w);this._d=new Date(e.getTime());this.gotoDate(this._d);

@@ -32,11 +32,11 @@ this._o.field&&(this._o.field.value=this.toString(),r(this._o.field,"change",{firedBy:this}));f||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},clear:function(){this.setDate(null)},gotoDate:function(e){var f=!0;if(n(e)){if(this.calendars){f=new Date(this.calendars[0].year,this.calendars[0].month,1);var h=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),r=e.getTime();h.setMonth(h.getMonth()+1);h.setDate(h.getDate()-

z({month:this.calendars[0].month+e,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++;this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--;this.adjustCalendars()},gotoYear:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())},setMinDate:function(e){e instanceof Date?(f(e),
this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth()):(this._o.minDate=Ea.minDate,this._o.minYear=Ea.minYear,this._o.minMonth=Ea.minMonth,this._o.startRange=Ea.startRange);this.draw()},setMaxDate:function(e){e instanceof Date?(f(e),this._o.maxDate=e,this._o.maxYear=e.getFullYear(),this._o.maxMonth=e.getMonth()):(this._o.maxDate=Ea.maxDate,this._o.maxYear=Ea.maxYear,this._o.maxMonth=Ea.maxMonth,this._o.endRange=Ea.endRange);this.draw()},setStartRange:function(e){this._o.startRange=
this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth()):(this._o.minDate=Da.minDate,this._o.minYear=Da.minYear,this._o.minMonth=Da.minMonth,this._o.startRange=Da.startRange);this.draw()},setMaxDate:function(e){e instanceof Date?(f(e),this._o.maxDate=e,this._o.maxYear=e.getFullYear(),this._o.maxMonth=e.getMonth()):(this._o.maxDate=Da.maxDate,this._o.maxYear=Da.maxYear,this._o.maxMonth=Da.maxMonth,this._o.endRange=Da.endRange);this.draw()},setStartRange:function(e){this._o.startRange=
e},setEndRange:function(e){this._o.endRange=e},draw:function(e){if(this._v||e){var f=this._o;var h=f.minYear;var n=f.maxYear,r=f.minMonth,w=f.maxMonth;e="";this._y<=h&&(this._y=h,!isNaN(r)&&this._m<r&&(this._m=r));this._y>=n&&(this._y=n,!isNaN(w)&&this._m>w&&(this._m=w));for(n=0;n<f.numberOfMonths;n++)h="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2),e+='<div class="pika-lendar">'+ha(this,n,this.calendars[n].year,this.calendars[n].month,this.calendars[0].year,h)+this.render(this.calendars[n].year,
this.calendars[n].month,h)+"</div>";this.el.innerHTML=e;f.bound&&"hidden"!==f.field.type&&qa(function(){f.trigger.focus()},1);"function"==typeof this._o.onDraw&&this._o.onDraw(this);f.bound&&f.field.setAttribute("aria-label",f.ariaLabel)}},adjustPosition:function(){var e,f,h,n,r,w,x,y,z;if(!this._o.container){if(this.el.style.position="absolute",f=e=this._o.trigger,h=this.el.offsetWidth,n=this.el.offsetHeight,r=window.innerWidth||Aa.documentElement.clientWidth,w=window.innerHeight||Aa.documentElement.clientHeight,
x=window.pageYOffset||Aa.body.scrollTop||Aa.documentElement.scrollTop,y=!0,z=!0,"function"==typeof e.getBoundingClientRect){var ba=(f=e.getBoundingClientRect()).left+window.pageXOffset;var ca=f.bottom+window.pageYOffset}else for(ba=f.offsetLeft,ca=f.offsetTop+f.offsetHeight;f=f.offsetParent;)ba+=f.offsetLeft,ca+=f.offsetTop;(this._o.reposition&&ba+h>r||-1<this._o.position.indexOf("right")&&0<ba-h+e.offsetWidth)&&(ba=ba-h+e.offsetWidth,y=!1);(this._o.reposition&&ca+n>w+x||-1<this._o.position.indexOf("top")&&
this.calendars[n].month,h)+"</div>";this.el.innerHTML=e;f.bound&&"hidden"!==f.field.type&&ra(function(){f.trigger.focus()},1);"function"==typeof this._o.onDraw&&this._o.onDraw(this);f.bound&&f.field.setAttribute("aria-label",f.ariaLabel)}},adjustPosition:function(){var e,f,h,n,r,w,x,y,z;if(!this._o.container){if(this.el.style.position="absolute",f=e=this._o.trigger,h=this.el.offsetWidth,n=this.el.offsetHeight,r=window.innerWidth||za.documentElement.clientWidth,w=window.innerHeight||za.documentElement.clientHeight,
x=window.pageYOffset||za.body.scrollTop||za.documentElement.scrollTop,y=!0,z=!0,"function"==typeof e.getBoundingClientRect){var ba=(f=e.getBoundingClientRect()).left+window.pageXOffset;var ca=f.bottom+window.pageYOffset}else for(ba=f.offsetLeft,ca=f.offsetTop+f.offsetHeight;f=f.offsetParent;)ba+=f.offsetLeft,ca+=f.offsetTop;(this._o.reposition&&ba+h>r||-1<this._o.position.indexOf("right")&&0<ba-h+e.offsetWidth)&&(ba=ba-h+e.offsetWidth,y=!1);(this._o.reposition&&ca+n>w+x||-1<this._o.position.indexOf("top")&&
0<ca-n-e.offsetHeight)&&(ca=ca-n-e.offsetHeight,z=!1);0>ba&&(ba=0);0>ca&&(ca=0);this.el.style.left=ba+"px";this.el.style.top=ca+"px";ia(this.el,y?"left-aligned":"right-aligned");ia(this.el,z?"bottom-aligned":"top-aligned");aa(this.el,y?"right-aligned":"left-aligned");aa(this.el,z?"top-aligned":"bottom-aligned")}},render:function(e,h,r){var w=this._o,y=new Date,z=[31,0==e%4&&0!=e%100||0==e%400?29:28,31,30,31,30,31,31,30,31,30,31][h],aa=(new Date(e,h,1)).getDay(),ca=[],fa=[];f(y);0<w.firstDay&&0>(aa-=
w.firstDay)&&(aa+=7);for(var ha=0===h?11:h-1,ia=11===h?0:h+1,ja=0===h?e-1:e,ka=11===h?e+1:e,ra=[31,0==ja%4&&0!=ja%100||0==ja%400?29:28,31,30,31,30,31,31,30,31,30,31][ha],la=z+aa,na=la;7<na;)na-=7;la+=7-na;na=!1;for(var Aa=0,oa=0;Aa<la;Aa++){var ma=new Date(e,h,Aa-aa+1),qa=!!n(this._d)&&ma.getTime()===this._d.getTime(),ya=ma.getTime()===y.getTime(),sa=-1!==w.events.indexOf(ma.toDateString()),xa=Aa<aa||Aa>=z+aa,Ea=Aa-aa+1,Oa=h,Va=e,$b=w.startRange&&w.startRange.getTime()===ma.getTime(),sc=w.endRange&&
w.endRange.getTime()===ma.getTime(),bb=w.startRange&&w.endRange&&w.startRange<ma&&ma<w.endRange;xa&&(Aa<aa?(Ea=ra+Ea,Oa=ha,Va=ja):(Ea-=z,Oa=ia,Va=ka));var kb;!(kb=w.minDate&&ma<w.minDate||w.maxDate&&ma>w.maxDate)&&(kb=w.disableWeekends)&&(kb=ma.getDay(),kb=0===kb||6===kb);ma={day:Ea,month:Oa,year:Va,hasEvent:sa,isSelected:qa,isToday:ya,isDisabled:kb||w.disableDayFn&&w.disableDayFn(ma),isEmpty:xa,isStartRange:$b,isEndRange:sc,isInRange:bb,showDaysInNextAndPreviousMonths:w.showDaysInNextAndPreviousMonths,
enableSelectionDaysInNextAndPreviousMonths:w.enableSelectionDaysInNextAndPreviousMonths};w.pickWholeWeek&&qa&&(na=!0);fa.push(ba(ma));7==++oa&&(w.showWeekNumber&&fa.unshift(da(Aa-aa,h,e,w.firstWeekOfYearMinDays)),ca.push(ea(fa,w.isRTL,w.pickWholeWeek,na)),fa=[],oa=0,na=!1)}return x(w,ca,r)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),aa(this.el,"is-hidden"),this._o.bound&&(xa(Aa,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&
this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&ya(Aa,"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),ia(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide();ya(this.el,"mousedown",this._onMouseDown,!0);ya(this.el,"touchend",this._onMouseDown,!0);ya(this.el,"change",this._onChange);e.keyboardInput&&
ya(Aa,"keydown",this._onKeyChange);e.field&&(ya(e.field,"change",this._onInputChange),e.bound&&(ya(e.trigger,"click",this._onInputClick),ya(e.trigger,"focus",this._onInputFocus),ya(e.trigger,"blur",this._onInputBlur)));this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},y})}}]);}).call(this || window)
w.firstDay)&&(aa+=7);for(var ha=0===h?11:h-1,ia=11===h?0:h+1,ja=0===h?e-1:e,ka=11===h?e+1:e,sa=[31,0==ja%4&&0!=ja%100||0==ja%400?29:28,31,30,31,30,31,31,30,31,30,31][ha],la=z+aa,ma=la;7<ma;)ma-=7;la+=7-ma;ma=!1;for(var za=0,oa=0;za<la;za++){var na=new Date(e,h,za-aa+1),ra=!!n(this._d)&&na.getTime()===this._d.getTime(),pa=na.getTime()===y.getTime(),ta=-1!==w.events.indexOf(na.toDateString()),xa=za<aa||za>=z+aa,Da=za-aa+1,Oa=h,Va=e,$b=w.startRange&&w.startRange.getTime()===na.getTime(),sc=w.endRange&&
w.endRange.getTime()===na.getTime(),bb=w.startRange&&w.endRange&&w.startRange<na&&na<w.endRange;xa&&(za<aa?(Da=sa+Da,Oa=ha,Va=ja):(Da-=z,Oa=ia,Va=ka));var kb;!(kb=w.minDate&&na<w.minDate||w.maxDate&&na>w.maxDate)&&(kb=w.disableWeekends)&&(kb=na.getDay(),kb=0===kb||6===kb);na={day:Da,month:Oa,year:Va,hasEvent:ta,isSelected:ra,isToday:pa,isDisabled:kb||w.disableDayFn&&w.disableDayFn(na),isEmpty:xa,isStartRange:$b,isEndRange:sc,isInRange:bb,showDaysInNextAndPreviousMonths:w.showDaysInNextAndPreviousMonths,
enableSelectionDaysInNextAndPreviousMonths:w.enableSelectionDaysInNextAndPreviousMonths};w.pickWholeWeek&&ra&&(ma=!0);fa.push(ba(na));7==++oa&&(w.showWeekNumber&&fa.unshift(da(za-aa,h,e,w.firstWeekOfYearMinDays)),ca.push(ea(fa,w.isRTL,w.pickWholeWeek,ma)),fa=[],oa=0,ma=!1)}return x(w,ca,r)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),aa(this.el,"is-hidden"),this._o.bound&&(xa(za,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&
this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&pa(za,"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),ia(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide();pa(this.el,"mousedown",this._onMouseDown,!0);pa(this.el,"touchend",this._onMouseDown,!0);pa(this.el,"change",this._onChange);e.keyboardInput&&
pa(za,"keydown",this._onKeyChange);e.field&&(pa(e.field,"change",this._onInputChange),e.bound&&(pa(e.trigger,"click",this._onInputClick),pa(e.trigger,"focus",this._onInputFocus),pa(e.trigger,"blur",this._onInputBlur)));this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},y})}}]);}).call(this || window)

@@ -6,11 +6,11 @@ /** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/

w.push(y);else try{n=parseFloat(f.trim()),e.push(n),w.push(y)}catch(la){return}}y=0;var da=e.length;h=aa=f=r=void 0;for(var fa=ba=0,ia=0;ia<da;){var xa=w[ia];if(0<xa)y=xa,++ia,3===y&&(ba=e[ia],fa=e[ia+1],ia+=2);else if(1===y)for(n=0;8>n;++n)this.ob.push(e[ia++]);else 2===y?(r=e[ia++],f=e[ia++],aa=e[ia++],h=e[ia++],this.ob.push(r),this.ob.push(f),this.ob.push(aa),this.ob.push(f),this.ob.push(aa),this.ob.push(h),this.ob.push(r),this.ob.push(h)):3===y&&(r=e[ia++],f=ba,aa=e[ia++],h=fa,this.ob.push(r),
this.ob.push(f),this.ob.push(aa),this.ob.push(f),this.ob.push(aa),this.ob.push(h),this.ob.push(r),this.ob.push(h))}}catch(la){return}this.Eb.length&&this.Eb.length===this.Td.length&&8*this.Eb.length===this.ob.length&&(this.ne=!0)};e.prototype.ready=function(){return this.ne};e.prototype.hu=function(){var e=new fa.a;if(!this.Rb.length)return e.mg(this.Rb,-1,this.Eb,this.ob,0),e;e.mg(this.Rb,1,this.Eb,this.ob,1);return e};e.prototype.Le=function(){return this.ob};e.prototype.getData=function(){return{m_Struct:this.Rb,
m_Str:this.Eb,m_Offsets:this.Td,m_Quads:this.ob,m_Ready:this.ne}};return e}();y["default"]=ia},413:function(ia,y,e){var fa=e(76),x=e(46),ha=e(428);ia=function(){function e(){this.Ad=0;this.lb=this.Aa=this.Be=null;this.pc=0;this.zd=null}e.prototype.Mc=function(){this.Ad=-1;this.pc=0;this.zd=[]};e.prototype.mg=function(e,x,w,y,r){this.Ad=x;this.pc=r;this.zd=[];this.Be=e;this.Aa=w;this.lb=y};e.prototype.dc=function(e){return this.Ad===e.Ad};e.prototype.$i=function(){return Math.abs(this.Be[this.Ad])};
e.prototype.Dk=function(){return 0<this.Be[this.Ad]};e.prototype.ig=function(){var e=this.Dk()?6:10,x=new ha.a;x.mg(this.Be,this.Ad+e,this.Ad,this.Aa,this.lb,1);return x};e.prototype.ZO=function(e){if(0>e||e>=this.$i())return e=new ha.a,e.mg(this.Be,-1,-1,this.Aa,this.lb,0),e;var x=this.Dk()?6:10,w=this.Dk()?5:11,y=new ha.a;y.mg(this.Be,this.Ad+x+w*e,this.Ad,this.Aa,this.lb,1+e);return y};e.prototype.fm=function(){var x=this.Ad+parseInt(this.Be[this.Ad+1],10);if(x>=this.Be.length)return x=new e,x.mg(this.Be,
-1,this.Aa,this.lb,0),x;var y=new e;y.mg(this.Be,x,this.Aa,this.lb,this.pc+1);return y};e.prototype.he=function(e){if(this.Dk())e.ma=this.Be[this.Ad+2+0],e.ja=this.Be[this.Ad+2+1],e.na=this.Be[this.Ad+2+2],e.ka=this.Be[this.Ad+2+3];else{for(var x=1.79769E308,w=fa.a.MIN,y=1.79769E308,r=fa.a.MIN,h=0;4>h;++h){var f=this.Be[this.Ad+2+2*h],n=this.Be[this.Ad+2+2*h+1];x=Math.min(x,f);w=Math.max(w,f);y=Math.min(y,n);r=Math.max(r,n)}e.ma=x;e.ja=y;e.na=w;e.ka=r}};e.prototype.mz=function(){if(this.zd.length)return this.zd[0];
this.ob.push(f),this.ob.push(aa),this.ob.push(f),this.ob.push(aa),this.ob.push(h),this.ob.push(r),this.ob.push(h))}}catch(la){return}this.Eb.length&&this.Eb.length===this.Td.length&&8*this.Eb.length===this.ob.length&&(this.ne=!0)};e.prototype.ready=function(){return this.ne};e.prototype.hu=function(){var e=new fa.a;if(!this.Rb.length)return e.ng(this.Rb,-1,this.Eb,this.ob,0),e;e.ng(this.Rb,1,this.Eb,this.ob,1);return e};e.prototype.Le=function(){return this.ob};e.prototype.getData=function(){return{m_Struct:this.Rb,
m_Str:this.Eb,m_Offsets:this.Td,m_Quads:this.ob,m_Ready:this.ne}};return e}();y["default"]=ia},413:function(ia,y,e){var fa=e(76),x=e(46),ha=e(428);ia=function(){function e(){this.Ad=0;this.lb=this.Aa=this.Be=null;this.pc=0;this.zd=null}e.prototype.Mc=function(){this.Ad=-1;this.pc=0;this.zd=[]};e.prototype.ng=function(e,x,w,y,r){this.Ad=x;this.pc=r;this.zd=[];this.Be=e;this.Aa=w;this.lb=y};e.prototype.dc=function(e){return this.Ad===e.Ad};e.prototype.$i=function(){return Math.abs(this.Be[this.Ad])};
e.prototype.Dk=function(){return 0<this.Be[this.Ad]};e.prototype.ig=function(){var e=this.Dk()?6:10,x=new ha.a;x.ng(this.Be,this.Ad+e,this.Ad,this.Aa,this.lb,1);return x};e.prototype.$O=function(e){if(0>e||e>=this.$i())return e=new ha.a,e.ng(this.Be,-1,-1,this.Aa,this.lb,0),e;var x=this.Dk()?6:10,w=this.Dk()?5:11,y=new ha.a;y.ng(this.Be,this.Ad+x+w*e,this.Ad,this.Aa,this.lb,1+e);return y};e.prototype.fm=function(){var x=this.Ad+parseInt(this.Be[this.Ad+1],10);if(x>=this.Be.length)return x=new e,x.ng(this.Be,
-1,this.Aa,this.lb,0),x;var y=new e;y.ng(this.Be,x,this.Aa,this.lb,this.pc+1);return y};e.prototype.he=function(e){if(this.Dk())e.ma=this.Be[this.Ad+2+0],e.ja=this.Be[this.Ad+2+1],e.na=this.Be[this.Ad+2+2],e.ka=this.Be[this.Ad+2+3];else{for(var x=1.79769E308,w=fa.a.MIN,y=1.79769E308,r=fa.a.MIN,h=0;4>h;++h){var f=this.Be[this.Ad+2+2*h],n=this.Be[this.Ad+2+2*h+1];x=Math.min(x,f);w=Math.max(w,f);y=Math.min(y,n);r=Math.max(r,n)}e.ma=x;e.ja=y;e.na=w;e.ka=r}};e.prototype.mz=function(){if(this.zd.length)return this.zd[0];
var e=new x.a,y=new x.a,w=new ha.a;w.Mc();var z=this.ig(),r=new ha.a;r.Mc();for(var h=this.ig();!h.dc(w);h=h.jg())r=h;w=Array(8);h=Array(8);z.je(0,w);e.x=(w[0]+w[2]+w[4]+w[6])/4;e.y=(w[1]+w[3]+w[5]+w[7])/4;r.je(r.Zi()-1,h);y.x=(h[0]+h[2]+h[4]+h[6])/4;y.y=(h[1]+h[3]+h[5]+h[7])/4;.01>Math.abs(e.x-y.x)&&.01>Math.abs(e.y-y.y)&&this.zd.push(0);e=Math.atan2(y.y-e.y,y.x-e.x);e*=180/3.1415926;0>e&&(e+=360);this.zd.push(e);return 0};return e}();y.a=ia},428:function(ia,y,e){var fa=e(413),x=e(85),ha=e(76);ia=
function(){function e(){this.Sj=this.ed=0;this.lb=this.Aa=this.Rb=null;this.pc=0}e.prototype.Mc=function(){this.Sj=this.ed=-1;this.pc=0};e.prototype.mg=function(e,x,w,y,r,h){this.ed=x;this.Sj=w;this.Rb=e;this.Aa=y;this.lb=r;this.pc=h};e.prototype.dc=function(e){return this.ed===e.ed};e.prototype.Zi=function(){return parseInt(this.Rb[this.ed],10)};e.prototype.Rh=function(){return parseInt(this.Rb[this.ed+2],10)};e.prototype.lg=function(){return parseInt(this.Rb[this.ed+1],10)};e.prototype.Dk=function(){return 0<
this.Rb[this.Sj]};e.prototype.I5=function(){return Math.abs(this.Rb[this.Sj])};e.prototype.jg=function(){var x=this.Dk(),y=x?5:11;if(this.ed>=this.Sj+(x?6:10)+(this.I5()-1)*y)return y=new e,y.mg(this.Rb,-1,-1,this.Aa,this.lb,0),y;x=new e;x.mg(this.Rb,this.ed+y,this.Sj,this.Aa,this.lb,this.pc+1);return x};e.prototype.d5=function(e){var x=this.Zi();return 0>e||e>=x?-1:parseInt(this.Rb[this.ed+1],10)+e};e.prototype.je=function(e,y){e=this.d5(e);if(!(0>e)){var w=new fa.a;w.mg(this.Rb,this.Sj,this.Aa,
this.lb,0);if(w.Dk()){var z=new x.a;w.he(z);w=z.ja<z.ka?z.ja:z.ka;z=z.ja>z.ka?z.ja:z.ka;e*=8;y[0]=this.lb[e];y[1]=w;y[2]=this.lb[e+2];y[3]=y[1];y[4]=this.lb[e+4];y[5]=z;y[6]=this.lb[e+6];y[7]=y[5]}else for(e*=8,w=0;8>w;++w)y[w]=this.lb[e+w]}};e.prototype.Hd=function(e){var y=new fa.a;y.mg(this.Rb,this.Sj,this.Aa,this.lb,0);if(y.Dk()){var w=this.Rb[this.ed+3],z=this.Rb[this.ed+4];if(w>z){var r=w;w=z;z=r}r=new x.a;y.he(r);y=r.ja<r.ka?r.ja:r.ka;r=r.ja>r.ka?r.ja:r.ka;e[0]=w;e[1]=y;e[2]=z;e[3]=y;e[4]=
z;e[5]=r;e[6]=w;e[7]=r}else for(w=this.ed+3,z=0;8>z;++z)e[z]=this.Rb[w+z]};e.prototype.he=function(e){var y=new fa.a;y.mg(this.Rb,this.Sj,this.Aa,this.lb,0);if(y.Dk()){var w=this.Rb[this.ed+3],z=this.Rb[this.ed+4];if(w>z){var r=w;w=z;z=r}r=new x.a;y.he(r);y=r.ja<r.ka?r.ja:r.ka;r=r.ja>r.ka?r.ja:r.ka;e[0]=w;e[1]=y;e[2]=z;e[3]=r}else{w=1.79769E308;z=ha.a.MIN;y=1.79769E308;r=ha.a.MIN;for(var h=this.ed+3,f=0;4>f;++f){var n=this.Rb[h+2*f],ca=this.Rb[h+2*f+1];w=Math.min(w,n);z=Math.max(z,n);y=Math.min(y,
function(){function e(){this.Sj=this.ed=0;this.lb=this.Aa=this.Rb=null;this.pc=0}e.prototype.Mc=function(){this.Sj=this.ed=-1;this.pc=0};e.prototype.ng=function(e,x,w,y,r,h){this.ed=x;this.Sj=w;this.Rb=e;this.Aa=y;this.lb=r;this.pc=h};e.prototype.dc=function(e){return this.ed===e.ed};e.prototype.Zi=function(){return parseInt(this.Rb[this.ed],10)};e.prototype.Rh=function(){return parseInt(this.Rb[this.ed+2],10)};e.prototype.mg=function(){return parseInt(this.Rb[this.ed+1],10)};e.prototype.Dk=function(){return 0<
this.Rb[this.Sj]};e.prototype.J5=function(){return Math.abs(this.Rb[this.Sj])};e.prototype.jg=function(){var x=this.Dk(),y=x?5:11;if(this.ed>=this.Sj+(x?6:10)+(this.J5()-1)*y)return y=new e,y.ng(this.Rb,-1,-1,this.Aa,this.lb,0),y;x=new e;x.ng(this.Rb,this.ed+y,this.Sj,this.Aa,this.lb,this.pc+1);return x};e.prototype.e5=function(e){var x=this.Zi();return 0>e||e>=x?-1:parseInt(this.Rb[this.ed+1],10)+e};e.prototype.je=function(e,y){e=this.e5(e);if(!(0>e)){var w=new fa.a;w.ng(this.Rb,this.Sj,this.Aa,
this.lb,0);if(w.Dk()){var z=new x.a;w.he(z);w=z.ja<z.ka?z.ja:z.ka;z=z.ja>z.ka?z.ja:z.ka;e*=8;y[0]=this.lb[e];y[1]=w;y[2]=this.lb[e+2];y[3]=y[1];y[4]=this.lb[e+4];y[5]=z;y[6]=this.lb[e+6];y[7]=y[5]}else for(e*=8,w=0;8>w;++w)y[w]=this.lb[e+w]}};e.prototype.Jd=function(e){var y=new fa.a;y.ng(this.Rb,this.Sj,this.Aa,this.lb,0);if(y.Dk()){var w=this.Rb[this.ed+3],z=this.Rb[this.ed+4];if(w>z){var r=w;w=z;z=r}r=new x.a;y.he(r);y=r.ja<r.ka?r.ja:r.ka;r=r.ja>r.ka?r.ja:r.ka;e[0]=w;e[1]=y;e[2]=z;e[3]=y;e[4]=
z;e[5]=r;e[6]=w;e[7]=r}else for(w=this.ed+3,z=0;8>z;++z)e[z]=this.Rb[w+z]};e.prototype.he=function(e){var y=new fa.a;y.ng(this.Rb,this.Sj,this.Aa,this.lb,0);if(y.Dk()){var w=this.Rb[this.ed+3],z=this.Rb[this.ed+4];if(w>z){var r=w;w=z;z=r}r=new x.a;y.he(r);y=r.ja<r.ka?r.ja:r.ka;r=r.ja>r.ka?r.ja:r.ka;e[0]=w;e[1]=y;e[2]=z;e[3]=r}else{w=1.79769E308;z=ha.a.MIN;y=1.79769E308;r=ha.a.MIN;for(var h=this.ed+3,f=0;4>f;++f){var n=this.Rb[h+2*f],ca=this.Rb[h+2*f+1];w=Math.min(w,n);z=Math.max(z,n);y=Math.min(y,
ca);r=Math.max(r,ca)}e[0]=w;e[1]=y;e[2]=z;e[3]=r}};return e}();y.a=ia}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[15],{393:function(ia,y,e){e.r(y);var fa=e(1),x=e(0);e.n(x);var ha=e(2),ea=e(132);ia=e(48);var da=e(84),ba=e(216),w=e(61),z=e(215);e=e(316);var r=window,h=function(){function e(e,f,h){var n=-1===e.indexOf("?")?"?":"&";switch(f){case w.a.NEVER_CACHE:this.url=e+n+"_="+Object(x.uniqueId)();break;default:this.url=e}this.He=h;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);this.request.setRequestHeader("X-Requested-With",
"XMLHttpRequest");this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=z.a.NOT_STARTED}e.prototype.start=function(f,h){var n=this,r=this,w=this.request,x;r.Pu=0;f&&Object.keys(f).forEach(function(e){n.request.setRequestHeader(e,f[e])});h&&(this.request.withCredentials=h);this.SA=setInterval(function(){var f=0===window.document.URL.indexOf("file:///");f=200===w.status||f&&0===w.status;
if(w.readyState!==z.b.DONE||f){try{w.responseText}catch(Aa){return}r.Pu<w.responseText.length&&(x=r.O$())&&r.trigger(e.Events.DATA,[x]);0===w.readyState&&(clearInterval(r.SA),r.trigger(e.Events.DONE))}else clearInterval(r.SA),r.trigger(e.Events.DONE,["Error received return status "+w.status])},1E3);this.request.send(null);this.status=z.a.STARTED};e.prototype.O$=function(){var f=this.request,h=f.responseText;if(0!==h.length)if(this.Pu===h.length)clearInterval(this.SA),this.trigger(e.Events.DONE);else return h=
Math.min(this.Pu+3E6,h.length),f=r.LO(f,this.Pu,!0,h),this.Pu=h,f};e.prototype.abort=function(){clearInterval(this.SA);var f=this;this.request.onreadystatechange=function(){Object(ha.j)("StreamingRequest aborted");f.status=z.a.ABORTED;return f.trigger(e.Events.ABORTED)};this.request.abort()};e.prototype.finish=function(){var f=this;this.request.onreadystatechange=function(){f.status=z.a.SUCCESS;return f.trigger(e.Events.DONE)};this.request.abort()};e.Events={DONE:"done",DATA:"data",ABORTED:"aborted"};
return e}();Object(ia.a)(h);var f;(function(e){e[e.LOCAL_HEADER=0]="LOCAL_HEADER";e[e.FILE=1]="FILE";e[e.CENTRAL_DIR=2]="CENTRAL_DIR"})(f||(f={}));var n=function(e){function h(){var h=e.call(this)||this;h.buffer="";h.state=f.LOCAL_HEADER;h.sI=4;h.Fk=null;h.lr=ea.c;h.Wl={};return h}Object(fa.c)(h,e);h.prototype.I$=function(e){var n;for(e=this.buffer+e;e.length>=this.lr;)switch(this.state){case f.LOCAL_HEADER:this.Fk=n=this.S$(e.slice(0,this.lr));if(n.Rr!==ea.g)throw Error("Wrong signature in local header: "+
if(w.readyState!==z.b.DONE||f){try{w.responseText}catch(za){return}r.Pu<w.responseText.length&&(x=r.P$())&&r.trigger(e.Events.DATA,[x]);0===w.readyState&&(clearInterval(r.SA),r.trigger(e.Events.DONE))}else clearInterval(r.SA),r.trigger(e.Events.DONE,["Error received return status "+w.status])},1E3);this.request.send(null);this.status=z.a.STARTED};e.prototype.P$=function(){var f=this.request,h=f.responseText;if(0!==h.length)if(this.Pu===h.length)clearInterval(this.SA),this.trigger(e.Events.DONE);else return h=
Math.min(this.Pu+3E6,h.length),f=r.MO(f,this.Pu,!0,h),this.Pu=h,f};e.prototype.abort=function(){clearInterval(this.SA);var f=this;this.request.onreadystatechange=function(){Object(ha.j)("StreamingRequest aborted");f.status=z.a.ABORTED;return f.trigger(e.Events.ABORTED)};this.request.abort()};e.prototype.finish=function(){var f=this;this.request.onreadystatechange=function(){f.status=z.a.SUCCESS;return f.trigger(e.Events.DONE)};this.request.abort()};e.Events={DONE:"done",DATA:"data",ABORTED:"aborted"};
return e}();Object(ia.a)(h);var f;(function(e){e[e.LOCAL_HEADER=0]="LOCAL_HEADER";e[e.FILE=1]="FILE";e[e.CENTRAL_DIR=2]="CENTRAL_DIR"})(f||(f={}));var n=function(e){function h(){var h=e.call(this)||this;h.buffer="";h.state=f.LOCAL_HEADER;h.sI=4;h.Fk=null;h.lr=ea.c;h.Wl={};return h}Object(fa.c)(h,e);h.prototype.J$=function(e){var n;for(e=this.buffer+e;e.length>=this.lr;)switch(this.state){case f.LOCAL_HEADER:this.Fk=n=this.T$(e.slice(0,this.lr));if(n.Rr!==ea.g)throw Error("Wrong signature in local header: "+
n.Rr);e=e.slice(this.lr);this.state=f.FILE;this.lr=n.HD+n.Do+n.Ut+this.sI;this.trigger(h.Events.HEADER,[n]);break;case f.FILE:this.Fk.name=e.slice(0,this.Fk.Do);this.Wl[this.Fk.name]=this.Fk;n=this.lr-this.sI;var r=e.slice(this.Fk.Do+this.Fk.Ut,n);this.trigger(h.Events.FILE,[this.Fk.name,r,this.Fk.WD]);e=e.slice(n);if(e.slice(0,this.sI)===ea.h)this.state=f.LOCAL_HEADER,this.lr=ea.c;else return this.state=f.CENTRAL_DIR,!0}this.buffer=e;return!1};h.Events={HEADER:"header",FILE:"file"};return h}(ba.a);
Object(ia.a)(n);ia=function(e){function f(f,r,w,x,y){w=e.call(this,f,w,x)||this;w.url=f;w.stream=new h(f,r);w.wd=new n;w.xR=window.createPromiseCapability();w.YR={};w.He=y;return w}Object(fa.c)(f,e);f.prototype.Dv=function(e){var f=this;this.request([this.yi,this.Gj,this.xi]);this.stream.addEventListener(h.Events.DATA,function(h){try{if(f.wd.I$(h))return f.stream.finish()}catch(xa){throw f.stream.abort(),f.Rt(xa),e(xa),xa;}});this.stream.addEventListener(h.Events.DONE,function(h){f.p$=!0;f.xR.resolve();
h&&(f.Rt(h),e(h))});this.wd.addEventListener(n.Events.HEADER,Object(x.bind)(this.XR,this));this.wd.addEventListener(n.Events.FILE,Object(x.bind)(this.haa,this));return this.stream.start(this.He,this.withCredentials)};f.prototype.JO=function(e){var f=this;this.xR.promise.then(function(){e(Object.keys(f.wd.Wl))})};f.prototype.Em=function(){return!0};f.prototype.request=function(e){var f=this;this.p$&&e.forEach(function(e){f.YR[e]||f.Uda(e)})};f.prototype.XR=function(){};f.prototype.abort=function(){this.stream&&
this.stream.abort()};f.prototype.Uda=function(e){this.trigger(da.a.Events.PART_READY,[{Ya:e,error:"Requested part not found",Gh:!1,xf:!1}])};f.prototype.haa=function(e,f,h){this.YR[e]=!0;this.trigger(da.a.Events.PART_READY,[{Ya:e,data:f,Gh:!1,xf:!1,error:null,Hc:h}])};return f}(da.a);Object(e.a)(ia);Object(e.b)(ia);y["default"]=ia}}]);}).call(this || window)
Object(ia.a)(n);ia=function(e){function f(f,r,w,x,y){w=e.call(this,f,w,x)||this;w.url=f;w.stream=new h(f,r);w.wd=new n;w.yR=window.createPromiseCapability();w.ZR={};w.He=y;return w}Object(fa.c)(f,e);f.prototype.Dv=function(e){var f=this;this.request([this.yi,this.Gj,this.xi]);this.stream.addEventListener(h.Events.DATA,function(h){try{if(f.wd.J$(h))return f.stream.finish()}catch(xa){throw f.stream.abort(),f.Rt(xa),e(xa),xa;}});this.stream.addEventListener(h.Events.DONE,function(h){f.q$=!0;f.yR.resolve();
h&&(f.Rt(h),e(h))});this.wd.addEventListener(n.Events.HEADER,Object(x.bind)(this.YR,this));this.wd.addEventListener(n.Events.FILE,Object(x.bind)(this.iaa,this));return this.stream.start(this.He,this.withCredentials)};f.prototype.KO=function(e){var f=this;this.yR.promise.then(function(){e(Object.keys(f.wd.Wl))})};f.prototype.Em=function(){return!0};f.prototype.request=function(e){var f=this;this.q$&&e.forEach(function(e){f.ZR[e]||f.Vda(e)})};f.prototype.YR=function(){};f.prototype.abort=function(){this.stream&&
this.stream.abort()};f.prototype.Vda=function(e){this.trigger(da.a.Events.PART_READY,[{Ya:e,error:"Requested part not found",Gh:!1,xf:!1}])};f.prototype.iaa=function(e,f,h){this.ZR[e]=!0;this.trigger(da.a.Events.PART_READY,[{Ya:e,data:f,Gh:!1,xf:!1,error:null,Jc:h}])};return f}(da.a);Object(e.a)(ia);Object(e.b)(ia);y["default"]=ia}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[21],{397:function(ia,y,e){(function(e){function x(f){this.rf=f=f||{};if(Array.isArray(f.table)){var e=[];f.table.forEach(function(f,h){e[f.charCodeAt(0)]=h});f.e3=f.table;f.Q0=e}}var y=e.from||function(){switch(arguments.length){case 1:return new e(arguments[0]);case 2:return new e(arguments[0],arguments[1]);case 3:return new e(arguments[0],arguments[1],arguments[2]);default:throw new Exception("unexpected call.");}},ea=e.allocUnsafe||
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[21],{397:function(ia,y,e){(function(e){function x(f){this.rf=f=f||{};if(Array.isArray(f.table)){var e=[];f.table.forEach(function(f,h){e[f.charCodeAt(0)]=h});f.f3=f.table;f.R0=e}}var y=e.from||function(){switch(arguments.length){case 1:return new e(arguments[0]);case 2:return new e(arguments[0],arguments[1]);case 3:return new e(arguments[0],arguments[1],arguments[2]);default:throw new Exception("unexpected call.");}},ea=e.allocUnsafe||
function(f){return new e(f)},da=function(){return"undefined"===typeof Uint8Array?function(f){return Array(f)}:function(f){return new Uint8Array(f)}}(),ba=String.fromCharCode(0),w=ba+ba+ba+ba,z=y("<~").zv(0),r=y("~>").zv(0),h=function(){var f=Array(85),e;for(e=0;85>e;e++)f[e]=String.fromCharCode(33+e);return f}(),f=function(){var f=Array(256),e;for(e=0;85>e;e++)f[33+e]=e;return f}();ba=ia.exports=new x;x.prototype.encode=function(f,r){var n=da(5),w=f,x=this.rf,z,ca;"string"===typeof w?w=y(w,"binary"):
w instanceof e||(w=y(w));r=r||{};if(Array.isArray(r)){f=r;var ba=x.Ey||!1;var ha=x.CF||!1}else f=r.table||x.e3||h,ba=void 0===r.Ey?x.Ey||!1:!!r.Ey,ha=void 0===r.CF?x.CF||!1:!!r.CF;x=0;var fa=Math.ceil(5*w.length/4)+4+(ba?4:0);r=ea(fa);ba&&(x+=r.write("<~",x));var ia=z=ca=0;for(fa=w.length;ia<fa;ia++){var Ea=w.nH(ia);ca*=256;ca+=Ea;z++;if(!(z%4)){if(ha&&538976288===ca)x+=r.write("y",x);else if(ca){for(z=4;0<=z;z--)Ea=ca%85,n[z]=Ea,ca=(ca-Ea)/85;for(z=0;5>z;z++)x+=r.write(f[n[z]],x)}else x+=r.write("z",
x);z=ca=0}}if(z)if(ca){w=4-z;for(ia=4-z;0<ia;ia--)ca*=256;for(z=4;0<=z;z--)Ea=ca%85,n[z]=Ea,ca=(ca-Ea)/85;for(z=0;5>z;z++)x+=r.write(f[n[z]],x);x-=w}else for(ia=0;ia<z+1;ia++)x+=r.write(f[0],x);ba&&(x+=r.write("~>",x));return r.slice(0,x)};x.prototype.decode=function(h,x){var n=this.rf,ca=!0,ba=!0,da,ha,fa;x=x||n.Q0||f;if(!Array.isArray(x)&&(x=x.table||x,!Array.isArray(x))){var ia=[];Object.keys(x).forEach(function(f){ia[f.charCodeAt(0)]=x[f]});x=ia}ca=!x[122];ba=!x[121];h instanceof e||(h=y(h));
ia=0;if(ca||ba){var Aa=0;for(fa=h.length;Aa<fa;Aa++){var qa=h.nH(Aa);ca&&122===qa&&ia++;ba&&121===qa&&ia++}}var Ea=0;fa=Math.ceil(4*h.length/5)+4*ia+5;n=ea(fa);if(4<=h.length&&h.zv(0)===z){for(Aa=h.length-2;2<Aa&&h.zv(Aa)!==r;Aa--);if(2>=Aa)throw Error("Invalid ascii85 string delimiter pair.");h=h.slice(2,Aa)}Aa=da=ha=0;for(fa=h.length;Aa<fa;Aa++)qa=h.nH(Aa),ca&&122===qa?Ea+=n.write(w,Ea):ba&&121===qa?Ea+=n.write(" ",Ea):void 0!==x[qa]&&(ha*=85,ha+=x[qa],da++,da%5||(Ea=n.Cea(ha,Ea),da=ha=0));if(da){h=
5-da;for(Aa=0;Aa<h;Aa++)ha*=85,ha+=84;Aa=3;for(fa=h-1;Aa>fa;Aa--)Ea=n.Dea(ha>>>8*Aa&255,Ea)}return n.slice(0,Ea)};ba.Dfa=new x({table:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-:+=^!/*?&<>()[]{}@%$#".split("")});ba.$ea=new x({Ey:!0});ba.nV=x}).call(this,e(406).Buffer)}}]);}).call(this || window)
w instanceof e||(w=y(w));r=r||{};if(Array.isArray(r)){f=r;var ba=x.Ey||!1;var ha=x.CF||!1}else f=r.table||x.f3||h,ba=void 0===r.Ey?x.Ey||!1:!!r.Ey,ha=void 0===r.CF?x.CF||!1:!!r.CF;x=0;var fa=Math.ceil(5*w.length/4)+4+(ba?4:0);r=ea(fa);ba&&(x+=r.write("<~",x));var ia=z=ca=0;for(fa=w.length;ia<fa;ia++){var Da=w.nH(ia);ca*=256;ca+=Da;z++;if(!(z%4)){if(ha&&538976288===ca)x+=r.write("y",x);else if(ca){for(z=4;0<=z;z--)Da=ca%85,n[z]=Da,ca=(ca-Da)/85;for(z=0;5>z;z++)x+=r.write(f[n[z]],x)}else x+=r.write("z",
x);z=ca=0}}if(z)if(ca){w=4-z;for(ia=4-z;0<ia;ia--)ca*=256;for(z=4;0<=z;z--)Da=ca%85,n[z]=Da,ca=(ca-Da)/85;for(z=0;5>z;z++)x+=r.write(f[n[z]],x);x-=w}else for(ia=0;ia<z+1;ia++)x+=r.write(f[0],x);ba&&(x+=r.write("~>",x));return r.slice(0,x)};x.prototype.decode=function(h,x){var n=this.rf,ca=!0,ba=!0,da,ha,fa;x=x||n.R0||f;if(!Array.isArray(x)&&(x=x.table||x,!Array.isArray(x))){var ia=[];Object.keys(x).forEach(function(f){ia[f.charCodeAt(0)]=x[f]});x=ia}ca=!x[122];ba=!x[121];h instanceof e||(h=y(h));
ia=0;if(ca||ba){var za=0;for(fa=h.length;za<fa;za++){var ra=h.nH(za);ca&&122===ra&&ia++;ba&&121===ra&&ia++}}var Da=0;fa=Math.ceil(4*h.length/5)+4*ia+5;n=ea(fa);if(4<=h.length&&h.zv(0)===z){for(za=h.length-2;2<za&&h.zv(za)!==r;za--);if(2>=za)throw Error("Invalid ascii85 string delimiter pair.");h=h.slice(2,za)}za=da=ha=0;for(fa=h.length;za<fa;za++)ra=h.nH(za),ca&&122===ra?Da+=n.write(w,Da):ba&&121===ra?Da+=n.write(" ",Da):void 0!==x[ra]&&(ha*=85,ha+=x[ra],da++,da%5||(Da=n.Dea(ha,Da),da=ha=0));if(da){h=
5-da;for(za=0;za<h;za++)ha*=85,ha+=84;za=3;for(fa=h-1;za>fa;za--)Da=n.Eea(ha>>>8*za&255,Da)}return n.slice(0,Da)};ba.Efa=new x({table:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-:+=^!/*?&<>()[]{}@%$#".split("")});ba.afa=new x({Ey:!0});ba.oV=x}).call(this,e(406).Buffer)}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{406:function(ia,y,e){(function(fa){function x(){try{var f=new Uint8Array(1);f.__proto__={__proto__:Uint8Array.prototype,Vha:function(){return 42}};return"function"===typeof f.subarray&&0===f.subarray(1,1).byteLength}catch(ua){return!1}}function ha(f,e){if((ea.ze?2147483647:1073741823)<e)throw new RangeError("Invalid typed array length");ea.ze?(f=new Uint8Array(e),f.__proto__=ea.prototype):(null===f&&(f=new ea(e)),f.length=e);
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{406:function(ia,y,e){(function(fa){function x(){try{var f=new Uint8Array(1);f.__proto__={__proto__:Uint8Array.prototype,Wha:function(){return 42}};return"function"===typeof f.subarray&&0===f.subarray(1,1).byteLength}catch(va){return!1}}function ha(f,e){if((ea.ze?2147483647:1073741823)<e)throw new RangeError("Invalid typed array length");ea.ze?(f=new Uint8Array(e),f.__proto__=ea.prototype):(null===f&&(f=new ea(e)),f.length=e);
return f}function ea(f,e,h){if(!(ea.ze||this instanceof ea))return new ea(f,e,h);if("number"===typeof f){if("string"===typeof e)throw Error("If encoding is specified then the first argument must be a string");return w(this,f)}return da(this,f,e,h)}function da(e,h,n,w){if("number"===typeof h)throw new TypeError('"value" argument must not be a number');if("undefined"!==typeof ArrayBuffer&&h instanceof ArrayBuffer){h.byteLength;if(0>n||h.byteLength<n)throw new RangeError("'offset' is out of bounds");
if(h.byteLength<n+(w||0))throw new RangeError("'length' is out of bounds");h=void 0===n&&void 0===w?new Uint8Array(h):void 0===w?new Uint8Array(h,n):new Uint8Array(h,n,w);ea.ze?(e=h,e.__proto__=ea.prototype):e=z(e,h);h=e}else if("string"===typeof h){w=e;e=n;if("string"!==typeof e||""===e)e="utf8";if(!ea.HP(e))throw new TypeError('"encoding" must be a valid string encoding');n=f(h,e)|0;w=ha(w,n);h=w.write(h,e);h!==n&&(w=w.slice(0,h));h=w}else h=r(e,h);return h}function ba(f){if("number"!==typeof f)throw new TypeError('"size" argument must be a number');
if(h.byteLength<n+(w||0))throw new RangeError("'length' is out of bounds");h=void 0===n&&void 0===w?new Uint8Array(h):void 0===w?new Uint8Array(h,n):new Uint8Array(h,n,w);ea.ze?(e=h,e.__proto__=ea.prototype):e=z(e,h);h=e}else if("string"===typeof h){w=e;e=n;if("string"!==typeof e||""===e)e="utf8";if(!ea.IP(e))throw new TypeError('"encoding" must be a valid string encoding');n=f(h,e)|0;w=ha(w,n);h=w.write(h,e);h!==n&&(w=w.slice(0,h));h=w}else h=r(e,h);return h}function ba(f){if("number"!==typeof f)throw new TypeError('"size" argument must be a number');
if(0>f)throw new RangeError('"size" argument must not be negative');}function w(f,e){ba(e);f=ha(f,0>e?0:h(e)|0);if(!ea.ze)for(var n=0;n<e;++n)f[n]=0;return f}function z(f,e){var n=0>e.length?0:h(e.length)|0;f=ha(f,n);for(var r=0;r<n;r+=1)f[r]=e[r]&255;return f}function r(f,e){if(ea.isBuffer(e)){var n=h(e.length)|0;f=ha(f,n);if(0===f.length)return f;e.copy(f,0,0,n);return f}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return(n="number"!==typeof e.length)||
(n=e.length,n=n!==n),n?ha(f,0):z(f,e);if("Buffer"===e.type&&Ea(e.data))return z(f,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");}function h(f){if(f>=(ea.ze?2147483647:1073741823))throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+(ea.ze?2147483647:1073741823).toString(16)+" bytes");return f|0}function f(f,e){if(ea.isBuffer(f))return f.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&
(ArrayBuffer.isView(f)||f instanceof ArrayBuffer))return f.byteLength;"string"!==typeof f&&(f=""+f);var h=f.length;if(0===h)return 0;for(var n=!1;;)switch(e){case "ascii":case "latin1":case "binary":return h;case "utf8":case "utf-8":case void 0:return la(f).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*h;case "hex":return h>>>1;case "base64":return qa.vU(xa(f)).length;default:if(n)return la(f).length;e=(""+e).toLowerCase();n=!0}}function n(f,e,h){var n=!1;if(void 0===e||
(n=e.length,n=n!==n),n?ha(f,0):z(f,e);if("Buffer"===e.type&&Da(e.data))return z(f,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");}function h(f){if(f>=(ea.ze?2147483647:1073741823))throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+(ea.ze?2147483647:1073741823).toString(16)+" bytes");return f|0}function f(f,e){if(ea.isBuffer(f))return f.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&
(ArrayBuffer.isView(f)||f instanceof ArrayBuffer))return f.byteLength;"string"!==typeof f&&(f=""+f);var h=f.length;if(0===h)return 0;for(var n=!1;;)switch(e){case "ascii":case "latin1":case "binary":return h;case "utf8":case "utf-8":case void 0:return la(f).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*h;case "hex":return h>>>1;case "base64":return ra.wU(xa(f)).length;default:if(n)return la(f).length;e=(""+e).toLowerCase();n=!0}}function n(f,e,h){var n=!1;if(void 0===e||
0>e)e=0;if(e>this.length)return"";if(void 0===h||h>this.length)h=this.length;if(0>=h)return"";h>>>=0;e>>>=0;if(h<=e)return"";for(f||(f="utf8");;)switch(f){case "hex":f=e;e=h;h=this.length;if(!f||0>f)f=0;if(!e||0>e||e>h)e=h;n="";for(h=f;h<e;++h)f=n,n=this[h],n=16>n?"0"+n.toString(16):n.toString(16),n=f+n;return n;case "utf8":case "utf-8":return ja(this,e,h);case "ascii":f="";for(h=Math.min(this.length,h);e<h;++e)f+=String.fromCharCode(this[e]&127);return f;case "latin1":case "binary":f="";for(h=Math.min(this.length,
h);e<h;++e)f+=String.fromCharCode(this[e]);return f;case "base64":return 0===e&&h===this.length?qa.UN(this):qa.UN(this.slice(e,h));case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":e=this.slice(e,h);h="";for(f=0;f<e.length;f+=2)h+=String.fromCharCode(e[f]+256*e[f+1]);return h;default:if(n)throw new TypeError("Unknown encoding: "+f);f=(f+"").toLowerCase();n=!0}}function ca(f,e,h,n,r){if(0===f.length)return-1;"string"===typeof h?(n=h,h=0):2147483647<h?h=2147483647:-2147483648>h&&(h=-2147483648);
h);e<h;++e)f+=String.fromCharCode(this[e]);return f;case "base64":return 0===e&&h===this.length?ra.UN(this):ra.UN(this.slice(e,h));case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":e=this.slice(e,h);h="";for(f=0;f<e.length;f+=2)h+=String.fromCharCode(e[f]+256*e[f+1]);return h;default:if(n)throw new TypeError("Unknown encoding: "+f);f=(f+"").toLowerCase();n=!0}}function ca(f,e,h,n,r){if(0===f.length)return-1;"string"===typeof h?(n=h,h=0):2147483647<h?h=2147483647:-2147483648>h&&(h=-2147483648);
h=+h;isNaN(h)&&(h=r?0:f.length-1);0>h&&(h=f.length+h);if(h>=f.length){if(r)return-1;h=f.length-1}else if(0>h)if(r)h=0;else return-1;"string"===typeof e&&(e=ea.from(e,n));if(ea.isBuffer(e))return 0===e.length?-1:aa(f,e,h,n,r);if("number"===typeof e)return e&=255,ea.ze&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(f,e,h):Uint8Array.prototype.lastIndexOf.call(f,e,h):aa(f,[e],h,n,r);throw new TypeError("val must be string, number or Buffer");}function aa(f,e,h,
n,r){function w(f,e){return 1===x?f[e]:f.zv(e*x)}var x=1,aa=f.length,z=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(2>f.length||2>e.length)return-1;x=2;aa/=2;z/=2;h/=2}if(r)for(n=-1;h<aa;h++)if(w(f,h)===w(e,-1===n?0:h-n)){if(-1===n&&(n=h),h-n+1===z)return n*x}else-1!==n&&(h-=h-n),n=-1;else for(h+z>aa&&(h=aa-z);0<=h;h--){aa=!0;for(n=0;n<z;n++)if(w(f,h+n)!==w(e,n)){aa=!1;break}if(aa)return h}return-1}function ja(f,e,h){h=Math.min(f.length,
h);for(var n=[];e<h;){var r=f[e],w=null,x=239<r?4:223<r?3:191<r?2:1;if(e+x<=h)switch(x){case 1:128>r&&(w=r);break;case 2:var aa=f[e+1];128===(aa&192)&&(r=(r&31)<<6|aa&63,127<r&&(w=r));break;case 3:aa=f[e+1];var z=f[e+2];128===(aa&192)&&128===(z&192)&&(r=(r&15)<<12|(aa&63)<<6|z&63,2047<r&&(55296>r||57343<r)&&(w=r));break;case 4:aa=f[e+1];z=f[e+2];var ca=f[e+3];128===(aa&192)&&128===(z&192)&&128===(ca&192)&&(r=(r&15)<<18|(aa&63)<<12|(z&63)<<6|ca&63,65535<r&&1114112>r&&(w=r))}null===w?(w=65533,x=1):
65535<w&&(w-=65536,n.push(w>>>10&1023|55296),w=56320|w&1023);n.push(w);e+=x}f=n.length;if(f<=ra)n=String.fromCharCode.apply(String,n);else{h="";for(e=0;e<f;)h+=String.fromCharCode.apply(String,n.slice(e,e+=ra));n=h}return n}function ka(f,e,h){if(0!==f%1||0>f)throw new RangeError("offset is not uint");if(f+e>h)throw new RangeError("Trying to access beyond buffer length");}function ia(f,e,h,n,r,w){if(!ea.isBuffer(f))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<w)throw new RangeError('"value" argument is out of bounds');
65535<w&&(w-=65536,n.push(w>>>10&1023|55296),w=56320|w&1023);n.push(w);e+=x}f=n.length;if(f<=sa)n=String.fromCharCode.apply(String,n);else{h="";for(e=0;e<f;)h+=String.fromCharCode.apply(String,n.slice(e,e+=sa));n=h}return n}function ka(f,e,h){if(0!==f%1||0>f)throw new RangeError("offset is not uint");if(f+e>h)throw new RangeError("Trying to access beyond buffer length");}function ia(f,e,h,n,r,w){if(!ea.isBuffer(f))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<w)throw new RangeError('"value" argument is out of bounds');
if(h+n>f.length)throw new RangeError("Index out of range");}function xa(f){f=(f.trim?f.trim():f.replace(/^\s+|\s+$/g,"")).replace(oa,"");if(2>f.length)return"";for(;0!==f.length%4;)f+="=";return f}function la(f,e){e=e||Infinity;for(var h,n=f.length,r=null,w=[],x=0;x<n;++x){h=f.charCodeAt(x);if(55295<h&&57344>h){if(!r){if(56319<h){-1<(e-=3)&&w.push(239,191,189);continue}else if(x+1===n){-1<(e-=3)&&w.push(239,191,189);continue}r=h;continue}if(56320>h){-1<(e-=3)&&w.push(239,191,189);r=h;continue}h=(r-
55296<<10|h-56320)+65536}else r&&-1<(e-=3)&&w.push(239,191,189);r=null;if(128>h){if(0>--e)break;w.push(h)}else if(2048>h){if(0>(e-=2))break;w.push(h>>6|192,h&63|128)}else if(65536>h){if(0>(e-=3))break;w.push(h>>12|224,h>>6&63|128,h&63|128)}else if(1114112>h){if(0>(e-=4))break;w.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw Error("Invalid code point");}return w}function ma(f){for(var e=[],h=0;h<f.length;++h)e.push(f.charCodeAt(h)&255);return e}function Aa(f,e,h,n){for(var r=0;r<n&&!(r+
h>=e.length||r>=f.length);++r)e[r+h]=f[r];return r}var qa=e(415);e(416);var Ea=e(417);y.Buffer=ea;y.cfa=function(f){+f!=f&&(f=0);return ea.RL(+f)};y.YV=50;ea.ze=void 0!==fa.ze?fa.ze:x();y.Bja=ea.ze?2147483647:1073741823;ea.fka=8192;ea.Jfa=function(f){f.__proto__=ea.prototype;return f};ea.from=function(f,e,h){return da(null,f,e,h)};ea.ze&&(ea.prototype.__proto__=Uint8Array.prototype,ea.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.aU&&ea[Symbol.aU]===ea&&Object.defineProperty(ea,Symbol.aU,
{value:null,configurable:!0}));ea.RL=function(f){ba(f);return ha(null,f)};ea.allocUnsafe=function(f){return w(null,f)};ea.cga=function(f){return w(null,f)};ea.isBuffer=function(f){return!(null==f||!f.wY)};ea.compare=function(f,e){if(!ea.isBuffer(f)||!ea.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(f===e)return 0;for(var h=f.length,n=e.length,r=0,w=Math.min(h,n);r<w;++r)if(f[r]!==e[r]){h=f[r];n=e[r];break}return h<n?-1:n<h?1:0};ea.HP=function(f){switch(String(f).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "latin1":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;
default:return!1}};ea.concat=function(f,e){if(!Ea(f))throw new TypeError('"list" argument must be an Array of Buffers');if(0===f.length)return ea.RL(0);var h;if(void 0===e)for(h=e=0;h<f.length;++h)e+=f[h].length;e=ea.allocUnsafe(e);var n=0;for(h=0;h<f.length;++h){var r=f[h];if(!ea.isBuffer(r))throw new TypeError('"list" argument must be an Array of Buffers');r.copy(e,n);n+=r.length}return e};ea.byteLength=f;ea.prototype.wY=!0;ea.prototype.toString=function(){var f=this.length|0;return 0===f?"":0===
arguments.length?ja(this,0,f):n.apply(this,arguments)};ea.prototype.Qt=function(f){if(!ea.isBuffer(f))throw new TypeError("Argument must be a Buffer");return this===f?!0:0===ea.compare(this,f)};ea.prototype.inspect=function(){var f="",e=y.YV;0<this.length&&(f=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(f+=" ... "));return"<Buffer "+f+">"};ea.prototype.compare=function(f,e,h,n,r){if(!ea.isBuffer(f))throw new TypeError("Argument must be a Buffer");void 0===e&&(e=0);void 0===h&&
55296<<10|h-56320)+65536}else r&&-1<(e-=3)&&w.push(239,191,189);r=null;if(128>h){if(0>--e)break;w.push(h)}else if(2048>h){if(0>(e-=2))break;w.push(h>>6|192,h&63|128)}else if(65536>h){if(0>(e-=3))break;w.push(h>>12|224,h>>6&63|128,h&63|128)}else if(1114112>h){if(0>(e-=4))break;w.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw Error("Invalid code point");}return w}function na(f){for(var e=[],h=0;h<f.length;++h)e.push(f.charCodeAt(h)&255);return e}function za(f,e,h,n){for(var r=0;r<n&&!(r+
h>=e.length||r>=f.length);++r)e[r+h]=f[r];return r}var ra=e(415);e(416);var Da=e(417);y.Buffer=ea;y.dfa=function(f){+f!=f&&(f=0);return ea.RL(+f)};y.ZV=50;ea.ze=void 0!==fa.ze?fa.ze:x();y.Cja=ea.ze?2147483647:1073741823;ea.gka=8192;ea.Kfa=function(f){f.__proto__=ea.prototype;return f};ea.from=function(f,e,h){return da(null,f,e,h)};ea.ze&&(ea.prototype.__proto__=Uint8Array.prototype,ea.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.bU&&ea[Symbol.bU]===ea&&Object.defineProperty(ea,Symbol.bU,
{value:null,configurable:!0}));ea.RL=function(f){ba(f);return ha(null,f)};ea.allocUnsafe=function(f){return w(null,f)};ea.dga=function(f){return w(null,f)};ea.isBuffer=function(f){return!(null==f||!f.xY)};ea.compare=function(f,e){if(!ea.isBuffer(f)||!ea.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(f===e)return 0;for(var h=f.length,n=e.length,r=0,w=Math.min(h,n);r<w;++r)if(f[r]!==e[r]){h=f[r];n=e[r];break}return h<n?-1:n<h?1:0};ea.IP=function(f){switch(String(f).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "latin1":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;
default:return!1}};ea.concat=function(f,e){if(!Da(f))throw new TypeError('"list" argument must be an Array of Buffers');if(0===f.length)return ea.RL(0);var h;if(void 0===e)for(h=e=0;h<f.length;++h)e+=f[h].length;e=ea.allocUnsafe(e);var n=0;for(h=0;h<f.length;++h){var r=f[h];if(!ea.isBuffer(r))throw new TypeError('"list" argument must be an Array of Buffers');r.copy(e,n);n+=r.length}return e};ea.byteLength=f;ea.prototype.xY=!0;ea.prototype.toString=function(){var f=this.length|0;return 0===f?"":0===
arguments.length?ja(this,0,f):n.apply(this,arguments)};ea.prototype.Qt=function(f){if(!ea.isBuffer(f))throw new TypeError("Argument must be a Buffer");return this===f?!0:0===ea.compare(this,f)};ea.prototype.inspect=function(){var f="",e=y.ZV;0<this.length&&(f=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(f+=" ... "));return"<Buffer "+f+">"};ea.prototype.compare=function(f,e,h,n,r){if(!ea.isBuffer(f))throw new TypeError("Argument must be a Buffer");void 0===e&&(e=0);void 0===h&&
(h=f?f.length:0);void 0===n&&(n=0);void 0===r&&(r=this.length);if(0>e||h>f.length||0>n||r>this.length)throw new RangeError("out of range index");if(n>=r&&e>=h)return 0;if(n>=r)return-1;if(e>=h)return 1;e>>>=0;h>>>=0;n>>>=0;r>>>=0;if(this===f)return 0;var w=r-n,x=h-e,aa=Math.min(w,x);n=this.slice(n,r);f=f.slice(e,h);for(e=0;e<aa;++e)if(n[e]!==f[e]){w=n[e];x=f[e];break}return w<x?-1:x<w?1:0};ea.prototype.includes=function(f,e,h){return-1!==this.indexOf(f,e,h)};ea.prototype.indexOf=function(f,e,h){return ca(this,
f,e,h,!0)};ea.prototype.lastIndexOf=function(f,e,h){return ca(this,f,e,h,!1)};ea.prototype.write=function(f,e,h,n){if(void 0===e)n="utf8",h=this.length,e=0;else if(void 0===h&&"string"===typeof e)n=e,h=this.length,e=0;else if(isFinite(e))e|=0,isFinite(h)?(h|=0,void 0===n&&(n="utf8")):(n=h,h=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var r=this.length-e;if(void 0===h||h>r)h=r;if(0<f.length&&(0>h||0>e)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");
n||(n="utf8");for(r=!1;;)switch(n){case "hex":e=Number(e)||0;n=this.length-e;h?(h=Number(h),h>n&&(h=n)):h=n;n=f.length;if(0!==n%2)throw new TypeError("Invalid hex string");h>n/2&&(h=n/2);for(n=0;n<h;++n){r=parseInt(f.substr(2*n,2),16);if(isNaN(r))break;this[e+n]=r}return n;case "utf8":case "utf-8":return Aa(la(f,this.length-e),this,e,h);case "ascii":return Aa(ma(f),this,e,h);case "latin1":case "binary":return Aa(ma(f),this,e,h);case "base64":return Aa(qa.vU(xa(f)),this,e,h);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":n=
f;r=this.length-e;for(var w=[],x=0;x<n.length&&!(0>(r-=2));++x){var aa=n.charCodeAt(x);f=aa>>8;aa%=256;w.push(aa);w.push(f)}return Aa(w,this,e,h);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase();r=!0}};ea.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this.Ifa||this,0)}};var ra=4096;ea.prototype.slice=function(f,e){var h=this.length;f=~~f;e=void 0===e?h:~~e;0>f?(f+=h,0>f&&(f=0)):f>h&&(f=h);0>e?(e+=h,0>e&&(e=0)):e>h&&(e=h);e<f&&(e=f);
if(ea.ze)e=this.subarray(f,e),e.__proto__=ea.prototype;else{h=e-f;e=new ea(h,void 0);for(var n=0;n<h;++n)e[n]=this[n+f]}return e};ea.prototype.nH=function(f){ka(f,1,this.length);return this[f]};ea.prototype.zv=function(f){ka(f,2,this.length);return this[f]<<8|this[f+1]};ea.prototype.Dea=function(f,e){f=+f;e|=0;ia(this,f,e,1,255,0);ea.ze||(f=Math.floor(f));this[e]=f&255;return e+1};ea.prototype.Cea=function(f,e){f=+f;e|=0;ia(this,f,e,4,4294967295,0);if(ea.ze)this[e]=f>>>24,this[e+1]=f>>>16,this[e+
n||(n="utf8");for(r=!1;;)switch(n){case "hex":e=Number(e)||0;n=this.length-e;h?(h=Number(h),h>n&&(h=n)):h=n;n=f.length;if(0!==n%2)throw new TypeError("Invalid hex string");h>n/2&&(h=n/2);for(n=0;n<h;++n){r=parseInt(f.substr(2*n,2),16);if(isNaN(r))break;this[e+n]=r}return n;case "utf8":case "utf-8":return za(la(f,this.length-e),this,e,h);case "ascii":return za(na(f),this,e,h);case "latin1":case "binary":return za(na(f),this,e,h);case "base64":return za(ra.wU(xa(f)),this,e,h);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":n=
f;r=this.length-e;for(var w=[],x=0;x<n.length&&!(0>(r-=2));++x){var aa=n.charCodeAt(x);f=aa>>8;aa%=256;w.push(aa);w.push(f)}return za(w,this,e,h);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase();r=!0}};ea.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this.Jfa||this,0)}};var sa=4096;ea.prototype.slice=function(f,e){var h=this.length;f=~~f;e=void 0===e?h:~~e;0>f?(f+=h,0>f&&(f=0)):f>h&&(f=h);0>e?(e+=h,0>e&&(e=0)):e>h&&(e=h);e<f&&(e=f);
if(ea.ze)e=this.subarray(f,e),e.__proto__=ea.prototype;else{h=e-f;e=new ea(h,void 0);for(var n=0;n<h;++n)e[n]=this[n+f]}return e};ea.prototype.nH=function(f){ka(f,1,this.length);return this[f]};ea.prototype.zv=function(f){ka(f,2,this.length);return this[f]<<8|this[f+1]};ea.prototype.Eea=function(f,e){f=+f;e|=0;ia(this,f,e,1,255,0);ea.ze||(f=Math.floor(f));this[e]=f&255;return e+1};ea.prototype.Dea=function(f,e){f=+f;e|=0;ia(this,f,e,4,4294967295,0);if(ea.ze)this[e]=f>>>24,this[e+1]=f>>>16,this[e+
2]=f>>>8,this[e+3]=f&255;else{var h=e;0>f&&(f=4294967295+f+1);for(var n=0,r=Math.min(this.length-h,4);n<r;++n)this[h+n]=f>>>8*(3-n)&255}return e+4};ea.prototype.copy=function(f,e,h,n){h||(h=0);n||0===n||(n=this.length);e>=f.length&&(e=f.length);e||(e=0);0<n&&n<h&&(n=h);if(n===h||0===f.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>h||h>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");
n>this.length&&(n=this.length);f.length-e<n-h&&(n=f.length-e+h);var r=n-h;if(this===f&&h<e&&e<n)for(n=r-1;0<=n;--n)f[n+e]=this[n+h];else if(1E3>r||!ea.ze)for(n=0;n<r;++n)f[n+e]=this[n+h];else Uint8Array.prototype.set.call(f,this.subarray(h,h+r),e);return r};ea.prototype.fill=function(f,e,h,n){if("string"===typeof f){"string"===typeof e?(n=e,e=0,h=this.length):"string"===typeof h&&(n=h,h=this.length);if(1===f.length){var r=f.charCodeAt(0);256>r&&(f=r)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");
if("string"===typeof n&&!ea.HP(n))throw new TypeError("Unknown encoding: "+n);}else"number"===typeof f&&(f&=255);if(0>e||this.length<e||this.length<h)throw new RangeError("Out of range index");if(h<=e)return this;e>>>=0;h=void 0===h?this.length:h>>>0;f||(f=0);if("number"===typeof f)for(n=e;n<h;++n)this[n]=f;else for(f=ea.isBuffer(f)?f:la((new ea(f,n)).toString()),r=f.length,n=0;n<h-e;++n)this[n+e]=f[n%r];return this};var oa=/[^+\/0-9A-Za-z-_]/g}).call(this,e(155))},415:function(ia,y){function e(e){var x=
e.length;if(0<x%4)throw Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("=");-1===e&&(e=x);return[e,e===x?0:4-e%4]}function fa(e,ba,w){for(var z=[],r=ba;r<w;r+=3)ba=(e[r]<<16&16711680)+(e[r+1]<<8&65280)+(e[r+2]&255),z.push(x[ba>>18&63]+x[ba>>12&63]+x[ba>>6&63]+x[ba&63]);return z.join("")}y.byteLength=function(x){x=e(x);var ba=x[1];return 3*(x[0]+ba)/4-ba};y.vU=function(x){var ba=e(x);var w=ba[0];ba=ba[1];var z=new ea(3*(w+ba)/4-ba),r=0,h=0<ba?w-4:w,f;for(f=0;f<h;f+=4)w=ha[x.charCodeAt(f)]<<
if("string"===typeof n&&!ea.IP(n))throw new TypeError("Unknown encoding: "+n);}else"number"===typeof f&&(f&=255);if(0>e||this.length<e||this.length<h)throw new RangeError("Out of range index");if(h<=e)return this;e>>>=0;h=void 0===h?this.length:h>>>0;f||(f=0);if("number"===typeof f)for(n=e;n<h;++n)this[n]=f;else for(f=ea.isBuffer(f)?f:la((new ea(f,n)).toString()),r=f.length,n=0;n<h-e;++n)this[n+e]=f[n%r];return this};var oa=/[^+\/0-9A-Za-z-_]/g}).call(this,e(155))},415:function(ia,y){function e(e){var x=
e.length;if(0<x%4)throw Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("=");-1===e&&(e=x);return[e,e===x?0:4-e%4]}function fa(e,ba,w){for(var z=[],r=ba;r<w;r+=3)ba=(e[r]<<16&16711680)+(e[r+1]<<8&65280)+(e[r+2]&255),z.push(x[ba>>18&63]+x[ba>>12&63]+x[ba>>6&63]+x[ba&63]);return z.join("")}y.byteLength=function(x){x=e(x);var ba=x[1];return 3*(x[0]+ba)/4-ba};y.wU=function(x){var ba=e(x);var w=ba[0];ba=ba[1];var z=new ea(3*(w+ba)/4-ba),r=0,h=0<ba?w-4:w,f;for(f=0;f<h;f+=4)w=ha[x.charCodeAt(f)]<<
18|ha[x.charCodeAt(f+1)]<<12|ha[x.charCodeAt(f+2)]<<6|ha[x.charCodeAt(f+3)],z[r++]=w>>16&255,z[r++]=w>>8&255,z[r++]=w&255;2===ba&&(w=ha[x.charCodeAt(f)]<<2|ha[x.charCodeAt(f+1)]>>4,z[r++]=w&255);1===ba&&(w=ha[x.charCodeAt(f)]<<10|ha[x.charCodeAt(f+1)]<<4|ha[x.charCodeAt(f+2)]>>2,z[r++]=w>>8&255,z[r++]=w&255);return z};y.UN=function(e){for(var ba=e.length,w=ba%3,z=[],r=0,h=ba-w;r<h;r+=16383)z.push(fa(e,r,r+16383>h?h:r+16383));1===w?(e=e[ba-1],z.push(x[e>>2]+x[e<<4&63]+"==")):2===w&&(e=(e[ba-2]<<8)+

@@ -30,0 +30,0 @@ e[ba-1],z.push(x[e>>10]+x[e>>4&63]+x[e<<2&63]+"="));return z.join("")};var x=[],ha=[],ea="undefined"!==typeof Uint8Array?Uint8Array:Array;for(ia=0;64>ia;++ia)x[ia]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[ia],ha["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(ia)]=ia;ha[45]=62;ha[95]=63},416:function(ia,y){y.read=function(e,y,x,ha,ea){var da=8*ea-ha-1;var ba=(1<<da)-1,w=ba>>1,z=-7;ea=x?ea-1:0;var r=x?-1:1,h=e[y+ea];ea+=r;x=h&(1<<-z)-1;h>>=-z;

/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[22],{217:function(ia,y,e){y=e(403).assign;var fa=e(418),x=e(421);e=e(411);var ha={};y(ha,fa,x,e);ia.exports=ha},403:function(ia,y){ia="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;y.assign=function(e){for(var x=Array.prototype.slice.call(arguments,1);x.length;){var y=x.shift();if(y){if("object"!==typeof y)throw new TypeError(y+"must be non-object");for(var da in y)Object.prototype.hasOwnProperty.call(y,
da)&&(e[da]=y[da])}}return e};y.xB=function(e,y){if(e.length===y)return e;if(e.subarray)return e.subarray(0,y);e.length=y;return e};var e={Hg:function(e,y,ea,da,ba){if(y.subarray&&e.subarray)e.set(y.subarray(ea,ea+da),ba);else for(var w=0;w<da;w++)e[ba+w]=y[ea+w]},FE:function(e){var x,y;var da=y=0;for(x=e.length;da<x;da++)y+=e[da].length;var ba=new Uint8Array(y);da=y=0;for(x=e.length;da<x;da++){var w=e[da];ba.set(w,y);y+=w.length}return ba}},fa={Hg:function(e,y,ea,da,ba){for(var w=0;w<da;w++)e[ba+
w]=y[ea+w]},FE:function(e){return[].concat.apply([],e)}};y.eda=function(x){x?(y.oh=Uint8Array,y.Zf=Uint16Array,y.rs=Int32Array,y.assign(y,e)):(y.oh=Array,y.Zf=Array,y.rs=Array,y.assign(y,fa))};y.eda(ia)},404:function(ia){ia.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},407:function(ia){ia.exports=function(y,e,fa,x){var ha=y&65535|0;y=y>>>16&65535|0;for(var ea;0!==
da)&&(e[da]=y[da])}}return e};y.xB=function(e,y){if(e.length===y)return e;if(e.subarray)return e.subarray(0,y);e.length=y;return e};var e={Ig:function(e,y,ea,da,ba){if(y.subarray&&e.subarray)e.set(y.subarray(ea,ea+da),ba);else for(var w=0;w<da;w++)e[ba+w]=y[ea+w]},FE:function(e){var x,y;var da=y=0;for(x=e.length;da<x;da++)y+=e[da].length;var ba=new Uint8Array(y);da=y=0;for(x=e.length;da<x;da++){var w=e[da];ba.set(w,y);y+=w.length}return ba}},fa={Ig:function(e,y,ea,da,ba){for(var w=0;w<da;w++)e[ba+
w]=y[ea+w]},FE:function(e){return[].concat.apply([],e)}};y.fda=function(x){x?(y.oh=Uint8Array,y.Zf=Uint16Array,y.rs=Int32Array,y.assign(y,e)):(y.oh=Array,y.Zf=Array,y.rs=Array,y.assign(y,fa))};y.fda(ia)},404:function(ia){ia.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},407:function(ia){ia.exports=function(y,e,fa,x){var ha=y&65535|0;y=y>>>16&65535|0;for(var ea;0!==
fa;){ea=2E3<fa?2E3:fa;fa-=ea;do ha=ha+e[x++]|0,y=y+ha|0;while(--ea);ha%=65521;y%=65521}return ha|y<<16|0}},408:function(ia){var y=function(){for(var e,y=[],x=0;256>x;x++){e=x;for(var ha=0;8>ha;ha++)e=e&1?3988292384^e>>>1:e>>>1;y[x]=e}return y}();ia.exports=function(e,fa,x,ha){x=ha+x;for(e^=-1;ha<x;ha++)e=e>>>8^y[(e^fa[ha])&255];return e^-1}},409:function(ia,y,e){function fa(e,w){if(65534>w&&(e.subarray&&ea||!e.subarray&&ha))return String.fromCharCode.apply(null,x.xB(e,w));for(var y="",r=0;r<w;r++)y+=
String.fromCharCode(e[r]);return y}var x=e(403),ha=!0,ea=!0,da=new x.oh(256);for(ia=0;256>ia;ia++)da[ia]=252<=ia?6:248<=ia?5:240<=ia?4:224<=ia?3:192<=ia?2:1;da[254]=da[254]=1;y.wI=function(e){var w,y,r=e.length,h=0;for(w=0;w<r;w++){var f=e.charCodeAt(w);if(55296===(f&64512)&&w+1<r){var n=e.charCodeAt(w+1);56320===(n&64512)&&(f=65536+(f-55296<<10)+(n-56320),w++)}h+=128>f?1:2048>f?2:65536>f?3:4}var ba=new x.oh(h);for(w=y=0;y<h;w++)f=e.charCodeAt(w),55296===(f&64512)&&w+1<r&&(n=e.charCodeAt(w+1),56320===
(n&64512)&&(f=65536+(f-55296<<10)+(n-56320),w++)),128>f?ba[y++]=f:(2048>f?ba[y++]=192|f>>>6:(65536>f?ba[y++]=224|f>>>12:(ba[y++]=240|f>>>18,ba[y++]=128|f>>>12&63),ba[y++]=128|f>>>6&63),ba[y++]=128|f&63);return ba};y.l_=function(e){return fa(e,e.length)};y.d_=function(e){for(var w=new x.oh(e.length),y=0,r=w.length;y<r;y++)w[y]=e.charCodeAt(y);return w};y.m_=function(e,w){var x,r=w||e.length,h=Array(2*r);for(w=x=0;w<r;){var f=e[w++];if(128>f)h[x++]=f;else{var n=da[f];if(4<n)h[x++]=65533,w+=n-1;else{for(f&=
2===n?31:3===n?15:7;1<n&&w<r;)f=f<<6|e[w++]&63,n--;1<n?h[x++]=65533:65536>f?h[x++]=f:(f-=65536,h[x++]=55296|f>>10&1023,h[x++]=56320|f&1023)}}}return fa(h,x)};y.qea=function(e,w){var x;w=w||e.length;w>e.length&&(w=e.length);for(x=w-1;0<=x&&128===(e[x]&192);)x--;return 0>x||0===x?w:x+da[e[x]]>w?x:w}},410:function(ia){ia.exports=function(){this.input=null;this.Bj=this.Wb=this.df=0;this.output=null;this.Nm=this.Na=this.Sc=0;this.vb="";this.state=null;this.Cy=2;this.bb=0}},411:function(ia){ia.exports=
{LJ:0,xfa:1,MJ:2,ufa:3,Sw:4,mfa:5,Bfa:6,bn:0,Tw:1,DX:2,rfa:-1,zfa:-2,nfa:-3,CX:-5,wfa:0,kfa:1,jfa:9,ofa:-1,sfa:1,vfa:2,yfa:3,tfa:4,pfa:0,lfa:0,Afa:1,Cfa:2,qfa:8}},418:function(ia,y,e){function fa(e){if(!(this instanceof fa))return new fa(e);e=this.options=ea.assign({level:-1,method:8,SD:16384,ac:15,M8:8,zj:0,to:""},e||{});e.raw&&0<e.ac?e.ac=-e.ac:e.eP&&0<e.ac&&16>e.ac&&(e.ac+=16);this.Tn=0;this.vb="";this.ended=!1;this.bk=[];this.eb=new w;this.eb.Na=0;var h=ha.U0(this.eb,e.level,e.method,e.ac,e.M8,
e.zj);if(0!==h)throw Error(ba[h]);e.header&&ha.W0(this.eb,e.header);if(e.Ic&&(e="string"===typeof e.Ic?da.wI(e.Ic):"[object ArrayBuffer]"===z.call(e.Ic)?new Uint8Array(e.Ic):e.Ic,h=ha.V0(this.eb,e),0!==h))throw Error(ba[h]);}function x(e,h){h=new fa(h);h.push(e,!0);if(h.Tn)throw h.vb||ba[h.Tn];return h.result}var ha=e(419),ea=e(403),da=e(409),ba=e(404),w=e(410),z=Object.prototype.toString;fa.prototype.push=function(e,h){var f=this.eb,n=this.options.SD;if(this.ended)return!1;h=h===~~h?h:!0===h?4:0;
"string"===typeof e?f.input=da.wI(e):"[object ArrayBuffer]"===z.call(e)?f.input=new Uint8Array(e):f.input=e;f.df=0;f.Wb=f.input.length;do{0===f.Na&&(f.output=new ea.oh(n),f.Sc=0,f.Na=n);e=ha.Jt(f,h);if(1!==e&&0!==e)return this.oj(e),this.ended=!0,!1;if(0===f.Na||0===f.Wb&&(4===h||2===h))"string"===this.options.to?this.ev(da.l_(ea.xB(f.output,f.Sc))):this.ev(ea.xB(f.output,f.Sc))}while((0<f.Wb||0===f.Na)&&1!==e);if(4===h)return e=ha.T0(this.eb),this.oj(e),this.ended=!0,0===e;2===h&&(this.oj(0),f.Na=
0);return!0};fa.prototype.ev=function(e){this.bk.push(e)};fa.prototype.oj=function(e){0===e&&(this.result="string"===this.options.to?this.bk.join(""):ea.FE(this.bk));this.bk=[];this.Tn=e;this.vb=this.eb.vb};y.Tea=fa;y.Jt=x;y.Qga=function(e,h){h=h||{};h.raw=!0;return x(e,h)};y.eP=function(e,h){h=h||{};h.eP=!0;return x(e,h)}},419:function(ia,y,e){function fa(e,f){e.vb=qa[f];return f}function x(e){for(var f=e.length;0<=--f;)e[f]=0}function ha(e){var f=e.state,h=f.Za;h>e.Na&&(h=e.Na);0!==h&&(xa.Hg(e.output,
f.Nc,f.qv,h,e.Sc),e.Sc+=h,f.qv+=h,e.Nm+=h,e.Na-=h,f.Za-=h,0===f.Za&&(f.qv=0))}function ea(e,f){la.ZY(e,0<=e.cg?e.cg:-1,e.va-e.cg,f);e.cg=e.va;ha(e.eb)}function da(e,f){e.Nc[e.Za++]=f}function ba(e,f){e.Nc[e.Za++]=f>>>8&255;e.Nc[e.Za++]=f&255}function w(e,f){var h=e.qQ,n=e.va,r=e.sg,w=e.HQ,x=e.va>e.Se-262?e.va-(e.Se-262):0,y=e.window,z=e.Qm,aa=e.prev,ba=e.va+258,ca=y[n+r-1],ea=y[n+r];e.sg>=e.bP&&(h>>=2);w>e.Da&&(w=e.Da);do{var da=f;if(y[da+r]===ea&&y[da+r-1]===ca&&y[da]===y[n]&&y[++da]===y[n+1]){n+=
2;for(da++;y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&n<ba;);da=258-(ba-n);n=ba-258;if(da>r){e.jr=f;r=da;if(da>=w)break;ca=y[n+r-1];ea=y[n+r]}}}while((f=aa[f&z])>x&&0!==--h);return r<=e.Da?r:e.Da}function z(e){var f=e.Se,h;do{var n=e.UU-e.Da-e.va;if(e.va>=f+(f-262)){xa.Hg(e.window,e.window,f,f,0);e.jr-=f;e.va-=f;e.cg-=f;var r=h=e.Lz;do{var w=e.head[--r];e.head[r]=w>=f?w-f:0}while(--h);r=h=f;do w=e.prev[--r],
e.prev[r]=w>=f?w-f:0;while(--h);n+=f}if(0===e.eb.Wb)break;r=e.eb;h=e.window;w=e.va+e.Da;var x=r.Wb;x>n&&(x=n);0===x?h=0:(r.Wb-=x,xa.Hg(h,r.input,r.df,x,w),1===r.state.wrap?r.bb=ma(r.bb,h,x,w):2===r.state.wrap&&(r.bb=Aa(r.bb,h,x,w)),r.df+=x,r.Bj+=x,h=x);e.Da+=h;if(3<=e.Da+e.insert)for(n=e.va-e.insert,e.Gb=e.window[n],e.Gb=(e.Gb<<e.sk^e.window[n+1])&e.rk;e.insert&&!(e.Gb=(e.Gb<<e.sk^e.window[n+3-1])&e.rk,e.prev[n&e.Qm]=e.head[e.Gb],e.head[e.Gb]=n,n++,e.insert--,3>e.Da+e.insert););}while(262>e.Da&&0!==
(n&64512)&&(f=65536+(f-55296<<10)+(n-56320),w++)),128>f?ba[y++]=f:(2048>f?ba[y++]=192|f>>>6:(65536>f?ba[y++]=224|f>>>12:(ba[y++]=240|f>>>18,ba[y++]=128|f>>>12&63),ba[y++]=128|f>>>6&63),ba[y++]=128|f&63);return ba};y.m_=function(e){return fa(e,e.length)};y.e_=function(e){for(var w=new x.oh(e.length),y=0,r=w.length;y<r;y++)w[y]=e.charCodeAt(y);return w};y.n_=function(e,w){var x,r=w||e.length,h=Array(2*r);for(w=x=0;w<r;){var f=e[w++];if(128>f)h[x++]=f;else{var n=da[f];if(4<n)h[x++]=65533,w+=n-1;else{for(f&=
2===n?31:3===n?15:7;1<n&&w<r;)f=f<<6|e[w++]&63,n--;1<n?h[x++]=65533:65536>f?h[x++]=f:(f-=65536,h[x++]=55296|f>>10&1023,h[x++]=56320|f&1023)}}}return fa(h,x)};y.rea=function(e,w){var x;w=w||e.length;w>e.length&&(w=e.length);for(x=w-1;0<=x&&128===(e[x]&192);)x--;return 0>x||0===x?w:x+da[e[x]]>w?x:w}},410:function(ia){ia.exports=function(){this.input=null;this.Bj=this.Wb=this.df=0;this.output=null;this.Nm=this.Na=this.Sc=0;this.vb="";this.state=null;this.Cy=2;this.bb=0}},411:function(ia){ia.exports=
{LJ:0,yfa:1,MJ:2,vfa:3,Sw:4,nfa:5,Cfa:6,bn:0,Tw:1,EX:2,sfa:-1,Afa:-2,ofa:-3,DX:-5,xfa:0,lfa:1,kfa:9,pfa:-1,tfa:1,wfa:2,zfa:3,ufa:4,qfa:0,mfa:0,Bfa:1,Dfa:2,rfa:8}},418:function(ia,y,e){function fa(e){if(!(this instanceof fa))return new fa(e);e=this.options=ea.assign({level:-1,method:8,SD:16384,ac:15,N8:8,zj:0,to:""},e||{});e.raw&&0<e.ac?e.ac=-e.ac:e.fP&&0<e.ac&&16>e.ac&&(e.ac+=16);this.Tn=0;this.vb="";this.ended=!1;this.bk=[];this.eb=new w;this.eb.Na=0;var h=ha.V0(this.eb,e.level,e.method,e.ac,e.N8,
e.zj);if(0!==h)throw Error(ba[h]);e.header&&ha.X0(this.eb,e.header);if(e.Kc&&(e="string"===typeof e.Kc?da.wI(e.Kc):"[object ArrayBuffer]"===z.call(e.Kc)?new Uint8Array(e.Kc):e.Kc,h=ha.W0(this.eb,e),0!==h))throw Error(ba[h]);}function x(e,h){h=new fa(h);h.push(e,!0);if(h.Tn)throw h.vb||ba[h.Tn];return h.result}var ha=e(419),ea=e(403),da=e(409),ba=e(404),w=e(410),z=Object.prototype.toString;fa.prototype.push=function(e,h){var f=this.eb,n=this.options.SD;if(this.ended)return!1;h=h===~~h?h:!0===h?4:0;
"string"===typeof e?f.input=da.wI(e):"[object ArrayBuffer]"===z.call(e)?f.input=new Uint8Array(e):f.input=e;f.df=0;f.Wb=f.input.length;do{0===f.Na&&(f.output=new ea.oh(n),f.Sc=0,f.Na=n);e=ha.Jt(f,h);if(1!==e&&0!==e)return this.oj(e),this.ended=!0,!1;if(0===f.Na||0===f.Wb&&(4===h||2===h))"string"===this.options.to?this.ev(da.m_(ea.xB(f.output,f.Sc))):this.ev(ea.xB(f.output,f.Sc))}while((0<f.Wb||0===f.Na)&&1!==e);if(4===h)return e=ha.U0(this.eb),this.oj(e),this.ended=!0,0===e;2===h&&(this.oj(0),f.Na=
0);return!0};fa.prototype.ev=function(e){this.bk.push(e)};fa.prototype.oj=function(e){0===e&&(this.result="string"===this.options.to?this.bk.join(""):ea.FE(this.bk));this.bk=[];this.Tn=e;this.vb=this.eb.vb};y.Uea=fa;y.Jt=x;y.Rga=function(e,h){h=h||{};h.raw=!0;return x(e,h)};y.fP=function(e,h){h=h||{};h.fP=!0;return x(e,h)}},419:function(ia,y,e){function fa(e,f){e.vb=ra[f];return f}function x(e){for(var f=e.length;0<=--f;)e[f]=0}function ha(e){var f=e.state,h=f.Za;h>e.Na&&(h=e.Na);0!==h&&(xa.Ig(e.output,
f.Nc,f.qv,h,e.Sc),e.Sc+=h,f.qv+=h,e.Nm+=h,e.Na-=h,f.Za-=h,0===f.Za&&(f.qv=0))}function ea(e,f){la.$Y(e,0<=e.cg?e.cg:-1,e.va-e.cg,f);e.cg=e.va;ha(e.eb)}function da(e,f){e.Nc[e.Za++]=f}function ba(e,f){e.Nc[e.Za++]=f>>>8&255;e.Nc[e.Za++]=f&255}function w(e,f){var h=e.rQ,n=e.va,r=e.tg,w=e.IQ,x=e.va>e.Se-262?e.va-(e.Se-262):0,y=e.window,z=e.Qm,aa=e.prev,ba=e.va+258,ca=y[n+r-1],ea=y[n+r];e.tg>=e.cP&&(h>>=2);w>e.Da&&(w=e.Da);do{var da=f;if(y[da+r]===ea&&y[da+r-1]===ca&&y[da]===y[n]&&y[++da]===y[n+1]){n+=
2;for(da++;y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&y[++n]===y[++da]&&n<ba;);da=258-(ba-n);n=ba-258;if(da>r){e.jr=f;r=da;if(da>=w)break;ca=y[n+r-1];ea=y[n+r]}}}while((f=aa[f&z])>x&&0!==--h);return r<=e.Da?r:e.Da}function z(e){var f=e.Se,h;do{var n=e.VU-e.Da-e.va;if(e.va>=f+(f-262)){xa.Ig(e.window,e.window,f,f,0);e.jr-=f;e.va-=f;e.cg-=f;var r=h=e.Lz;do{var w=e.head[--r];e.head[r]=w>=f?w-f:0}while(--h);r=h=f;do w=e.prev[--r],
e.prev[r]=w>=f?w-f:0;while(--h);n+=f}if(0===e.eb.Wb)break;r=e.eb;h=e.window;w=e.va+e.Da;var x=r.Wb;x>n&&(x=n);0===x?h=0:(r.Wb-=x,xa.Ig(h,r.input,r.df,x,w),1===r.state.wrap?r.bb=na(r.bb,h,x,w):2===r.state.wrap&&(r.bb=za(r.bb,h,x,w)),r.df+=x,r.Bj+=x,h=x);e.Da+=h;if(3<=e.Da+e.insert)for(n=e.va-e.insert,e.Gb=e.window[n],e.Gb=(e.Gb<<e.sk^e.window[n+1])&e.rk;e.insert&&!(e.Gb=(e.Gb<<e.sk^e.window[n+3-1])&e.rk,e.prev[n&e.Qm]=e.head[e.Gb],e.head[e.Gb]=n,n++,e.insert--,3>e.Da+e.insert););}while(262>e.Da&&0!==
e.eb.Wb)}function r(e,f){for(var h;;){if(262>e.Da){z(e);if(262>e.Da&&0===f)return 1;if(0===e.Da)break}h=0;3<=e.Da&&(e.Gb=(e.Gb<<e.sk^e.window[e.va+3-1])&e.rk,h=e.prev[e.va&e.Qm]=e.head[e.Gb],e.head[e.Gb]=e.va);0!==h&&e.va-h<=e.Se-262&&(e.Sb=w(e,h));if(3<=e.Sb)if(h=la.El(e,e.va-e.jr,e.Sb-3),e.Da-=e.Sb,e.Sb<=e.wG&&3<=e.Da){e.Sb--;do e.va++,e.Gb=(e.Gb<<e.sk^e.window[e.va+3-1])&e.rk,e.prev[e.va&e.Qm]=e.head[e.Gb],e.head[e.Gb]=e.va;while(0!==--e.Sb);e.va++}else e.va+=e.Sb,e.Sb=0,e.Gb=e.window[e.va],e.Gb=
(e.Gb<<e.sk^e.window[e.va+1])&e.rk;else h=la.El(e,0,e.window[e.va]),e.Da--,e.va++;if(h&&(ea(e,!1),0===e.eb.Na))return 1}e.insert=2>e.va?e.va:2;return 4===f?(ea(e,!0),0===e.eb.Na?3:4):e.Wg&&(ea(e,!1),0===e.eb.Na)?1:2}function h(e,f){for(var h,n;;){if(262>e.Da){z(e);if(262>e.Da&&0===f)return 1;if(0===e.Da)break}h=0;3<=e.Da&&(e.Gb=(e.Gb<<e.sk^e.window[e.va+3-1])&e.rk,h=e.prev[e.va&e.Qm]=e.head[e.Gb],e.head[e.Gb]=e.va);e.sg=e.Sb;e.FR=e.jr;e.Sb=2;0!==h&&e.sg<e.wG&&e.va-h<=e.Se-262&&(e.Sb=w(e,h),5>=e.Sb&&
(1===e.zj||3===e.Sb&&4096<e.va-e.jr)&&(e.Sb=2));if(3<=e.sg&&e.Sb<=e.sg){n=e.va+e.Da-3;h=la.El(e,e.va-1-e.FR,e.sg-3);e.Da-=e.sg-1;e.sg-=2;do++e.va<=n&&(e.Gb=(e.Gb<<e.sk^e.window[e.va+3-1])&e.rk,e.prev[e.va&e.Qm]=e.head[e.Gb],e.head[e.Gb]=e.va);while(0!==--e.sg);e.Co=0;e.Sb=2;e.va++;if(h&&(ea(e,!1),0===e.eb.Na))return 1}else if(e.Co){if((h=la.El(e,0,e.window[e.va-1]))&&ea(e,!1),e.va++,e.Da--,0===e.eb.Na)return 1}else e.Co=1,e.va++,e.Da--}e.Co&&(la.El(e,0,e.window[e.va-1]),e.Co=0);e.insert=2>e.va?e.va:
(e.Gb<<e.sk^e.window[e.va+1])&e.rk;else h=la.El(e,0,e.window[e.va]),e.Da--,e.va++;if(h&&(ea(e,!1),0===e.eb.Na))return 1}e.insert=2>e.va?e.va:2;return 4===f?(ea(e,!0),0===e.eb.Na?3:4):e.Wg&&(ea(e,!1),0===e.eb.Na)?1:2}function h(e,f){for(var h,n;;){if(262>e.Da){z(e);if(262>e.Da&&0===f)return 1;if(0===e.Da)break}h=0;3<=e.Da&&(e.Gb=(e.Gb<<e.sk^e.window[e.va+3-1])&e.rk,h=e.prev[e.va&e.Qm]=e.head[e.Gb],e.head[e.Gb]=e.va);e.tg=e.Sb;e.GR=e.jr;e.Sb=2;0!==h&&e.tg<e.wG&&e.va-h<=e.Se-262&&(e.Sb=w(e,h),5>=e.Sb&&
(1===e.zj||3===e.Sb&&4096<e.va-e.jr)&&(e.Sb=2));if(3<=e.tg&&e.Sb<=e.tg){n=e.va+e.Da-3;h=la.El(e,e.va-1-e.GR,e.tg-3);e.Da-=e.tg-1;e.tg-=2;do++e.va<=n&&(e.Gb=(e.Gb<<e.sk^e.window[e.va+3-1])&e.rk,e.prev[e.va&e.Qm]=e.head[e.Gb],e.head[e.Gb]=e.va);while(0!==--e.tg);e.Co=0;e.Sb=2;e.va++;if(h&&(ea(e,!1),0===e.eb.Na))return 1}else if(e.Co){if((h=la.El(e,0,e.window[e.va-1]))&&ea(e,!1),e.va++,e.Da--,0===e.eb.Na)return 1}else e.Co=1,e.va++,e.Da--}e.Co&&(la.El(e,0,e.window[e.va-1]),e.Co=0);e.insert=2>e.va?e.va:
2;return 4===f?(ea(e,!0),0===e.eb.Na?3:4):e.Wg&&(ea(e,!1),0===e.eb.Na)?1:2}function f(e,f){for(var h,n,r,w=e.window;;){if(258>=e.Da){z(e);if(258>=e.Da&&0===f)return 1;if(0===e.Da)break}e.Sb=0;if(3<=e.Da&&0<e.va&&(n=e.va-1,h=w[n],h===w[++n]&&h===w[++n]&&h===w[++n])){for(r=e.va+258;h===w[++n]&&h===w[++n]&&h===w[++n]&&h===w[++n]&&h===w[++n]&&h===w[++n]&&h===w[++n]&&h===w[++n]&&n<r;);e.Sb=258-(r-n);e.Sb>e.Da&&(e.Sb=e.Da)}3<=e.Sb?(h=la.El(e,1,e.Sb-3),e.Da-=e.Sb,e.va+=e.Sb,e.Sb=0):(h=la.El(e,0,e.window[e.va]),
e.Da--,e.va++);if(h&&(ea(e,!1),0===e.eb.Na))return 1}e.insert=0;return 4===f?(ea(e,!0),0===e.eb.Na?3:4):e.Wg&&(ea(e,!1),0===e.eb.Na)?1:2}function n(e,f){for(var h;;){if(0===e.Da&&(z(e),0===e.Da)){if(0===f)return 1;break}e.Sb=0;h=la.El(e,0,e.window[e.va]);e.Da--;e.va++;if(h&&(ea(e,!1),0===e.eb.Na))return 1}e.insert=0;return 4===f?(ea(e,!0),0===e.eb.Na?3:4):e.Wg&&(ea(e,!1),0===e.eb.Na)?1:2}function ca(e,f,h,n,r){this.H6=e;this.I8=f;this.d9=h;this.H8=n;this.func=r}function aa(){this.eb=null;this.status=
0;this.Nc=null;this.wrap=this.Za=this.qv=this.dh=0;this.ub=null;this.Sh=0;this.method=8;this.dr=-1;this.Qm=this.SI=this.Se=0;this.window=null;this.UU=0;this.head=this.prev=null;this.HQ=this.bP=this.zj=this.level=this.wG=this.qQ=this.sg=this.Da=this.jr=this.va=this.Co=this.FR=this.Sb=this.cg=this.sk=this.rk=this.KF=this.Lz=this.Gb=0;this.Bf=new xa.Zf(1146);this.On=new xa.Zf(122);this.Ee=new xa.Zf(78);x(this.Bf);x(this.On);x(this.Ee);this.iM=this.By=this.iA=null;this.Xj=new xa.Zf(16);this.Rc=new xa.Zf(573);
x(this.Rc);this.Pq=this.uk=0;this.depth=new xa.Zf(573);x(this.depth);this.de=this.Xe=this.insert=this.matches=this.Ur=this.Lk=this.Gt=this.Wg=this.Ru=this.lG=0}function ja(e){if(!e||!e.state)return fa(e,-2);e.Bj=e.Nm=0;e.Cy=2;var f=e.state;f.Za=0;f.qv=0;0>f.wrap&&(f.wrap=-f.wrap);f.status=f.wrap?42:113;e.bb=2===f.wrap?0:1;f.dr=0;la.$Y(f);return 0}function ka(e){var f=ja(e);0===f&&(e=e.state,e.UU=2*e.Se,x(e.head),e.wG=Ea[e.level].I8,e.bP=Ea[e.level].H6,e.HQ=Ea[e.level].d9,e.qQ=Ea[e.level].H8,e.va=
0,e.cg=0,e.Da=0,e.insert=0,e.Sb=e.sg=2,e.Co=0,e.Gb=0);return f}function ya(e,f,h,n,r,w){if(!e)return-2;var x=1;-1===f&&(f=6);0>n?(x=0,n=-n):15<n&&(x=2,n-=16);if(1>r||9<r||8!==h||8>n||15<n||0>f||9<f||0>w||4<w)return fa(e,-2);8===n&&(n=9);var y=new aa;e.state=y;y.eb=e;y.wrap=x;y.ub=null;y.SI=n;y.Se=1<<y.SI;y.Qm=y.Se-1;y.KF=r+7;y.Lz=1<<y.KF;y.rk=y.Lz-1;y.sk=~~((y.KF+3-1)/3);y.window=new xa.oh(2*y.Se);y.head=new xa.Zf(y.Lz);y.prev=new xa.Zf(y.Se);y.Ru=1<<r+6;y.dh=4*y.Ru;y.Nc=new xa.oh(y.dh);y.Gt=1*y.Ru;
y.lG=3*y.Ru;y.level=f;y.zj=w;y.method=h;return ka(e)}var xa=e(403),la=e(420),ma=e(407),Aa=e(408),qa=e(404);var Ea=[new ca(0,0,0,0,function(e,f){var h=65535;for(h>e.dh-5&&(h=e.dh-5);;){if(1>=e.Da){z(e);if(0===e.Da&&0===f)return 1;if(0===e.Da)break}e.va+=e.Da;e.Da=0;var n=e.cg+h;if(0===e.va||e.va>=n)if(e.Da=e.va-n,e.va=n,ea(e,!1),0===e.eb.Na)return 1;if(e.va-e.cg>=e.Se-262&&(ea(e,!1),0===e.eb.Na))return 1}e.insert=0;if(4===f)return ea(e,!0),0===e.eb.Na?3:4;e.va>e.cg&&ea(e,!1);return 1}),new ca(4,4,
8,4,r),new ca(4,5,16,8,r),new ca(4,6,32,32,r),new ca(4,4,16,16,h),new ca(8,16,32,32,h),new ca(8,16,128,128,h),new ca(8,32,128,256,h),new ca(32,128,258,1024,h),new ca(32,258,258,4096,h)];y.Pga=function(e,f){return ya(e,f,8,15,8,0)};y.U0=ya;y.Rga=ka;y.Sga=ja;y.W0=function(e,f){e&&e.state&&2===e.state.wrap&&(e.state.ub=f)};y.Jt=function(e,h){if(!e||!e.state||5<h||0>h)return e?fa(e,-2):-2;var r=e.state;if(!e.output||!e.input&&0!==e.Wb||666===r.status&&4!==h)return fa(e,0===e.Na?-5:-2);r.eb=e;var w=r.dr;
r.dr=h;if(42===r.status)if(2===r.wrap)e.bb=0,da(r,31),da(r,139),da(r,8),r.ub?(da(r,(r.ub.text?1:0)+(r.ub.ej?2:0)+(r.ub.Xb?4:0)+(r.ub.name?8:0)+(r.ub.Hn?16:0)),da(r,r.ub.time&255),da(r,r.ub.time>>8&255),da(r,r.ub.time>>16&255),da(r,r.ub.time>>24&255),da(r,9===r.level?2:2<=r.zj||2>r.level?4:0),da(r,r.ub.YQ&255),r.ub.Xb&&r.ub.Xb.length&&(da(r,r.ub.Xb.length&255),da(r,r.ub.Xb.length>>8&255)),r.ub.ej&&(e.bb=Aa(e.bb,r.Nc,r.Za,0)),r.Sh=0,r.status=69):(da(r,0),da(r,0),da(r,0),da(r,0),da(r,0),da(r,9===r.level?
2:2<=r.zj||2>r.level?4:0),da(r,3),r.status=113);else{var y=8+(r.SI-8<<4)<<8;y|=(2<=r.zj||2>r.level?0:6>r.level?1:6===r.level?2:3)<<6;0!==r.va&&(y|=32);r.status=113;ba(r,y+(31-y%31));0!==r.va&&(ba(r,e.bb>>>16),ba(r,e.bb&65535));e.bb=1}if(69===r.status)if(r.ub.Xb){for(y=r.Za;r.Sh<(r.ub.Xb.length&65535)&&(r.Za!==r.dh||(r.ub.ej&&r.Za>y&&(e.bb=Aa(e.bb,r.Nc,r.Za-y,y)),ha(e),y=r.Za,r.Za!==r.dh));)da(r,r.ub.Xb[r.Sh]&255),r.Sh++;r.ub.ej&&r.Za>y&&(e.bb=Aa(e.bb,r.Nc,r.Za-y,y));r.Sh===r.ub.Xb.length&&(r.Sh=0,
r.status=73)}else r.status=73;if(73===r.status)if(r.ub.name){y=r.Za;do{if(r.Za===r.dh&&(r.ub.ej&&r.Za>y&&(e.bb=Aa(e.bb,r.Nc,r.Za-y,y)),ha(e),y=r.Za,r.Za===r.dh)){var z=1;break}z=r.Sh<r.ub.name.length?r.ub.name.charCodeAt(r.Sh++)&255:0;da(r,z)}while(0!==z);r.ub.ej&&r.Za>y&&(e.bb=Aa(e.bb,r.Nc,r.Za-y,y));0===z&&(r.Sh=0,r.status=91)}else r.status=91;if(91===r.status)if(r.ub.Hn){y=r.Za;do{if(r.Za===r.dh&&(r.ub.ej&&r.Za>y&&(e.bb=Aa(e.bb,r.Nc,r.Za-y,y)),ha(e),y=r.Za,r.Za===r.dh)){z=1;break}z=r.Sh<r.ub.Hn.length?
r.ub.Hn.charCodeAt(r.Sh++)&255:0;da(r,z)}while(0!==z);r.ub.ej&&r.Za>y&&(e.bb=Aa(e.bb,r.Nc,r.Za-y,y));0===z&&(r.status=103)}else r.status=103;103===r.status&&(r.ub.ej?(r.Za+2>r.dh&&ha(e),r.Za+2<=r.dh&&(da(r,e.bb&255),da(r,e.bb>>8&255),e.bb=0,r.status=113)):r.status=113);if(0!==r.Za){if(ha(e),0===e.Na)return r.dr=-1,0}else if(0===e.Wb&&(h<<1)-(4<h?9:0)<=(w<<1)-(4<w?9:0)&&4!==h)return fa(e,-5);if(666===r.status&&0!==e.Wb)return fa(e,-5);if(0!==e.Wb||0!==r.Da||0!==h&&666!==r.status){w=2===r.zj?n(r,h):
3===r.zj?f(r,h):Ea[r.level].func(r,h);if(3===w||4===w)r.status=666;if(1===w||3===w)return 0===e.Na&&(r.dr=-1),0;if(2===w&&(1===h?la.YY(r):5!==h&&(la.aZ(r,0,0,!1),3===h&&(x(r.head),0===r.Da&&(r.va=0,r.cg=0,r.insert=0))),ha(e),0===e.Na))return r.dr=-1,0}if(4!==h)return 0;if(0>=r.wrap)return 1;2===r.wrap?(da(r,e.bb&255),da(r,e.bb>>8&255),da(r,e.bb>>16&255),da(r,e.bb>>24&255),da(r,e.Bj&255),da(r,e.Bj>>8&255),da(r,e.Bj>>16&255),da(r,e.Bj>>24&255)):(ba(r,e.bb>>>16),ba(r,e.bb&65535));ha(e);0<r.wrap&&(r.wrap=
-r.wrap);return 0!==r.Za?0:1};y.T0=function(e){if(!e||!e.state)return-2;var f=e.state.status;if(42!==f&&69!==f&&73!==f&&91!==f&&103!==f&&113!==f&&666!==f)return fa(e,-2);e.state=null;return 113===f?fa(e,-3):0};y.V0=function(e,f){var h=f.length;if(!e||!e.state)return-2;var n=e.state;var r=n.wrap;if(2===r||1===r&&42!==n.status||n.Da)return-2;1===r&&(e.bb=ma(e.bb,f,h,0));n.wrap=0;if(h>=n.Se){0===r&&(x(n.head),n.va=0,n.cg=0,n.insert=0);var w=new xa.oh(n.Se);xa.Hg(w,f,h-n.Se,n.Se,0);f=w;h=n.Se}w=e.Wb;
var y=e.df;var aa=e.input;e.Wb=h;e.df=0;e.input=f;for(z(n);3<=n.Da;){f=n.va;h=n.Da-2;do n.Gb=(n.Gb<<n.sk^n.window[f+3-1])&n.rk,n.prev[f&n.Qm]=n.head[n.Gb],n.head[n.Gb]=f,f++;while(--h);n.va=f;n.Da=2;z(n)}n.va+=n.Da;n.cg=n.va;n.insert=n.Da;n.Da=0;n.Sb=n.sg=2;n.Co=0;e.df=y;e.input=aa;e.Wb=w;n.wrap=r;return 0};y.Oga="pako deflate (from Nodeca project)"},420:function(ia,y,e){function fa(e){for(var f=e.length;0<=--f;)e[f]=0}function x(e,f,h,n,r){this.gU=e;this.u3=f;this.t3=h;this.J2=n;this.J8=r;this.jP=
e.Da--,e.va++);if(h&&(ea(e,!1),0===e.eb.Na))return 1}e.insert=0;return 4===f?(ea(e,!0),0===e.eb.Na?3:4):e.Wg&&(ea(e,!1),0===e.eb.Na)?1:2}function n(e,f){for(var h;;){if(0===e.Da&&(z(e),0===e.Da)){if(0===f)return 1;break}e.Sb=0;h=la.El(e,0,e.window[e.va]);e.Da--;e.va++;if(h&&(ea(e,!1),0===e.eb.Na))return 1}e.insert=0;return 4===f?(ea(e,!0),0===e.eb.Na?3:4):e.Wg&&(ea(e,!1),0===e.eb.Na)?1:2}function ca(e,f,h,n,r){this.I6=e;this.J8=f;this.e9=h;this.I8=n;this.func=r}function aa(){this.eb=null;this.status=
0;this.Nc=null;this.wrap=this.Za=this.qv=this.dh=0;this.ub=null;this.Sh=0;this.method=8;this.dr=-1;this.Qm=this.SI=this.Se=0;this.window=null;this.VU=0;this.head=this.prev=null;this.IQ=this.cP=this.zj=this.level=this.wG=this.rQ=this.tg=this.Da=this.jr=this.va=this.Co=this.GR=this.Sb=this.cg=this.sk=this.rk=this.KF=this.Lz=this.Gb=0;this.Bf=new xa.Zf(1146);this.On=new xa.Zf(122);this.Ee=new xa.Zf(78);x(this.Bf);x(this.On);x(this.Ee);this.iM=this.By=this.iA=null;this.Xj=new xa.Zf(16);this.Rc=new xa.Zf(573);
x(this.Rc);this.Pq=this.uk=0;this.depth=new xa.Zf(573);x(this.depth);this.de=this.Xe=this.insert=this.matches=this.Ur=this.Lk=this.Gt=this.Wg=this.Ru=this.lG=0}function ja(e){if(!e||!e.state)return fa(e,-2);e.Bj=e.Nm=0;e.Cy=2;var f=e.state;f.Za=0;f.qv=0;0>f.wrap&&(f.wrap=-f.wrap);f.status=f.wrap?42:113;e.bb=2===f.wrap?0:1;f.dr=0;la.aZ(f);return 0}function ka(e){var f=ja(e);0===f&&(e=e.state,e.VU=2*e.Se,x(e.head),e.wG=Da[e.level].J8,e.cP=Da[e.level].I6,e.IQ=Da[e.level].e9,e.rQ=Da[e.level].I8,e.va=
0,e.cg=0,e.Da=0,e.insert=0,e.Sb=e.tg=2,e.Co=0,e.Gb=0);return f}function pa(e,f,h,n,r,w){if(!e)return-2;var x=1;-1===f&&(f=6);0>n?(x=0,n=-n):15<n&&(x=2,n-=16);if(1>r||9<r||8!==h||8>n||15<n||0>f||9<f||0>w||4<w)return fa(e,-2);8===n&&(n=9);var y=new aa;e.state=y;y.eb=e;y.wrap=x;y.ub=null;y.SI=n;y.Se=1<<y.SI;y.Qm=y.Se-1;y.KF=r+7;y.Lz=1<<y.KF;y.rk=y.Lz-1;y.sk=~~((y.KF+3-1)/3);y.window=new xa.oh(2*y.Se);y.head=new xa.Zf(y.Lz);y.prev=new xa.Zf(y.Se);y.Ru=1<<r+6;y.dh=4*y.Ru;y.Nc=new xa.oh(y.dh);y.Gt=1*y.Ru;
y.lG=3*y.Ru;y.level=f;y.zj=w;y.method=h;return ka(e)}var xa=e(403),la=e(420),na=e(407),za=e(408),ra=e(404);var Da=[new ca(0,0,0,0,function(e,f){var h=65535;for(h>e.dh-5&&(h=e.dh-5);;){if(1>=e.Da){z(e);if(0===e.Da&&0===f)return 1;if(0===e.Da)break}e.va+=e.Da;e.Da=0;var n=e.cg+h;if(0===e.va||e.va>=n)if(e.Da=e.va-n,e.va=n,ea(e,!1),0===e.eb.Na)return 1;if(e.va-e.cg>=e.Se-262&&(ea(e,!1),0===e.eb.Na))return 1}e.insert=0;if(4===f)return ea(e,!0),0===e.eb.Na?3:4;e.va>e.cg&&ea(e,!1);return 1}),new ca(4,4,
8,4,r),new ca(4,5,16,8,r),new ca(4,6,32,32,r),new ca(4,4,16,16,h),new ca(8,16,32,32,h),new ca(8,16,128,128,h),new ca(8,32,128,256,h),new ca(32,128,258,1024,h),new ca(32,258,258,4096,h)];y.Qga=function(e,f){return pa(e,f,8,15,8,0)};y.V0=pa;y.Sga=ka;y.Tga=ja;y.X0=function(e,f){e&&e.state&&2===e.state.wrap&&(e.state.ub=f)};y.Jt=function(e,h){if(!e||!e.state||5<h||0>h)return e?fa(e,-2):-2;var r=e.state;if(!e.output||!e.input&&0!==e.Wb||666===r.status&&4!==h)return fa(e,0===e.Na?-5:-2);r.eb=e;var w=r.dr;
r.dr=h;if(42===r.status)if(2===r.wrap)e.bb=0,da(r,31),da(r,139),da(r,8),r.ub?(da(r,(r.ub.text?1:0)+(r.ub.ej?2:0)+(r.ub.Xb?4:0)+(r.ub.name?8:0)+(r.ub.Hn?16:0)),da(r,r.ub.time&255),da(r,r.ub.time>>8&255),da(r,r.ub.time>>16&255),da(r,r.ub.time>>24&255),da(r,9===r.level?2:2<=r.zj||2>r.level?4:0),da(r,r.ub.ZQ&255),r.ub.Xb&&r.ub.Xb.length&&(da(r,r.ub.Xb.length&255),da(r,r.ub.Xb.length>>8&255)),r.ub.ej&&(e.bb=za(e.bb,r.Nc,r.Za,0)),r.Sh=0,r.status=69):(da(r,0),da(r,0),da(r,0),da(r,0),da(r,0),da(r,9===r.level?
2:2<=r.zj||2>r.level?4:0),da(r,3),r.status=113);else{var y=8+(r.SI-8<<4)<<8;y|=(2<=r.zj||2>r.level?0:6>r.level?1:6===r.level?2:3)<<6;0!==r.va&&(y|=32);r.status=113;ba(r,y+(31-y%31));0!==r.va&&(ba(r,e.bb>>>16),ba(r,e.bb&65535));e.bb=1}if(69===r.status)if(r.ub.Xb){for(y=r.Za;r.Sh<(r.ub.Xb.length&65535)&&(r.Za!==r.dh||(r.ub.ej&&r.Za>y&&(e.bb=za(e.bb,r.Nc,r.Za-y,y)),ha(e),y=r.Za,r.Za!==r.dh));)da(r,r.ub.Xb[r.Sh]&255),r.Sh++;r.ub.ej&&r.Za>y&&(e.bb=za(e.bb,r.Nc,r.Za-y,y));r.Sh===r.ub.Xb.length&&(r.Sh=0,
r.status=73)}else r.status=73;if(73===r.status)if(r.ub.name){y=r.Za;do{if(r.Za===r.dh&&(r.ub.ej&&r.Za>y&&(e.bb=za(e.bb,r.Nc,r.Za-y,y)),ha(e),y=r.Za,r.Za===r.dh)){var z=1;break}z=r.Sh<r.ub.name.length?r.ub.name.charCodeAt(r.Sh++)&255:0;da(r,z)}while(0!==z);r.ub.ej&&r.Za>y&&(e.bb=za(e.bb,r.Nc,r.Za-y,y));0===z&&(r.Sh=0,r.status=91)}else r.status=91;if(91===r.status)if(r.ub.Hn){y=r.Za;do{if(r.Za===r.dh&&(r.ub.ej&&r.Za>y&&(e.bb=za(e.bb,r.Nc,r.Za-y,y)),ha(e),y=r.Za,r.Za===r.dh)){z=1;break}z=r.Sh<r.ub.Hn.length?
r.ub.Hn.charCodeAt(r.Sh++)&255:0;da(r,z)}while(0!==z);r.ub.ej&&r.Za>y&&(e.bb=za(e.bb,r.Nc,r.Za-y,y));0===z&&(r.status=103)}else r.status=103;103===r.status&&(r.ub.ej?(r.Za+2>r.dh&&ha(e),r.Za+2<=r.dh&&(da(r,e.bb&255),da(r,e.bb>>8&255),e.bb=0,r.status=113)):r.status=113);if(0!==r.Za){if(ha(e),0===e.Na)return r.dr=-1,0}else if(0===e.Wb&&(h<<1)-(4<h?9:0)<=(w<<1)-(4<w?9:0)&&4!==h)return fa(e,-5);if(666===r.status&&0!==e.Wb)return fa(e,-5);if(0!==e.Wb||0!==r.Da||0!==h&&666!==r.status){w=2===r.zj?n(r,h):
3===r.zj?f(r,h):Da[r.level].func(r,h);if(3===w||4===w)r.status=666;if(1===w||3===w)return 0===e.Na&&(r.dr=-1),0;if(2===w&&(1===h?la.ZY(r):5!==h&&(la.bZ(r,0,0,!1),3===h&&(x(r.head),0===r.Da&&(r.va=0,r.cg=0,r.insert=0))),ha(e),0===e.Na))return r.dr=-1,0}if(4!==h)return 0;if(0>=r.wrap)return 1;2===r.wrap?(da(r,e.bb&255),da(r,e.bb>>8&255),da(r,e.bb>>16&255),da(r,e.bb>>24&255),da(r,e.Bj&255),da(r,e.Bj>>8&255),da(r,e.Bj>>16&255),da(r,e.Bj>>24&255)):(ba(r,e.bb>>>16),ba(r,e.bb&65535));ha(e);0<r.wrap&&(r.wrap=
-r.wrap);return 0!==r.Za?0:1};y.U0=function(e){if(!e||!e.state)return-2;var f=e.state.status;if(42!==f&&69!==f&&73!==f&&91!==f&&103!==f&&113!==f&&666!==f)return fa(e,-2);e.state=null;return 113===f?fa(e,-3):0};y.W0=function(e,f){var h=f.length;if(!e||!e.state)return-2;var n=e.state;var r=n.wrap;if(2===r||1===r&&42!==n.status||n.Da)return-2;1===r&&(e.bb=na(e.bb,f,h,0));n.wrap=0;if(h>=n.Se){0===r&&(x(n.head),n.va=0,n.cg=0,n.insert=0);var w=new xa.oh(n.Se);xa.Ig(w,f,h-n.Se,n.Se,0);f=w;h=n.Se}w=e.Wb;
var y=e.df;var aa=e.input;e.Wb=h;e.df=0;e.input=f;for(z(n);3<=n.Da;){f=n.va;h=n.Da-2;do n.Gb=(n.Gb<<n.sk^n.window[f+3-1])&n.rk,n.prev[f&n.Qm]=n.head[n.Gb],n.head[n.Gb]=f,f++;while(--h);n.va=f;n.Da=2;z(n)}n.va+=n.Da;n.cg=n.va;n.insert=n.Da;n.Da=0;n.Sb=n.tg=2;n.Co=0;e.df=y;e.input=aa;e.Wb=w;n.wrap=r;return 0};y.Pga="pako deflate (from Nodeca project)"},420:function(ia,y,e){function fa(e){for(var f=e.length;0<=--f;)e[f]=0}function x(e,f,h,n,r){this.hU=e;this.v3=f;this.u3=h;this.K2=n;this.K8=r;this.kP=
e&&e.length}function ha(e,f){this.rN=e;this.kr=0;this.Lm=f}function ea(e,f){e.Nc[e.Za++]=f&255;e.Nc[e.Za++]=f>>>8&255}function da(e,f,h){e.de>16-h?(e.Xe|=f<<e.de&65535,ea(e,e.Xe),e.Xe=f>>16-e.de,e.de+=h-16):(e.Xe|=f<<e.de&65535,e.de+=h)}function ba(e,f,h){da(e,h[2*f],h[2*f+1])}function w(e,f){var h=0;do h|=e&1,e>>>=1,h<<=1;while(0<--f);return h>>>1}function z(e,f,h){var n=Array(16),r=0,x;for(x=1;15>=x;x++)n[x]=r=r+h[x-1]<<1;for(h=0;h<=f;h++)r=e[2*h+1],0!==r&&(e[2*h]=w(n[r]++,r))}function r(e){var f;
for(f=0;286>f;f++)e.Bf[2*f]=0;for(f=0;30>f;f++)e.On[2*f]=0;for(f=0;19>f;f++)e.Ee[2*f]=0;e.Bf[512]=1;e.Lk=e.Ur=0;e.Wg=e.matches=0}function h(e){8<e.de?ea(e,e.Xe):0<e.de&&(e.Nc[e.Za++]=e.Xe);e.Xe=0;e.de=0}function f(e,f,h,n){var r=2*f,w=2*h;return e[r]<e[w]||e[r]===e[w]&&n[f]<=n[h]}function n(e,h,n){for(var r=e.Rc[n],w=n<<1;w<=e.uk;){w<e.uk&&f(h,e.Rc[w+1],e.Rc[w],e.depth)&&w++;if(f(h,r,e.Rc[w],e.depth))break;e.Rc[n]=e.Rc[w];n=w;w<<=1}e.Rc[n]=r}function ca(e,f,h){var n=0;if(0!==e.Wg){do{var r=e.Nc[e.Gt+
2*n]<<8|e.Nc[e.Gt+2*n+1];var w=e.Nc[e.lG+n];n++;if(0===r)ba(e,w,f);else{var x=ua[w];ba(e,x+256+1,f);var y=ma[x];0!==y&&(w-=wa[x],da(e,w,y));r--;x=256>r?na[r]:na[256+(r>>>7)];ba(e,x,h);y=Aa[x];0!==y&&(r-=ta[x],da(e,r,y))}}while(n<e.Wg)}ba(e,256,f)}function aa(e,f){var h=f.rN,r=f.Lm.gU,w=f.Lm.jP,x=f.Lm.J2,y,aa=-1;e.uk=0;e.Pq=573;for(y=0;y<x;y++)0!==h[2*y]?(e.Rc[++e.uk]=aa=y,e.depth[y]=0):h[2*y+1]=0;for(;2>e.uk;){var ba=e.Rc[++e.uk]=2>aa?++aa:0;h[2*ba]=1;e.depth[ba]=0;e.Lk--;w&&(e.Ur-=r[2*ba+1])}f.kr=
aa;for(y=e.uk>>1;1<=y;y--)n(e,h,y);ba=x;do y=e.Rc[1],e.Rc[1]=e.Rc[e.uk--],n(e,h,1),r=e.Rc[1],e.Rc[--e.Pq]=y,e.Rc[--e.Pq]=r,h[2*ba]=h[2*y]+h[2*r],e.depth[ba]=(e.depth[y]>=e.depth[r]?e.depth[y]:e.depth[r])+1,h[2*y+1]=h[2*r+1]=ba,e.Rc[1]=ba++,n(e,h,1);while(2<=e.uk);e.Rc[--e.Pq]=e.Rc[1];y=f.rN;ba=f.kr;r=f.Lm.gU;w=f.Lm.jP;x=f.Lm.u3;var ca=f.Lm.t3,ea=f.Lm.J8,da,fa=0;for(da=0;15>=da;da++)e.Xj[da]=0;y[2*e.Rc[e.Pq]+1]=0;for(f=e.Pq+1;573>f;f++){var ha=e.Rc[f];da=y[2*y[2*ha+1]+1]+1;da>ea&&(da=ea,fa++);y[2*
2*n]<<8|e.Nc[e.Gt+2*n+1];var w=e.Nc[e.lG+n];n++;if(0===r)ba(e,w,f);else{var x=va[w];ba(e,x+256+1,f);var y=na[x];0!==y&&(w-=Fa[x],da(e,w,y));r--;x=256>r?ma[r]:ma[256+(r>>>7)];ba(e,x,h);y=za[x];0!==y&&(r-=ua[x],da(e,r,y))}}while(n<e.Wg)}ba(e,256,f)}function aa(e,f){var h=f.rN,r=f.Lm.hU,w=f.Lm.kP,x=f.Lm.K2,y,aa=-1;e.uk=0;e.Pq=573;for(y=0;y<x;y++)0!==h[2*y]?(e.Rc[++e.uk]=aa=y,e.depth[y]=0):h[2*y+1]=0;for(;2>e.uk;){var ba=e.Rc[++e.uk]=2>aa?++aa:0;h[2*ba]=1;e.depth[ba]=0;e.Lk--;w&&(e.Ur-=r[2*ba+1])}f.kr=
aa;for(y=e.uk>>1;1<=y;y--)n(e,h,y);ba=x;do y=e.Rc[1],e.Rc[1]=e.Rc[e.uk--],n(e,h,1),r=e.Rc[1],e.Rc[--e.Pq]=y,e.Rc[--e.Pq]=r,h[2*ba]=h[2*y]+h[2*r],e.depth[ba]=(e.depth[y]>=e.depth[r]?e.depth[y]:e.depth[r])+1,h[2*y+1]=h[2*r+1]=ba,e.Rc[1]=ba++,n(e,h,1);while(2<=e.uk);e.Rc[--e.Pq]=e.Rc[1];y=f.rN;ba=f.kr;r=f.Lm.hU;w=f.Lm.kP;x=f.Lm.v3;var ca=f.Lm.u3,ea=f.Lm.K8,da,fa=0;for(da=0;15>=da;da++)e.Xj[da]=0;y[2*e.Rc[e.Pq]+1]=0;for(f=e.Pq+1;573>f;f++){var ha=e.Rc[f];da=y[2*y[2*ha+1]+1]+1;da>ea&&(da=ea,fa++);y[2*
ha+1]=da;if(!(ha>ba)){e.Xj[da]++;var ia=0;ha>=ca&&(ia=x[ha-ca]);var ja=y[2*ha];e.Lk+=ja*(da+ia);w&&(e.Ur+=ja*(r[2*ha+1]+ia))}}if(0!==fa){do{for(da=ea-1;0===e.Xj[da];)da--;e.Xj[da]--;e.Xj[da+1]+=2;e.Xj[ea]--;fa-=2}while(0<fa);for(da=ea;0!==da;da--)for(ha=e.Xj[da];0!==ha;)r=e.Rc[--f],r>ba||(y[2*r+1]!==da&&(e.Lk+=(da-y[2*r+1])*y[2*r],y[2*r+1]=da),ha--)}z(h,aa,e.Xj)}function ja(e,f,h){var n,r=-1,w=f[1],x=0,y=7,z=4;0===w&&(y=138,z=3);f[2*(h+1)+1]=65535;for(n=0;n<=h;n++){var aa=w;w=f[2*(n+1)+1];++x<y&&
aa===w||(x<z?e.Ee[2*aa]+=x:0!==aa?(aa!==r&&e.Ee[2*aa]++,e.Ee[32]++):10>=x?e.Ee[34]++:e.Ee[36]++,x=0,r=aa,0===w?(y=138,z=3):aa===w?(y=6,z=3):(y=7,z=4))}}function ka(e,f,h){var n,r=-1,w=f[1],x=0,y=7,z=4;0===w&&(y=138,z=3);for(n=0;n<=h;n++){var aa=w;w=f[2*(n+1)+1];if(!(++x<y&&aa===w)){if(x<z){do ba(e,aa,e.Ee);while(0!==--x)}else 0!==aa?(aa!==r&&(ba(e,aa,e.Ee),x--),ba(e,16,e.Ee),da(e,x-3,2)):10>=x?(ba(e,17,e.Ee),da(e,x-3,3)):(ba(e,18,e.Ee),da(e,x-11,7));x=0;r=aa;0===w?(y=138,z=3):aa===w?(y=6,z=3):(y=
7,z=4)}}}function ya(e){var f=4093624447,h;for(h=0;31>=h;h++,f>>>=1)if(f&1&&0!==e.Bf[2*h])return 0;if(0!==e.Bf[18]||0!==e.Bf[20]||0!==e.Bf[26])return 1;for(h=32;256>h;h++)if(0!==e.Bf[2*h])return 1;return 0}function xa(e,f,n,r){da(e,r?1:0,3);h(e);ea(e,n);ea(e,~n);la.Hg(e.Nc,e.window,f,n,e.Za);e.Za+=n}var la=e(403),ma=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Aa=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],qa=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ea=[16,
17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ra=Array(576);fa(ra);var oa=Array(60);fa(oa);var na=Array(512);fa(na);var ua=Array(256);fa(ua);var wa=Array(29);fa(wa);var ta=Array(30);fa(ta);var Da,Ba,Fa,Ga=!1;y.$Y=function(e){if(!Ga){var f,h,n,y=Array(16);for(n=h=0;28>n;n++)for(wa[n]=h,f=0;f<1<<ma[n];f++)ua[h++]=n;ua[h-1]=n;for(n=h=0;16>n;n++)for(ta[n]=h,f=0;f<1<<Aa[n];f++)na[h++]=n;for(h>>=7;30>n;n++)for(ta[n]=h<<7,f=0;f<1<<Aa[n]-7;f++)na[256+h++]=n;for(f=0;15>=f;f++)y[f]=0;for(f=0;143>=f;)ra[2*f+
1]=8,f++,y[8]++;for(;255>=f;)ra[2*f+1]=9,f++,y[9]++;for(;279>=f;)ra[2*f+1]=7,f++,y[7]++;for(;287>=f;)ra[2*f+1]=8,f++,y[8]++;z(ra,287,y);for(f=0;30>f;f++)oa[2*f+1]=5,oa[2*f]=w(f,5);Da=new x(ra,ma,257,286,15);Ba=new x(oa,Aa,0,30,15);Fa=new x([],qa,0,19,7);Ga=!0}e.iA=new ha(e.Bf,Da);e.By=new ha(e.On,Ba);e.iM=new ha(e.Ee,Fa);e.Xe=0;e.de=0;r(e)};y.aZ=xa;y.ZY=function(e,f,n,w){var x=0;if(0<e.level){2===e.eb.Cy&&(e.eb.Cy=ya(e));aa(e,e.iA);aa(e,e.By);ja(e,e.Bf,e.iA.kr);ja(e,e.On,e.By.kr);aa(e,e.iM);for(x=
18;3<=x&&0===e.Ee[2*Ea[x]+1];x--);e.Lk+=3*(x+1)+14;var y=e.Lk+3+7>>>3;var z=e.Ur+3+7>>>3;z<=y&&(y=z)}else y=z=n+5;if(n+4<=y&&-1!==f)xa(e,f,n,w);else if(4===e.zj||z===y)da(e,2+(w?1:0),3),ca(e,ra,oa);else{da(e,4+(w?1:0),3);f=e.iA.kr+1;n=e.By.kr+1;x+=1;da(e,f-257,5);da(e,n-1,5);da(e,x-4,4);for(y=0;y<x;y++)da(e,e.Ee[2*Ea[y]+1],3);ka(e,e.Bf,f-1);ka(e,e.On,n-1);ca(e,e.Bf,e.On)}r(e);w&&h(e)};y.El=function(e,f,h){e.Nc[e.Gt+2*e.Wg]=f>>>8&255;e.Nc[e.Gt+2*e.Wg+1]=f&255;e.Nc[e.lG+e.Wg]=h&255;e.Wg++;0===f?e.Bf[2*
h]++:(e.matches++,f--,e.Bf[2*(ua[h]+256+1)]++,e.On[2*(256>f?na[f]:na[256+(f>>>7)])]++);return e.Wg===e.Ru-1};y.YY=function(e){da(e,2,3);ba(e,256,ra);16===e.de?(ea(e,e.Xe),e.Xe=0,e.de=0):8<=e.de&&(e.Nc[e.Za++]=e.Xe&255,e.Xe>>=8,e.de-=8)}},421:function(ia,y,e){function fa(e){if(!(this instanceof fa))return new fa(e);var f=this.options=ea.assign({SD:16384,ac:0,to:""},e||{});f.raw&&0<=f.ac&&16>f.ac&&(f.ac=-f.ac,0===f.ac&&(f.ac=-15));!(0<=f.ac&&16>f.ac)||e&&e.ac||(f.ac+=32);15<f.ac&&48>f.ac&&0===(f.ac&
15)&&(f.ac|=15);this.Tn=0;this.vb="";this.ended=!1;this.bk=[];this.eb=new z;this.eb.Na=0;e=ha.f7(this.eb,f.ac);if(e!==ba.bn)throw Error(w[e]);this.header=new r;ha.e7(this.eb,this.header);if(f.Ic&&("string"===typeof f.Ic?f.Ic=da.wI(f.Ic):"[object ArrayBuffer]"===h.call(f.Ic)&&(f.Ic=new Uint8Array(f.Ic)),f.raw&&(e=ha.sP(this.eb,f.Ic),e!==ba.bn)))throw Error(w[e]);}function x(e,h){h=new fa(h);h.push(e,!0);if(h.Tn)throw h.vb||w[h.Tn];return h.result}var ha=e(422),ea=e(403),da=e(409),ba=e(411),w=e(404),
z=e(410),r=e(425),h=Object.prototype.toString;fa.prototype.push=function(e,n){var f=this.eb,r=this.options.SD,w=this.options.Ic,x=!1;if(this.ended)return!1;n=n===~~n?n:!0===n?ba.Sw:ba.LJ;"string"===typeof e?f.input=da.d_(e):"[object ArrayBuffer]"===h.call(e)?f.input=new Uint8Array(e):f.input=e;f.df=0;f.Wb=f.input.length;do{0===f.Na&&(f.output=new ea.oh(r),f.Sc=0,f.Na=r);e=ha.wk(f,ba.LJ);e===ba.DX&&w&&(e=ha.sP(this.eb,w));e===ba.CX&&!0===x&&(e=ba.bn,x=!1);if(e!==ba.Tw&&e!==ba.bn)return this.oj(e),
this.ended=!0,!1;if(f.Sc&&(0===f.Na||e===ba.Tw||0===f.Wb&&(n===ba.Sw||n===ba.MJ)))if("string"===this.options.to){var y=da.qea(f.output,f.Sc);var z=f.Sc-y;var fa=da.m_(f.output,y);f.Sc=z;f.Na=r-z;z&&ea.Hg(f.output,f.output,y,z,0);this.ev(fa)}else this.ev(ea.xB(f.output,f.Sc));0===f.Wb&&0===f.Na&&(x=!0)}while((0<f.Wb||0===f.Na)&&e!==ba.Tw);e===ba.Tw&&(n=ba.Sw);if(n===ba.Sw)return e=ha.d7(this.eb),this.oj(e),this.ended=!0,e===ba.bn;n===ba.MJ&&(this.oj(ba.bn),f.Na=0);return!0};fa.prototype.ev=function(e){this.bk.push(e)};
fa.prototype.oj=function(e){e===ba.bn&&(this.result="string"===this.options.to?this.bk.join(""):ea.FE(this.bk));this.bk=[];this.Tn=e;this.vb=this.eb.vb};y.Wea=fa;y.wk=x;y.hja=function(e,h){h=h||{};h.raw=!0;return x(e,h)};y.Gla=x},422:function(ia,y,e){function fa(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function x(){this.mode=0;this.last=!1;this.wrap=0;this.LF=!1;this.total=this.check=this.Jy=this.flags=0;this.head=null;this.Vf=this.fl=this.Wf=this.ls=0;this.window=null;this.Xb=
this.offset=this.length=this.nd=this.om=0;this.Mn=this.Gk=null;this.Ug=this.Zu=this.mr=this.zQ=this.fq=this.ij=0;this.next=null;this.Oe=new z.Zf(320);this.pw=new z.Zf(288);this.hN=this.fQ=null;this.wea=this.back=this.GH=0}function ha(e){if(!e||!e.state)return-2;var f=e.state;e.Bj=e.Nm=f.total=0;e.vb="";f.wrap&&(e.bb=f.wrap&1);f.mode=1;f.last=0;f.LF=0;f.Jy=32768;f.head=null;f.om=0;f.nd=0;f.Gk=f.fQ=new z.rs(852);f.Mn=f.hN=new z.rs(592);f.GH=1;f.back=-1;return 0}function ea(e){if(!e||!e.state)return-2;
var f=e.state;f.Wf=0;f.fl=0;f.Vf=0;return ha(e)}function da(e,f){if(!e||!e.state)return-2;var h=e.state;if(0>f){var n=0;f=-f}else n=(f>>4)+1,48>f&&(f&=15);if(f&&(8>f||15<f))return-2;null!==h.window&&h.ls!==f&&(h.window=null);h.wrap=n;h.ls=f;return ea(e)}function ba(e,f){if(!e)return-2;var h=new x;e.state=h;h.window=null;f=da(e,f);0!==f&&(e.state=null);return f}function w(e,f,h,n){var r=e.state;null===r.window&&(r.Wf=1<<r.ls,r.Vf=0,r.fl=0,r.window=new z.oh(r.Wf));n>=r.Wf?(z.Hg(r.window,f,h-r.Wf,r.Wf,
0),r.Vf=0,r.fl=r.Wf):(e=r.Wf-r.Vf,e>n&&(e=n),z.Hg(r.window,f,h-n,e,r.Vf),(n-=e)?(z.Hg(r.window,f,h-n,n,0),r.Vf=n,r.fl=r.Wf):(r.Vf+=e,r.Vf===r.Wf&&(r.Vf=0),r.fl<r.Wf&&(r.fl+=e)));return 0}var z=e(403),r=e(407),h=e(408),f=e(423),n=e(424),ca=!0,aa,ja;y.ija=ea;y.jja=da;y.kja=ha;y.gja=function(e){return ba(e,15)};y.f7=ba;y.wk=function(e,x){var y,ba=new z.oh(4),ea=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.Wb)return-2;var da=e.state;12===da.mode&&(da.mode=
13);var ha=e.Sc;var ia=e.output;var ka=e.Na;var oa=e.df;var na=e.input;var ua=e.Wb;var wa=da.om;var ta=da.nd;var ya=ua;var Ba=ka;var Fa=0;a:for(;;)switch(da.mode){case 1:if(0===da.wrap){da.mode=13;break}for(;16>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}if(da.wrap&2&&35615===wa){da.check=0;ba[0]=wa&255;ba[1]=wa>>>8&255;da.check=h(da.check,ba,2,0);ta=wa=0;da.mode=2;break}da.flags=0;da.head&&(da.head.done=!1);if(!(da.wrap&1)||(((wa&255)<<8)+(wa>>8))%31){e.vb="incorrect header check";da.mode=
30;break}if(8!==(wa&15)){e.vb="unknown compression method";da.mode=30;break}wa>>>=4;ta-=4;var Ga=(wa&15)+8;if(0===da.ls)da.ls=Ga;else if(Ga>da.ls){e.vb="invalid window size";da.mode=30;break}da.Jy=1<<Ga;e.bb=da.check=1;da.mode=wa&512?10:12;ta=wa=0;break;case 2:for(;16>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}da.flags=wa;if(8!==(da.flags&255)){e.vb="unknown compression method";da.mode=30;break}if(da.flags&57344){e.vb="unknown header flags set";da.mode=30;break}da.head&&(da.head.text=wa>>
8&1);da.flags&512&&(ba[0]=wa&255,ba[1]=wa>>>8&255,da.check=h(da.check,ba,2,0));ta=wa=0;da.mode=3;case 3:for(;32>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}da.head&&(da.head.time=wa);da.flags&512&&(ba[0]=wa&255,ba[1]=wa>>>8&255,ba[2]=wa>>>16&255,ba[3]=wa>>>24&255,da.check=h(da.check,ba,4,0));ta=wa=0;da.mode=4;case 4:for(;16>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}da.head&&(da.head.Gea=wa&255,da.head.YQ=wa>>8);da.flags&512&&(ba[0]=wa&255,ba[1]=wa>>>8&255,da.check=h(da.check,ba,2,
0));ta=wa=0;da.mode=5;case 5:if(da.flags&1024){for(;16>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}da.length=wa;da.head&&(da.head.AE=wa);da.flags&512&&(ba[0]=wa&255,ba[1]=wa>>>8&255,da.check=h(da.check,ba,2,0));ta=wa=0}else da.head&&(da.head.Xb=null);da.mode=6;case 6:if(da.flags&1024){var Ca=da.length;Ca>ua&&(Ca=ua);Ca&&(da.head&&(Ga=da.head.AE-da.length,da.head.Xb||(da.head.Xb=Array(da.head.AE)),z.Hg(da.head.Xb,na,oa,Ca,Ga)),da.flags&512&&(da.check=h(da.check,na,Ca,oa)),ua-=Ca,oa+=Ca,da.length-=
Ca);if(da.length)break a}da.length=0;da.mode=7;case 7:if(da.flags&2048){if(0===ua)break a;Ca=0;do Ga=na[oa+Ca++],da.head&&Ga&&65536>da.length&&(da.head.name+=String.fromCharCode(Ga));while(Ga&&Ca<ua);da.flags&512&&(da.check=h(da.check,na,Ca,oa));ua-=Ca;oa+=Ca;if(Ga)break a}else da.head&&(da.head.name=null);da.length=0;da.mode=8;case 8:if(da.flags&4096){if(0===ua)break a;Ca=0;do Ga=na[oa+Ca++],da.head&&Ga&&65536>da.length&&(da.head.Hn+=String.fromCharCode(Ga));while(Ga&&Ca<ua);da.flags&512&&(da.check=
h(da.check,na,Ca,oa));ua-=Ca;oa+=Ca;if(Ga)break a}else da.head&&(da.head.Hn=null);da.mode=9;case 9:if(da.flags&512){for(;16>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}if(wa!==(da.check&65535)){e.vb="header crc mismatch";da.mode=30;break}ta=wa=0}da.head&&(da.head.ej=da.flags>>9&1,da.head.done=!0);e.bb=da.check=0;da.mode=12;break;case 10:for(;32>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}e.bb=da.check=fa(wa);ta=wa=0;da.mode=11;case 11:if(0===da.LF)return e.Sc=ha,e.Na=ka,e.df=oa,e.Wb=
ua,da.om=wa,da.nd=ta,2;e.bb=da.check=1;da.mode=12;case 12:if(5===x||6===x)break a;case 13:if(da.last){wa>>>=ta&7;ta-=ta&7;da.mode=27;break}for(;3>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}da.last=wa&1;wa>>>=1;--ta;switch(wa&3){case 0:da.mode=14;break;case 1:Ga=da;if(ca){aa=new z.rs(512);ja=new z.rs(32);for(Ca=0;144>Ca;)Ga.Oe[Ca++]=8;for(;256>Ca;)Ga.Oe[Ca++]=9;for(;280>Ca;)Ga.Oe[Ca++]=7;for(;288>Ca;)Ga.Oe[Ca++]=8;n(1,Ga.Oe,0,288,aa,0,Ga.pw,{nd:9});for(Ca=0;32>Ca;)Ga.Oe[Ca++]=5;n(2,Ga.Oe,0,
32,ja,0,Ga.pw,{nd:5});ca=!1}Ga.Gk=aa;Ga.ij=9;Ga.Mn=ja;Ga.fq=5;da.mode=20;if(6===x){wa>>>=2;ta-=2;break a}break;case 2:da.mode=17;break;case 3:e.vb="invalid block type",da.mode=30}wa>>>=2;ta-=2;break;case 14:wa>>>=ta&7;for(ta-=ta&7;32>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}if((wa&65535)!==(wa>>>16^65535)){e.vb="invalid stored block lengths";da.mode=30;break}da.length=wa&65535;ta=wa=0;da.mode=15;if(6===x)break a;case 15:da.mode=16;case 16:if(Ca=da.length){Ca>ua&&(Ca=ua);Ca>ka&&(Ca=ka);if(0===
Ca)break a;z.Hg(ia,na,oa,Ca,ha);ua-=Ca;oa+=Ca;ka-=Ca;ha+=Ca;da.length-=Ca;break}da.mode=12;break;case 17:for(;14>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}da.mr=(wa&31)+257;wa>>>=5;ta-=5;da.Zu=(wa&31)+1;wa>>>=5;ta-=5;da.zQ=(wa&15)+4;wa>>>=4;ta-=4;if(286<da.mr||30<da.Zu){e.vb="too many length or distance symbols";da.mode=30;break}da.Ug=0;da.mode=18;case 18:for(;da.Ug<da.zQ;){for(;3>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}da.Oe[ea[da.Ug++]]=wa&7;wa>>>=3;ta-=3}for(;19>da.Ug;)da.Oe[ea[da.Ug++]]=
0;da.Gk=da.fQ;da.ij=7;Ca={nd:da.ij};Fa=n(0,da.Oe,0,19,da.Gk,0,da.pw,Ca);da.ij=Ca.nd;if(Fa){e.vb="invalid code lengths set";da.mode=30;break}da.Ug=0;da.mode=19;case 19:for(;da.Ug<da.mr+da.Zu;){for(;;){var Ia=da.Gk[wa&(1<<da.ij)-1];Ca=Ia>>>24;Ia&=65535;if(Ca<=ta)break;if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}if(16>Ia)wa>>>=Ca,ta-=Ca,da.Oe[da.Ug++]=Ia;else{if(16===Ia){for(Ga=Ca+2;ta<Ga;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}wa>>>=Ca;ta-=Ca;if(0===da.Ug){e.vb="invalid bit length repeat";
da.mode=30;break}Ga=da.Oe[da.Ug-1];Ca=3+(wa&3);wa>>>=2;ta-=2}else if(17===Ia){for(Ga=Ca+3;ta<Ga;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}wa>>>=Ca;ta-=Ca;Ga=0;Ca=3+(wa&7);wa>>>=3;ta-=3}else{for(Ga=Ca+7;ta<Ga;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}wa>>>=Ca;ta-=Ca;Ga=0;Ca=11+(wa&127);wa>>>=7;ta-=7}if(da.Ug+Ca>da.mr+da.Zu){e.vb="invalid bit length repeat";da.mode=30;break}for(;Ca--;)da.Oe[da.Ug++]=Ga}}if(30===da.mode)break;if(0===da.Oe[256]){e.vb="invalid code -- missing end-of-block";
da.mode=30;break}da.ij=9;Ca={nd:da.ij};Fa=n(1,da.Oe,0,da.mr,da.Gk,0,da.pw,Ca);da.ij=Ca.nd;if(Fa){e.vb="invalid literal/lengths set";da.mode=30;break}da.fq=6;da.Mn=da.hN;Ca={nd:da.fq};Fa=n(2,da.Oe,da.mr,da.Zu,da.Mn,0,da.pw,Ca);da.fq=Ca.nd;if(Fa){e.vb="invalid distances set";da.mode=30;break}da.mode=20;if(6===x)break a;case 20:da.mode=21;case 21:if(6<=ua&&258<=ka){e.Sc=ha;e.Na=ka;e.df=oa;e.Wb=ua;da.om=wa;da.nd=ta;f(e,Ba);ha=e.Sc;ia=e.output;ka=e.Na;oa=e.df;na=e.input;ua=e.Wb;wa=da.om;ta=da.nd;12===
da.mode&&(da.back=-1);break}for(da.back=0;;){Ia=da.Gk[wa&(1<<da.ij)-1];Ca=Ia>>>24;Ga=Ia>>>16&255;Ia&=65535;if(Ca<=ta)break;if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}if(Ga&&0===(Ga&240)){var Ja=Ca;var za=Ga;for(y=Ia;;){Ia=da.Gk[y+((wa&(1<<Ja+za)-1)>>Ja)];Ca=Ia>>>24;Ga=Ia>>>16&255;Ia&=65535;if(Ja+Ca<=ta)break;if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}wa>>>=Ja;ta-=Ja;da.back+=Ja}wa>>>=Ca;ta-=Ca;da.back+=Ca;da.length=Ia;if(0===Ga){da.mode=26;break}if(Ga&32){da.back=-1;da.mode=12;break}if(Ga&64){e.vb=
"invalid literal/length code";da.mode=30;break}da.Xb=Ga&15;da.mode=22;case 22:if(da.Xb){for(Ga=da.Xb;ta<Ga;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}da.length+=wa&(1<<da.Xb)-1;wa>>>=da.Xb;ta-=da.Xb;da.back+=da.Xb}da.wea=da.length;da.mode=23;case 23:for(;;){Ia=da.Mn[wa&(1<<da.fq)-1];Ca=Ia>>>24;Ga=Ia>>>16&255;Ia&=65535;if(Ca<=ta)break;if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}if(0===(Ga&240)){Ja=Ca;za=Ga;for(y=Ia;;){Ia=da.Mn[y+((wa&(1<<Ja+za)-1)>>Ja)];Ca=Ia>>>24;Ga=Ia>>>16&255;Ia&=65535;if(Ja+
Ca<=ta)break;if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}wa>>>=Ja;ta-=Ja;da.back+=Ja}wa>>>=Ca;ta-=Ca;da.back+=Ca;if(Ga&64){e.vb="invalid distance code";da.mode=30;break}da.offset=Ia;da.Xb=Ga&15;da.mode=24;case 24:if(da.Xb){for(Ga=da.Xb;ta<Ga;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}da.offset+=wa&(1<<da.Xb)-1;wa>>>=da.Xb;ta-=da.Xb;da.back+=da.Xb}if(da.offset>da.Jy){e.vb="invalid distance too far back";da.mode=30;break}da.mode=25;case 25:if(0===ka)break a;Ca=Ba-ka;if(da.offset>Ca){Ca=da.offset-
Ca;if(Ca>da.fl&&da.GH){e.vb="invalid distance too far back";da.mode=30;break}Ca>da.Vf?(Ca-=da.Vf,Ga=da.Wf-Ca):Ga=da.Vf-Ca;Ca>da.length&&(Ca=da.length);Ja=da.window}else Ja=ia,Ga=ha-da.offset,Ca=da.length;Ca>ka&&(Ca=ka);ka-=Ca;da.length-=Ca;do ia[ha++]=Ja[Ga++];while(--Ca);0===da.length&&(da.mode=21);break;case 26:if(0===ka)break a;ia[ha++]=da.length;ka--;da.mode=21;break;case 27:if(da.wrap){for(;32>ta;){if(0===ua)break a;ua--;wa|=na[oa++]<<ta;ta+=8}Ba-=ka;e.Nm+=Ba;da.total+=Ba;Ba&&(e.bb=da.check=
da.flags?h(da.check,ia,Ba,ha-Ba):r(da.check,ia,Ba,ha-Ba));Ba=ka;if((da.flags?wa:fa(wa))!==da.check){e.vb="incorrect data check";da.mode=30;break}ta=wa=0}da.mode=28;case 28:if(da.wrap&&da.flags){for(;32>ta;){if(0===ua)break a;ua--;wa+=na[oa++]<<ta;ta+=8}if(wa!==(da.total&4294967295)){e.vb="incorrect length check";da.mode=30;break}ta=wa=0}da.mode=29;case 29:Fa=1;break a;case 30:Fa=-3;break a;case 31:return-4;default:return-2}e.Sc=ha;e.Na=ka;e.df=oa;e.Wb=ua;da.om=wa;da.nd=ta;if((da.Wf||Ba!==e.Na&&30>
da.mode&&(27>da.mode||4!==x))&&w(e,e.output,e.Sc,Ba-e.Na))return da.mode=31,-4;ya-=e.Wb;Ba-=e.Na;e.Bj+=ya;e.Nm+=Ba;da.total+=Ba;da.wrap&&Ba&&(e.bb=da.check=da.flags?h(da.check,ia,Ba,e.Sc-Ba):r(da.check,ia,Ba,e.Sc-Ba));e.Cy=da.nd+(da.last?64:0)+(12===da.mode?128:0)+(20===da.mode||15===da.mode?256:0);(0===ya&&0===Ba||4===x)&&0===Fa&&(Fa=-5);return Fa};y.d7=function(e){if(!e||!e.state)return-2;var f=e.state;f.window&&(f.window=null);e.state=null;return 0};y.e7=function(e,f){e&&e.state&&(e=e.state,0!==
(e.wrap&2)&&(e.head=f,f.done=!1))};y.sP=function(e,f){var h=f.length;if(!e||!e.state)return-2;var n=e.state;if(0!==n.wrap&&11!==n.mode)return-2;if(11===n.mode){var x=r(1,f,h,0);if(x!==n.check)return-3}if(w(e,f,h,h))return n.mode=31,-4;n.LF=1;return 0};y.fja="pako inflate (from Nodeca project)"},423:function(ia){ia.exports=function(y,e){var fa=y.state;var x=y.df;var ha=y.input;var ea=x+(y.Wb-5);var da=y.Sc;var ba=y.output;e=da-(e-y.Na);var w=da+(y.Na-257);var z=fa.Jy;var r=fa.Wf;var h=fa.fl;var f=
fa.Vf;var n=fa.window;var ca=fa.om;var aa=fa.nd;var ia=fa.Gk;var ka=fa.Mn;var ya=(1<<fa.ij)-1;var xa=(1<<fa.fq)-1;a:do{15>aa&&(ca+=ha[x++]<<aa,aa+=8,ca+=ha[x++]<<aa,aa+=8);var la=ia[ca&ya];b:for(;;){var ma=la>>>24;ca>>>=ma;aa-=ma;ma=la>>>16&255;if(0===ma)ba[da++]=la&65535;else if(ma&16){var Aa=la&65535;if(ma&=15)aa<ma&&(ca+=ha[x++]<<aa,aa+=8),Aa+=ca&(1<<ma)-1,ca>>>=ma,aa-=ma;15>aa&&(ca+=ha[x++]<<aa,aa+=8,ca+=ha[x++]<<aa,aa+=8);la=ka[ca&xa];c:for(;;){ma=la>>>24;ca>>>=ma;aa-=ma;ma=la>>>16&255;if(ma&
16){la&=65535;ma&=15;aa<ma&&(ca+=ha[x++]<<aa,aa+=8,aa<ma&&(ca+=ha[x++]<<aa,aa+=8));la+=ca&(1<<ma)-1;if(la>z){y.vb="invalid distance too far back";fa.mode=30;break a}ca>>>=ma;aa-=ma;ma=da-e;if(la>ma){ma=la-ma;if(ma>h&&fa.GH){y.vb="invalid distance too far back";fa.mode=30;break a}var qa=0;var Ea=n;if(0===f){if(qa+=r-ma,ma<Aa){Aa-=ma;do ba[da++]=n[qa++];while(--ma);qa=da-la;Ea=ba}}else if(f<ma){if(qa+=r+f-ma,ma-=f,ma<Aa){Aa-=ma;do ba[da++]=n[qa++];while(--ma);qa=0;if(f<Aa){ma=f;Aa-=ma;do ba[da++]=n[qa++];
while(--ma);qa=da-la;Ea=ba}}}else if(qa+=f-ma,ma<Aa){Aa-=ma;do ba[da++]=n[qa++];while(--ma);qa=da-la;Ea=ba}for(;2<Aa;)ba[da++]=Ea[qa++],ba[da++]=Ea[qa++],ba[da++]=Ea[qa++],Aa-=3;Aa&&(ba[da++]=Ea[qa++],1<Aa&&(ba[da++]=Ea[qa++]))}else{qa=da-la;do ba[da++]=ba[qa++],ba[da++]=ba[qa++],ba[da++]=ba[qa++],Aa-=3;while(2<Aa);Aa&&(ba[da++]=ba[qa++],1<Aa&&(ba[da++]=ba[qa++]))}}else if(0===(ma&64)){la=ka[(la&65535)+(ca&(1<<ma)-1)];continue c}else{y.vb="invalid distance code";fa.mode=30;break a}break}}else if(0===
(ma&64)){la=ia[(la&65535)+(ca&(1<<ma)-1)];continue b}else{ma&32?fa.mode=12:(y.vb="invalid literal/length code",fa.mode=30);break a}break}}while(x<ea&&da<w);Aa=aa>>3;x-=Aa;aa-=Aa<<3;y.df=x;y.Sc=da;y.Wb=x<ea?5+(ea-x):5-(x-ea);y.Na=da<w?257+(w-da):257-(da-w);fa.om=ca&(1<<aa)-1;fa.nd=aa}},424:function(ia,y,e){var fa=e(403),x=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],ha=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,
16,72,78],ea=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],da=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];ia.exports=function(e,w,y,r,h,f,n,ca){var z=ca.nd,ba,ia,ya,xa,la,ma,Aa=0,qa=new fa.Zf(16);var Ea=new fa.Zf(16);var ra,oa=0;for(ba=0;15>=ba;ba++)qa[ba]=0;for(ia=0;ia<r;ia++)qa[w[y+ia]]++;var na=z;for(ya=15;1<=ya&&0===qa[ya];ya--);na>ya&&(na=ya);if(0===ya)return h[f++]=20971520,
h[f++]=20971520,ca.nd=1,0;for(z=1;z<ya&&0===qa[z];z++);na<z&&(na=z);for(ba=xa=1;15>=ba;ba++)if(xa<<=1,xa-=qa[ba],0>xa)return-1;if(0<xa&&(0===e||1!==ya))return-1;Ea[1]=0;for(ba=1;15>ba;ba++)Ea[ba+1]=Ea[ba]+qa[ba];for(ia=0;ia<r;ia++)0!==w[y+ia]&&(n[Ea[w[y+ia]]++]=ia);if(0===e){var ua=ra=n;var wa=19}else 1===e?(ua=x,Aa-=257,ra=ha,oa-=257,wa=256):(ua=ea,ra=da,wa=-1);ia=la=0;ba=z;var ta=f;r=na;Ea=0;var Da=-1;var Ba=1<<na;var Fa=Ba-1;if(1===e&&852<Ba||2===e&&592<Ba)return 1;for(;;){var Ga=ba-Ea;if(n[ia]<
wa){var Ca=0;var Ia=n[ia]}else n[ia]>wa?(Ca=ra[oa+n[ia]],Ia=ua[Aa+n[ia]]):(Ca=96,Ia=0);xa=1<<ba-Ea;z=ma=1<<r;do ma-=xa,h[ta+(la>>Ea)+ma]=Ga<<24|Ca<<16|Ia|0;while(0!==ma);for(xa=1<<ba-1;la&xa;)xa>>=1;0!==xa?(la&=xa-1,la+=xa):la=0;ia++;if(0===--qa[ba]){if(ba===ya)break;ba=w[y+n[ia]]}if(ba>na&&(la&Fa)!==Da){0===Ea&&(Ea=na);ta+=z;r=ba-Ea;for(xa=1<<r;r+Ea<ya;){xa-=qa[r+Ea];if(0>=xa)break;r++;xa<<=1}Ba+=1<<r;if(1===e&&852<Ba||2===e&&592<Ba)return 1;Da=la&Fa;h[Da]=na<<24|r<<16|ta-f|0}}0!==la&&(h[ta+la]=
ba-Ea<<24|4194304);ca.nd=na;return 0}},425:function(ia){ia.exports=function(){this.YQ=this.Gea=this.time=this.text=0;this.Xb=null;this.AE=0;this.Hn=this.name="";this.ej=0;this.done=!1}}}]);}).call(this || window)
7,z=4)}}}function pa(e){var f=4093624447,h;for(h=0;31>=h;h++,f>>>=1)if(f&1&&0!==e.Bf[2*h])return 0;if(0!==e.Bf[18]||0!==e.Bf[20]||0!==e.Bf[26])return 1;for(h=32;256>h;h++)if(0!==e.Bf[2*h])return 1;return 0}function xa(e,f,n,r){da(e,r?1:0,3);h(e);ea(e,n);ea(e,~n);la.Ig(e.Nc,e.window,f,n,e.Za);e.Za+=n}var la=e(403),na=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],za=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ra=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Da=[16,
17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],sa=Array(576);fa(sa);var oa=Array(60);fa(oa);var ma=Array(512);fa(ma);var va=Array(256);fa(va);var Fa=Array(29);fa(Fa);var ua=Array(30);fa(ua);var Ca,Aa,Ea,Ga=!1;y.aZ=function(e){if(!Ga){var f,h,n,y=Array(16);for(n=h=0;28>n;n++)for(Fa[n]=h,f=0;f<1<<na[n];f++)va[h++]=n;va[h-1]=n;for(n=h=0;16>n;n++)for(ua[n]=h,f=0;f<1<<za[n];f++)ma[h++]=n;for(h>>=7;30>n;n++)for(ua[n]=h<<7,f=0;f<1<<za[n]-7;f++)ma[256+h++]=n;for(f=0;15>=f;f++)y[f]=0;for(f=0;143>=f;)sa[2*f+
1]=8,f++,y[8]++;for(;255>=f;)sa[2*f+1]=9,f++,y[9]++;for(;279>=f;)sa[2*f+1]=7,f++,y[7]++;for(;287>=f;)sa[2*f+1]=8,f++,y[8]++;z(sa,287,y);for(f=0;30>f;f++)oa[2*f+1]=5,oa[2*f]=w(f,5);Ca=new x(sa,na,257,286,15);Aa=new x(oa,za,0,30,15);Ea=new x([],ra,0,19,7);Ga=!0}e.iA=new ha(e.Bf,Ca);e.By=new ha(e.On,Aa);e.iM=new ha(e.Ee,Ea);e.Xe=0;e.de=0;r(e)};y.bZ=xa;y.$Y=function(e,f,n,w){var x=0;if(0<e.level){2===e.eb.Cy&&(e.eb.Cy=pa(e));aa(e,e.iA);aa(e,e.By);ja(e,e.Bf,e.iA.kr);ja(e,e.On,e.By.kr);aa(e,e.iM);for(x=
18;3<=x&&0===e.Ee[2*Da[x]+1];x--);e.Lk+=3*(x+1)+14;var y=e.Lk+3+7>>>3;var z=e.Ur+3+7>>>3;z<=y&&(y=z)}else y=z=n+5;if(n+4<=y&&-1!==f)xa(e,f,n,w);else if(4===e.zj||z===y)da(e,2+(w?1:0),3),ca(e,sa,oa);else{da(e,4+(w?1:0),3);f=e.iA.kr+1;n=e.By.kr+1;x+=1;da(e,f-257,5);da(e,n-1,5);da(e,x-4,4);for(y=0;y<x;y++)da(e,e.Ee[2*Da[y]+1],3);ka(e,e.Bf,f-1);ka(e,e.On,n-1);ca(e,e.Bf,e.On)}r(e);w&&h(e)};y.El=function(e,f,h){e.Nc[e.Gt+2*e.Wg]=f>>>8&255;e.Nc[e.Gt+2*e.Wg+1]=f&255;e.Nc[e.lG+e.Wg]=h&255;e.Wg++;0===f?e.Bf[2*
h]++:(e.matches++,f--,e.Bf[2*(va[h]+256+1)]++,e.On[2*(256>f?ma[f]:ma[256+(f>>>7)])]++);return e.Wg===e.Ru-1};y.ZY=function(e){da(e,2,3);ba(e,256,sa);16===e.de?(ea(e,e.Xe),e.Xe=0,e.de=0):8<=e.de&&(e.Nc[e.Za++]=e.Xe&255,e.Xe>>=8,e.de-=8)}},421:function(ia,y,e){function fa(e){if(!(this instanceof fa))return new fa(e);var f=this.options=ea.assign({SD:16384,ac:0,to:""},e||{});f.raw&&0<=f.ac&&16>f.ac&&(f.ac=-f.ac,0===f.ac&&(f.ac=-15));!(0<=f.ac&&16>f.ac)||e&&e.ac||(f.ac+=32);15<f.ac&&48>f.ac&&0===(f.ac&
15)&&(f.ac|=15);this.Tn=0;this.vb="";this.ended=!1;this.bk=[];this.eb=new z;this.eb.Na=0;e=ha.g7(this.eb,f.ac);if(e!==ba.bn)throw Error(w[e]);this.header=new r;ha.f7(this.eb,this.header);if(f.Kc&&("string"===typeof f.Kc?f.Kc=da.wI(f.Kc):"[object ArrayBuffer]"===h.call(f.Kc)&&(f.Kc=new Uint8Array(f.Kc)),f.raw&&(e=ha.tP(this.eb,f.Kc),e!==ba.bn)))throw Error(w[e]);}function x(e,h){h=new fa(h);h.push(e,!0);if(h.Tn)throw h.vb||w[h.Tn];return h.result}var ha=e(422),ea=e(403),da=e(409),ba=e(411),w=e(404),
z=e(410),r=e(425),h=Object.prototype.toString;fa.prototype.push=function(e,n){var f=this.eb,r=this.options.SD,w=this.options.Kc,x=!1;if(this.ended)return!1;n=n===~~n?n:!0===n?ba.Sw:ba.LJ;"string"===typeof e?f.input=da.e_(e):"[object ArrayBuffer]"===h.call(e)?f.input=new Uint8Array(e):f.input=e;f.df=0;f.Wb=f.input.length;do{0===f.Na&&(f.output=new ea.oh(r),f.Sc=0,f.Na=r);e=ha.wk(f,ba.LJ);e===ba.EX&&w&&(e=ha.tP(this.eb,w));e===ba.DX&&!0===x&&(e=ba.bn,x=!1);if(e!==ba.Tw&&e!==ba.bn)return this.oj(e),
this.ended=!0,!1;if(f.Sc&&(0===f.Na||e===ba.Tw||0===f.Wb&&(n===ba.Sw||n===ba.MJ)))if("string"===this.options.to){var y=da.rea(f.output,f.Sc);var z=f.Sc-y;var fa=da.n_(f.output,y);f.Sc=z;f.Na=r-z;z&&ea.Ig(f.output,f.output,y,z,0);this.ev(fa)}else this.ev(ea.xB(f.output,f.Sc));0===f.Wb&&0===f.Na&&(x=!0)}while((0<f.Wb||0===f.Na)&&e!==ba.Tw);e===ba.Tw&&(n=ba.Sw);if(n===ba.Sw)return e=ha.e7(this.eb),this.oj(e),this.ended=!0,e===ba.bn;n===ba.MJ&&(this.oj(ba.bn),f.Na=0);return!0};fa.prototype.ev=function(e){this.bk.push(e)};
fa.prototype.oj=function(e){e===ba.bn&&(this.result="string"===this.options.to?this.bk.join(""):ea.FE(this.bk));this.bk=[];this.Tn=e;this.vb=this.eb.vb};y.Xea=fa;y.wk=x;y.ija=function(e,h){h=h||{};h.raw=!0;return x(e,h)};y.Hla=x},422:function(ia,y,e){function fa(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function x(){this.mode=0;this.last=!1;this.wrap=0;this.LF=!1;this.total=this.check=this.Jy=this.flags=0;this.head=null;this.Vf=this.fl=this.Wf=this.ls=0;this.window=null;this.Xb=
this.offset=this.length=this.nd=this.om=0;this.Mn=this.Gk=null;this.Ug=this.Zu=this.mr=this.AQ=this.fq=this.ij=0;this.next=null;this.Oe=new z.Zf(320);this.pw=new z.Zf(288);this.hN=this.gQ=null;this.xea=this.back=this.GH=0}function ha(e){if(!e||!e.state)return-2;var f=e.state;e.Bj=e.Nm=f.total=0;e.vb="";f.wrap&&(e.bb=f.wrap&1);f.mode=1;f.last=0;f.LF=0;f.Jy=32768;f.head=null;f.om=0;f.nd=0;f.Gk=f.gQ=new z.rs(852);f.Mn=f.hN=new z.rs(592);f.GH=1;f.back=-1;return 0}function ea(e){if(!e||!e.state)return-2;
var f=e.state;f.Wf=0;f.fl=0;f.Vf=0;return ha(e)}function da(e,f){if(!e||!e.state)return-2;var h=e.state;if(0>f){var n=0;f=-f}else n=(f>>4)+1,48>f&&(f&=15);if(f&&(8>f||15<f))return-2;null!==h.window&&h.ls!==f&&(h.window=null);h.wrap=n;h.ls=f;return ea(e)}function ba(e,f){if(!e)return-2;var h=new x;e.state=h;h.window=null;f=da(e,f);0!==f&&(e.state=null);return f}function w(e,f,h,n){var r=e.state;null===r.window&&(r.Wf=1<<r.ls,r.Vf=0,r.fl=0,r.window=new z.oh(r.Wf));n>=r.Wf?(z.Ig(r.window,f,h-r.Wf,r.Wf,
0),r.Vf=0,r.fl=r.Wf):(e=r.Wf-r.Vf,e>n&&(e=n),z.Ig(r.window,f,h-n,e,r.Vf),(n-=e)?(z.Ig(r.window,f,h-n,n,0),r.Vf=n,r.fl=r.Wf):(r.Vf+=e,r.Vf===r.Wf&&(r.Vf=0),r.fl<r.Wf&&(r.fl+=e)));return 0}var z=e(403),r=e(407),h=e(408),f=e(423),n=e(424),ca=!0,aa,ja;y.jja=ea;y.kja=da;y.lja=ha;y.hja=function(e){return ba(e,15)};y.g7=ba;y.wk=function(e,x){var y,ba=new z.oh(4),ea=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.Wb)return-2;var da=e.state;12===da.mode&&(da.mode=
13);var ha=e.Sc;var ia=e.output;var ka=e.Na;var oa=e.df;var ma=e.input;var va=e.Wb;var pa=da.om;var ua=da.nd;var Ca=va;var Aa=ka;var Ea=0;a:for(;;)switch(da.mode){case 1:if(0===da.wrap){da.mode=13;break}for(;16>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}if(da.wrap&2&&35615===pa){da.check=0;ba[0]=pa&255;ba[1]=pa>>>8&255;da.check=h(da.check,ba,2,0);ua=pa=0;da.mode=2;break}da.flags=0;da.head&&(da.head.done=!1);if(!(da.wrap&1)||(((pa&255)<<8)+(pa>>8))%31){e.vb="incorrect header check";da.mode=
30;break}if(8!==(pa&15)){e.vb="unknown compression method";da.mode=30;break}pa>>>=4;ua-=4;var Ga=(pa&15)+8;if(0===da.ls)da.ls=Ga;else if(Ga>da.ls){e.vb="invalid window size";da.mode=30;break}da.Jy=1<<Ga;e.bb=da.check=1;da.mode=pa&512?10:12;ua=pa=0;break;case 2:for(;16>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}da.flags=pa;if(8!==(da.flags&255)){e.vb="unknown compression method";da.mode=30;break}if(da.flags&57344){e.vb="unknown header flags set";da.mode=30;break}da.head&&(da.head.text=pa>>
8&1);da.flags&512&&(ba[0]=pa&255,ba[1]=pa>>>8&255,da.check=h(da.check,ba,2,0));ua=pa=0;da.mode=3;case 3:for(;32>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}da.head&&(da.head.time=pa);da.flags&512&&(ba[0]=pa&255,ba[1]=pa>>>8&255,ba[2]=pa>>>16&255,ba[3]=pa>>>24&255,da.check=h(da.check,ba,4,0));ua=pa=0;da.mode=4;case 4:for(;16>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}da.head&&(da.head.Hea=pa&255,da.head.ZQ=pa>>8);da.flags&512&&(ba[0]=pa&255,ba[1]=pa>>>8&255,da.check=h(da.check,ba,2,
0));ua=pa=0;da.mode=5;case 5:if(da.flags&1024){for(;16>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}da.length=pa;da.head&&(da.head.AE=pa);da.flags&512&&(ba[0]=pa&255,ba[1]=pa>>>8&255,da.check=h(da.check,ba,2,0));ua=pa=0}else da.head&&(da.head.Xb=null);da.mode=6;case 6:if(da.flags&1024){var Ba=da.length;Ba>va&&(Ba=va);Ba&&(da.head&&(Ga=da.head.AE-da.length,da.head.Xb||(da.head.Xb=Array(da.head.AE)),z.Ig(da.head.Xb,ma,oa,Ba,Ga)),da.flags&512&&(da.check=h(da.check,ma,Ba,oa)),va-=Ba,oa+=Ba,da.length-=
Ba);if(da.length)break a}da.length=0;da.mode=7;case 7:if(da.flags&2048){if(0===va)break a;Ba=0;do Ga=ma[oa+Ba++],da.head&&Ga&&65536>da.length&&(da.head.name+=String.fromCharCode(Ga));while(Ga&&Ba<va);da.flags&512&&(da.check=h(da.check,ma,Ba,oa));va-=Ba;oa+=Ba;if(Ga)break a}else da.head&&(da.head.name=null);da.length=0;da.mode=8;case 8:if(da.flags&4096){if(0===va)break a;Ba=0;do Ga=ma[oa+Ba++],da.head&&Ga&&65536>da.length&&(da.head.Hn+=String.fromCharCode(Ga));while(Ga&&Ba<va);da.flags&512&&(da.check=
h(da.check,ma,Ba,oa));va-=Ba;oa+=Ba;if(Ga)break a}else da.head&&(da.head.Hn=null);da.mode=9;case 9:if(da.flags&512){for(;16>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}if(pa!==(da.check&65535)){e.vb="header crc mismatch";da.mode=30;break}ua=pa=0}da.head&&(da.head.ej=da.flags>>9&1,da.head.done=!0);e.bb=da.check=0;da.mode=12;break;case 10:for(;32>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}e.bb=da.check=fa(pa);ua=pa=0;da.mode=11;case 11:if(0===da.LF)return e.Sc=ha,e.Na=ka,e.df=oa,e.Wb=
va,da.om=pa,da.nd=ua,2;e.bb=da.check=1;da.mode=12;case 12:if(5===x||6===x)break a;case 13:if(da.last){pa>>>=ua&7;ua-=ua&7;da.mode=27;break}for(;3>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}da.last=pa&1;pa>>>=1;--ua;switch(pa&3){case 0:da.mode=14;break;case 1:Ga=da;if(ca){aa=new z.rs(512);ja=new z.rs(32);for(Ba=0;144>Ba;)Ga.Oe[Ba++]=8;for(;256>Ba;)Ga.Oe[Ba++]=9;for(;280>Ba;)Ga.Oe[Ba++]=7;for(;288>Ba;)Ga.Oe[Ba++]=8;n(1,Ga.Oe,0,288,aa,0,Ga.pw,{nd:9});for(Ba=0;32>Ba;)Ga.Oe[Ba++]=5;n(2,Ga.Oe,0,
32,ja,0,Ga.pw,{nd:5});ca=!1}Ga.Gk=aa;Ga.ij=9;Ga.Mn=ja;Ga.fq=5;da.mode=20;if(6===x){pa>>>=2;ua-=2;break a}break;case 2:da.mode=17;break;case 3:e.vb="invalid block type",da.mode=30}pa>>>=2;ua-=2;break;case 14:pa>>>=ua&7;for(ua-=ua&7;32>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}if((pa&65535)!==(pa>>>16^65535)){e.vb="invalid stored block lengths";da.mode=30;break}da.length=pa&65535;ua=pa=0;da.mode=15;if(6===x)break a;case 15:da.mode=16;case 16:if(Ba=da.length){Ba>va&&(Ba=va);Ba>ka&&(Ba=ka);if(0===
Ba)break a;z.Ig(ia,ma,oa,Ba,ha);va-=Ba;oa+=Ba;ka-=Ba;ha+=Ba;da.length-=Ba;break}da.mode=12;break;case 17:for(;14>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}da.mr=(pa&31)+257;pa>>>=5;ua-=5;da.Zu=(pa&31)+1;pa>>>=5;ua-=5;da.AQ=(pa&15)+4;pa>>>=4;ua-=4;if(286<da.mr||30<da.Zu){e.vb="too many length or distance symbols";da.mode=30;break}da.Ug=0;da.mode=18;case 18:for(;da.Ug<da.AQ;){for(;3>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}da.Oe[ea[da.Ug++]]=pa&7;pa>>>=3;ua-=3}for(;19>da.Ug;)da.Oe[ea[da.Ug++]]=
0;da.Gk=da.gQ;da.ij=7;Ba={nd:da.ij};Ea=n(0,da.Oe,0,19,da.Gk,0,da.pw,Ba);da.ij=Ba.nd;if(Ea){e.vb="invalid code lengths set";da.mode=30;break}da.Ug=0;da.mode=19;case 19:for(;da.Ug<da.mr+da.Zu;){for(;;){var Ia=da.Gk[pa&(1<<da.ij)-1];Ba=Ia>>>24;Ia&=65535;if(Ba<=ua)break;if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}if(16>Ia)pa>>>=Ba,ua-=Ba,da.Oe[da.Ug++]=Ia;else{if(16===Ia){for(Ga=Ba+2;ua<Ga;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}pa>>>=Ba;ua-=Ba;if(0===da.Ug){e.vb="invalid bit length repeat";
da.mode=30;break}Ga=da.Oe[da.Ug-1];Ba=3+(pa&3);pa>>>=2;ua-=2}else if(17===Ia){for(Ga=Ba+3;ua<Ga;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}pa>>>=Ba;ua-=Ba;Ga=0;Ba=3+(pa&7);pa>>>=3;ua-=3}else{for(Ga=Ba+7;ua<Ga;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}pa>>>=Ba;ua-=Ba;Ga=0;Ba=11+(pa&127);pa>>>=7;ua-=7}if(da.Ug+Ba>da.mr+da.Zu){e.vb="invalid bit length repeat";da.mode=30;break}for(;Ba--;)da.Oe[da.Ug++]=Ga}}if(30===da.mode)break;if(0===da.Oe[256]){e.vb="invalid code -- missing end-of-block";
da.mode=30;break}da.ij=9;Ba={nd:da.ij};Ea=n(1,da.Oe,0,da.mr,da.Gk,0,da.pw,Ba);da.ij=Ba.nd;if(Ea){e.vb="invalid literal/lengths set";da.mode=30;break}da.fq=6;da.Mn=da.hN;Ba={nd:da.fq};Ea=n(2,da.Oe,da.mr,da.Zu,da.Mn,0,da.pw,Ba);da.fq=Ba.nd;if(Ea){e.vb="invalid distances set";da.mode=30;break}da.mode=20;if(6===x)break a;case 20:da.mode=21;case 21:if(6<=va&&258<=ka){e.Sc=ha;e.Na=ka;e.df=oa;e.Wb=va;da.om=pa;da.nd=ua;f(e,Aa);ha=e.Sc;ia=e.output;ka=e.Na;oa=e.df;ma=e.input;va=e.Wb;pa=da.om;ua=da.nd;12===
da.mode&&(da.back=-1);break}for(da.back=0;;){Ia=da.Gk[pa&(1<<da.ij)-1];Ba=Ia>>>24;Ga=Ia>>>16&255;Ia&=65535;if(Ba<=ua)break;if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}if(Ga&&0===(Ga&240)){var Ja=Ba;var ya=Ga;for(y=Ia;;){Ia=da.Gk[y+((pa&(1<<Ja+ya)-1)>>Ja)];Ba=Ia>>>24;Ga=Ia>>>16&255;Ia&=65535;if(Ja+Ba<=ua)break;if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}pa>>>=Ja;ua-=Ja;da.back+=Ja}pa>>>=Ba;ua-=Ba;da.back+=Ba;da.length=Ia;if(0===Ga){da.mode=26;break}if(Ga&32){da.back=-1;da.mode=12;break}if(Ga&64){e.vb=
"invalid literal/length code";da.mode=30;break}da.Xb=Ga&15;da.mode=22;case 22:if(da.Xb){for(Ga=da.Xb;ua<Ga;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}da.length+=pa&(1<<da.Xb)-1;pa>>>=da.Xb;ua-=da.Xb;da.back+=da.Xb}da.xea=da.length;da.mode=23;case 23:for(;;){Ia=da.Mn[pa&(1<<da.fq)-1];Ba=Ia>>>24;Ga=Ia>>>16&255;Ia&=65535;if(Ba<=ua)break;if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}if(0===(Ga&240)){Ja=Ba;ya=Ga;for(y=Ia;;){Ia=da.Mn[y+((pa&(1<<Ja+ya)-1)>>Ja)];Ba=Ia>>>24;Ga=Ia>>>16&255;Ia&=65535;if(Ja+
Ba<=ua)break;if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}pa>>>=Ja;ua-=Ja;da.back+=Ja}pa>>>=Ba;ua-=Ba;da.back+=Ba;if(Ga&64){e.vb="invalid distance code";da.mode=30;break}da.offset=Ia;da.Xb=Ga&15;da.mode=24;case 24:if(da.Xb){for(Ga=da.Xb;ua<Ga;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}da.offset+=pa&(1<<da.Xb)-1;pa>>>=da.Xb;ua-=da.Xb;da.back+=da.Xb}if(da.offset>da.Jy){e.vb="invalid distance too far back";da.mode=30;break}da.mode=25;case 25:if(0===ka)break a;Ba=Aa-ka;if(da.offset>Ba){Ba=da.offset-
Ba;if(Ba>da.fl&&da.GH){e.vb="invalid distance too far back";da.mode=30;break}Ba>da.Vf?(Ba-=da.Vf,Ga=da.Wf-Ba):Ga=da.Vf-Ba;Ba>da.length&&(Ba=da.length);Ja=da.window}else Ja=ia,Ga=ha-da.offset,Ba=da.length;Ba>ka&&(Ba=ka);ka-=Ba;da.length-=Ba;do ia[ha++]=Ja[Ga++];while(--Ba);0===da.length&&(da.mode=21);break;case 26:if(0===ka)break a;ia[ha++]=da.length;ka--;da.mode=21;break;case 27:if(da.wrap){for(;32>ua;){if(0===va)break a;va--;pa|=ma[oa++]<<ua;ua+=8}Aa-=ka;e.Nm+=Aa;da.total+=Aa;Aa&&(e.bb=da.check=
da.flags?h(da.check,ia,Aa,ha-Aa):r(da.check,ia,Aa,ha-Aa));Aa=ka;if((da.flags?pa:fa(pa))!==da.check){e.vb="incorrect data check";da.mode=30;break}ua=pa=0}da.mode=28;case 28:if(da.wrap&&da.flags){for(;32>ua;){if(0===va)break a;va--;pa+=ma[oa++]<<ua;ua+=8}if(pa!==(da.total&4294967295)){e.vb="incorrect length check";da.mode=30;break}ua=pa=0}da.mode=29;case 29:Ea=1;break a;case 30:Ea=-3;break a;case 31:return-4;default:return-2}e.Sc=ha;e.Na=ka;e.df=oa;e.Wb=va;da.om=pa;da.nd=ua;if((da.Wf||Aa!==e.Na&&30>
da.mode&&(27>da.mode||4!==x))&&w(e,e.output,e.Sc,Aa-e.Na))return da.mode=31,-4;Ca-=e.Wb;Aa-=e.Na;e.Bj+=Ca;e.Nm+=Aa;da.total+=Aa;da.wrap&&Aa&&(e.bb=da.check=da.flags?h(da.check,ia,Aa,e.Sc-Aa):r(da.check,ia,Aa,e.Sc-Aa));e.Cy=da.nd+(da.last?64:0)+(12===da.mode?128:0)+(20===da.mode||15===da.mode?256:0);(0===Ca&&0===Aa||4===x)&&0===Ea&&(Ea=-5);return Ea};y.e7=function(e){if(!e||!e.state)return-2;var f=e.state;f.window&&(f.window=null);e.state=null;return 0};y.f7=function(e,f){e&&e.state&&(e=e.state,0!==
(e.wrap&2)&&(e.head=f,f.done=!1))};y.tP=function(e,f){var h=f.length;if(!e||!e.state)return-2;var n=e.state;if(0!==n.wrap&&11!==n.mode)return-2;if(11===n.mode){var x=r(1,f,h,0);if(x!==n.check)return-3}if(w(e,f,h,h))return n.mode=31,-4;n.LF=1;return 0};y.gja="pako inflate (from Nodeca project)"},423:function(ia){ia.exports=function(y,e){var fa=y.state;var x=y.df;var ha=y.input;var ea=x+(y.Wb-5);var da=y.Sc;var ba=y.output;e=da-(e-y.Na);var w=da+(y.Na-257);var z=fa.Jy;var r=fa.Wf;var h=fa.fl;var f=
fa.Vf;var n=fa.window;var ca=fa.om;var aa=fa.nd;var ia=fa.Gk;var ka=fa.Mn;var pa=(1<<fa.ij)-1;var xa=(1<<fa.fq)-1;a:do{15>aa&&(ca+=ha[x++]<<aa,aa+=8,ca+=ha[x++]<<aa,aa+=8);var la=ia[ca&pa];b:for(;;){var na=la>>>24;ca>>>=na;aa-=na;na=la>>>16&255;if(0===na)ba[da++]=la&65535;else if(na&16){var za=la&65535;if(na&=15)aa<na&&(ca+=ha[x++]<<aa,aa+=8),za+=ca&(1<<na)-1,ca>>>=na,aa-=na;15>aa&&(ca+=ha[x++]<<aa,aa+=8,ca+=ha[x++]<<aa,aa+=8);la=ka[ca&xa];c:for(;;){na=la>>>24;ca>>>=na;aa-=na;na=la>>>16&255;if(na&
16){la&=65535;na&=15;aa<na&&(ca+=ha[x++]<<aa,aa+=8,aa<na&&(ca+=ha[x++]<<aa,aa+=8));la+=ca&(1<<na)-1;if(la>z){y.vb="invalid distance too far back";fa.mode=30;break a}ca>>>=na;aa-=na;na=da-e;if(la>na){na=la-na;if(na>h&&fa.GH){y.vb="invalid distance too far back";fa.mode=30;break a}var ra=0;var Da=n;if(0===f){if(ra+=r-na,na<za){za-=na;do ba[da++]=n[ra++];while(--na);ra=da-la;Da=ba}}else if(f<na){if(ra+=r+f-na,na-=f,na<za){za-=na;do ba[da++]=n[ra++];while(--na);ra=0;if(f<za){na=f;za-=na;do ba[da++]=n[ra++];
while(--na);ra=da-la;Da=ba}}}else if(ra+=f-na,na<za){za-=na;do ba[da++]=n[ra++];while(--na);ra=da-la;Da=ba}for(;2<za;)ba[da++]=Da[ra++],ba[da++]=Da[ra++],ba[da++]=Da[ra++],za-=3;za&&(ba[da++]=Da[ra++],1<za&&(ba[da++]=Da[ra++]))}else{ra=da-la;do ba[da++]=ba[ra++],ba[da++]=ba[ra++],ba[da++]=ba[ra++],za-=3;while(2<za);za&&(ba[da++]=ba[ra++],1<za&&(ba[da++]=ba[ra++]))}}else if(0===(na&64)){la=ka[(la&65535)+(ca&(1<<na)-1)];continue c}else{y.vb="invalid distance code";fa.mode=30;break a}break}}else if(0===
(na&64)){la=ia[(la&65535)+(ca&(1<<na)-1)];continue b}else{na&32?fa.mode=12:(y.vb="invalid literal/length code",fa.mode=30);break a}break}}while(x<ea&&da<w);za=aa>>3;x-=za;aa-=za<<3;y.df=x;y.Sc=da;y.Wb=x<ea?5+(ea-x):5-(x-ea);y.Na=da<w?257+(w-da):257-(da-w);fa.om=ca&(1<<aa)-1;fa.nd=aa}},424:function(ia,y,e){var fa=e(403),x=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],ha=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,
16,72,78],ea=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],da=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];ia.exports=function(e,w,y,r,h,f,n,ca){var z=ca.nd,ba,ia,pa,xa,la,na,za=0,ra=new fa.Zf(16);var Da=new fa.Zf(16);var sa,oa=0;for(ba=0;15>=ba;ba++)ra[ba]=0;for(ia=0;ia<r;ia++)ra[w[y+ia]]++;var ma=z;for(pa=15;1<=pa&&0===ra[pa];pa--);ma>pa&&(ma=pa);if(0===pa)return h[f++]=20971520,
h[f++]=20971520,ca.nd=1,0;for(z=1;z<pa&&0===ra[z];z++);ma<z&&(ma=z);for(ba=xa=1;15>=ba;ba++)if(xa<<=1,xa-=ra[ba],0>xa)return-1;if(0<xa&&(0===e||1!==pa))return-1;Da[1]=0;for(ba=1;15>ba;ba++)Da[ba+1]=Da[ba]+ra[ba];for(ia=0;ia<r;ia++)0!==w[y+ia]&&(n[Da[w[y+ia]]++]=ia);if(0===e){var va=sa=n;var Fa=19}else 1===e?(va=x,za-=257,sa=ha,oa-=257,Fa=256):(va=ea,sa=da,Fa=-1);ia=la=0;ba=z;var ua=f;r=ma;Da=0;var Ca=-1;var Aa=1<<ma;var Ea=Aa-1;if(1===e&&852<Aa||2===e&&592<Aa)return 1;for(;;){var Ga=ba-Da;if(n[ia]<
Fa){var Ba=0;var Ia=n[ia]}else n[ia]>Fa?(Ba=sa[oa+n[ia]],Ia=va[za+n[ia]]):(Ba=96,Ia=0);xa=1<<ba-Da;z=na=1<<r;do na-=xa,h[ua+(la>>Da)+na]=Ga<<24|Ba<<16|Ia|0;while(0!==na);for(xa=1<<ba-1;la&xa;)xa>>=1;0!==xa?(la&=xa-1,la+=xa):la=0;ia++;if(0===--ra[ba]){if(ba===pa)break;ba=w[y+n[ia]]}if(ba>ma&&(la&Ea)!==Ca){0===Da&&(Da=ma);ua+=z;r=ba-Da;for(xa=1<<r;r+Da<pa;){xa-=ra[r+Da];if(0>=xa)break;r++;xa<<=1}Aa+=1<<r;if(1===e&&852<Aa||2===e&&592<Aa)return 1;Ca=la&Ea;h[Ca]=ma<<24|r<<16|ua-f|0}}0!==la&&(h[ua+la]=
ba-Da<<24|4194304);ca.nd=ma;return 0}},425:function(ia){ia.exports=function(){this.ZQ=this.Hea=this.time=this.text=0;this.Xb=null;this.AE=0;this.Hn=this.name="";this.ej=0;this.done=!1}}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[16],{396:function(ia,y,e){e.r(y);var fa=e(1),x=e(0);e.n(x);ia=e(84);e=e(316);ia=function(e){function y(x,y,w){y=e.call(this,x,y,w)||this;y.db=x;return y}Object(fa.c)(y,e);y.prototype.request=function(e){var y=this;Object(x.each)(e,function(e){y.db.get(e,function(w,r,h){return w?y.trigger("partReady",{Ya:e,error:w}):y.trigger("partReady",{Ya:e,data:r,Gh:!1,xf:!1,error:null,Hc:h})})})};y.prototype.hr=function(e){e()};return y}(ia.a);
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[16],{396:function(ia,y,e){e.r(y);var fa=e(1),x=e(0);e.n(x);ia=e(84);e=e(316);ia=function(e){function y(x,y,w){y=e.call(this,x,y,w)||this;y.db=x;return y}Object(fa.c)(y,e);y.prototype.request=function(e){var y=this;Object(x.each)(e,function(e){y.db.get(e,function(w,r,h){return w?y.trigger("partReady",{Ya:e,error:w}):y.trigger("partReady",{Ya:e,data:r,Gh:!1,xf:!1,error:null,Jc:h})})})};y.prototype.hr=function(e){e()};return y}(ia.a);
Object(e.a)(ia);Object(e.b)(ia);y["default"]=ia}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[17],{395:function(ia,y,e){function fa(){return!1}function x(e,f,h){if(!(f in aa))return!0;f=aa[f];for(var n=0;n<f.length;n++){var r=e;var w=f[n];var x=h;if(w.name in r){var y="",z=!1;r=r[w.name];switch(w.type){case "s":y="String";z=Object(ea.isString)(r);break;case "a":y="Array";z=Object(ea.isArray)(r);break;case "n":y="Number";z=Object(ea.isNumber)(r)&&Object(ea.isFinite)(r);break;case "o":y="Object",z=Object(ea.isObject)(r)&&!Object(ea.isArray)(r)}z||
x.reject('Expected response field "'+w.name+'" to have type '+y);w=z}else x.reject('Response missing field "'+w.name+'"'),w=!1;if(!w)return!1}return!0}e.r(y);var ha=e(1),ea=e(0);e.n(ea);var da=e(2);ia=e(48);var ba=e(32),w=e(414),z=e(84),r=e(316),h=e(38),f=e(142),n=function(){function e(){this.request=this.result=null;this.state=0;var e=this;e.promise=new Promise(function(f,h){e.resolve=function(){if(0===e.state||4===e.state)e.state=1,e.result=arguments[0],f.apply(null,arguments)};e.reject=function(){if(0===
e.state||4===e.state)e.state=2,h.apply(null,arguments)}})}e.prototype.ar=function(){return 1===(this.state&1)};e.prototype.Y7=function(){return 2===(this.state&2)};e.prototype.Wh=function(){return!this.Y7()&&!this.ar()};e.prototype.y7=function(){return 4===(this.state&4)};e.prototype.TH=function(){this.state|=4};return e}(),ca=function(){function e(){this.Oq={};this.yb=[]}e.prototype.pop=function(){var e=this.yb.pop();this.Oq[e.key]=void 0;return e};e.prototype.push=function(e,f){f={key:e,data:f};
e.state||4===e.state)e.state=2,h.apply(null,arguments)}})}e.prototype.ar=function(){return 1===(this.state&1)};e.prototype.Z7=function(){return 2===(this.state&2)};e.prototype.Wh=function(){return!this.Z7()&&!this.ar()};e.prototype.z7=function(){return 4===(this.state&4)};e.prototype.TH=function(){this.state|=4};return e}(),ca=function(){function e(){this.Oq={};this.yb=[]}e.prototype.pop=function(){var e=this.yb.pop();this.Oq[e.key]=void 0;return e};e.prototype.push=function(e,f){f={key:e,data:f};
this.yb.push(f);this.Oq[e]=f.data};e.prototype.contains=function(e){return!!this.Oq[e]};e.prototype.get=function(e){return this.Oq[e]};e.prototype.set=function(e,f){var h=this;this.Oq[e]=f;this.yb.forEach(function(f,n){f.key===e&&(h.yb[n]=f)})};e.prototype.remove=function(e){var f=this;this.Oq[e]=void 0;this.yb.forEach(function(h,n){h.key===e&&f.yb.splice(n,1)})};e.prototype.length=function(){return this.yb.length};return e}(),aa={pages:[{name:"pages",type:"a"}],pdf:[{name:"url",type:"s"}],docmod:[{name:"url",
type:"s"},{name:"rID",type:"s"}],health:[],tiles:[{name:"z",type:"n"},{name:"rID",type:"n"},{name:"tiles",type:"a"},{name:"size",type:"n"}],cAnnots:[{name:"annots",type:"a"}],annots:[{name:"url",type:"s"},{name:"name",type:"s"}],image:[{name:"url",type:"s"},{name:"name",type:"s"},{name:"p",type:"n"}],text:[{name:"url",type:"s"},{name:"name",type:"s"},{name:"p",type:"n"}],ApString2Xod:[{name:"url",type:"s"},{name:"rID",type:"s"}]};e=function(){function e(e,f,r){var x=this;this.tI=this.fN=!1;this.tg=
this.UB=this.hs=this.AG=this.JD=this.dl=null;this.Nk=new n;this.In=new n;this.wy=!1;this.We=this.ae=this.be=this.Qe=null;this.lf=[];this.bz=[];this.cache={};this.timeStamp=0;this.og=[];this.fi=[];this.DE=null;this.SM=!1;this.YS=this.id=null;this.oG=this.lP=fa;this.gh=0;this.EF=!1;this.FQ=1;this.ai={};this.Kp=0;this.Dr=new ca;f.endsWith("/")||(f+="/");r=r||{};this.fN=r.disableWebsockets||!1;this.tI=r.singleServerMode||!1;null!=r.customQueryParameters&&Object(h.b)("wvsQueryParameters",r.customQueryParameters);
f.endsWith("blackbox/")||(f+="blackbox/");this.dl=r.uploadData||null;this.hs=r.uriData||null;this.JD=r.cacheKey||null;this.AG=r.officeOptions||null;this.ue=f;this.kE=e;this.Im(!0);this.Zp=(new w.a(f,null,this.Tg())).V3(!this.fN,function(e){x.o9(e)},function(){return null},function(){x.wy=!1},function(){x.mba()})}e.prototype.$0=function(){var e=this;return new Promise(function(f,h){var n=new XMLHttpRequest;n.open("GET",e.ue+"ck");n.withCredentials=e.Tg();n.onreadystatechange=function(){n.readyState===
XMLHttpRequest.DONE&&(200===n.status?f():h())};n.send()})};e.prototype.sca=function(e){this.lP=e||fa;this.oG=fa};e.prototype.a0=function(){this.DS();return this.Zp.Rn(!0)};e.prototype.DS=function(){Object(ha.b)(this,void 0,void 0,function(){return Object(ha.d)(this,function(e){switch(e.label){case 0:return this.In=new n,this.Nk=new n,this.wy=!1,this.id=null,this.SM=!1,[4,this.$0()];case 1:return e.ea(),[2]}})})};e.prototype.mba=function(){this.lP();this.DS();this.Qe&&(this.Qe.Wh()?this.yg(this.Qe.request):
this.Qe.ar()&&this.oG(this.Qe.result.url,"pdf")&&(this.Qe=null,this.CS()));this.We&&this.We.Wh()&&this.yg(this.We.request);this.be&&this.be.Wh()?this.yg(this.be.request):this.ae&&this.ae.Wh()&&this.$O();var e;for(e=0;e<this.og.length;e++)this.og[e]&&(this.og[e].Wh()?this.yg(this.og[e].request):this.og[e].ar()&&this.oG(this.og[e].result.url,"image")&&(this.og[e]=null,this.cB(Object(ea.uniqueId)(),e)));for(e=0;e<this.fi.length;e++)this.fi[e]&&this.fi[e].Wh()&&!this.fi[e].y7()&&this.yg(this.fi[e].request);
for(e=0;e<this.lf.length;e++)this.lf[e]&&this.lf[e].Wh()&&this.yg(this.lf[e].request)};e.prototype.h7=function(){return this.wy?Promise.resolve():(this.wy=!0,this.timeStamp=Date.now(),this.Zp.Qz())};e.prototype.mea=function(){var e=this,h,n,r,w,x;return new Promise(function(y,z){if(e.dl)h=new FormData,h.append("file",e.dl.fileHandle,e.dl.fileHandle.name),n=e.dl.loadCallback,w="upload",r=e.dl.extension;else if(e.hs)h={uri:e.hs.uri,kla:e.hs.shareId},h=Object.keys(h).map(function(e){return e+"="+(h[e]?
type:"s"},{name:"rID",type:"s"}],health:[],tiles:[{name:"z",type:"n"},{name:"rID",type:"n"},{name:"tiles",type:"a"},{name:"size",type:"n"}],cAnnots:[{name:"annots",type:"a"}],annots:[{name:"url",type:"s"},{name:"name",type:"s"}],image:[{name:"url",type:"s"},{name:"name",type:"s"},{name:"p",type:"n"}],text:[{name:"url",type:"s"},{name:"name",type:"s"},{name:"p",type:"n"}],ApString2Xod:[{name:"url",type:"s"},{name:"rID",type:"s"}]};e=function(){function e(e,f,r){var x=this;this.tI=this.fN=!1;this.ug=
this.UB=this.hs=this.AG=this.JD=this.dl=null;this.Nk=new n;this.In=new n;this.wy=!1;this.We=this.ae=this.be=this.Qe=null;this.lf=[];this.bz=[];this.cache={};this.timeStamp=0;this.pg=[];this.fi=[];this.DE=null;this.SM=!1;this.ZS=this.id=null;this.oG=this.mP=fa;this.gh=0;this.EF=!1;this.GQ=1;this.ai={};this.Kp=0;this.Dr=new ca;f.endsWith("/")||(f+="/");r=r||{};this.fN=r.disableWebsockets||!1;this.tI=r.singleServerMode||!1;null!=r.customQueryParameters&&Object(h.b)("wvsQueryParameters",r.customQueryParameters);
f.endsWith("blackbox/")||(f+="blackbox/");this.dl=r.uploadData||null;this.hs=r.uriData||null;this.JD=r.cacheKey||null;this.AG=r.officeOptions||null;this.ue=f;this.kE=e;this.Im(!0);this.Zp=(new w.a(f,null,this.Tg())).W3(!this.fN,function(e){x.p9(e)},function(){return null},function(){x.wy=!1},function(){x.nba()})}e.prototype.a1=function(){var e=this;return new Promise(function(f,h){var n=new XMLHttpRequest;n.open("GET",e.ue+"ck");n.withCredentials=e.Tg();n.onreadystatechange=function(){n.readyState===
XMLHttpRequest.DONE&&(200===n.status?f():h())};n.send()})};e.prototype.tca=function(e){this.mP=e||fa;this.oG=fa};e.prototype.b0=function(){this.ES();return this.Zp.Rn(!0)};e.prototype.ES=function(){Object(ha.b)(this,void 0,void 0,function(){return Object(ha.d)(this,function(e){switch(e.label){case 0:return this.In=new n,this.Nk=new n,this.wy=!1,this.id=null,this.SM=!1,[4,this.a1()];case 1:return e.ea(),[2]}})})};e.prototype.nba=function(){this.mP();this.ES();this.Qe&&(this.Qe.Wh()?this.zg(this.Qe.request):
this.Qe.ar()&&this.oG(this.Qe.result.url,"pdf")&&(this.Qe=null,this.DS()));this.We&&this.We.Wh()&&this.zg(this.We.request);this.be&&this.be.Wh()?this.zg(this.be.request):this.ae&&this.ae.Wh()&&this.aP();var e;for(e=0;e<this.pg.length;e++)this.pg[e]&&(this.pg[e].Wh()?this.zg(this.pg[e].request):this.pg[e].ar()&&this.oG(this.pg[e].result.url,"image")&&(this.pg[e]=null,this.cB(Object(ea.uniqueId)(),e)));for(e=0;e<this.fi.length;e++)this.fi[e]&&this.fi[e].Wh()&&!this.fi[e].z7()&&this.zg(this.fi[e].request);
for(e=0;e<this.lf.length;e++)this.lf[e]&&this.lf[e].Wh()&&this.zg(this.lf[e].request)};e.prototype.i7=function(){return this.wy?Promise.resolve():(this.wy=!0,this.timeStamp=Date.now(),this.Zp.Qz())};e.prototype.nea=function(){var e=this,h,n,r,w,x;return new Promise(function(y,z){if(e.dl)h=new FormData,h.append("file",e.dl.fileHandle,e.dl.fileHandle.name),n=e.dl.loadCallback,w="upload",r=e.dl.extension;else if(e.hs)h={uri:e.hs.uri,lla:e.hs.shareId},h=Object.keys(h).map(function(e){return e+"="+(h[e]?
encodeURIComponent(h[e]):"")}).join("&"),x="application/x-www-form-urlencoded; charset=UTF-8",n=e.hs.loadCallback,w="url",r=e.hs.extension;else{y();return}var aa=new XMLHttpRequest,ca=Object(ba.h)(e.ue,"AuxUpload");ca=Object(f.a)(ca,{type:w,ext:r});aa.open("POST",ca);aa.withCredentials=e.Tg();x&&aa.setRequestHeader("Content-Type",x);aa.addEventListener("load",function(){if(aa.readyState===aa.DONE&&200===aa.status){var f=JSON.parse(aa.response);e.kE=f.uri;n(f);y(f)}});aa.addEventListener("error",function(){z(aa.statusText+
" "+JSON.stringify(aa))});e.dl&&null!=e.dl.onProgress&&(aa.upload.onprogress=function(f){e.dl.onProgress(f)});aa.send(h)})};e.prototype.cba=function(e){this.password=e||null;this.Nk.ar()||(this.Nk=new n,this.yg({t:"pages"}));return this.Nk.promise};e.prototype.Dv=function(e){this.DE=e||null;this.Nk.ar()||this.yg({t:"pages"});return this.Nk.promise};e.prototype.Et=function(e){e=Object.assign(e,{uri:encodeURIComponent(this.kE)});this.DE&&(e.ext=this.DE);this.tg&&(e.c=this.tg);this.password&&(e.pswd=
this.password);this.JD&&(e.cacheKey=this.JD);this.AG&&(e.officeOptions=this.AG);return e};e.prototype.Kba=function(){0<this.Dr.length()&&10>=this.Kp&&this.Lba(this.Dr.pop().data)};e.prototype.D_=function(e){0<this.Dr.length()&&this.Dr.contains(e)&&this.Dr.remove(e)};e.prototype.yg=function(e){e=this.Et(e);this.Zp.send(e)};e.prototype.TS=function(e,f){10<this.Kp?this.Dr.push(e,f):(this.Kp++,e=this.Et(f),this.Zp.send(e))};e.prototype.Lba=function(e){this.Kp++;e=this.Et(e);this.Zp.send(e)};e.prototype.dk=
function(e){return e};e.prototype.kP=function(e){this.tI&&e?Object(da.j)("Server failed health check. Single server mode ignoring check."):!this.lha&&e&&3>=this.gh?(this.EF=!0,this.Zp.Rn()):3<this.gh&&(this.tI=!0)};e.prototype.o9=function(e){var r=this,w=e.data,y=e.err,aa=e.t;switch(aa){case "upload":y?this.nea.reject(y):this.nea.resolve("Success");break;case "pages":y?this.Nk.reject(y):x(w,aa,this.Nk)&&this.Nk.resolve(w);break;case "config":if(y)this.In.reject(y);else if(x(w,aa,this.In)){this.kP(w.unhealthy);
w.id&&(this.id=w.id);if(w.auth){var ba=Object(h.a)("wvsQueryParameters");ba.auth=w.auth;Object(h.b)("wvsQueryParameters",ba)}w.serverVersion&&(this.UB=w.serverVersion,Object(da.h)("[WebViewer Server] server version: "+this.UB));w.serverID?(this.gh=w.serverID===this.YS&&this.EF?this.gh+1:0,this.YS=w.serverID):this.gh=0;this.EF=!1;this.In.resolve(w)}break;case "health":y?this.In.reject(y):x(w,aa,this.In)&&this.kP(w.unhealthy);break;case "pdf":w.url=Object(f.a)(this.ue+"../"+encodeURI(w.url));y?this.Qe.reject(y):
" "+JSON.stringify(aa))});e.dl&&null!=e.dl.onProgress&&(aa.upload.onprogress=function(f){e.dl.onProgress(f)});aa.send(h)})};e.prototype.dba=function(e){this.password=e||null;this.Nk.ar()||(this.Nk=new n,this.zg({t:"pages"}));return this.Nk.promise};e.prototype.Dv=function(e){this.DE=e||null;this.Nk.ar()||this.zg({t:"pages"});return this.Nk.promise};e.prototype.Et=function(e){e=Object.assign(e,{uri:encodeURIComponent(this.kE)});this.DE&&(e.ext=this.DE);this.ug&&(e.c=this.ug);this.password&&(e.pswd=
this.password);this.JD&&(e.cacheKey=this.JD);this.AG&&(e.officeOptions=this.AG);return e};e.prototype.Lba=function(){0<this.Dr.length()&&10>=this.Kp&&this.Mba(this.Dr.pop().data)};e.prototype.E_=function(e){0<this.Dr.length()&&this.Dr.contains(e)&&this.Dr.remove(e)};e.prototype.zg=function(e){e=this.Et(e);this.Zp.send(e)};e.prototype.US=function(e,f){10<this.Kp?this.Dr.push(e,f):(this.Kp++,e=this.Et(f),this.Zp.send(e))};e.prototype.Mba=function(e){this.Kp++;e=this.Et(e);this.Zp.send(e)};e.prototype.dk=
function(e){return e};e.prototype.lP=function(e){this.tI&&e?Object(da.j)("Server failed health check. Single server mode ignoring check."):!this.mha&&e&&3>=this.gh?(this.EF=!0,this.Zp.Rn()):3<this.gh&&(this.tI=!0)};e.prototype.p9=function(e){var r=this,w=e.data,y=e.err,aa=e.t;switch(aa){case "upload":y?this.oea.reject(y):this.oea.resolve("Success");break;case "pages":y?this.Nk.reject(y):x(w,aa,this.Nk)&&this.Nk.resolve(w);break;case "config":if(y)this.In.reject(y);else if(x(w,aa,this.In)){this.lP(w.unhealthy);
w.id&&(this.id=w.id);if(w.auth){var ba=Object(h.a)("wvsQueryParameters");ba.auth=w.auth;Object(h.b)("wvsQueryParameters",ba)}w.serverVersion&&(this.UB=w.serverVersion,Object(da.h)("[WebViewer Server] server version: "+this.UB));w.serverID?(this.gh=w.serverID===this.ZS&&this.EF?this.gh+1:0,this.ZS=w.serverID):this.gh=0;this.EF=!1;this.In.resolve(w)}break;case "health":y?this.In.reject(y):x(w,aa,this.In)&&this.lP(w.unhealthy);break;case "pdf":w.url=Object(f.a)(this.ue+"../"+encodeURI(w.url));y?this.Qe.reject(y):
x(w,aa,this.Qe)&&this.Qe.resolve(w);break;case "ApString2Xod":w.url=Object(f.a)(this.ue+"../data/"+encodeURI(w.url));y?this.ai[w.rID].reject(y):x(w,aa,this.ai[w.rID])&&this.ai[w.rID].resolve(w);break;case "docmod":w.url=Object(f.a)(this.ue+"../"+encodeURI(w.url));y?this.ai[w.rID].reject(y):x(w,aa,this.Qe)&&this.ai[w.rID].resolve(w);break;case "xod":if(y)this.be&&this.be.Wh()&&this.be.reject(y),this.ae&&this.ae.Wh()&&this.ae.reject(y);else if(w.notFound)w.noCreate||this.be&&this.be.Wh()&&this.be.resolve(w),
this.ae&&this.ae.Wh()&&this.ae.resolve(w);else{w.url&&(w.url=Object(f.a)(this.ue+"../"+encodeURI(w.url)));if(!this.ae||this.ae.ar())this.ae=new n,this.ae.request={t:"xod",noCreate:!0};this.be||(this.be=new n,this.be.request={t:"xod"});this.ae.resolve(w);this.be.resolve(w)}break;case "cAnnots":ba=this.We;if(y)ba.reject(y);else if(x(w,aa,ba)){ba.TH();var ca=[],fa=w.annots;w=function(e){var h=fa[e].s,n=fa[e].e,w=ha.ue+"../"+encodeURI(fa[e].xfdf),x="true"===fa[e].hasAppearance?Object(f.a)(w+".xodapp"):
null,y=Object(ea.range)(h,n+1);ca[e]={range:y,promise:new Promise(function(e,h){var n=new XMLHttpRequest;n.open("GET",Object(f.a)(w));n.responseType="text";n.withCredentials=r.Tg();n.addEventListener("load",function(){n.readyState===n.DONE&&200===n.status&&e({jp:n.response,Wj:x,range:y})});n.addEventListener("error",function(){h(n.statusText+" "+JSON.stringify(n))});n.send()})}};var ha=this;for(y=0;y<fa.length;y++)w(y);ba.resolve(ca)}break;case "annots":if(y)this.We.reject(y);else if(x(w,aa,this.We)){this.We.TH();
var ia=new XMLHttpRequest;ba=this.ue+"../"+encodeURI(w.url);var ja=w.hasAppearance?Object(f.a)(ba+".xodapp"):null;ia.open("GET",Object(f.a)(ba));ia.responseType="text";ia.withCredentials=this.Tg();ia.addEventListener("load",function(){ia.readyState===ia.DONE&&200===ia.status&&r.We.resolve({jp:ia.response,Wj:ja})});ia.addEventListener("error",function(){r.We.reject(ia.statusText+" "+JSON.stringify(ia))});ia.send()}break;case "image":this.Kp--;var ka=this.og[w.p];y?ka.promise.reject(y):x(w,aa,ka)&&
(ka.result=w,ka.result.url=Object(f.a)(this.ue+"../"+encodeURI(ka.result.url)),ka.resolve(ka.result));break;case "tiles":this.Kp--;ka=w.rID;ba=this.lf[ka];this.lf[ka]=null;this.bz.push(ka);if(y)ba.reject(y);else if(x(w,aa,ba)){for(y=0;y<w.tiles.length;y++)w.tiles[y]=Object(f.a)(this.ue+"../"+encodeURI(w.tiles[y]));ba.resolve(w)}break;case "text":ka=this.fi[w.p];if(y)ka.reject(y);else if(x(w,aa,ka)){ka.TH();var wa=new XMLHttpRequest;w=Object(f.a)(this.ue+"../"+encodeURI(w.url));wa.open("GET",w);wa.withCredentials=
this.Tg();wa.addEventListener("load",function(){wa.readyState===wa.DONE&&200===wa.status&&(ka.result=JSON.parse(wa.response),ka.resolve(ka.result))});wa.addEventListener("error",function(e){ka.reject(wa.statusText+" "+JSON.stringify(e))});wa.send()}break;case "progress":"loading"===w.t&&this.trigger(z.a.Events.DOCUMENT_LOADING_PROGRESS,[w.bytes,w.total])}this.Kba();!aa&&e.echo&&e&&"apstring2xod"===e.echo.t&&(e=e.echo.reqID)&&(2<=parseInt(this.UB,10)?this.ai[e].reject("Message unhandled by server"):
this.ai[e].reject())};e.prototype.E4=function(){return Object(ha.b)(this,void 0,void 0,function(){return Object(ha.d)(this,function(e){switch(e.label){case 0:return[4,this.h7()];case 1:return e.ea(),[2,this.In.promise]}})})};e.prototype.j4=function(e){for(var h=this,r=new XMLHttpRequest,w=Object(f.a)(this.ue+"aul",{id:this.id}),x=new FormData,y={},z=0;z<e.body.length;z++){var aa=e.body[z];y[aa.id]=aa.yD.w+";"+aa.yD.h;x.append(aa.id,aa.yD.dataString)}e={t:"apstring2xod",reqID:this.FQ++,parts:y};var ba=
this.Et(e);x.append("msg",JSON.stringify(ba));this.ai[ba.reqID]=new n;r.open("POST",w);r.withCredentials=this.Tg;w=new Promise(function(e,f){r.onreadystatechange=function(){4===r.readyState&&(200===r.status?e():f("An error occurred while sending down appearance strings to the server"))}});r.send(x);return w.then(function(){return h.ai[ba.reqID].promise})};e.prototype.c0=function(){var e=this.UB.split("-")[0].split("."),f=["1","5","9"];if(3!==e.length)throw Error("Invalid WVS version length.");if(3!==
f.length)throw Error("Invalid version length.");for(var h=0;h<e.length;++h){if(f.length===h||e[h]>f[h])return-1;if(e[h]!==f[h])return 1}return 0};e.prototype.Fn=function(){return 0>=this.c0()};e.prototype.NE=function(){this.We||(this.We=new n,this.Fn()?this.We.request={t:"cAnnots"}:this.We.request={t:"annots"},this.yg(this.We.request));return this.We.promise};e.prototype.cB=function(e,f){this.og[f]||(this.og[f]=new n,this.og[f].request={t:"image",p:f},this.TS(e,this.og[f].request));return this.og[f].promise};
e.prototype.dba=function(e){this.fi[e]||(this.fi[e]=new n,this.fi[e].request={t:"text",p:e},this.yg(this.fi[e].request));return this.fi[e].promise};e.prototype.eba=function(e,f,h,r,w){var x=this.lf.length;this.bz.length&&(x=this.bz.pop());this.lf[x]=new n;this.lf[x].request={t:"tiles",p:f,z:h,r:r,size:w,rID:x};this.TS(e,this.lf[x].request);return this.lf[x].promise};e.prototype.CS=function(){this.Qe||(this.Qe=new n,this.Qe.request={t:"pdf"},this.SM?this.Qe.resolve({url:this.kE}):this.yg(this.Qe.request));
return this.Qe.promise};e.prototype.DO=function(e){var h=this,r=new XMLHttpRequest,w=Object(f.a)(this.ue+"aul",{id:this.id}),x=new FormData,y={};e.annots&&(y.annots="xfdf");e.watermark&&(y.watermark="png");e.redactions&&(y.redactions="redact");y={t:"docmod",reqID:this.FQ++,parts:y};e.print&&(y.print=!0);var z=this.Et(y);x.append("msg",JSON.stringify(z));return Promise.all([e.annots,e.watermark,e.redactions].map(function(e){return Promise.resolve(e)})).then(function(e){var f=e[0],y=e[1];e=e[2];f&&
x.append("annots",f);y&&x.append("watermark",y);e&&x.append("redactions",e);h.ai[z.reqID]=new n;r.open("POST",w);r.withCredentials=h.Tg;f=new Promise(function(e,f){r.onreadystatechange=function(){4===r.readyState&&(200===r.status?e():f("An error occurred while sending down annotation data to the server"))}});r.send(x);return f.then(function(){return h.ai[z.reqID].promise})})};e.prototype.$O=function(){this.ae||(this.ae=new n,this.ae.request={t:"xod",noCreate:!0},this.yg(this.ae.request));return this.ae.promise};
e.prototype.fba=function(){this.be||(this.be=new n,this.be.request={t:"xod"},this.yg(this.be.request));return this.be.promise};e.prototype.Em=function(){return!0};e.prototype.request=function(){};e.prototype.XR=function(){};e.prototype.abort=function(){for(var e=0;e<this.lf.length;e++)this.lf[e]&&(this.lf[e].resolve(null),this.lf[e]=null,this.bz.push(e));this.close()};e.prototype.mB=function(e){this.tg=this.tg||{};this.tg.headers=e};e.prototype.Im=function(e){this.tg=this.tg||{};this.tg.internal=
this.tg.internal||{};this.tg.internal.withCredentials=e};e.prototype.Tg=function(){return this.tg&&this.tg.internal?this.tg.internal.withCredentials:null};e.prototype.getFileData=function(){return Promise.reject()};return e}();Object(ia.a)(e);Object(r.a)(e);Object(r.b)(e);y["default"]=e},414:function(ia,y,e){var fa=e(1),x=e(2),ha=e(32),ea=e(38),da=e(142),ba=e(103),w=function(){function e(e,f,n,r,w,x){void 0===n&&(n=null);void 0===r&&(r=null);void 0===w&&(w=null);void 0===x&&(x=null);this.nQ=!1;this.gh=
0;this.eM=this.Eea(e);this.url=f?this.eM+"/"+f:this.eM+"/ws";this.gE=n;this.gv=r;this.Ct=w;this.BH=x}e.prototype.Eea=function(e){var f=e.indexOf("://"),h="ws://";0>f?f=0:(5===f&&(h="wss://"),f+=3);var r=e.lastIndexOf("/");0>r&&(r=e.length);return h+e.slice(f,r)};e.prototype.send=function(e){this.Sm.readyState===WebSocket.CLOSED||this.nQ||this.Sm.send(JSON.stringify(e))};e.prototype.Qz=function(){return Object(fa.b)(this,void 0,void 0,function(){var e,f=this;return Object(fa.d)(this,function(){e=Object(ea.a)("wvsQueryParameters");
e.bcid=Object(ha.i)(8);Object(ea.b)("wvsQueryParameters",e);return[2,new Promise(function(e,h){var n=Object(da.a)(f.url);f.Sm=new WebSocket(n);f.Sm.onopen=function(){f.gv&&f.gv();e()};f.Sm.onerror=function(e){f.nQ=!0;h(e)};f.Sm.onclose=function(e){var n=e.code;return Object(fa.b)(f,void 0,void 0,function(){var e=this;return Object(fa.d)(this,function(f){switch(f.label){case 0:return this.Ct&&this.Ct(),3E3===n?[3,3]:8>this.gh++?[4,new Promise(function(f){return setTimeout(function(){return Object(fa.b)(e,
var ia=new XMLHttpRequest;ba=this.ue+"../"+encodeURI(w.url);var ja=w.hasAppearance?Object(f.a)(ba+".xodapp"):null;ia.open("GET",Object(f.a)(ba));ia.responseType="text";ia.withCredentials=this.Tg();ia.addEventListener("load",function(){ia.readyState===ia.DONE&&200===ia.status&&r.We.resolve({jp:ia.response,Wj:ja})});ia.addEventListener("error",function(){r.We.reject(ia.statusText+" "+JSON.stringify(ia))});ia.send()}break;case "image":this.Kp--;var ka=this.pg[w.p];y?ka.promise.reject(y):x(w,aa,ka)&&
(ka.result=w,ka.result.url=Object(f.a)(this.ue+"../"+encodeURI(ka.result.url)),ka.resolve(ka.result));break;case "tiles":this.Kp--;ka=w.rID;ba=this.lf[ka];this.lf[ka]=null;this.bz.push(ka);if(y)ba.reject(y);else if(x(w,aa,ba)){for(y=0;y<w.tiles.length;y++)w.tiles[y]=Object(f.a)(this.ue+"../"+encodeURI(w.tiles[y]));ba.resolve(w)}break;case "text":ka=this.fi[w.p];if(y)ka.reject(y);else if(x(w,aa,ka)){ka.TH();var Fa=new XMLHttpRequest;w=Object(f.a)(this.ue+"../"+encodeURI(w.url));Fa.open("GET",w);Fa.withCredentials=
this.Tg();Fa.addEventListener("load",function(){Fa.readyState===Fa.DONE&&200===Fa.status&&(ka.result=JSON.parse(Fa.response),ka.resolve(ka.result))});Fa.addEventListener("error",function(e){ka.reject(Fa.statusText+" "+JSON.stringify(e))});Fa.send()}break;case "progress":"loading"===w.t&&this.trigger(z.a.Events.DOCUMENT_LOADING_PROGRESS,[w.bytes,w.total])}this.Lba();!aa&&e.echo&&e&&"apstring2xod"===e.echo.t&&(e=e.echo.reqID)&&(2<=parseInt(this.UB,10)?this.ai[e].reject("Message unhandled by server"):
this.ai[e].reject())};e.prototype.F4=function(){return Object(ha.b)(this,void 0,void 0,function(){return Object(ha.d)(this,function(e){switch(e.label){case 0:return[4,this.i7()];case 1:return e.ea(),[2,this.In.promise]}})})};e.prototype.k4=function(e){for(var h=this,r=new XMLHttpRequest,w=Object(f.a)(this.ue+"aul",{id:this.id}),x=new FormData,y={},z=0;z<e.body.length;z++){var aa=e.body[z];y[aa.id]=aa.yD.w+";"+aa.yD.h;x.append(aa.id,aa.yD.dataString)}e={t:"apstring2xod",reqID:this.GQ++,parts:y};var ba=
this.Et(e);x.append("msg",JSON.stringify(ba));this.ai[ba.reqID]=new n;r.open("POST",w);r.withCredentials=this.Tg;w=new Promise(function(e,f){r.onreadystatechange=function(){4===r.readyState&&(200===r.status?e():f("An error occurred while sending down appearance strings to the server"))}});r.send(x);return w.then(function(){return h.ai[ba.reqID].promise})};e.prototype.d0=function(){var e=this.UB.split("-")[0].split("."),f=["1","5","9"];if(3!==e.length)throw Error("Invalid WVS version length.");if(3!==
f.length)throw Error("Invalid version length.");for(var h=0;h<e.length;++h){if(f.length===h||e[h]>f[h])return-1;if(e[h]!==f[h])return 1}return 0};e.prototype.Fn=function(){return 0>=this.d0()};e.prototype.NE=function(){this.We||(this.We=new n,this.Fn()?this.We.request={t:"cAnnots"}:this.We.request={t:"annots"},this.zg(this.We.request));return this.We.promise};e.prototype.cB=function(e,f){this.pg[f]||(this.pg[f]=new n,this.pg[f].request={t:"image",p:f},this.US(e,this.pg[f].request));return this.pg[f].promise};
e.prototype.eba=function(e){this.fi[e]||(this.fi[e]=new n,this.fi[e].request={t:"text",p:e},this.zg(this.fi[e].request));return this.fi[e].promise};e.prototype.fba=function(e,f,h,r,w){var x=this.lf.length;this.bz.length&&(x=this.bz.pop());this.lf[x]=new n;this.lf[x].request={t:"tiles",p:f,z:h,r:r,size:w,rID:x};this.US(e,this.lf[x].request);return this.lf[x].promise};e.prototype.DS=function(){this.Qe||(this.Qe=new n,this.Qe.request={t:"pdf"},this.SM?this.Qe.resolve({url:this.kE}):this.zg(this.Qe.request));
return this.Qe.promise};e.prototype.DO=function(e){var h=this,r=new XMLHttpRequest,w=Object(f.a)(this.ue+"aul",{id:this.id}),x=new FormData,y={};e.annots&&(y.annots="xfdf");e.watermark&&(y.watermark="png");e.redactions&&(y.redactions="redact");y={t:"docmod",reqID:this.GQ++,parts:y};e.print&&(y.print=!0);var z=this.Et(y);x.append("msg",JSON.stringify(z));return Promise.all([e.annots,e.watermark,e.redactions].map(function(e){return Promise.resolve(e)})).then(function(e){var f=e[0],y=e[1];e=e[2];f&&
x.append("annots",f);y&&x.append("watermark",y);e&&x.append("redactions",e);h.ai[z.reqID]=new n;r.open("POST",w);r.withCredentials=h.Tg;f=new Promise(function(e,f){r.onreadystatechange=function(){4===r.readyState&&(200===r.status?e():f("An error occurred while sending down annotation data to the server"))}});r.send(x);return f.then(function(){return h.ai[z.reqID].promise})})};e.prototype.aP=function(){this.ae||(this.ae=new n,this.ae.request={t:"xod",noCreate:!0},this.zg(this.ae.request));return this.ae.promise};
e.prototype.gba=function(){this.be||(this.be=new n,this.be.request={t:"xod"},this.zg(this.be.request));return this.be.promise};e.prototype.Em=function(){return!0};e.prototype.request=function(){};e.prototype.YR=function(){};e.prototype.abort=function(){for(var e=0;e<this.lf.length;e++)this.lf[e]&&(this.lf[e].resolve(null),this.lf[e]=null,this.bz.push(e));this.close()};e.prototype.mB=function(e){this.ug=this.ug||{};this.ug.headers=e};e.prototype.Im=function(e){this.ug=this.ug||{};this.ug.internal=
this.ug.internal||{};this.ug.internal.withCredentials=e};e.prototype.Tg=function(){return this.ug&&this.ug.internal?this.ug.internal.withCredentials:null};e.prototype.getFileData=function(){return Promise.reject()};return e}();Object(ia.a)(e);Object(r.a)(e);Object(r.b)(e);y["default"]=e},414:function(ia,y,e){var fa=e(1),x=e(2),ha=e(32),ea=e(38),da=e(142),ba=e(103),w=function(){function e(e,f,n,r,w,x){void 0===n&&(n=null);void 0===r&&(r=null);void 0===w&&(w=null);void 0===x&&(x=null);this.oQ=!1;this.gh=
0;this.eM=this.Fea(e);this.url=f?this.eM+"/"+f:this.eM+"/ws";this.gE=n;this.gv=r;this.Ct=w;this.BH=x}e.prototype.Fea=function(e){var f=e.indexOf("://"),h="ws://";0>f?f=0:(5===f&&(h="wss://"),f+=3);var r=e.lastIndexOf("/");0>r&&(r=e.length);return h+e.slice(f,r)};e.prototype.send=function(e){this.Sm.readyState===WebSocket.CLOSED||this.oQ||this.Sm.send(JSON.stringify(e))};e.prototype.Qz=function(){return Object(fa.b)(this,void 0,void 0,function(){var e,f=this;return Object(fa.d)(this,function(){e=Object(ea.a)("wvsQueryParameters");
e.bcid=Object(ha.i)(8);Object(ea.b)("wvsQueryParameters",e);return[2,new Promise(function(e,h){var n=Object(da.a)(f.url);f.Sm=new WebSocket(n);f.Sm.onopen=function(){f.gv&&f.gv();e()};f.Sm.onerror=function(e){f.oQ=!0;h(e)};f.Sm.onclose=function(e){var n=e.code;return Object(fa.b)(f,void 0,void 0,function(){var e=this;return Object(fa.d)(this,function(f){switch(f.label){case 0:return this.Ct&&this.Ct(),3E3===n?[3,3]:8>this.gh++?[4,new Promise(function(f){return setTimeout(function(){return Object(fa.b)(e,
void 0,void 0,function(){return Object(fa.d)(this,function(e){switch(e.label){case 0:return this.BH(),[4,this.Qz()];case 1:return e.ea(),f(),[2]}})})},3E3)})]:[3,2];case 1:return f.ea(),[3,3];case 2:h(ba.a),f.label=3;case 3:return[2]}})})};f.Sm.onmessage=function(e){e&&e.data&&(e=JSON.parse(e.data),e.hb?f.send({hb:!0}):e.end?close():f.gE(e))}})]})})};e.prototype.Rn=function(e){void 0===e&&(e=!1);this.gh=0;e?this.Sm.close(3E3):this.Sm.close();return Promise.resolve()};return e}(),z=function(){function e(e,
f,n,r,w,x,y){void 0===r&&(r=null);void 0===w&&(w=null);void 0===x&&(x=null);void 0===y&&(y=null);this.gh=this.bB=this.id=0;this.wu=!1;this.request=null;e=this.H$(e);this.url=f?e+"/"+f+"pf":e+"/pf";this.OB=n;this.gE=r;this.gv=w;this.Ct=x;this.BH=y}e.prototype.H$=function(e){var f=e.lastIndexOf("/");0>f&&(f=e.length);return e.slice(0,f)};e.prototype.N0=function(e){e=e.split("\n");for(e[e.length-1]&&e.pop();0<e.length&&3>e[e.length-1].length;)"]"===e.pop()&&(this.id=0);0<e.length&&3>e[0].length&&e.shift();
for(var f=0;f<e.length;++f)e[f].endsWith(",")&&(e[f]=e[f].substr(0,e[f].length-1));return e};e.prototype.LS=function(){return Object(fa.b)(this,void 0,void 0,function(){var e=this;return Object(fa.d)(this,function(f){switch(f.label){case 0:return 8>this.gh++?[4,new Promise(function(f){return setTimeout(function(){e.BH();e.Qz();f()},3E3)})]:[3,2];case 1:f.ea(),f.label=2;case 2:return[2]}})})};e.prototype.J$=function(e){Object(fa.b)(this,void 0,void 0,function(){var f,h;return Object(fa.d)(this,function(n){switch(n.label){case 0:f=
null,h=0,n.label=1;case 1:if(!(h<e.length))return[3,6];f=JSON.parse(e[h]);if(!f)return[3,5];if(!f.end)return[3,2];close();return[3,5];case 2:if(!f.id||Number(f.id)===this.id)return[3,4];Object(x.j)("Reconnecting, new server detected");this.Rn();return[4,this.LS()];case 3:return n.ea(),[3,5];case 4:f.hb&&Number(f.id)===this.id?this.send({hb:!0}):this.wu||this.gE(f),n.label=5;case 5:return++h,[3,1];case 6:return[2]}})})};e.prototype.l9=function(e){Object(fa.b)(this,void 0,void 0,function(){var f,h,
r;return Object(fa.d)(this,function(n){switch(n.label){case 0:if(!(3<=e.readyState))return[3,2];try{f=e.responseText.length}catch(ja){return Object(x.h)("caught exception"),[2]}if(0<f)try{h=this.N0(e.responseText),0===this.id&&0<h.length&&(r=JSON.parse(h.shift()),this.id=r.id,this.gh=0),this.J$(h)}catch(ja){}return this.wu?[3,2]:[4,this.NN()];case 1:n.ea(),n.label=2;case 2:return[2]}})})};e.prototype.NN=function(){return Object(fa.b)(this,void 0,void 0,function(){var e=this;return Object(fa.d)(this,
function(){return[2,new Promise(function(f,h){function n(){return Object(fa.b)(e,void 0,void 0,function(){return Object(fa.d)(this,function(e){switch(e.label){case 0:h(),this.Rn(),e.label=1;case 1:return this.wu&&8>this.gh?[4,this.LS()]:[3,3];case 2:return e.ea(),[3,1];case 3:return[2]}})})}e.request=new XMLHttpRequest;e.request.withCredentials=e.OB;var r=Object(da.a)(e.url,0!==e.id?{id:String(e.id),uc:String(e.bB)}:{uc:String(e.bB)});e.bB++;e.request.open("GET",r,!0);e.request.setRequestHeader("Cache-Control",
"no-cache");e.request.setRequestHeader("X-Requested-With","XMLHttpRequest");e.request.onreadystatechange=function(){e.l9(e.request)};e.request.addEventListener("error",n);e.request.addEventListener("timeout",n);e.request.addEventListener("load",function(){e.gv&&e.gv();f()});e.request.send()})]})})};e.prototype.Qz=function(){var e=Object(ea.a)("wvsQueryParameters");e.bcid=Object(ha.i)(8);Object(ea.b)("wvsQueryParameters",e);this.bB=this.id=0;this.wu=!1;return this.NN()};e.prototype.send=function(e){var f=
this,h=new XMLHttpRequest;h.withCredentials=this.OB;var r=Object(da.a)(this.url,{id:String(this.id)}),w=new FormData;w.append("data",JSON.stringify(e));h.addEventListener("error",function(){f.Rn()});h.open("POST",r);h.setRequestHeader("X-Requested-With","XMLHttpRequest");h.send(w)};e.prototype.Rn=function(){this.id=0;this.wu=!0;this.Ct&&this.Ct();this.request.abort();return Promise.resolve()};return e}();ia=function(){function e(e,f,n){this.BM=e;this.target=f;this.OB=n}e.prototype.V3=function(e,f,
f,n,r,w,x,y){void 0===r&&(r=null);void 0===w&&(w=null);void 0===x&&(x=null);void 0===y&&(y=null);this.gh=this.bB=this.id=0;this.wu=!1;this.request=null;e=this.I$(e);this.url=f?e+"/"+f+"pf":e+"/pf";this.OB=n;this.gE=r;this.gv=w;this.Ct=x;this.BH=y}e.prototype.I$=function(e){var f=e.lastIndexOf("/");0>f&&(f=e.length);return e.slice(0,f)};e.prototype.O0=function(e){e=e.split("\n");for(e[e.length-1]&&e.pop();0<e.length&&3>e[e.length-1].length;)"]"===e.pop()&&(this.id=0);0<e.length&&3>e[0].length&&e.shift();
for(var f=0;f<e.length;++f)e[f].endsWith(",")&&(e[f]=e[f].substr(0,e[f].length-1));return e};e.prototype.MS=function(){return Object(fa.b)(this,void 0,void 0,function(){var e=this;return Object(fa.d)(this,function(f){switch(f.label){case 0:return 8>this.gh++?[4,new Promise(function(f){return setTimeout(function(){e.BH();e.Qz();f()},3E3)})]:[3,2];case 1:f.ea(),f.label=2;case 2:return[2]}})})};e.prototype.K$=function(e){Object(fa.b)(this,void 0,void 0,function(){var f,h;return Object(fa.d)(this,function(n){switch(n.label){case 0:f=
null,h=0,n.label=1;case 1:if(!(h<e.length))return[3,6];f=JSON.parse(e[h]);if(!f)return[3,5];if(!f.end)return[3,2];close();return[3,5];case 2:if(!f.id||Number(f.id)===this.id)return[3,4];Object(x.j)("Reconnecting, new server detected");this.Rn();return[4,this.MS()];case 3:return n.ea(),[3,5];case 4:f.hb&&Number(f.id)===this.id?this.send({hb:!0}):this.wu||this.gE(f),n.label=5;case 5:return++h,[3,1];case 6:return[2]}})})};e.prototype.m9=function(e){Object(fa.b)(this,void 0,void 0,function(){var f,h,
r;return Object(fa.d)(this,function(n){switch(n.label){case 0:if(!(3<=e.readyState))return[3,2];try{f=e.responseText.length}catch(ja){return Object(x.h)("caught exception"),[2]}if(0<f)try{h=this.O0(e.responseText),0===this.id&&0<h.length&&(r=JSON.parse(h.shift()),this.id=r.id,this.gh=0),this.K$(h)}catch(ja){}return this.wu?[3,2]:[4,this.NN()];case 1:n.ea(),n.label=2;case 2:return[2]}})})};e.prototype.NN=function(){return Object(fa.b)(this,void 0,void 0,function(){var e=this;return Object(fa.d)(this,
function(){return[2,new Promise(function(f,h){function n(){return Object(fa.b)(e,void 0,void 0,function(){return Object(fa.d)(this,function(e){switch(e.label){case 0:h(),this.Rn(),e.label=1;case 1:return this.wu&&8>this.gh?[4,this.MS()]:[3,3];case 2:return e.ea(),[3,1];case 3:return[2]}})})}e.request=new XMLHttpRequest;e.request.withCredentials=e.OB;var r=Object(da.a)(e.url,0!==e.id?{id:String(e.id),uc:String(e.bB)}:{uc:String(e.bB)});e.bB++;e.request.open("GET",r,!0);e.request.setRequestHeader("Cache-Control",
"no-cache");e.request.setRequestHeader("X-Requested-With","XMLHttpRequest");e.request.onreadystatechange=function(){e.m9(e.request)};e.request.addEventListener("error",n);e.request.addEventListener("timeout",n);e.request.addEventListener("load",function(){e.gv&&e.gv();f()});e.request.send()})]})})};e.prototype.Qz=function(){var e=Object(ea.a)("wvsQueryParameters");e.bcid=Object(ha.i)(8);Object(ea.b)("wvsQueryParameters",e);this.bB=this.id=0;this.wu=!1;return this.NN()};e.prototype.send=function(e){var f=
this,h=new XMLHttpRequest;h.withCredentials=this.OB;var r=Object(da.a)(this.url,{id:String(this.id)}),w=new FormData;w.append("data",JSON.stringify(e));h.addEventListener("error",function(){f.Rn()});h.open("POST",r);h.setRequestHeader("X-Requested-With","XMLHttpRequest");h.send(w)};e.prototype.Rn=function(){this.id=0;this.wu=!0;this.Ct&&this.Ct();this.request.abort();return Promise.resolve()};return e}();ia=function(){function e(e,f,n){this.BM=e;this.target=f;this.OB=n}e.prototype.W3=function(e,f,
n,r,x){void 0===e&&(e=!0);void 0===f&&(f=null);void 0===n&&(n=null);void 0===r&&(r=null);void 0===x&&(x=null);return e?new w(this.BM,this.target,f,n,r,x):new z(this.BM,this.target,this.OB,f,n,r,x)};return e}();y.a=ia}}]);}).call(this || window)
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[18],{394:function(ia,y,e){e.r(y);var fa=e(1),x=e(215);ia=e(384);var ha=e(84);e=e(316);var ea={},da=function(e){function w(w,r){var h=e.call(this,w,r)||this;h.url=w;h.range=r;h.status=x.a.NOT_STARTED;return h}Object(fa.c)(w,e);w.prototype.start=function(e){var r=this;"undefined"===typeof ea[this.range.start]&&(ea[this.range.start]={Wr:function(h){var f=atob(h),n,w=f.length;h=new Uint8Array(w);for(n=0;n<w;++n)h[n]=f.charCodeAt(n);
f=h.length;n="";for(var x=0;x<f;)w=h.subarray(x,x+1024),x+=1024,n+=String.fromCharCode.apply(null,w);r.Wr(n,e)},FN:function(){r.status=x.a.ERROR;e({code:r.status})}},window.external.Qja(this.url),this.status=x.a.STARTED);r.vz()};return w}(ia.ByteRangeRequest);ia=function(e){function w(w,r,h,f){w=e.call(this,w,h,f)||this;w.xv=da;return w}Object(fa.c)(w,e);w.prototype.Ft=function(e,r){return e+"?"+r.start+"&"+(r.stop?r.stop:"")};return w}(ha.a);Object(e.a)(ia);Object(e.b)(ia);y["default"]=ia}}]);}).call(this || window)
f=h.length;n="";for(var x=0;x<f;)w=h.subarray(x,x+1024),x+=1024,n+=String.fromCharCode.apply(null,w);r.Wr(n,e)},FN:function(){r.status=x.a.ERROR;e({code:r.status})}},window.external.Rja(this.url),this.status=x.a.STARTED);r.vz()};return w}(ia.ByteRangeRequest);ia=function(e){function w(w,r,h,f){w=e.call(this,w,h,f)||this;w.xv=da;return w}Object(fa.c)(w,e);w.prototype.Ft=function(e,r){return e+"?"+r.start+"&"+(r.stop?r.stop:"")};return w}(ha.a);Object(e.a)(ia);Object(e.b)(ia);y["default"]=ia}}]);}).call(this || window)

@@ -1,1 +0,1 @@

!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=1)}([function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){n(2),e.exports=n(6)},function(e,t,n){(function(o,i){var r,a;function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(o,i){"object"==s(t)&&void 0!==e?i():void 0===(a="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=a)}(0,(function(){"use strict";function e(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}function t(){}function n(e){if(!(this instanceof n))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function r(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,n._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(e){return void c(t.promise,e)}a(t.promise,o)}else(1===e._state?a:c)(t.promise,e._value)}))):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==s(t)||"function"==typeof t)){var o=t.then;if(t instanceof n)return e._state=3,e._value=t,void l(e);if("function"==typeof o)return void d(function(e,t){return function(){e.apply(t,arguments)}}(o,t),e)}e._state=1,e._value=t,l(e)}catch(t){c(e,t)}}function c(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&n._immediateFn((function(){e._handled||n._unhandledRejectionFn(e._value)}));for(var t=0,o=e._deferreds.length;o>t;t++)r(e,e._deferreds[t]);e._deferreds=null}function d(e,t){var n=!1;try{e((function(e){n||(n=!0,a(t,e))}),(function(e){n||(n=!0,c(t,e))}))}catch(e){if(n)return;n=!0,c(t,e)}}var u=setTimeout;n.prototype.catch=function(e){return this.then(null,e)},n.prototype.then=function(e,n){var o=new this.constructor(t);return r(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,n,o)),o},n.prototype.finally=e,n.all=function(e){return new n((function(t,n){function o(e,a){try{if(a&&("object"==s(a)||"function"==typeof a)){var c=a.then;if("function"==typeof c)return void c.call(a,(function(t){o(e,t)}),n)}i[e]=a,0==--r&&t(i)}catch(e){n(e)}}if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var r=i.length,a=0;i.length>a;a++)o(a,i[a])}))},n.resolve=function(e){return e&&"object"==s(e)&&e.constructor===n?e:new n((function(t){t(e)}))},n.reject=function(e){return new n((function(t,n){n(e)}))},n.race=function(e){return new n((function(t,n){for(var o=0,i=e.length;i>o;o++)e[o].then(t,n)}))},n._immediateFn="function"==typeof o&&function(e){o(e)}||function(e){u(e,0)},n._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var f=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==i)return i;throw Error("unable to locate global object")}();"Promise"in f?f.Promise.prototype.finally||(f.Promise.prototype.finally=e):f.Promise=n}))}).call(this,n(3).setImmediate,n(0))},function(e,t,n){(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(4),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var o,i,r,a,s,c=1,l={},d=!1,u=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){h(e.data)},o=function(e){r.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(i=u.documentElement,o=function(e){var t=u.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):o=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),o=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return l[c]=i,o(c),c++},f.clearImmediate=p}function p(e){delete l[e]}function h(e){if(d)setTimeout(h,0,e);else{var t=l[e];if(t){d=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),d=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(0),n(5))},function(e,t){var n,o,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(e){n=r}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var c,l=[],d=!1,u=-1;function f(){d&&c&&(d=!1,c.length?l=c.concat(l):u=-1,l.length&&p())}function p(){if(!d){var e=s(f);d=!0;for(var t=l.length;t;){for(c=l,l=[];++u<t;)c&&c[u].run();u=-1,t=l.length}c=null,d=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||d||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"getInstance",(function(){return w}));var o={ASM:"asm",WASM:"ems",JS_WORKER:"jsworker",THREADED_WASM:"wasm-threads"};function i(e,t){if("string"!=typeof e||!t)return e;var n=t.substr(0,t.lastIndexOf("/"));return/^(\/|%2F|[a-z0-9-]+:)/i.test(e)?e:n+"/"+e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={},l=0;window.isPdfjs=!0,"undefined"==typeof console&&(window.console={log:function(){},warn:function(){},error:function(){}});var d=function(){for(var e=1;e<arguments.length;e++)for(var t=Object.keys(arguments[e]),n=0;n<t.length;n++)arguments[0][t[n]]=arguments[e][t[n]];return arguments[0]},u=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t},f=function(e,t){var n;try{n=new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0})}catch(o){(n=document.createEvent("Event")).initEvent(e,!0,!0),n.detail=t}return n};window.PDFNet&&!c.skipPDFNetWebViewerWarning&&console.warn("PDFNet.js and WebViewer.js have been included in the same context. See https://www.pdftron.com/kb_same_context for an explanation of why this could be an error in your application.");var p=new Map,h=new Map;c.WebViewer=function(e,t){var n=this;if(h.get(t))throw new Error("Two instances of WebViewer were created on the same HTML element. Please create a new element for each instance of WebViewer");h.set(t,!0);t.addEventListener("ready",(function e(){p.get(t).instance=n.getCompleteInstance(),t.removeEventListener("ready",e)})),this._validateOptions(e);var o=e.webviewerServerURL||e.pdftronServer;e.fullAPI&&o&&(e.forceClientSideInit||console.warn("The fullAPI and webviewerServerURL options have both been set so the forceClientSideInit option is now enabled. This means that WebViewer will switch to client side rendering and processing to allow use of the full API."),e.forceClientSideInit=!0),this.options=d({},c.WebViewer.Options,e);var i=this.options.path.length-1;i>0&&"/"!==this.options.path[i]&&(this.options.path+="/"),this.options.uiPath=this.options.path+this.options.uiPath,t||console.error("ViewerElement is not defined. This may be caused by calling the WebViewer constructor before the DOM is loaded, or an invalid selector. Please see http://r.pdftron.com/guides/quick-start for an example."),this.element=t,this.element.style.overflow="hidden";var r=this;this.messageHandler=function(t){if("requestl"===t.data&&t.source&&t.source.postMessage({type:"responsel",value:e.l||e.licenseKey},"*"),"requestConfig"===t.data.type&&t.data.id===r.id&&t.source){var n=e.config?r._correctRelativePath(e.config):"";t.source.postMessage({type:"responseConfig",value:n},"*")}},window.addEventListener("message",this.messageHandler,!1),this.options.autoCreate&&this.create()};var m={licenseKey:void 0,enableAzureWorkaround:!1,isAdminUser:!1,isReadOnly:!1};c.WebViewer.prototype={version:"8.7.2",create:function(){if(this.options.initialDoc){var e=this._correctRelativePath(this.options.initialDoc);e=encodeURIComponent(JSON.stringify(e)),this.options.initialDoc=e}this._create()},_create:function(){this.id=++l,void 0===this._trigger&&(this._trigger=function(e,t){var n=f(e,t);this.element.dispatchEvent(n)});var e=this.options.type.replace(" ","").split(",");e.length<1&&(e[0]="html5"),this._createViewer(e)},_validateOptions:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var o=t[n];o in d({},m,c.WebViewer.Options)||console.warn("".concat(o," is not a valid option name. See http://r.pdftron.com/api/options_anchor for all available options."))}var i=e.webviewerServerURL||e.pdftronServer;!e.enableRedaction||e.fullAPI||i||console.warn("FullAPI or WebViewer Server is needed to apply redactions")},_notSupportedMobile:function(){var e=document.createElement("div");e.id="webviewer-browser-unsupported",e.textContent="PDF document viewing is not supported by this browser.",this.element.appendChild(e)},_createViewer:function(e){var t,n=this;if(n.selectedType=null,this.isMobileDevice()){if(this.options.documentType&&"xod"!==this.options.documentType&&!this._testWebAssembly())return void this._notSupportedMobile();if(e=Array("html5Mobile"),n.selectedType="html5Mobile",this.options.mobileRedirect)return t=this.options.uiPath+this._getHTML5OptionsURL(),void(window.location=t)}for(var o=!1,i=!1,r=0;r<e.length;r++){if("html5mobile"===e[r].toLowerCase()){if(this.options.documentType&&"xod"!==this.options.documentType&&!this._testWebAssembly())continue;if(o=!0,n._testHTML5()){if(this.options.mobileRedirect)return n.selectedType="html5Mobile",t=this.options.uiPath+this._getHTML5OptionsURL(),void(window.location=t);if(this.options.xdomainProxyUrl||n.isSameOrigin(decodeURIComponent(n.options.initialDoc))||n._testCORS()){n.selectedType="html5Mobile";break}i=!0}}if("html5"===e[r].toLowerCase()&&(o=!0,n._testHTML5())){var a=n.isSameOrigin(decodeURIComponent(n.options.initialDoc));if(this.options.xdomainProxyUrl||a||n._testCORS()){n.selectedType="html5";break}i=!0}}if("html5"===n.selectedType)n._createHTML5();else if("html5Mobile"===n.selectedType)n._createHTML5Mobile();else{var s;if(i?s="This browser does not support cross origin requests. Please configure xdomain to support CORS.":o&&(s="Please use an HTML5 compatible browser."),s){var c=document.createElement("div");c.id="webviewer-browser-unsupported",c.textContent=s,n.element.appendChild(c)}}},_viewerLoaded:function(e){this._trigger("ready");try{var t=e.contentWindow;if(t.postMessage({type:"viewerLoaded"},"*"),void 0!==this.options.encryption){var n=decodeURIComponent(this.options.initialDoc);this.options.initialDoc&&(n=JSON.parse(n));var o={decrypt:t.Core.Encryption.decrypt,decryptOptions:this.options.encryption,documentId:this.options.documentId,extension:"xod"};this.getInstance().loadDocument(n,o)}}catch(e){console.warn("Viewer is on a different domain, the promise from WebViewer function is rejected and API functions will not work because of cross domain permissions. See http://r.pdftron.com/kb_cross_origin for more information.")}},_getHTML5OptionsURL:function(){var e,t,n,o=this.options,i=o.webviewerServerURL||o.pdftronServer,r="";if(o.initialDoc&&(r+="#d=".concat(o.initialDoc)),void 0===o.backendType&&(o.backendType=o.pdfBackend),o.documentType&&"xod"===o.documentType&&(e=o.documentType),o.preloadWorker&&"xod"===o.preloadWorker&&(e=o.preloadWorker),o.extension&&(e=o.extension),e&&(r+="&extension=".concat(e)),o.documentType&&"xod"!==o.documentType&&(t=o.documentType),o.preloadWorker&&"xod"!==o.preloadWorker&&(t=o.preloadWorker),t&&(r+="&preloadWorker=".concat(t)),o.backendType&&(r+="&pdf=".concat(o.backendType,"&office=").concat(o.backendType,"&legacyOffice=").concat(o.backendType)),o.filename&&(r+="&filename=".concat(o.filename)),void 0!==o.streaming&&(r+="&streaming=".concat(o.streaming)),o.externalPath){var a=this._correctRelativePath(o.externalPath);a=encodeURIComponent(a),r+="&p=".concat(a)}if(o.encryption&&(r+="&auto_load=false"),o.enableAnnotations&&(r+="&a=1"),o.disabledElements){var s=encodeURIComponent(o.disabledElements.join(","));r+="&disabledElements=".concat(s)}if(o.serverUrl){var c=this._correctRelativePath(o.serverUrl);c=encodeURIComponent(c),r+="&server_url=".concat(c)}if(o.serverUrlHeaders&&(r+="&serverUrlHeaders=".concat(JSON.stringify(o.serverUrlHeaders))),o.documentId&&(r+="&did=".concat(o.documentId)),o.css){var l=this._correctRelativePath(o.css);l=encodeURIComponent(l),r+="&css=".concat(l)}if(o.disableI18n&&(r+="&disableI18n=1"),o.enableOfflineMode&&(r+="&offline=1"),o.startOffline&&(r+="&startOffline=1"),(o.enableReadOnlyMode||o.isReadOnly)&&(r+="&readonly=1"),o.hideAnnotationPanel&&(r+="&hideAnnotationPanel=1"),o.disableToolGroupReordering&&(r+="&disableToolGroupReordering=1"),void 0!==o.annotationUser&&(r+="&user=".concat(o.annotationUser)),void 0===o.annotationAdmin&&void 0===o.isAdminUser||(r+="&admin=".concat(o.annotationAdmin||o.isAdminUser?1:0)),void 0!==o.custom&&(r+="&custom=".concat(encodeURIComponent(o.custom))),void 0===o.showLocalFilePicker&&void 0===o.enableFilePicker||(r+="&filepicker=".concat(o.showLocalFilePicker||o.enableFilePicker?1:0)),void 0!==o.fullAPI){if(o.fullAPI)throw new Error('"fullAPI" is not a valid constuctor option for PDF.js Express. Please make sure you are referring to the proper documentation (https://pdfjs.express/documentation)');r+="&pdfnet=".concat(o.fullAPI?1:0)}(void 0!==o.enableRedaction&&(r+="&enableRedaction=".concat(o.enableRedaction?1:0)),void 0!==o.disableVirtualDisplayMode&&(r+="&disableVirtualDisplayMode=".concat(o.disableVirtualDisplayMode?1:0)),void 0!==o.enableMeasurement&&(r+="&enableMeasurement=".concat(o.enableMeasurement?1:0)),void 0!==o.showToolbarControl&&(r+="&toolbar=".concat(o.showToolbarControl?"true":"false")),void 0!==o.showPageHistoryButtons&&(r+="&pageHistory=".concat(o.showPageHistoryButtons?1:0)),void 0!==o.notesInLeftPanel&&(r+="&notesInLeftPanel=".concat(o.notesInLeftPanel?1:0)),void 0!==o.xdomainProxyUrl)&&(n="string"==typeof o.xdomainProxyUrl?{url:o.xdomainProxyUrl}:o.xdomainProxyUrl,r+="&xdomain_urls=".concat(encodeURIComponent(JSON.stringify(n))));return(o.azureWorkaround||o.enableAzureWorkaround)&&(r+="&azureWorkaround=1"),o.enableOptimizedWorkers||(r+="&enableOptimizedWorkers=0"),o.useDownloader||(r+="&useDownloader=0"),o.disableWebsockets&&(r+="&disableWebsockets=1"),o.disableStreaming&&(r+="&disableStreaming=1"),o.forceClientSideInit&&(r+="&forceClientSideInit=1"),o.loadAsPDF&&(r+="&loadAsPDF=1"),void 0!==o.workerTransportPromise&&(r+="&useSharedWorker=".concat(o.workerTransportPromise?"true":"false")),void 0!==i&&i&&(r+="&webviewerServerURL=".concat(encodeURIComponent(i))),o.fallbackToClientSide&&(r+="&fallbackToClientSide=1"),void 0!==o.singleServerMode&&(r+="&singleServerMode=".concat(o.singleServerMode?"true":"false")),void 0!==o.accessibleMode&&(r+="&accessibleMode=".concat(o.accessibleMode?1:0)),o.disableLogs&&(r+="&disableLogs=1"),o.enableViewStateAnnotations&&(r+="&enableViewStateAnnotations=1"),o.disableFlattenedAnnotations&&(r+="&disableFlattenedAnnotations=1"),o.highContrastMode&&(r+="&highContrastMode=1"),void 0!==o.selectAnnotationOnCreation&&(r+="&selectAnnotationOnCreation=".concat(o.selectAnnotationOnCreation?1:0)),void 0!==o.autoFocusNoteOnAnnotationSelection&&(r+="&autoFocusNoteOnAnnotationSelection=".concat(o.autoFocusNoteOnAnnotationSelection?1:0)),r+="&id=".concat(this.id),(r+="&basePath=".concat(encodeURIComponent(window.location.pathname))).length>0&&"&"===r[0]&&(r="#".concat(r.slice(1))),r+="&webViewerJSVersion=".concat(this.version)},setInstanceData:function(e){p.set(this.element,{iframe:e,l:this.options.l||this.options.licenseKey,workerTransportPromise:this.options.workerTransportPromise})},_createHTML5:function(){var e=this,t=this.options.uiPath+this._getHTML5OptionsURL(),n=document.createElement("iframe");this.setInstanceData(n),n.id="webviewer-".concat(this.id),n.src=t,n.title="webviewer",n.frameBorder=0,n.width="100%",n.height="100%",n.setAttribute("allowfullscreen",!0),n.setAttribute("webkitallowfullscreen",!0),n.setAttribute("mozallowfullscreen",!0),this.iframe=n,this.options.backgroundColor&&n.setAttribute("data-bgcolor",this.options.backgroundColor),this.options.assetPath&&n.setAttribute("data-assetpath",encodeURIComponent(this.options.assetPath)),this.element.appendChild(n);window.addEventListener("message",(function t(n){if("viewerLoaded"===n.data.type&&n.data.id===e.id)try{e.instance=e.iframe.contentWindow.instance}catch(e){}finally{window.removeEventListener("message",t),e._viewerLoaded(e.iframe)}}))},_createHTML5Mobile:function(){var e=this,t=this.options.uiPath+this._getHTML5OptionsURL(),n=document.createElement("iframe");this.setInstanceData(n),n.id="webviewer-".concat(this.id),n.src=t,n.frameborder=0,this.options.assetPath&&n.setAttribute("data-assetpath",encodeURIComponent(this.options.assetPath)),n.style.width="100%",n.style.height="100%",this.iframe=n,this.element.appendChild(n);window.addEventListener("message",(function t(n){if("viewerLoaded"===n.data.type&&n.data.id===e.id)try{e.instance=e.iframe.contentWindow.instance}catch(e){}finally{window.removeEventListener("message",t),e._viewerLoaded(e.iframe)}}))},dispose:function(){p.delete(this.element),h.delete(this.element),this.instance.closeDocument(),window.removeEventListener("message",this.messageHandler),this.iframe.removeEventListener("load",this.loadListener),this.iframe=null},getInstance:function(){return this.instance},setCompleteInstance:function(e){this.completeInstance=e},getCompleteInstance:function(){return this.completeInstance},_correctRelativePath:function(e){var t=window.location.pathname;return Array.isArray(e)?e.map((function(e){return i(e,t)})):i(e,t)},_testHTML5:function(){try{var e=document.createElement("canvas");return e&&e.getContext("2d")}catch(e){return!1}},_testWebAssembly:function(){return!(!window.WebAssembly||!window.WebAssembly.validate)},_testCORS:function(){return"XMLHttpRequest"in window&&"withCredentials"in new XMLHttpRequest},isIE:function(){var e=navigator.userAgent.toLowerCase(),t=/(msie) ([\w.]+)/.exec(e)||/(trident)(?:.*? rv:([\w.]+)|)/.exec(e);return t?parseInt(t[2],10):t},isMobileDevice:function(){return!this.isIE()&&(0===this.scrollbarWidth()&&navigator.userAgent.match(/Edge/i)||navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Touch/i)||navigator.userAgent.match(/IEMobile/i)||navigator.userAgent.match(/Silk/i))},scrollbarWidth:function(){var e=document.createElement("div");e.style.cssText="width:100px;height:100px;overflow:scroll !important;position:absolute;top:-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},isSameOrigin:function(e){var t=window.location,n=document.createElement("a");n.href=e,""===n.host&&(n.href=n.href);var o=window.location.port,i=n.port;return"http:"===n.protocol?(i=i||"80",o=o||"80"):"https:"===n.protocol&&(i=i||"443",o=o||"443"),n.hostname===t.hostname&&n.protocol===t.protocol&&i===o}},c.WebViewer.Options={initialDoc:void 0,annotationAdmin:void 0,isAdminUser:void 0,annotationUser:void 0,assetPath:void 0,autoCreate:!0,autoFocusNoteOnAnnotationSelection:!0,azureWorkaround:!1,additionalTranslations:void 0,enableAzureWorkaround:!1,enableOptimizedWorkers:!0,backgroundColor:void 0,backendType:void 0,css:void 0,config:void 0,custom:void 0,documentId:void 0,documentType:void 0,preloadWorker:void 0,extension:void 0,enableAnnotations:!0,filename:void 0,disableI18n:!1,disabledElements:void 0,disableWebsockets:!1,enableOfflineMode:!1,enableReadOnlyMode:!1,isReadOnly:!1,enableRedaction:!1,disableVirtualDisplayMode:!1,enableMeasurement:!1,encryption:void 0,externalPath:void 0,hideAnnotationPanel:!1,disableToolGroupReordering:!1,uiPath:"./ui/index.html",l:void 0,licenseKey:void 0,mobileRedirect:!1,path:"",pdfBackend:void 0,webviewerServerURL:void 0,fallbackToClientSide:!1,singleServerMode:!1,fullAPI:!1,preloadPDFWorker:!0,serverUrl:void 0,serverUrlHeaders:void 0,showLocalFilePicker:!1,enableFilePicker:!1,showPageHistoryButtons:!0,showToolbarControl:void 0,startOffline:!1,streaming:void 0,type:"html5",useDownloader:!0,workerTransportPromise:void 0,xdomainProxyUrl:void 0,ui:void 0,forceClientSideInit:!1,loadAsPDF:!1,accessibleMode:void 0,disableLogs:!1,enableViewStateAnnotations:!1,highContrastMode:!1,selectAnnotationOnCreation:!1,notesInLeftPanel:!1,documentXFDFRetriever:void 0,disableFlattenedAnnotations:!1,disableStreaming:!1};var v=function(e,t){return new Promise((function(n,o){e.l=e.l||e.licenseKey,e.azureWorkaround=e.azureWorkaround||e.enableAzureWorkaround,e.annotationAdmin=e.annotationAdmin||e.isAdminUser,e.enableReadOnlyMode=e.enableReadOnlyMode||e.isReadOnly,e.showLocalFilePicker=e.showLocalFilePicker||e.enableFilePicker;t.addEventListener("ready",(function r(){t.removeEventListener("ready",r);try{var c=t.querySelector("iframe").contentWindow;if(void 0===c.Tools)throw new Error("Viewer isn't instantiated correctly. It could be caused by the 'path' option in the WebViewer constructor not being defined correctly. The 'path' option should be relative to the HTML file you're loading the script on and the lib folder needs to be publicly accessible.");var l=i.getInstance(),u={iframeWindow:c,dispose:i.dispose.bind(i)},f=d({},l,a(s({},l.UI_NAMESPACE_KEY,a(a({},l[l.UI_NAMESPACE_KEY]),u)),u));i.setCompleteInstance(f);var p=Promise.resolve();if(e.documentXFDFRetriever&&(p=f[l.CORE_NAMESPACE_KEY].documentViewer.setDocumentXFDFRetriever(e.documentXFDFRetriever)),e.additionalTranslations){var h=e.additionalTranslations;f[l.UI_NAMESPACE_KEY].setTranslations(h.language,h.translations)}p.then((function(){n(f)}))}catch(t){if("config"in e&&""!==e.config)return n();o("Viewer is on a different domain, the promise from WebViewer function is rejected and API functions will not work because of cross domain permissions. See https://www.pdftron.com/kb_cross_origin for more information.")}}));var i=new c.WebViewer(e,t)}))},b=function(e){for(var t=u(p),n=0;n<t.length;n++){var o=t[n];if(o.iframe===e)return o}return null};v.l=function(e){var t=b(e);return t&&t.l},v.workerTransportPromise=function(e){var t=b(e);return t&&t.workerTransportPromise},v.WorkerTypes={ALL:"all",OFFICE:"office",LEGACY_OFFICE:"legacyOffice",PDF:"pdf",CONTENT_EDIT:"contentEdit"},v.BackendTypes=o;var w=function(e){var t=u(p);if(!t.length||!t.filter((function(e){return e.instance})).length)return console.warn("WebViewer.getInstance() was called before any instances were available"),null;if(t.length>1&&!e)throw new Error("More than one instance of WebViewer was found, and no element was passed into getInstance(). Please specify which instance you want to get.");return e?(p.get(e)||{}).instance:(t[0]||{}).instance};v.getInstance=w,window.WebViewer=v;t.default=v}])}));
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=1)}([function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){n(2),e.exports=n(6)},function(e,t,n){(function(o,i){var r,a;function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(o,i){"object"==s(t)&&void 0!==e?i():void 0===(a="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=a)}(0,(function(){"use strict";function e(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}function t(){}function n(e){if(!(this instanceof n))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function r(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,n._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(e){return void c(t.promise,e)}a(t.promise,o)}else(1===e._state?a:c)(t.promise,e._value)}))):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==s(t)||"function"==typeof t)){var o=t.then;if(t instanceof n)return e._state=3,e._value=t,void l(e);if("function"==typeof o)return void d(function(e,t){return function(){e.apply(t,arguments)}}(o,t),e)}e._state=1,e._value=t,l(e)}catch(t){c(e,t)}}function c(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&n._immediateFn((function(){e._handled||n._unhandledRejectionFn(e._value)}));for(var t=0,o=e._deferreds.length;o>t;t++)r(e,e._deferreds[t]);e._deferreds=null}function d(e,t){var n=!1;try{e((function(e){n||(n=!0,a(t,e))}),(function(e){n||(n=!0,c(t,e))}))}catch(e){if(n)return;n=!0,c(t,e)}}var u=setTimeout;n.prototype.catch=function(e){return this.then(null,e)},n.prototype.then=function(e,n){var o=new this.constructor(t);return r(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,n,o)),o},n.prototype.finally=e,n.all=function(e){return new n((function(t,n){function o(e,a){try{if(a&&("object"==s(a)||"function"==typeof a)){var c=a.then;if("function"==typeof c)return void c.call(a,(function(t){o(e,t)}),n)}i[e]=a,0==--r&&t(i)}catch(e){n(e)}}if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var r=i.length,a=0;i.length>a;a++)o(a,i[a])}))},n.resolve=function(e){return e&&"object"==s(e)&&e.constructor===n?e:new n((function(t){t(e)}))},n.reject=function(e){return new n((function(t,n){n(e)}))},n.race=function(e){return new n((function(t,n){for(var o=0,i=e.length;i>o;o++)e[o].then(t,n)}))},n._immediateFn="function"==typeof o&&function(e){o(e)}||function(e){u(e,0)},n._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var f=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==i)return i;throw Error("unable to locate global object")}();"Promise"in f?f.Promise.prototype.finally||(f.Promise.prototype.finally=e):f.Promise=n}))}).call(this,n(3).setImmediate,n(0))},function(e,t,n){(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(4),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var o,i,r,a,s,c=1,l={},d=!1,u=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){h(e.data)},o=function(e){r.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(i=u.documentElement,o=function(e){var t=u.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):o=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),o=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return l[c]=i,o(c),c++},f.clearImmediate=p}function p(e){delete l[e]}function h(e){if(d)setTimeout(h,0,e);else{var t=l[e];if(t){d=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),d=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(0),n(5))},function(e,t){var n,o,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(e){n=r}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var c,l=[],d=!1,u=-1;function f(){d&&c&&(d=!1,c.length?l=c.concat(l):u=-1,l.length&&p())}function p(){if(!d){var e=s(f);d=!0;for(var t=l.length;t;){for(c=l,l=[];++u<t;)c&&c[u].run();u=-1,t=l.length}c=null,d=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||d||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"getInstance",(function(){return w}));var o={ASM:"asm",WASM:"ems",JS_WORKER:"jsworker",THREADED_WASM:"wasm-threads"};function i(e,t){if("string"!=typeof e||!t)return e;var n=t.substr(0,t.lastIndexOf("/"));return/^(\/|%2F|[a-z0-9-]+:)/i.test(e)?e:n+"/"+e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={},l=0;window.isPdfjs=!0,"undefined"==typeof console&&(window.console={log:function(){},warn:function(){},error:function(){}});var d=function(){for(var e=1;e<arguments.length;e++)for(var t=Object.keys(arguments[e]),n=0;n<t.length;n++)arguments[0][t[n]]=arguments[e][t[n]];return arguments[0]},u=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t},f=function(e,t){var n;try{n=new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0})}catch(o){(n=document.createEvent("Event")).initEvent(e,!0,!0),n.detail=t}return n};window.PDFNet&&!c.skipPDFNetWebViewerWarning&&console.warn("PDFNet.js and WebViewer.js have been included in the same context. See https://www.pdftron.com/kb_same_context for an explanation of why this could be an error in your application.");var p=new Map,h=new Map;c.WebViewer=function(e,t){var n=this;if(h.get(t))throw new Error("Two instances of WebViewer were created on the same HTML element. Please create a new element for each instance of WebViewer");h.set(t,!0);t.addEventListener("ready",(function e(){p.get(t).instance=n.getCompleteInstance(),t.removeEventListener("ready",e)})),this._validateOptions(e);var o=e.webviewerServerURL||e.pdftronServer;e.fullAPI&&o&&(e.forceClientSideInit||console.warn("The fullAPI and webviewerServerURL options have both been set so the forceClientSideInit option is now enabled. This means that WebViewer will switch to client side rendering and processing to allow use of the full API."),e.forceClientSideInit=!0),this.options=d({},c.WebViewer.Options,e);var i=this.options.path.length-1;i>0&&"/"!==this.options.path[i]&&(this.options.path+="/"),this.options.uiPath=this.options.path+this.options.uiPath,t||console.error("ViewerElement is not defined. This may be caused by calling the WebViewer constructor before the DOM is loaded, or an invalid selector. Please see http://r.pdftron.com/guides/quick-start for an example."),this.element=t,this.element.style.overflow="hidden";var r=this;this.messageHandler=function(t){if("requestl"===t.data&&t.source&&t.source.postMessage({type:"responsel",value:e.l||e.licenseKey},"*"),"requestConfig"===t.data.type&&t.data.id===r.id&&t.source){var n=e.config?r._correctRelativePath(e.config):"";t.source.postMessage({type:"responseConfig",value:n},"*")}},window.addEventListener("message",this.messageHandler,!1),this.options.autoCreate&&this.create()};var m={licenseKey:void 0,enableAzureWorkaround:!1,isAdminUser:!1,isReadOnly:!1};c.WebViewer.prototype={version:"8.7.3",create:function(){if(this.options.initialDoc){var e=this._correctRelativePath(this.options.initialDoc);e=encodeURIComponent(JSON.stringify(e)),this.options.initialDoc=e}this._create()},_create:function(){this.id=++l,void 0===this._trigger&&(this._trigger=function(e,t){var n=f(e,t);this.element.dispatchEvent(n)});var e=this.options.type.replace(" ","").split(",");e.length<1&&(e[0]="html5"),this._createViewer(e)},_validateOptions:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var o=t[n];o in d({},m,c.WebViewer.Options)||console.warn("".concat(o," is not a valid option name. See http://r.pdftron.com/api/options_anchor for all available options."))}var i=e.webviewerServerURL||e.pdftronServer;!e.enableRedaction||e.fullAPI||i||console.warn("FullAPI or WebViewer Server is needed to apply redactions")},_notSupportedMobile:function(){var e=document.createElement("div");e.id="webviewer-browser-unsupported",e.textContent="PDF document viewing is not supported by this browser.",this.element.appendChild(e)},_createViewer:function(e){var t,n=this;if(n.selectedType=null,this.isMobileDevice()){if(this.options.documentType&&"xod"!==this.options.documentType&&!this._testWebAssembly())return void this._notSupportedMobile();if(e=Array("html5Mobile"),n.selectedType="html5Mobile",this.options.mobileRedirect)return t=this.options.uiPath+this._getHTML5OptionsURL(),void(window.location=t)}for(var o=!1,i=!1,r=0;r<e.length;r++){if("html5mobile"===e[r].toLowerCase()){if(this.options.documentType&&"xod"!==this.options.documentType&&!this._testWebAssembly())continue;if(o=!0,n._testHTML5()){if(this.options.mobileRedirect)return n.selectedType="html5Mobile",t=this.options.uiPath+this._getHTML5OptionsURL(),void(window.location=t);if(this.options.xdomainProxyUrl||n.isSameOrigin(decodeURIComponent(n.options.initialDoc))||n._testCORS()){n.selectedType="html5Mobile";break}i=!0}}if("html5"===e[r].toLowerCase()&&(o=!0,n._testHTML5())){var a=n.isSameOrigin(decodeURIComponent(n.options.initialDoc));if(this.options.xdomainProxyUrl||a||n._testCORS()){n.selectedType="html5";break}i=!0}}if("html5"===n.selectedType)n._createHTML5();else if("html5Mobile"===n.selectedType)n._createHTML5Mobile();else{var s;if(i?s="This browser does not support cross origin requests. Please configure xdomain to support CORS.":o&&(s="Please use an HTML5 compatible browser."),s){var c=document.createElement("div");c.id="webviewer-browser-unsupported",c.textContent=s,n.element.appendChild(c)}}},_viewerLoaded:function(e){this._trigger("ready");try{var t=e.contentWindow;if(t.postMessage({type:"viewerLoaded"},"*"),void 0!==this.options.encryption){var n=decodeURIComponent(this.options.initialDoc);this.options.initialDoc&&(n=JSON.parse(n));var o={decrypt:t.Core.Encryption.decrypt,decryptOptions:this.options.encryption,documentId:this.options.documentId,extension:"xod"};this.getInstance().loadDocument(n,o)}}catch(e){console.warn("Viewer is on a different domain, the promise from WebViewer function is rejected and API functions will not work because of cross domain permissions. See http://r.pdftron.com/kb_cross_origin for more information.")}},_getHTML5OptionsURL:function(){var e,t,n,o=this.options,i=o.webviewerServerURL||o.pdftronServer,r="";if(o.initialDoc&&(r+="#d=".concat(o.initialDoc)),void 0===o.backendType&&(o.backendType=o.pdfBackend),o.documentType&&"xod"===o.documentType&&(e=o.documentType),o.preloadWorker&&"xod"===o.preloadWorker&&(e=o.preloadWorker),o.extension&&(e=o.extension),e&&(r+="&extension=".concat(e)),o.documentType&&"xod"!==o.documentType&&(t=o.documentType),o.preloadWorker&&"xod"!==o.preloadWorker&&(t=o.preloadWorker),t&&(r+="&preloadWorker=".concat(t)),o.backendType&&(r+="&pdf=".concat(o.backendType,"&office=").concat(o.backendType,"&legacyOffice=").concat(o.backendType)),o.filename&&(r+="&filename=".concat(o.filename)),void 0!==o.streaming&&(r+="&streaming=".concat(o.streaming)),o.externalPath){var a=this._correctRelativePath(o.externalPath);a=encodeURIComponent(a),r+="&p=".concat(a)}if(o.encryption&&(r+="&auto_load=false"),o.enableAnnotations&&(r+="&a=1"),o.disabledElements){var s=encodeURIComponent(o.disabledElements.join(","));r+="&disabledElements=".concat(s)}if(o.serverUrl){var c=this._correctRelativePath(o.serverUrl);c=encodeURIComponent(c),r+="&server_url=".concat(c)}if(o.serverUrlHeaders&&(r+="&serverUrlHeaders=".concat(JSON.stringify(o.serverUrlHeaders))),o.documentId&&(r+="&did=".concat(o.documentId)),o.css){var l=this._correctRelativePath(o.css);l=encodeURIComponent(l),r+="&css=".concat(l)}if(o.disableI18n&&(r+="&disableI18n=1"),o.enableOfflineMode&&(r+="&offline=1"),o.startOffline&&(r+="&startOffline=1"),(o.enableReadOnlyMode||o.isReadOnly)&&(r+="&readonly=1"),o.hideAnnotationPanel&&(r+="&hideAnnotationPanel=1"),o.disableToolGroupReordering&&(r+="&disableToolGroupReordering=1"),void 0!==o.annotationUser&&(r+="&user=".concat(o.annotationUser)),void 0===o.annotationAdmin&&void 0===o.isAdminUser||(r+="&admin=".concat(o.annotationAdmin||o.isAdminUser?1:0)),void 0!==o.custom&&(r+="&custom=".concat(encodeURIComponent(o.custom))),void 0===o.showLocalFilePicker&&void 0===o.enableFilePicker||(r+="&filepicker=".concat(o.showLocalFilePicker||o.enableFilePicker?1:0)),void 0!==o.fullAPI){if(o.fullAPI)throw new Error('"fullAPI" is not a valid constuctor option for PDF.js Express. Please make sure you are referring to the proper documentation (https://pdfjs.express/documentation)');r+="&pdfnet=".concat(o.fullAPI?1:0)}(void 0!==o.enableRedaction&&(r+="&enableRedaction=".concat(o.enableRedaction?1:0)),void 0!==o.disableVirtualDisplayMode&&(r+="&disableVirtualDisplayMode=".concat(o.disableVirtualDisplayMode?1:0)),void 0!==o.enableMeasurement&&(r+="&enableMeasurement=".concat(o.enableMeasurement?1:0)),void 0!==o.showToolbarControl&&(r+="&toolbar=".concat(o.showToolbarControl?"true":"false")),void 0!==o.showPageHistoryButtons&&(r+="&pageHistory=".concat(o.showPageHistoryButtons?1:0)),void 0!==o.notesInLeftPanel&&(r+="&notesInLeftPanel=".concat(o.notesInLeftPanel?1:0)),void 0!==o.xdomainProxyUrl)&&(n="string"==typeof o.xdomainProxyUrl?{url:o.xdomainProxyUrl}:o.xdomainProxyUrl,r+="&xdomain_urls=".concat(encodeURIComponent(JSON.stringify(n))));return(o.azureWorkaround||o.enableAzureWorkaround)&&(r+="&azureWorkaround=1"),o.enableOptimizedWorkers||(r+="&enableOptimizedWorkers=0"),o.useDownloader||(r+="&useDownloader=0"),o.disableWebsockets&&(r+="&disableWebsockets=1"),o.disableStreaming&&(r+="&disableStreaming=1"),o.forceClientSideInit&&(r+="&forceClientSideInit=1"),o.loadAsPDF&&(r+="&loadAsPDF=1"),void 0!==o.workerTransportPromise&&(r+="&useSharedWorker=".concat(o.workerTransportPromise?"true":"false")),void 0!==i&&i&&(r+="&webviewerServerURL=".concat(encodeURIComponent(i))),o.fallbackToClientSide&&(r+="&fallbackToClientSide=1"),void 0!==o.singleServerMode&&(r+="&singleServerMode=".concat(o.singleServerMode?"true":"false")),void 0!==o.accessibleMode&&(r+="&accessibleMode=".concat(o.accessibleMode?1:0)),o.disableLogs&&(r+="&disableLogs=1"),o.enableViewStateAnnotations&&(r+="&enableViewStateAnnotations=1"),o.disableFlattenedAnnotations&&(r+="&disableFlattenedAnnotations=1"),o.highContrastMode&&(r+="&highContrastMode=1"),void 0!==o.selectAnnotationOnCreation&&(r+="&selectAnnotationOnCreation=".concat(o.selectAnnotationOnCreation?1:0)),void 0!==o.autoFocusNoteOnAnnotationSelection&&(r+="&autoFocusNoteOnAnnotationSelection=".concat(o.autoFocusNoteOnAnnotationSelection?1:0)),r+="&id=".concat(this.id),(r+="&basePath=".concat(encodeURIComponent(window.location.pathname))).length>0&&"&"===r[0]&&(r="#".concat(r.slice(1))),r+="&webViewerJSVersion=".concat(this.version)},setInstanceData:function(e){p.set(this.element,{iframe:e,l:this.options.l||this.options.licenseKey,workerTransportPromise:this.options.workerTransportPromise})},_createHTML5:function(){var e=this,t=this.options.uiPath+this._getHTML5OptionsURL(),n=document.createElement("iframe");this.setInstanceData(n),n.id="webviewer-".concat(this.id),n.src=t,n.title="webviewer",n.frameBorder=0,n.width="100%",n.height="100%",n.setAttribute("allowfullscreen",!0),n.setAttribute("webkitallowfullscreen",!0),n.setAttribute("mozallowfullscreen",!0),this.iframe=n,this.options.backgroundColor&&n.setAttribute("data-bgcolor",this.options.backgroundColor),this.options.assetPath&&n.setAttribute("data-assetpath",encodeURIComponent(this.options.assetPath)),this.element.appendChild(n);window.addEventListener("message",(function t(n){if("viewerLoaded"===n.data.type&&n.data.id===e.id)try{e.instance=e.iframe.contentWindow.instance}catch(e){}finally{window.removeEventListener("message",t),e._viewerLoaded(e.iframe)}}))},_createHTML5Mobile:function(){var e=this,t=this.options.uiPath+this._getHTML5OptionsURL(),n=document.createElement("iframe");this.setInstanceData(n),n.id="webviewer-".concat(this.id),n.src=t,n.frameborder=0,this.options.assetPath&&n.setAttribute("data-assetpath",encodeURIComponent(this.options.assetPath)),n.style.width="100%",n.style.height="100%",this.iframe=n,this.element.appendChild(n);window.addEventListener("message",(function t(n){if("viewerLoaded"===n.data.type&&n.data.id===e.id)try{e.instance=e.iframe.contentWindow.instance}catch(e){}finally{window.removeEventListener("message",t),e._viewerLoaded(e.iframe)}}))},dispose:function(){p.delete(this.element),h.delete(this.element),this.instance.closeDocument(),window.removeEventListener("message",this.messageHandler),this.iframe.removeEventListener("load",this.loadListener),this.iframe=null},getInstance:function(){return this.instance},setCompleteInstance:function(e){this.completeInstance=e},getCompleteInstance:function(){return this.completeInstance},_correctRelativePath:function(e){var t=window.location.pathname;return Array.isArray(e)?e.map((function(e){return i(e,t)})):i(e,t)},_testHTML5:function(){try{var e=document.createElement("canvas");return e&&e.getContext("2d")}catch(e){return!1}},_testWebAssembly:function(){return!(!window.WebAssembly||!window.WebAssembly.validate)},_testCORS:function(){return"XMLHttpRequest"in window&&"withCredentials"in new XMLHttpRequest},isIE:function(){var e=navigator.userAgent.toLowerCase(),t=/(msie) ([\w.]+)/.exec(e)||/(trident)(?:.*? rv:([\w.]+)|)/.exec(e);return t?parseInt(t[2],10):t},isMobileDevice:function(){return!this.isIE()&&(0===this.scrollbarWidth()&&navigator.userAgent.match(/Edge/i)||navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Touch/i)||navigator.userAgent.match(/IEMobile/i)||navigator.userAgent.match(/Silk/i))},scrollbarWidth:function(){var e=document.createElement("div");e.style.cssText="width:100px;height:100px;overflow:scroll !important;position:absolute;top:-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},isSameOrigin:function(e){var t=window.location,n=document.createElement("a");n.href=e,""===n.host&&(n.href=n.href);var o=window.location.port,i=n.port;return"http:"===n.protocol?(i=i||"80",o=o||"80"):"https:"===n.protocol&&(i=i||"443",o=o||"443"),n.hostname===t.hostname&&n.protocol===t.protocol&&i===o}},c.WebViewer.Options={initialDoc:void 0,annotationAdmin:void 0,isAdminUser:void 0,annotationUser:void 0,assetPath:void 0,autoCreate:!0,autoFocusNoteOnAnnotationSelection:!0,azureWorkaround:!1,additionalTranslations:void 0,enableAzureWorkaround:!1,enableOptimizedWorkers:!0,backgroundColor:void 0,backendType:void 0,css:void 0,config:void 0,custom:void 0,documentId:void 0,documentType:void 0,preloadWorker:void 0,extension:void 0,enableAnnotations:!0,filename:void 0,disableI18n:!1,disabledElements:void 0,disableWebsockets:!1,enableOfflineMode:!1,enableReadOnlyMode:!1,isReadOnly:!1,enableRedaction:!1,disableVirtualDisplayMode:!1,enableMeasurement:!1,encryption:void 0,externalPath:void 0,hideAnnotationPanel:!1,disableToolGroupReordering:!1,uiPath:"./ui/index.html",l:void 0,licenseKey:void 0,mobileRedirect:!1,path:"",pdfBackend:void 0,webviewerServerURL:void 0,fallbackToClientSide:!1,singleServerMode:!1,fullAPI:!1,preloadPDFWorker:!0,serverUrl:void 0,serverUrlHeaders:void 0,showLocalFilePicker:!1,enableFilePicker:!1,showPageHistoryButtons:!0,showToolbarControl:void 0,startOffline:!1,streaming:void 0,type:"html5",useDownloader:!0,workerTransportPromise:void 0,xdomainProxyUrl:void 0,ui:void 0,forceClientSideInit:!1,loadAsPDF:!1,accessibleMode:void 0,disableLogs:!1,enableViewStateAnnotations:!1,highContrastMode:!1,selectAnnotationOnCreation:!1,notesInLeftPanel:!1,documentXFDFRetriever:void 0,disableFlattenedAnnotations:!1,disableStreaming:!1};var v=function(e,t){return new Promise((function(n,o){e.l=e.l||e.licenseKey,e.azureWorkaround=e.azureWorkaround||e.enableAzureWorkaround,e.annotationAdmin=e.annotationAdmin||e.isAdminUser,e.enableReadOnlyMode=e.enableReadOnlyMode||e.isReadOnly,e.showLocalFilePicker=e.showLocalFilePicker||e.enableFilePicker;t.addEventListener("ready",(function r(){t.removeEventListener("ready",r);try{var c=t.querySelector("iframe").contentWindow;if(void 0===c.Tools)throw new Error("Viewer isn't instantiated correctly. It could be caused by the 'path' option in the WebViewer constructor not being defined correctly. The 'path' option should be relative to the HTML file you're loading the script on and the lib folder needs to be publicly accessible.");var l=i.getInstance(),u={iframeWindow:c,dispose:i.dispose.bind(i)},f=d({},l,a(s({},l.UI_NAMESPACE_KEY,a(a({},l[l.UI_NAMESPACE_KEY]),u)),u));i.setCompleteInstance(f);var p=Promise.resolve();if(e.documentXFDFRetriever&&(p=f[l.CORE_NAMESPACE_KEY].documentViewer.setDocumentXFDFRetriever(e.documentXFDFRetriever)),e.additionalTranslations){var h=e.additionalTranslations;f[l.UI_NAMESPACE_KEY].setTranslations(h.language,h.translations)}p.then((function(){n(f)}))}catch(t){if("config"in e&&""!==e.config)return n();o("Viewer is on a different domain, the promise from WebViewer function is rejected and API functions will not work because of cross domain permissions. See https://www.pdftron.com/kb_cross_origin for more information.")}}));var i=new c.WebViewer(e,t)}))},b=function(e){for(var t=u(p),n=0;n<t.length;n++){var o=t[n];if(o.iframe===e)return o}return null};v.l=function(e){var t=b(e);return t&&t.l},v.workerTransportPromise=function(e){var t=b(e);return t&&t.workerTransportPromise},v.WorkerTypes={ALL:"all",OFFICE:"office",LEGACY_OFFICE:"legacyOffice",PDF:"pdf",CONTENT_EDIT:"contentEdit"},v.BackendTypes=o;var w=function(e){var t=u(p);if(!t.length||!t.filter((function(e){return e.instance})).length)return console.warn("WebViewer.getInstance() was called before any instances were available"),null;if(t.length>1&&!e)throw new Error("More than one instance of WebViewer was found, and no element was passed into getInstance(). Please specify which instance you want to get.");return e?(p.get(e)||{}).instance:(t[0]||{}).instance};v.getInstance=w,window.WebViewer=v;t.default=v}])}));

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc