@pdftron/webviewer 11.6.0-20250615 → 11.6.0-20250617
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/core/19.chunk.js +4 -4
- package/public/core/22.chunk.js +6 -6
- package/public/core/AndroidContentPartRetriever.chunk.js +2 -2
- package/public/core/ArrayBufferPdfPartRetriever.chunk.js +1 -1
- package/public/core/AzurePartRetriever.chunk.js +1 -1
- package/public/core/ExternalAnnotationMerger.chunk.js +14 -14
- package/public/core/ExternalPdfPartRetriever.chunk.js +4 -4
- package/public/core/HttpPartRetriever.chunk.js +12 -12
- package/public/core/IOSPartRetriever.chunk.js +2 -2
- package/public/core/LocalPartRetriever.chunk.js +4 -4
- package/public/core/LocalPdfPartRetriever.chunk.js +2 -2
- package/public/core/PDFInfoVersion1.chunk.js +11 -11
- package/public/core/SelectionInfoOld.chunk.js +12 -12
- package/public/core/StreamingPartRetriever.chunk.js +9 -9
- package/public/core/WebDBPartRetriever.chunk.js +2 -2
- package/public/core/WebViewerServerPartRetriever.chunk.js +43 -43
- package/public/core/WinRTPartRetriever.chunk.js +2 -2
- package/public/core/pikaday.chunk.js +27 -27
- package/public/core/vendors.ascii85.chunk.js +6 -6
- package/public/core/vendors.pako.chunk.js +76 -76
- package/public/core/webviewer-core.min.js +3884 -3885
package/package.json
CHANGED
package/public/core/19.chunk.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
2
|
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[19],{648:function(ya){(function(){ya.exports={Oa:function(){function ua(f,r){this.scrollLeft=f;this.scrollTop=r}function h(f){if(null===f||"object"!==typeof f||void 0===f.behavior||"auto"===f.behavior||"instant"===f.behavior)return!0;if("object"===typeof f&&"smooth"===f.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+f.behavior+" is not a valid value for enumeration ScrollBehavior.");}function la(f,r){if("Y"===
|
|
3
|
-
r)return f.clientHeight+a<f.scrollHeight;if("X"===r)return f.clientWidth+a<f.scrollWidth}function
|
|
4
|
-
fa;var z=fa.scrollX||fa.pageXOffset;f=fa.scrollY||fa.pageYOffset;var ca=n.scroll}else ba=f,z=f.scrollLeft,f=f.scrollTop,ca=ua;ja({
|
|
3
|
+
r)return f.clientHeight+a<f.scrollHeight;if("X"===r)return f.clientWidth+a<f.scrollWidth}function na(f,r){f=fa.getComputedStyle(f,null)["overflow"+r];return"auto"===f||"scroll"===f}function oa(f){var r=la(f,"Y")&&na(f,"Y");f=la(f,"X")&&na(f,"X");return r||f}function ja(f){var r=(e()-f.startTime)/468;var b=.5*(1-Math.cos(Math.PI*(1<r?1:r)));r=f.Cr+(f.x-f.Cr)*b;b=f.AH+(f.y-f.AH)*b;f.method.call(f.kP,r,b);r===f.x&&b===f.y||fa.requestAnimationFrame(ja.bind(fa,f))}function ia(f,r,b){var w=e();if(f===y.body){var ba=
|
|
4
|
+
fa;var z=fa.scrollX||fa.pageXOffset;f=fa.scrollY||fa.pageYOffset;var ca=n.scroll}else ba=f,z=f.scrollLeft,f=f.scrollTop,ca=ua;ja({kP:ba,method:ca,startTime:w,Cr:z,AH:f,x:r,y:b})}var fa=window,y=document;if(!("scrollBehavior"in y.documentElement.style&&!0!==fa.rZa)){var x=fa.HTMLElement||fa.Element,n={scroll:fa.scroll||fa.scrollTo,scrollBy:fa.scrollBy,I9:x.prototype.scroll||ua,scrollIntoView:x.prototype.scrollIntoView},e=fa.performance&&fa.performance.now?fa.performance.now.bind(fa.performance):Date.now,
|
|
5
5
|
a=RegExp("MSIE |Trident/|Edge/").test(fa.navigator.userAgent)?1:0;fa.scroll=fa.scrollTo=function(f,r){void 0!==f&&(!0===h(f)?n.scroll.call(fa,void 0!==f.left?f.left:"object"!==typeof f?f:fa.scrollX||fa.pageXOffset,void 0!==f.top?f.top:void 0!==r?r:fa.scrollY||fa.pageYOffset):ia.call(fa,y.body,void 0!==f.left?~~f.left:fa.scrollX||fa.pageXOffset,void 0!==f.top?~~f.top:fa.scrollY||fa.pageYOffset))};fa.scrollBy=function(f,r){void 0!==f&&(h(f)?n.scrollBy.call(fa,void 0!==f.left?f.left:"object"!==typeof f?
|
|
6
|
-
f:0,void 0!==f.top?f.top:void 0!==r?r:0):ia.call(fa,y.body,~~f.left+(fa.scrollX||fa.pageXOffset),~~f.top+(fa.scrollY||fa.pageYOffset)))};x.prototype.scroll=x.prototype.scrollTo=function(f,r){if(void 0!==f)if(!0===h(f)){if("number"===typeof f&&void 0===r)throw new SyntaxError("Value could not be converted");n.
|
|
7
|
-
this.scrollLeft:~~r,"undefined"===typeof f?this.scrollTop:~~f)};x.prototype.scrollBy=function(f,r){void 0!==f&&(!0===h(f)?n.
|
|
6
|
+
f:0,void 0!==f.top?f.top:void 0!==r?r:0):ia.call(fa,y.body,~~f.left+(fa.scrollX||fa.pageXOffset),~~f.top+(fa.scrollY||fa.pageYOffset)))};x.prototype.scroll=x.prototype.scrollTo=function(f,r){if(void 0!==f)if(!0===h(f)){if("number"===typeof f&&void 0===r)throw new SyntaxError("Value could not be converted");n.I9.call(this,void 0!==f.left?~~f.left:"object"!==typeof f?~~f:this.scrollLeft,void 0!==f.top?~~f.top:void 0!==r?~~r:this.scrollTop)}else r=f.left,f=f.top,ia.call(this,this,"undefined"===typeof r?
|
|
7
|
+
this.scrollLeft:~~r,"undefined"===typeof f?this.scrollTop:~~f)};x.prototype.scrollBy=function(f,r){void 0!==f&&(!0===h(f)?n.I9.call(this,void 0!==f.left?~~f.left+this.scrollLeft:~~f+this.scrollLeft,void 0!==f.top?~~f.top+this.scrollTop:~~r+this.scrollTop):this.scroll({left:~~f.left+this.scrollLeft,top:~~f.top+this.scrollTop,behavior:f.behavior}))};x.prototype.scrollIntoView=function(f){if(!0===h(f))n.scrollIntoView.call(this,void 0===f?!0:f);else{for(f=this;f!==y.body&&!1===oa(f);)f=f.parentNode||
|
|
8
8
|
f.host;var r=f.getBoundingClientRect(),b=this.getBoundingClientRect();f!==y.body?(ia.call(this,f,f.scrollLeft+b.left-r.left,f.scrollTop+b.top-r.top),"fixed"!==fa.getComputedStyle(f).position&&fa.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):fa.scrollBy({left:b.left,top:b.top,behavior:"smooth"})}}}}}})()}}]);}).call(this || window)
|
package/public/core/22.chunk.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[22],{650:function(ya,ua,h){h.r(ua);var la=h(0),
|
|
3
|
-
break;case "delete":e="<delete><id>".concat(e.aId,"</id></delete>"),this.ga.
|
|
4
|
-
function(y,x,n){var e=this;if(y){e.Wg=x;e.ga=n.ia();n.addEventListener(
|
|
5
|
-
dId:y});e.trigger(fa.Events.WEBVIEWER_SERVER_ANNOTATIONS_ENABLED,[e.Ul[f.id],e.
|
|
6
|
-
null);this.connection&&this.connection.
|
|
7
|
-
case 1:r=ea.aa();"delete"!==e&&(b=(new DOMParser).parseFromString(r,"text/xml"),w=new XMLSerializer);for(ba=0;ba<n.length;ba++)z=n[ba],aa=ca=void 0,"add"===e?(ca=b.querySelector('[name="'.concat(z.Id,'"]')),aa=w.serializeToString(ca),ha=null,z.InReplyTo&&(ha=x.ga.Yf(z.InReplyTo).authorId||"default"),f.annots.push({at:"create",aId:z.Id,author:x.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[22],{650:function(ya,ua,h){h.r(ua);var la=h(0),na=h(7),oa=h(2);ya=h(53);var ja=h(37),ia=h(20);h=function(){function fa(){this.init()}fa.prototype.init=function(){this.hva=!1;this.Wg=this.Np=this.connection=null;this.Ul={};this.ga=this.uQ=null};fa.prototype.nQ=function(y){for(var x=this,n=0;n<y.length;++n){var e=y[n];switch(e.at){case "create":this.Ul[e.author]||(this.Ul[e.author]=e.aName);this.pHa(e);break;case "modify":this.ga.xt(e.xfdf).then(function(a){x.ga.Fb(a[0])});
|
|
3
|
+
break;case "delete":e="<delete><id>".concat(e.aId,"</id></delete>"),this.ga.xt(e)}}};fa.prototype.pHa=function(y){var x=this;this.ga.xt(y.xfdf).then(function(n){n=n[0];n.authorId=y.author;x.ga.Fb(n);x.ga.trigger(na.d.UPDATE_ANNOTATION_PERMISSION,[n])})};fa.prototype.cGa=function(y,x,n){this.Np&&this.Np(y,x,n)};fa.prototype.preloadAnnotations=function(y){this.addEventListener("webViewerServerAnnotationsEnabled",this.cGa.bind(this,y,"add",{imported:!1}),{once:!0})};fa.prototype.initiateCollaboration=
|
|
4
|
+
function(y,x,n){var e=this;if(y){e.Wg=x;e.ga=n.ia();n.addEventListener(na.i.DOCUMENT_UNLOADED,function(){e.disableCollaboration()});e.qXa(y);var a=new XMLHttpRequest;a.addEventListener("load",function(){if(200===a.status&&0<a.responseText.length)try{var f=JSON.parse(a.responseText);e.connection=exports.da.RYa(Object(ja.l)(e.Wg,"blackbox/"),"annot");e.uQ=f.id;e.Ul[f.id]=f.user_name;e.ga.w0(f.id);e.connection.y1a(function(r){r.t&&r.t.startsWith("a_")&&r.data&&e.nQ(r.data)},function(){e.connection.send({t:"a_retrieve",
|
|
5
|
+
dId:y});e.trigger(fa.Events.WEBVIEWER_SERVER_ANNOTATIONS_ENABLED,[e.Ul[f.id],e.uQ])},function(){e.disableCollaboration()})}catch(r){Object(oa.f)(r.message)}});a.open("GET",Object(ja.l)(this.Wg,"demo/SessionInfo.jsp"));a.withCredentials=!0;a.send();e.hva=!0;e.ga.Vha(function(f){return e.Ul[f.Author]||f.Author})}else Object(oa.f)("Document ID required for collaboration")};fa.prototype.disableCollaboration=function(){this.Np&&(this.ga.removeEventListener(ia.a.Events.ANNOTATION_CHANGED,this.Np),this.Np=
|
|
6
|
+
null);this.connection&&this.connection.Ov();this.ga&&this.ga.w0("Guest");this.init();this.trigger(fa.Events.WEBVIEWER_SERVER_ANNOTATIONS_DISABLED)};fa.prototype.qXa=function(y){var x=this;this.Np&&this.ga.removeEventListener(ia.a.Events.ANNOTATION_CHANGED,this.Np);this.Np=function(n,e,a){return Object(la.b)(this,void 0,void 0,function(){var f,r,b,w,ba,z,ca,aa,ha;return Object(la.d)(this,function(ea){switch(ea.label){case 0:if(a.imported)return[2];f={t:"a_".concat(e),dId:y,annots:[]};return[4,x.ga.T9()];
|
|
7
|
+
case 1:r=ea.aa();"delete"!==e&&(b=(new DOMParser).parseFromString(r,"text/xml"),w=new XMLSerializer);for(ba=0;ba<n.length;ba++)z=n[ba],aa=ca=void 0,"add"===e?(ca=b.querySelector('[name="'.concat(z.Id,'"]')),aa=w.serializeToString(ca),ha=null,z.InReplyTo&&(ha=x.ga.Yf(z.InReplyTo).authorId||"default"),f.annots.push({at:"create",aId:z.Id,author:x.uQ,aName:x.Ul[x.uQ],parent:ha,xfdf:"<add>".concat(aa,"</add>")})):"modify"===e?(ca=b.querySelector('[name="'.concat(z.Id,'"]')),aa=w.serializeToString(ca),
|
|
8
8
|
f.annots.push({at:"modify",aId:z.Id,xfdf:"<modify>".concat(aa,"</modify>")})):"delete"===e&&f.annots.push({at:"delete",aId:z.Id});0<f.annots.length&&x.connection.send(f);return[2]}})})}.bind(x);this.ga.addEventListener(ia.a.Events.ANNOTATION_CHANGED,this.Np)};fa.Events={WEBVIEWER_SERVER_ANNOTATIONS_ENABLED:"webViewerServerAnnotationsEnabled",WEBVIEWER_SERVER_ANNOTATIONS_DISABLED:"webViewerServerAnnotationsDisabled"};return fa}();Object(ya.a)(h);ua["default"]=h}}]);}).call(this || window)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{634:function(ya,ua,h){h.r(ua);var la=h(0),
|
|
3
|
-
ya=function(ia){function fa(y,x,n,e){y=ia.call(this,y,x,n,e)||this;y.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{634:function(ya,ua,h){h.r(ua);var la=h(0),na=h(369);ya=h(630);h=h(553);var oa=window,ja=function(ia){function fa(y,x){var n=ia.call(this,y,x)||this;n.url=y;n.range=x;n.request=new XMLHttpRequest;n.request.open("GET",n.url,!0);oa.Uint8Array&&(n.request.responseType="arraybuffer");n.request.setRequestHeader("X-Requested-With","XMLHttpRequest");n.status=na.a.NOT_STARTED;return n}Object(la.c)(fa,ia);return fa}(ya.ByteRangeRequest);
|
|
3
|
+
ya=function(ia){function fa(y,x,n,e){y=ia.call(this,y,x,n,e)||this;y.LG=ja;return y}Object(la.c)(fa,ia);fa.prototype.FD=function(y,x){return"".concat(y,"/bytes=").concat(x.start,",").concat(x.stop?x.stop:"")};return fa}(ya["default"]);Object(h.a)(ya);Object(h.b)(ya);ua["default"]=ya}}]);}).call(this || window)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[2],{635:function(ya,ua,h){h.r(ua);ya=h(53);h=h(553);var la=function(){function
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[2],{635:function(ya,ua,h){h.r(ua);ya=h(53);h=h(553);var la=function(){function na(oa){this.buffer=oa;this.fileSize=null===oa||void 0===oa?void 0:oa.byteLength}na.prototype.getFileData=function(oa){oa(new Uint8Array(this.buffer))};na.prototype.getFile=function(){return Promise.resolve(null)};return na}();Object(ya.a)(la);Object(h.a)(la);Object(h.b)(la);ua["default"]=la}}]);}).call(this || window)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[3],{636:function(ya,ua,h){h.r(ua);var la=h(0),
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[3],{636:function(ya,ua,h){h.r(ua);var la=h(0),na=h(227);ya=h(630);h=h(553);ya=function(oa){function ja(ia,fa,y,x){return oa.call(this,ia,fa,y,x)||this}Object(la.c)(ja,oa);ja.prototype.gaa=function(){return{start:this.X9-na.a,stop:this.X9}};ja.prototype.AA=function(ia){var fa=this;this.Gt(this.url,{start:0,stop:1},function(y,x,n){if(y)return ia(y);y=n.request.getResponseHeader("Content-Range");fa.X9=y.split("/")[1];oa.prototype.AA.call(fa,
|
|
3
3
|
ia)})};return ja}(ya["default"]);Object(h.a)(ya);Object(h.b)(ya);ua["default"]=ya}}]);}).call(this || window)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[4],{647:function(ya,ua,h){h.r(ua);var la=h(0),
|
|
3
|
-
x,n){return Object(la.b)(fa,void 0,void 0,function(){var e,a,f,r,b,w,ba,z=this,ca;return Object(la.d)(this,function(aa){switch(aa.label){case 0:if(this.state!==ja.EXTERNAL_XFDF_NOT_REQUESTED)return[3,2];e=this.ba.getDocument().
|
|
4
|
-
[2];r=new DOMParser;b=r.parseFromString(y,"text/xml");x.forEach(function(ha){z.merge(b,z.
|
|
5
|
-
function(fa,y,x){var n=this;0===x&&(this.
|
|
6
|
-
this,n=this.
|
|
7
|
-
"xfdf > fields","fields");y=y.split(".");this.
|
|
8
|
-
this.
|
|
9
|
-
ia.prototype.
|
|
10
|
-
return n};return ia}();ua["default"]=ya},658:function(ya,ua){ya=function(){function h(){}h.prototype.
|
|
11
|
-
{};this.
|
|
12
|
-
function(la,
|
|
13
|
-
10),fa=ja.getAttribute("name");
|
|
14
|
-
this,fa={
|
|
15
|
-
Object(la.c)(oa,
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[4],{647:function(ya,ua,h){h.r(ua);var la=h(0),na=h(669),oa=h(670),ja;(function(ia){ia[ia.EXTERNAL_XFDF_NOT_REQUESTED=0]="EXTERNAL_XFDF_NOT_REQUESTED";ia[ia.EXTERNAL_XFDF_NOT_AVAILABLE=1]="EXTERNAL_XFDF_NOT_AVAILABLE";ia[ia.EXTERNAL_XFDF_AVAILABLE=2]="EXTERNAL_XFDF_AVAILABLE"})(ja||(ja={}));ya=function(){function ia(fa){this.ba=fa;this.state=ja.EXTERNAL_XFDF_NOT_REQUESTED}ia.prototype.UFa=function(){var fa=this;return function(y,
|
|
3
|
+
x,n){return Object(la.b)(fa,void 0,void 0,function(){var e,a,f,r,b,w,ba,z=this,ca;return Object(la.d)(this,function(aa){switch(aa.label){case 0:if(this.state!==ja.EXTERNAL_XFDF_NOT_REQUESTED)return[3,2];e=this.ba.getDocument().Mz();return[4,this.fDa(e)];case 1:a=aa.aa(),f=this.swa(a),this.oV=null!==(ca=null===f||void 0===f?void 0:f.parse())&&void 0!==ca?ca:null,this.state=null===this.oV?ja.EXTERNAL_XFDF_NOT_AVAILABLE:ja.EXTERNAL_XFDF_AVAILABLE,aa.label=2;case 2:if(this.state===ja.EXTERNAL_XFDF_NOT_AVAILABLE)return n(y),
|
|
4
|
+
[2];r=new DOMParser;b=r.parseFromString(y,"text/xml");x.forEach(function(ha){z.merge(b,z.oV,ha-1)});w=new XMLSerializer;ba=w.serializeToString(b);n(ba);return[2]}})})}};ia.prototype.C0=function(fa){this.fDa=fa};ia.prototype.Vf=function(){this.oV=void 0;this.state=ja.EXTERNAL_XFDF_NOT_REQUESTED};ia.prototype.swa=function(fa){return fa?Array.isArray(fa)?new na.a(fa):"string"!==typeof fa?null:(new DOMParser).parseFromString(fa,"text/xml").querySelector("xfdf > add")?new na.a(fa):new oa.a(fa):null};ia.prototype.merge=
|
|
5
|
+
function(fa,y,x){var n=this;0===x&&(this.EKa(fa,y.ov),this.HKa(fa,y.TU));var e=y.ea[x];e&&(this.IKa(fa,e.ev),this.KKa(fa,e.Rka,y.dE),this.JKa(fa,e.page,x),this.GKa(fa,e.f9));e=this.ba.Db();if(x===e-1){var a=y.dE;Object.keys(a).forEach(function(f){a[f].qX||n.Qda(fa,f,a[f])})}};ia.prototype.EKa=function(fa,y){null!==y&&(fa=this.fD(fa),this.bx(fa,"calculation-order",y))};ia.prototype.HKa=function(fa,y){null!==y&&(fa=this.fD(fa),this.bx(fa,"document-actions",y))};ia.prototype.IKa=function(fa,y){var x=
|
|
6
|
+
this,n=this.eD(fa.querySelector("xfdf"),"annots");Object.keys(y).forEach(function(e){x.bx(n,'[name="'.concat(e,'"]'),y[e])})};ia.prototype.KKa=function(fa,y,x){var n=this;if(0!==y.length){var e=this.fD(fa);y.forEach(function(a){var f=a.getAttribute("field"),r=x[f];r&&(n.Qda(fa,f,r),n.bx(e,"null",a))})}};ia.prototype.Qda=function(fa,y,x){var n=this.fD(fa),e=n.querySelector('ffield[name="'.concat(y,'"]'));null!==x.ML&&null===e&&this.bx(n,'ffield[name="'.concat(y,'"]'),x.ML);fa=this.eD(fa.querySelector("xfdf"),
|
|
7
|
+
"xfdf > fields","fields");y=y.split(".");this.p_(fa,y,0,x.value);x.qX=!0};ia.prototype.JKa=function(fa,y,x){null!==y&&(fa=this.fD(fa),fa=this.eD(fa,"pages"),this.bx(fa,'[number="'.concat(x+1,'"]'),y))};ia.prototype.GKa=function(fa,y){Object.keys(y).forEach(function(x){(x=fa.querySelector('annots [name="'.concat(x,'"]')))&&x.parentElement.removeChild(x)})};ia.prototype.p_=function(fa,y,x,n){if(x===y.length)y=document.createElementNS("","value"),y.textContent=n,this.bx(fa,"value",y);else{var e=y[x];
|
|
8
|
+
this.eD(fa,'[name="'.concat(e,'"]'),"field").setAttribute("name",e);fa=fa.querySelectorAll('[name="'.concat(e,'"]'));1===fa.length?this.p_(fa[0],y,x+1,n):(e=this.iBa(fa),this.p_(x===y.length-1?e:this.KVa(fa,e),y,x+1,n))}};ia.prototype.iBa=function(fa){for(var y=null,x=0;x<fa.length;x++){var n=fa[x];if(0===n.childElementCount||1===n.childElementCount&&"value"===n.children[0].tagName){y=n;break}}return y};ia.prototype.KVa=function(fa,y){for(var x=0;x<fa.length;x++)if(fa[x]!==y)return fa[x];return null};
|
|
9
|
+
ia.prototype.bx=function(fa,y,x){y=fa.querySelector(y);null!==y&&fa.removeChild(y);fa.appendChild(x)};ia.prototype.fD=function(fa){var y=fa.querySelector("pdf-info");if(null!==y)return y;y=this.eD(fa.querySelector("xfdf"),"pdf-info");y.setAttribute("xmlns","http://www.pdftron.com/pdfinfo");y.setAttribute("version","2");y.setAttribute("import-version","4");return y};ia.prototype.eD=function(fa,y,x){var n=fa.querySelector(y);if(null!==n)return n;n=document.createElementNS("",x||y);fa.appendChild(n);
|
|
10
|
+
return n};return ia}();ua["default"]=ya},658:function(ya,ua){ya=function(){function h(){}h.prototype.PJ=function(la){var na={ov:null,TU:null,dE:{},ea:{}};la=(new DOMParser).parseFromString(la,"text/xml");na.ov=la.querySelector("pdf-info calculation-order");na.TU=la.querySelector("pdf-info document-actions");na.dE=this.wMa(la);na.ea=this.KMa(la);return na};h.prototype.wMa=function(la){var na=la.querySelector("fields");la=la.querySelectorAll("pdf-info > ffield");if(null===na&&null===la)return{};var oa=
|
|
11
|
+
{};this.hsa(oa,na);this.fsa(oa,la);return oa};h.prototype.hsa=function(la,na){if(null!==na&&na.children){for(var oa=[],ja=0;ja<na.children.length;ja++){var ia=na.children[ja];oa.push({name:ia.getAttribute("name"),element:ia})}for(;0!==oa.length;)for(na=oa.shift(),ja=0;ja<na.element.children.length;ja++)ia=na.element.children[ja],"value"===ia.tagName?la[na.name]={value:ia.textContent,ML:null,qX:!1}:ia.children&&oa.push({name:"".concat(na.name,".").concat(ia.getAttribute("name")),element:ia})}};h.prototype.fsa=
|
|
12
|
+
function(la,na){na.forEach(function(oa){var ja=oa.getAttribute("name");la[ja]?la[ja].ML=oa:la[ja]={value:null,ML:oa,qX:!1}})};h.prototype.KMa=function(la){var na=this,oa={};la.querySelectorAll("pdf-info widget").forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),10)-1;na.nN(oa,ia);oa[ia].Rka.push(ja)});la.querySelectorAll("pdf-info page").forEach(function(ja){var ia=parseInt(ja.getAttribute("number"),10)-1;na.nN(oa,ia);oa[ia].page=ja});this.waa(la).forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),
|
|
13
|
+
10),fa=ja.getAttribute("name");na.nN(oa,ia);oa[ia].ev[fa]=ja});this.aaa(la).forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),10);ja=ja.textContent;na.nN(oa,ia);oa[ia].f9[ja]=!0});return oa};h.prototype.nN=function(la,na){la[na]||(la[na]={ev:{},f9:{},Rka:[],page:null})};return h}();ua.a=ya},669:function(ya,ua,h){var la=h(0),na=h(1);h.n(na);ya=function(oa){function ja(ia){var fa=oa.call(this)||this;fa.QAa=Array.isArray(ia)?ia:[ia];return fa}Object(la.c)(ja,oa);ja.prototype.parse=function(){var ia=
|
|
14
|
+
this,fa={ov:null,TU:null,dE:{},ea:{}};this.QAa.forEach(function(y){fa=Object(na.merge)(fa,ia.PJ(y))});return fa};ja.prototype.waa=function(ia){var fa=[];ia.querySelectorAll("add > *").forEach(function(y){fa.push(y)});ia.querySelectorAll("modify > *").forEach(function(y){fa.push(y)});return fa};ja.prototype.aaa=function(ia){return ia.querySelectorAll("delete > *")};return ja}(h(658).a);ua.a=ya},670:function(ya,ua,h){var la=h(0);ya=function(na){function oa(ja){var ia=na.call(this)||this;ia.RAa=ja;return ia}
|
|
15
|
+
Object(la.c)(oa,na);oa.prototype.parse=function(){return this.PJ(this.RAa)};oa.prototype.waa=function(ja){return ja.querySelectorAll("annots > *")};oa.prototype.aaa=function(){return[]};return oa}(h(658).a);ua.a=ya}}]);}).call(this || window)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[5],{637:function(ya,ua,h){h.r(ua);var la=h(0);ya=h(53);var
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[5],{637:function(ya,ua,h){h.r(ua);var la=h(0);ya=h(53);var na=h(251),oa=h(553),ja=h(314),ia=window;h=function(){function fa(y,x){this.Hca=function(n){n=n.split(".");return n[n.length-1].match(/(jpg|jpeg|png|gif)$/i)};x=x||{};this.url=y;this.filename=x.filename||y;this.Uf=x.customHeaders;this.aXa=!!x.useDownloader;this.withCredentials=!!x.withCredentials}fa.prototype.xP=function(y){this.Uf=y};fa.prototype.getCustomHeaders=function(){return this.Uf};
|
|
3
3
|
fa.prototype.getFileData=function(y){var x=this,n=this,e=new XMLHttpRequest,a=0===this.url.indexOf("blob:")?"blob":"arraybuffer";e.open("GET",this.url,!0);e.withCredentials=this.withCredentials;e.responseType=a;this.Uf&&Object.keys(this.Uf).forEach(function(r){e.setRequestHeader(r,x.Uf[r])});var f=/^https?:/i.test(this.url);e.addEventListener("load",function(r){return Object(la.b)(this,void 0,void 0,function(){var b,w,ba,z,ca,aa;return Object(la.d)(this,function(ha){switch(ha.label){case 0:if(200!==
|
|
4
|
-
this.status&&(f||0!==this.status))return[3,10];n.trigger(fa.Events.DOCUMENT_LOADING_PROGRESS,[r.loaded,r.loaded]);if("blob"!==this.responseType)return[3,4];b=this.response;return n.
|
|
5
|
-
if(!n.
|
|
6
|
-
!1);e.onprogress=function(r){n.trigger(fa.Events.DOCUMENT_LOADING_PROGRESS,[r.loaded,0<r.total?r.total:0])};e.addEventListener("error",function(){n.trigger(fa.Events.ERROR,["pdfLoad","Network failure"]);n.
|
|
4
|
+
this.status&&(f||0!==this.status))return[3,10];n.trigger(fa.Events.DOCUMENT_LOADING_PROGRESS,[r.loaded,r.loaded]);if("blob"!==this.responseType)return[3,4];b=this.response;return n.Hca(n.filename)?[4,Object(ja.b)(b)]:[3,2];case 1:return w=ha.aa(),n.fileSize=w.byteLength,y(new Uint8Array(w)),[3,3];case 2:ba=new FileReader,ba.onload=function(ea){ea=new Uint8Array(ea.target.result);n.fileSize=ea.length;y(ea)},ba.readAsArrayBuffer(b),ha.label=3;case 3:return[3,9];case 4:ha.jd.push([4,8,,9]);z=new Uint8Array(this.response);
|
|
5
|
+
if(!n.Hca(n.filename))return[3,6];b=new Blob([z.buffer]);return[4,Object(ja.b)(b)];case 5:return w=ha.aa(),n.fileSize=w.byteLength,y(new Uint8Array(w)),[3,7];case 6:n.fileSize=z.length,y(z),ha.label=7;case 7:return[3,9];case 8:return ha.aa(),n.trigger(fa.Events.ERROR,["pdfLoad","Out of memory"]),[3,9];case 9:return[3,11];case 10:ca=r.currentTarget,aa=Object(na.b)(ca),n.trigger(fa.Events.ERROR,["pdfLoad","".concat(this.status," ").concat(ca.statusText),aa]),ha.label=11;case 11:return n.gI=null,[2]}})})},
|
|
6
|
+
!1);e.onprogress=function(r){n.trigger(fa.Events.DOCUMENT_LOADING_PROGRESS,[r.loaded,0<r.total?r.total:0])};e.addEventListener("error",function(){n.trigger(fa.Events.ERROR,["pdfLoad","Network failure"]);n.gI=null},!1);e.send();this.gI=e};fa.prototype.getFile=function(){var y=this;return new Promise(function(x){ia.da.isJSWorker&&x(y.url);if(y.aXa){var n=Object(la.a)({url:y.url},y.Uf?{customHeaders:y.Uf}:{});x(n)}x(null)})};fa.prototype.abort=function(){this.gI&&(this.gI.abort(),this.gI=null)};fa.Events=
|
|
7
7
|
{DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress",ERROR:"error"};return fa}();Object(ya.a)(h);Object(oa.a)(h);Object(oa.b)(h);ua["default"]=h}}]);}).call(this || window)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[0],{630:function(ya,ua,h){h.r(ua);h.d(ua,"ByteRangeRequest",function(){return w});var la=h(0),
|
|
3
|
-
ea;this.
|
|
4
|
-
this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=x.a.NOT_STARTED}z.prototype.start=function(ca){var aa=this,ha=this.request;ha.onreadystatechange=function(){if(aa.aborted)return aa.status=x.a.ABORTED,ca({code:x.a.ABORTED});if(this.readyState===aa.
|
|
5
|
-
this.status=x.a.STARTED};z.prototype.
|
|
6
|
-
ca;return aa};return z}(),ba=function(z){function ca(aa,ha,ea,pa,
|
|
7
|
-
ca.prototype.
|
|
8
|
-
ea.request=this.
|
|
9
|
-
-(ja.a+ja.e);return{start:aa-ja.d,end:aa}};ca.prototype.
|
|
10
|
-
ha.
|
|
11
|
-
function(aa,ha){var ea=this;if(this.Ze.
|
|
12
|
-
this.Sm[pa]=new r(pa),qa.
|
|
13
|
-
this.Sm[ea].
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[0],{630:function(ya,ua,h){h.r(ua);h.d(ua,"ByteRangeRequest",function(){return w});var la=h(0),na=h(1);h.n(na);var oa=h(2),ja=h(227);ya=h(134);var ia=h(370),fa=h(114),y=h(108),x=h(369),n=h(251);h=h(553);var e=[],a=[],f=window,r=function(){return function(){this.mr=1}}(),b;(function(z){z[z.UNSENT=0]="UNSENT";z[z.DONE=4]="DONE"})(b||(b={}));var w=function(){function z(ca,aa,ha,ea){var pa=this;this.url=ca;this.range=aa;this.Uf=ha;this.withCredentials=
|
|
3
|
+
ea;this.Noa=b;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);f.Uint8Array&&(this.request.responseType="arraybuffer");ea&&(this.request.withCredentials=ea);ba.DISABLE_RANGE_HEADER||(Object(na.isUndefined)(aa.stop)?this.request.setRequestHeader("Range","bytes=".concat(aa.start)):this.request.setRequestHeader("Range",["bytes=",aa.start,"-",aa.stop-1].join("")));ha&&Object.keys(ha).forEach(function(ma){pa.request.setRequestHeader(ma,ha[ma])});this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):
|
|
4
|
+
this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=x.a.NOT_STARTED}z.prototype.start=function(ca){var aa=this,ha=this.request;ha.onreadystatechange=function(){if(aa.aborted)return aa.status=x.a.ABORTED,ca({code:x.a.ABORTED});if(this.readyState===aa.Noa.DONE){aa.zM();var ea=0===window.document.URL.indexOf("file:///");200===ha.status||206===ha.status||ea&&0===ha.status?(ea=f.Saa(this),aa.q1(ea,ca)):(aa.status=x.a.ERROR,ca({code:aa.status,status:aa.status}))}};this.request.send(null);
|
|
5
|
+
this.status=x.a.STARTED};z.prototype.q1=function(ca,aa){this.status=x.a.SUCCESS;if(aa)return aa(!1,ca)};z.prototype.abort=function(){this.zM();this.aborted=!0;this.request.abort()};z.prototype.zM=function(){var ca=Object(n.c)(this.url,this.range,a);-1!==ca&&a.splice(ca,1);if(0<e.length){ca=e.shift();var aa=new z(ca.url,ca.range,this.Uf,this.withCredentials);ca.request=aa;a.push(ca);aa.start(Object(n.d)(ca))}};z.prototype.extend=function(ca){var aa=Object.assign({},this,ca.prototype);aa.constructor=
|
|
6
|
+
ca;return aa};return z}(),ba=function(z){function ca(aa,ha,ea,pa,ma){ea=z.call(this,aa,ea,pa)||this;ea.Sm={};ea.yK=ha;ea.url=aa;ea.DISABLE_RANGE_HEADER=!1;ea.LG=w;ea.b3=3;ea.Uf=ma||{};return ea}Object(la.c)(ca,z);ca.prototype.FD=function(aa,ha,ea){var pa=-1===aa.indexOf("?")?"?":"&";switch(ea){case !1:case y.a.NEVER_CACHE:aa="".concat(aa+pa,"_=").concat(Object(na.uniqueId)());break;case !0:case y.a.CACHE:aa="".concat(aa+pa,"_=").concat(ha.start,",").concat(Object(na.isUndefined)(ha.stop)?"":ha.stop)}return aa};
|
|
7
|
+
ca.prototype.I8=function(aa,ha,ea,pa){void 0===ea&&(ea={});return new this.LG(aa,ha,ea,pa)};ca.prototype.BAa=function(aa,ha,ea,pa,ma){for(var ka=0;ka<e.length;ka++)if(Object(na.isEqual)(e[ka].range,ha)&&Object(na.isEqual)(e[ka].url,aa))return e[ka].vj.push(pa),e[ka].eO++,null;for(ka=0;ka<a.length;ka++)if(Object(na.isEqual)(a[ka].range,ha)&&Object(na.isEqual)(a[ka].url,aa))return a[ka].vj.push(pa),a[ka].eO++,null;ea={url:aa,range:ha,yK:ea,vj:[pa],eO:1};if(0===e.length&&a.length<this.b3)return a.push(ea),
|
|
8
|
+
ea.request=this.I8(aa,ha,ma,this.withCredentials),ea;e.push(ea);return null};ca.prototype.Gt=function(aa,ha,ea){var pa=this.FD(aa,ha,this.yK);(aa=this.BAa(pa,ha,this.yK,ea,this.Uf))&&aa.request.start(Object(n.d)(aa));return function(){var ma=Object(n.c)(pa,ha,a);if(-1!==ma){var ka=--a[ma].eO;0===ka&&a[ma].request&&a[ma].request.abort()}else ma=Object(n.c)(pa,ha,e),-1!==ma&&(ka=--e[ma].eO,0===ka&&e.splice(ma,1))}};ca.prototype.gaa=function(){return{start:-ja.a}};ca.prototype.hGa=function(){var aa=
|
|
9
|
+
-(ja.a+ja.e);return{start:aa-ja.d,end:aa}};ca.prototype.AA=function(aa){var ha=this;this.JK=!0;var ea=ja.a;this.Gt(this.url,this.gaa(),function(pa,ma,ka){function ra(){var qa=ha.Ze.caa();ha.Gt(ha.url,qa,function(sa,ta){if(sa)return Object(oa.i)("Error loading central directory: ".concat(sa)),aa(sa);ta=Object(fa.a)(ta);if(ta.length!==qa.stop-qa.start)return aa("Invalid XOD file: Zip central directory data is wrong size! Should be ".concat(qa.stop-qa.start," but is ").concat(ta.length));ha.Ze.gga(ta);
|
|
10
|
+
ha.RT=!0;ha.JK=!1;return aa(!1)})}if(pa)return Object(oa.i)("Error loading end header: ".concat(pa)),aa(pa,ma,ka);ma=Object(fa.a)(ma);if(ma.length!==ea)return aa("Invalid XOD file: Zip end header data is wrong size!");try{ha.Ze=new ia.a(ma)}catch(qa){return aa(qa)}ha.Ze.GJa?ha.Gt(ha.url,ha.hGa(),function(qa,sa){if(qa)return Object(oa.i)("Error loading zip64 header: ".concat(qa)),aa(qa);sa=Object(fa.a)(sa);ha.Ze.mKa(sa);ra()}):ra()})};ca.prototype.Laa=function(aa){aa(Object.keys(this.Ze.Xs))};ca.prototype.s_=
|
|
11
|
+
function(aa,ha){var ea=this;if(this.Ze.o8(aa)){var pa=this.Ze.BE(aa);if(pa in this.Sm){var ma=this.Wj[aa];ma.Uy=this.Sm[pa];ma.Uy.mr++;ma.cancel=ma.Uy.cancel}else{var ka=this.Ze.kDa(aa),ra=this.Gt(this.url,ka,function(sa,ta){sa?(Object(oa.i)('Error loading part "'.concat(aa,'": ').concat(sa)),ea.Gt(ea.url,ka,function(wa,za){if(wa)return ha(wa,aa);ea.kga(za,ka,pa,aa,ha)})):ea.kga(ta,ka,pa,aa,ha)}),qa=this.Wj[aa];qa&&(qa.Gja=!0,qa.cancel=function(){qa.Uy.mr--;0===qa.Uy.mr&&(ra(),delete ea.Sm[pa])},
|
|
12
|
+
this.Sm[pa]=new r(pa),qa.Uy=this.Sm[pa],qa.Uy.cancel=qa.cancel)}}else delete this.Wj[aa],ha(Error('File not found: "'.concat(aa,'"')),aa)};ca.prototype.kga=function(aa,ha,ea,pa,ma){if(aa.length!==ha.stop-ha.start)ma(Error("Part data is wrong size!"),pa);else{do{if(!this.Sm[ea])return;pa=this.Sm[ea].mr;for(var ka=ha.ex.length,ra=0;ra<ka;++ra){var qa=ha.ex[ra];ma(!1,qa.Yw,aa["string"===typeof aa?"substring":"subarray"](qa.start,qa.stop),this.Ze.vca(qa.Yw));qa.Yw in this.Wj&&delete this.Wj[qa.Yw]}}while(pa!==
|
|
13
|
+
this.Sm[ea].mr);delete this.Sm[ea]}};ca.DISABLE_RANGE_HEADER=!1;ca.b3=3;return ca}(ya.a);(function(z){function ca(aa,ha,ea){var pa=z.call(this)||this,ma;for(ma in aa)pa[ma]=aa[ma];pa.S0a=aa;pa.startOffset=ha;pa.endOffset=ea;pa.I8=function(ka,ra,qa,sa){Object(na.isUndefined)(ra.stop)?(ra.start+=pa.endOffset,ra.stop=pa.endOffset):(ra.start+=pa.startOffset,ra.stop+=pa.startOffset);ka=pa.FD(pa.url,ra,pa.yK);return new aa.LG(ka,ra,qa,sa)};return pa}Object(la.c)(ca,z);return ca})(ba);Object(h.a)(ba);Object(h.b)(ba);
|
|
14
14
|
ua["default"]=ba}}]);}).call(this || window)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[6],{638:function(ya,ua,h){h.r(ua);var la=h(0),
|
|
3
|
-
return ia}(ya.ByteRangeRequest);ya=function(ja){function ia(fa,y,x,n){fa=ja.call(this,fa,y,x,n)||this;fa.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[6],{638:function(ya,ua,h){h.r(ua);var la=h(0),na=h(369);ya=h(630);h(37);h=h(553);var oa=function(ja){function ia(fa,y){var x=ja.call(this,fa,y)||this;x.url=fa;x.range=y;x.status=na.a.NOT_STARTED;return x}Object(la.c)(ia,ja);ia.prototype.start=function(){var fa=document.createElement("IFRAME");fa.setAttribute("src",this.url);document.documentElement.appendChild(fa);fa.parentNode.removeChild(fa);this.status=na.a.STARTED;this.zM()};
|
|
3
|
+
return ia}(ya.ByteRangeRequest);ya=function(ja){function ia(fa,y,x,n){fa=ja.call(this,fa,y,x,n)||this;fa.LG=oa;return fa}Object(la.c)(ia,ja);ia.prototype.FD=function(fa,y){return"".concat(fa,"#").concat(y.start,"&").concat(y.stop?y.stop:"")};return ia}(ya["default"]);Object(h.a)(ya);Object(h.b)(ya);ua["default"]=ya}}]);}).call(this || window)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[7],{632:function(ya,ua,h){h.r(ua);var la=h(0),
|
|
3
|
-
n,e){var a=this,f=new FileReader;f.onloadend=function(r){if(0<a.
|
|
4
|
-
a.
|
|
5
|
-
n.Ze.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[7],{632:function(ya,ua,h){h.r(ua);var la=h(0),na=h(2),oa=h(227);ya=h(134);var ja=h(370);h=h(553);var ia=window;ya=function(fa){function y(x,n,e){n=fa.call(this,x,n,e)||this;if(x.name&&"xod"!==x.name.toLowerCase().split(".").pop())throw Error("Not an XOD file");if(!ia.FileReader||!ia.File||!ia.Blob)throw Error("File API is not supported in this browser");n.file=x;n.NK=[];n.uU=0;return n}Object(la.c)(y,fa);y.prototype.NY=function(x,
|
|
3
|
+
n,e){var a=this,f=new FileReader;f.onloadend=function(r){if(0<a.NK.length){var b=a.NK.shift();b.tOa.readAsBinaryString(b.file)}else a.uU--;if(f.error){r=f.error;if(r.code===r.ABORT_ERR){Object(na.i)("Request for chunk ".concat(n.start,"-").concat(n.stop," was aborted"));return}return e(r)}if(r=f.content||r.target.result)return e(!1,r);Object(na.i)("No data was returned from FileReader.")};n&&(x=(x.slice||x.webkitSlice||x.mozSlice||x.R_a).call(x,n.start,n.stop));0===a.NK.length&&50>a.uU?(f.readAsBinaryString(x),
|
|
4
|
+
a.uU++):a.NK.push({tOa:f,file:x});return function(){f.abort()}};y.prototype.AA=function(x){var n=this;n.JK=!0;var e=oa.a;n.NY(n.file,{start:-e,stop:n.file.size},function(a,f){if(a)return Object(na.i)("Error loading end header: %s ".concat(a)),x(a);if(f.length!==e)throw Error("Zip end header data is wrong size!");n.Ze=new ja.a(f);var r=n.Ze.caa();n.NY(n.file,r,function(b,w){if(b)return Object(na.i)("Error loading central directory: %s ".concat(b)),x(b);if(w.length!==r.stop-r.start)throw Error("Zip central directory data is wrong size!");
|
|
5
|
+
n.Ze.gga(w);n.RT=!0;n.JK=!1;return x(!1)})})};y.prototype.s_=function(x,n){var e=this,a=e.Wj[x];if(e.Ze.o8(x)){var f=e.Ze.CE(x),r=e.NY(e.file,f,function(b,w){delete e.Wj[x];if(b)return Object(na.i)('Error loading part "%s": %s, '.concat(x,", ").concat(b)),n(b);if(w.length!==f.stop-f.start)throw Error("Part data is wrong size!");n(!1,x,w,e.Ze.vca(x))});a.Gja=!0;a.cancel=r}else n(Error('File not found: "'.concat(x,'"')),x)};return y}(ya.a);Object(h.a)(ya);Object(h.b)(ya);ua["default"]=ya}}]);}).call(this || window)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[8],{633:function(ya,ua,h){h.r(ua);var la=h(0);ya=h(53);var
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[8],{633:function(ya,ua,h){h.r(ua);var la=h(0);ya=h(53);var na=h(553),oa=h(314),ja=h(26),ia=window;h=function(){function fa(y){var x=this;this.LIa=function(n){return n&&("image"===n.type.split("/")[0].toLowerCase()||n.name&&!!n.name.match(/.(jpg|jpeg|png|gif)$/i))};this.file=y;this.dJa=new Promise(function(n){return Object(la.b)(x,void 0,void 0,function(){var e;return Object(la.d)(this,function(a){switch(a.label){case 0:return this.LIa(this.file)?
|
|
3
3
|
[4,Object(oa.b)(y)]:[3,2];case 1:e=a.aa(),this.file=ja.r?new Blob([e],{type:y.type}):new File([e],null===y||void 0===y?void 0:y.name,{type:y.type}),a.label=2;case 2:return n(!0),[2]}})})})}fa.prototype.getFileData=function(y){var x=this,n=new FileReader;n.onload=function(e){x.trigger(fa.Events.DOCUMENT_LOADING_PROGRESS,[e.loaded,e.loaded]);y(new Uint8Array(e.target.result))};n.onprogress=function(e){e.lengthComputable&&x.trigger(fa.Events.DOCUMENT_LOADING_PROGRESS,[e.loaded,0<e.total?e.total:0])};
|
|
4
|
-
n.readAsArrayBuffer(this.file)};fa.prototype.getFile=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(y){switch(y.label){case 0:return[4,this.
|
|
4
|
+
n.readAsArrayBuffer(this.file)};fa.prototype.getFile=function(){return Object(la.b)(this,void 0,Promise,function(){return Object(la.d)(this,function(y){switch(y.label){case 0:return[4,this.dJa];case 1:return y.aa(),ia.da.isJSWorker?[2,this.file.path]:[2,this.file]}})})};fa.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress"};return fa}();Object(ya.a)(h);Object(na.a)(h);Object(na.b)(h);ua["default"]=h}}]);}).call(this || window)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[9],{644:function(ya,ua,h){function la(ha){ha.ib();ha.advance();var ea=ha.current.textContent;ha.Jb();return ea}function
|
|
3
|
-
javascript:ha.current.textContent};case "uri":return{name:"URI",uri:ha.ka("uri")};case "goto":pa=null;ha.ib();if(ha.advance()){var
|
|
4
|
-
0});ea=ea.Ba({x:ha.ka("right")||0,y:ha.ka("bottom")||0});ea=new w.d(
|
|
5
|
-
"POST",exclude:oa(ha.ka("exclude"),!1)};ea=ha.ka("flags");pa.flags=ea?ea.split(" "):[];for(ha.ib();ha.advance();)switch(ea=ha.sb(),ea){case "fields":pa.fields=
|
|
6
|
-
{name:"Hide",hide:oa(ha.ka("hide"),!0)};for(ha.ib();ha.advance();)switch(ea=ha.sb(),ea){case "fields":pa.fields=
|
|
7
|
-
ja(ha,pa);Object(r.isNull)(ra)||
|
|
8
|
-
ea+ra*ra)||0,strokeColor:[0,0,0],fillColor:[0,0,0]};for(ha.ib();ha.advance();)switch(
|
|
9
|
-
return ea}function n(ha,ea){var pa=ha.ka("name"),
|
|
10
|
-
return new window.da.Annotations.la.xa(pa,
|
|
11
|
-
new b.a.RadioButtonWidgetAnnotation(ha,ea):new b.a.CheckButtonWidgetAnnotation(ha,ea);case "Sig":return new b.a.SignatureWidgetAnnotation(ha,ea);default:Object(f.i)("Unrecognised field type: ".concat(ha.type))}return null}function a(ha,ea,pa,
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[9],{644:function(ya,ua,h){function la(ha){ha.ib();ha.advance();var ea=ha.current.textContent;ha.Jb();return ea}function na(ha){var ea=[];for(ha.ib();ha.advance();){var pa=ha.sb();"field"===pa?ea.push(String(ha.ka("name"))):Object(f.i)("unrecognised field list element: ".concat(pa))}ha.Jb();return ea}function oa(ha,ea){return ea?"false"!==ha:"true"===ha}function ja(ha,ea){var pa=ha.sb();switch(pa){case "javascript":return{name:"JavaScript",
|
|
3
|
+
javascript:ha.current.textContent};case "uri":return{name:"URI",uri:ha.ka("uri")};case "goto":pa=null;ha.ib();if(ha.advance()){var ma=ha.ka("fit");pa={page:ha.ka("page"),fit:ma};if("0"===pa.page)Object(f.i)("null page encountered in dest");else switch(ea=ea(Number(pa.page)),ma){case "Fit":case "FitB":break;case "FitH":case "FitBH":pa.top=ea.Ba({x:0,y:ha.ka("top")||0}).y;break;case "FitV":case "FitBV":pa.left=ea.Ba({x:ha.ka("left")||0,y:0}).x;break;case "FitR":ma=ea.Ba({x:ha.ka("left")||0,y:ha.ka("top")||
|
|
4
|
+
0});ea=ea.Ba({x:ha.ka("right")||0,y:ha.ka("bottom")||0});ea=new w.d(ma.x,ma.y,ea.x,ea.y);pa.top=ea.y1;pa.left=ea.x1;pa.bottom=ea.y2;pa.right=ea.x2;break;case "XYZ":ma=ea.Ba({x:ha.ka("left")||0,y:ha.ka("top")||0});pa.top=ma.y;pa.left=ma.x;pa.zoom=ha.ka("zoom")||0;break;default:Object(f.i)("unknown dest fit: ".concat(ma))}pa={name:"GoTo",dest:pa}}else Object(f.i)("missing dest in GoTo action");ha.Jb();return pa;case "submit-form":pa={name:"SubmitForm",url:ha.ka("url"),format:ha.ka("format"),method:ha.ka("method")||
|
|
5
|
+
"POST",exclude:oa(ha.ka("exclude"),!1)};ea=ha.ka("flags");pa.flags=ea?ea.split(" "):[];for(ha.ib();ha.advance();)switch(ea=ha.sb(),ea){case "fields":pa.fields=na(ha);break;default:Object(f.i)("unrecognised submit-form child: ".concat(ea))}ha.Jb();return pa;case "reset-form":pa={name:"ResetForm",exclude:oa(ha.ka("exclude"),!1)};for(ha.ib();ha.advance();)switch(ea=ha.sb(),ea){case "fields":pa.fields=na(ha);break;default:Object(f.i)("unrecognised reset-form child: ".concat(ea))}ha.Jb();return pa;case "hide":pa=
|
|
6
|
+
{name:"Hide",hide:oa(ha.ka("hide"),!0)};for(ha.ib();ha.advance();)switch(ea=ha.sb(),ea){case "fields":pa.fields=na(ha);break;default:Object(f.i)("unrecognised hide child: ".concat(ea))}ha.Jb();return pa;case "named":return{name:"Named",action:ha.ka("name")};default:Object(f.i)("Encountered unexpected action type: ".concat(pa))}return null}function ia(ha,ea,pa){var ma={};for(ha.ib();ha.advance();){var ka=ha.sb();switch(ka){case "action":ka=ha.ka("trigger");if(ea?-1!==ea.indexOf(ka):1){ma[ka]=[];for(ha.ib();ha.advance();){var ra=
|
|
7
|
+
ja(ha,pa);Object(r.isNull)(ra)||ma[ka].push(ra)}ha.Jb()}else Object(f.i)("encountered unexpected trigger on field: ".concat(ka));break;default:Object(f.i)("encountered unknown action child: ".concat(ka))}}ha.Jb();return ma}function fa(ha){return new ba.a(ha.ka("r")||0,ha.ka("g")||0,ha.ka("b")||0,ha.ka("a")||1)}function y(ha,ea){var pa=ha.ka("name"),ma=ha.ka("type")||"Type1",ka=ha.ka("size"),ra=ea.Ba({x:0,y:0});ka=ea.Ba({x:Number(ka),y:0});ea=ra.x-ka.x;ra=ra.y-ka.y;pa={name:pa,type:ma,size:Math.sqrt(ea*
|
|
8
|
+
ea+ra*ra)||0,strokeColor:[0,0,0],fillColor:[0,0,0]};for(ha.ib();ha.advance();)switch(ma=ha.sb(),ma){case "stroke-color":pa.strokeColor=fa(ha);break;case "fill-color":pa.fillColor=fa(ha);break;default:Object(f.i)("unrecognised font child: ".concat(ma))}ha.Jb();return pa}function x(ha){var ea=[];for(ha.ib();ha.advance();){var pa=ha.sb();switch(pa){case "option":pa=ea;var ma=pa.push;var ka=ha;ka={value:ka.ka("value"),displayValue:ka.ka("display-value")||void 0};ma.call(pa,ka);break;default:Object(f.i)("unrecognised options child: ".concat(pa))}}ha.Jb();
|
|
9
|
+
return ea}function n(ha,ea){var pa=ha.ka("name"),ma={type:ha.ka("type"),quadding:ha.ka("quadding")||"Left-justified",maxLen:ha.ka("max-len")||-1},ka=ha.ka("flags");Object(r.isString)(ka)&&(ma.flags=ka.split(" "));for(ha.ib();ha.advance();)switch(ka=ha.sb(),ka){case "actions":ma.actions=ia(ha,["C","F","K","V"],function(){return ea});break;case "default-value":ma.defaultValue=la(ha);break;case "font":ma.font=y(ha,ea);break;case "options":ma.options=x(ha);break;default:Object(f.i)("unknown field child: ".concat(ka))}ha.Jb();
|
|
10
|
+
return new window.da.Annotations.la.xa(pa,ma)}function e(ha,ea){switch(ha.type){case "Tx":try{if(Object(ca.c)(ha.actions))return new b.a.DatePickerWidgetAnnotation(ha,ea)}catch(pa){Object(f.i)(pa)}return new b.a.TextWidgetAnnotation(ha,ea);case "Ch":return ha.flags.get(aa.WidgetFlags.COMBO)?new b.a.ChoiceWidgetAnnotation(ha,ea):new b.a.ListWidgetAnnotation(ha,ea);case "Btn":return ha.flags.get(aa.WidgetFlags.PUSH_BUTTON)?new b.a.PushButtonWidgetAnnotation(ha,ea):ha.flags.get(aa.WidgetFlags.RADIO)?
|
|
11
|
+
new b.a.RadioButtonWidgetAnnotation(ha,ea):new b.a.CheckButtonWidgetAnnotation(ha,ea);case "Sig":return new b.a.SignatureWidgetAnnotation(ha,ea);default:Object(f.i)("Unrecognised field type: ".concat(ha.type))}return null}function a(ha,ea,pa,ma){var ka=[],ra={};ha.ib();var qa=[],sa={},ta=[];Object(z.a)(function(){if(ha.advance()){var wa=ha.sb();switch(wa){case "calculation-order":qa="calculation-order"===ha.sb()?na(ha):[];break;case "document-actions":sa=ia(ha,["Init","Open"],ea);break;case "pages":wa=
|
|
12
12
|
[];for(ha.ib();ha.advance();){var za=ha.sb();switch(za){case "page":za=wa;var Aa=za.push,Da=ha,Fa=ea,Ca={number:Da.ka("number")};for(Da.ib();Da.advance();){var Ma=Da.sb();switch(Ma){case "actions":Ca.actions=ia(Da,["O","C"],Fa);break;default:Object(f.i)("unrecognised page child: ".concat(Ma))}}Da.Jb();Aa.call(za,Ca);break;default:Object(f.i)("unrecognised page child: ".concat(za))}}ha.Jb();ta=wa;break;case "field":za=n(ha,ea(1));ra[za.name]=za;break;case "widget":wa={border:{style:"Solid",width:1},
|
|
13
13
|
backgroundColor:[],fieldName:ha.ka("field"),page:ha.ka("page"),index:ha.ka("index")||0,rotation:ha.ka("rotation")||0,flags:[],isImporting:!0};(za=ha.ka("appearance"))&&(wa.appearance=za);(za=ha.ka("flags"))&&(wa.flags=za.split(" "));for(ha.ib();ha.advance();)switch(za=ha.sb(),za){case "rect":Aa=ha;Da=ea(Number(wa.page));za=Da.Ba({x:Aa.ka("x1")||0,y:Aa.ka("y1")||0});Aa=Da.Ba({x:Aa.ka("x2")||0,y:Aa.ka("y2")||0});za=new w.d(za.x,za.y,Aa.x,Aa.y);za.normalize();wa.rect={x1:za.x1,y1:za.y1,x2:za.x2,y2:za.y2};
|
|
14
14
|
break;case "border":za=ha;Aa={style:za.ka("style")||"Solid",width:za.ka("width")||1,color:[0,0,0]};for(za.ib();za.advance();)switch(Da=za.sb(),Da){case "color":Aa.color=fa(za);break;default:Object(f.i)("unrecognised border child: ".concat(Da))}za.Jb();wa.border=Aa;break;case "background-color":wa.backgroundColor=fa(ha);break;case "actions":wa.actions=ia(ha,"E X D U Fo Bl PO PC PV PI".split(" "),ea);break;case "appearances":za=ha;Aa=Object(ca.b)(wa,"appearances");for(za.ib();za.advance();)if(Da=za.sb(),
|
|
15
15
|
"appearance"===Da){Da=za.ka("name");Fa=Object(ca.b)(Aa,Da);Da=za;for(Da.ib();Da.advance();)switch(Ca=Da.sb(),Ca){case "Normal":Object(ca.b)(Fa,"Normal").data=Da.current.textContent;break;default:Object(f.i)("unexpected appearance state: ",Ca)}Da.Jb()}else Object(f.i)("unexpected appearances child: ".concat(Da));za.Jb();break;case "extra":za=ha;Aa=ea;Da={};for(za.ib();za.advance();)switch(Fa=za.sb(),Fa){case "font":Da.font=y(za,Aa(1));break;default:Object(f.i)("unrecognised extra child: ".concat(Fa))}za.Jb();
|
|
16
16
|
za=Da;za.font&&(wa.font=za.font);break;case "captions":Aa=ha;za={};(Da=Aa.ka("Normal"))&&(za.Normal=Da);(Da=Aa.ka("Rollover"))&&(za.Rollover=Da);(Aa=Aa.ka("Down"))&&(za.Down=Aa);wa.captions=za;break;default:Object(f.i)("unrecognised widget child: ".concat(za))}ha.Jb();(za=ra[wa.fieldName])?(wa=e(za,wa),ka.push(wa)):Object(f.i)("ignoring widget with no corresponding field data: ".concat(wa.fieldName));break;default:Object(f.i)("Unknown element encountered in PDFInfo: ".concat(wa))}return!0}return!1},
|
|
17
|
-
function(){ha.Jb();pa({calculationOrder:qa,widgets:ka,fields:ra,documentActions:sa,pages:ta,custom:[]})},
|
|
17
|
+
function(){ha.Jb();pa({calculationOrder:qa,widgets:ka,fields:ra,documentActions:sa,pages:ta,custom:[]})},ma)}h.r(ua);h.d(ua,"parse",function(){return a});var f=h(2),r=h(1);h.n(r);var b=h(174),w=h(4),ba=h(11),z=h(26),ca=h(150),aa=h(18)}}]);}).call(this || window)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[10],{649:function(ya,ua,h){h.r(ua);var la=h(659),
|
|
3
|
-
n?(y+=String.fromCharCode(10),x++):128>n?(y+=String.fromCharCode(n),x++):191<n&&224>n?(e=fa.charCodeAt(x+1),y+=String.fromCharCode((n&31)<<6|e&63),x+=2):(e=fa.charCodeAt(x+1),a=fa.charCodeAt(x+2),y+=String.fromCharCode((n&15)<<12|(e&63)<<6|a&63),x+=3);return y};ia.prototype.initData=function(fa){this.Dd=[];this.vg=[];this.fc=[];this.Og=!1;try{var y=new ja.a(fa);this.Zc="";y.ib();if(!y.advance())return;var x=y.current.textContent;this.Zc=x=this.
|
|
4
|
-
for(var n=x.split(","),e=Object(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[10],{649:function(ya,ua,h){h.r(ua);var la=h(659),na=h(171),oa=h(63),ja=h(101);ya=function(){function ia(){this.fc=this.vg=this.Zc=this.Dd=null;this.Og=!1}ia.prototype.clear=function(){Object(oa.b)(this.Dd);this.Zc="";Object(oa.b)(this.vg);Object(oa.b)(this.fc);this.Og=!1};ia.prototype.Sd=function(){this.Dd=[];this.vg=[];this.fc=[];this.Og=!1};ia.prototype.sJ=function(fa){for(var y="",x=0,n,e,a;x<fa.length;)n=fa.charCodeAt(x),9===
|
|
3
|
+
n?(y+=String.fromCharCode(10),x++):128>n?(y+=String.fromCharCode(n),x++):191<n&&224>n?(e=fa.charCodeAt(x+1),y+=String.fromCharCode((n&31)<<6|e&63),x+=2):(e=fa.charCodeAt(x+1),a=fa.charCodeAt(x+2),y+=String.fromCharCode((n&15)<<12|(e&63)<<6|a&63),x+=3);return y};ia.prototype.initData=function(fa){this.Dd=[];this.vg=[];this.fc=[];this.Og=!1;try{var y=new ja.a(fa);this.Zc="";y.ib();if(!y.advance())return;var x=y.current.textContent;this.Zc=x=this.sJ(x);Object(oa.b)(this.vg);y.advance();x=y.current.textContent;
|
|
4
|
+
for(var n=x.split(","),e=Object(na.a)(n);e.Xq();){var a=e.current;try{var f=parseInt(a.trim(),10);this.vg.push(f)}catch(aa){}}Object(oa.b)(this.Dd);y.advance();x=y.current.textContent;n=x.split(",");for(var r=Object(na.a)(n);r.Xq();){a=r.current;try{f=parseFloat(a.trim()),this.Dd.push(f)}catch(aa){}}Object(oa.b)(this.fc);y.advance();x=y.current.textContent;n=x.split(",");fa=[];y=[];x=0;for(var b=Object(na.a)(n);b.Xq();){a=b.current;switch(a){case "Q":x=1;break;case "R":x=2;break;case "S":x=3;break;
|
|
5
5
|
default:x=0}if(x)fa.push(0),y.push(x);else try{f=parseFloat(a.trim()),fa.push(f),y.push(x)}catch(aa){return}}x=0;var w=fa.length;e=b=a=n=void 0;for(var ba=r=0,z=0;z<w;){var ca=y[z];if(0<ca)x=ca,++z,3===x&&(r=fa[z],ba=fa[z+1],z+=2);else if(1===x)for(f=0;8>f;++f)this.fc.push(fa[z++]);else 2===x?(n=fa[z++],a=fa[z++],b=fa[z++],e=fa[z++],this.fc.push(n),this.fc.push(a),this.fc.push(b),this.fc.push(a),this.fc.push(b),this.fc.push(e),this.fc.push(n),this.fc.push(e)):3===x&&(n=fa[z++],a=r,b=fa[z++],e=ba,
|
|
6
|
-
this.fc.push(n),this.fc.push(a),this.fc.push(b),this.fc.push(a),this.fc.push(b),this.fc.push(e),this.fc.push(n),this.fc.push(e))}}catch(aa){return}this.Zc.length&&this.Zc.length===this.vg.length&&8*this.Zc.length===this.fc.length&&(this.Og=!0)};ia.prototype.ready=function(){return this.Og};ia.prototype.
|
|
7
|
-
function(){return{m_Struct:this.Dd,m_Str:this.Zc,m_Offsets:this.vg,m_Quads:this.fc,m_Ready:this.Og}};return ia}();ua["default"]=ya},659:function(ya,ua,h){var la=h(139),
|
|
8
|
-
function(){return Math.abs(this.ih[this.Of])};ja.prototype.
|
|
9
|
-
1],10);if(ia>=this.ih.length)return ia=new ja,ia.Kj(this.ih,-1,this.Sb,this.nc,0),ia;var fa=new ja;fa.Kj(this.ih,ia,this.Sb,this.nc,this.ud+1);return fa};ja.prototype.getBBox=function(ia){if(this.
|
|
10
|
-
f)}ia.x1=fa;ia.y1=x;ia.x2=y;ia.y2=n}};ja.prototype.
|
|
11
|
-
0>ia&&(ia+=360);this.Nf.push(ia);return 0};return ja}();ua.a=ya},671:function(ya,ua,h){var la=h(659),
|
|
12
|
-
2],10)};ja.prototype.Gj=function(){return parseInt(this.Dd[this.mf+1],10)};ja.prototype.
|
|
13
|
-
-1:parseInt(this.Dd[this.mf+1],10)+ia};ja.prototype.Bj=function(ia,fa){ia=this.
|
|
14
|
-
this.Dd[this.mf+3],x=this.Dd[this.mf+4];if(y>x){var n=y;y=x;x=n}n=new
|
|
6
|
+
this.fc.push(n),this.fc.push(a),this.fc.push(b),this.fc.push(a),this.fc.push(b),this.fc.push(e),this.fc.push(n),this.fc.push(e))}}catch(aa){return}this.Zc.length&&this.Zc.length===this.vg.length&&8*this.Zc.length===this.fc.length&&(this.Og=!0)};ia.prototype.ready=function(){return this.Og};ia.prototype.EE=function(){var fa=new la.a;if(!this.Dd.length)return fa.Kj(this.Dd,-1,this.Zc,this.fc,0),fa;fa.Kj(this.Dd,1,this.Zc,this.fc,1);return fa};ia.prototype.dg=function(){return this.fc};ia.prototype.getData=
|
|
7
|
+
function(){return{m_Struct:this.Dd,m_Str:this.Zc,m_Offsets:this.vg,m_Quads:this.fc,m_Ready:this.Og}};return ia}();ua["default"]=ya},659:function(ya,ua,h){var la=h(139),na=h(71),oa=h(671);ya=function(){function ja(){this.Of=0;this.nc=this.Sb=this.ih=null;this.ud=0;this.Nf=null}ja.prototype.Sd=function(){this.Of=-1;this.ud=0;this.Nf=[]};ja.prototype.Kj=function(ia,fa,y,x,n){this.Of=fa;this.ud=n;this.Nf=[];this.ih=ia;this.Sb=y;this.nc=x};ja.prototype.ae=function(ia){return this.Of===ia.Of};ja.prototype.lo=
|
|
8
|
+
function(){return Math.abs(this.ih[this.Of])};ja.prototype.Rq=function(){return 0<this.ih[this.Of]};ja.prototype.Aj=function(){var ia=this.Rq()?6:10,fa=new oa.a;fa.Kj(this.ih,this.Of+ia,this.Of,this.Sb,this.nc,1);return fa};ja.prototype.tba=function(ia){if(0>ia||ia>=this.lo())return ia=new oa.a,ia.Kj(this.ih,-1,-1,this.Sb,this.nc,0),ia;var fa=this.Rq()?6:10,y=this.Rq()?5:11,x=new oa.a;x.Kj(this.ih,this.Of+fa+y*ia,this.Of,this.Sb,this.nc,1+ia);return x};ja.prototype.Lk=function(){var ia=this.Of+parseInt(this.ih[this.Of+
|
|
9
|
+
1],10);if(ia>=this.ih.length)return ia=new ja,ia.Kj(this.ih,-1,this.Sb,this.nc,0),ia;var fa=new ja;fa.Kj(this.ih,ia,this.Sb,this.nc,this.ud+1);return fa};ja.prototype.getBBox=function(ia){if(this.Rq())ia.x1=this.ih[this.Of+2+0],ia.y1=this.ih[this.Of+2+1],ia.x2=this.ih[this.Of+2+2],ia.y2=this.ih[this.Of+2+3];else{for(var fa=1.79769E308,y=la.a.MIN,x=1.79769E308,n=la.a.MIN,e=0;4>e;++e){var a=this.ih[this.Of+2+2*e],f=this.ih[this.Of+2+2*e+1];fa=Math.min(fa,a);y=Math.max(y,a);x=Math.min(x,f);n=Math.max(n,
|
|
10
|
+
f)}ia.x1=fa;ia.y1=x;ia.x2=y;ia.y2=n}};ja.prototype.iM=function(){if(this.Nf.length)return this.Nf[0];var ia=new na.a,fa=new na.a,y=new oa.a;y.Sd();var x=this.Aj(),n=new oa.a;n.Sd();for(var e=this.Aj();!e.ae(y);e=e.Dj())n=e;y=Array(8);e=Array(8);x.Bj(0,y);ia.x=(y[0]+y[2]+y[4]+y[6])/4;ia.y=(y[1]+y[3]+y[5]+y[7])/4;n.Bj(n.xq()-1,e);fa.x=(e[0]+e[2]+e[4]+e[6])/4;fa.y=(e[1]+e[3]+e[5]+e[7])/4;.01>Math.abs(ia.x-fa.x)&&.01>Math.abs(ia.y-fa.y)&&this.Nf.push(0);ia=Math.atan2(fa.y-ia.y,fa.x-ia.x);ia*=180/3.1415926;
|
|
11
|
+
0>ia&&(ia+=360);this.Nf.push(ia);return 0};return ja}();ua.a=ya},671:function(ya,ua,h){var la=h(659),na=h(135),oa=h(139);ya=function(){function ja(){this.Bp=this.mf=0;this.nc=this.Sb=this.Dd=null;this.ud=0}ja.prototype.Sd=function(){this.Bp=this.mf=-1;this.ud=0};ja.prototype.Kj=function(ia,fa,y,x,n,e){this.mf=fa;this.Bp=y;this.Dd=ia;this.Sb=x;this.nc=n;this.ud=e};ja.prototype.ae=function(ia){return this.mf===ia.mf};ja.prototype.xq=function(){return parseInt(this.Dd[this.mf],10)};ja.prototype.um=function(){return parseInt(this.Dd[this.mf+
|
|
12
|
+
2],10)};ja.prototype.Gj=function(){return parseInt(this.Dd[this.mf+1],10)};ja.prototype.Rq=function(){return 0<this.Dd[this.Bp]};ja.prototype.BEa=function(){return Math.abs(this.Dd[this.Bp])};ja.prototype.Dj=function(){var ia=this.Rq(),fa=ia?5:11;if(this.mf>=this.Bp+(ia?6:10)+(this.BEa()-1)*fa)return fa=new ja,fa.Kj(this.Dd,-1,-1,this.Sb,this.nc,0),fa;ia=new ja;ia.Kj(this.Dd,this.mf+fa,this.Bp,this.Sb,this.nc,this.ud+1);return ia};ja.prototype.vDa=function(ia){var fa=this.xq();return 0>ia||ia>=fa?
|
|
13
|
+
-1:parseInt(this.Dd[this.mf+1],10)+ia};ja.prototype.Bj=function(ia,fa){ia=this.vDa(ia);if(!(0>ia)){var y=new la.a;y.Kj(this.Dd,this.Bp,this.Sb,this.nc,0);if(y.Rq()){var x=new na.a;y.getBBox(x);y=x.y1<x.y2?x.y1:x.y2;x=x.y1>x.y2?x.y1:x.y2;ia*=8;fa[0]=this.nc[ia];fa[1]=y;fa[2]=this.nc[ia+2];fa[3]=fa[1];fa[4]=this.nc[ia+4];fa[5]=x;fa[6]=this.nc[ia+6];fa[7]=fa[5]}else for(ia*=8,y=0;8>y;++y)fa[y]=this.nc[ia+y]}};ja.prototype.Pk=function(ia){var fa=new la.a;fa.Kj(this.Dd,this.Bp,this.Sb,this.nc,0);if(fa.Rq()){var y=
|
|
14
|
+
this.Dd[this.mf+3],x=this.Dd[this.mf+4];if(y>x){var n=y;y=x;x=n}n=new na.a;fa.getBBox(n);fa=n.y1<n.y2?n.y1:n.y2;n=n.y1>n.y2?n.y1:n.y2;ia[0]=y;ia[1]=fa;ia[2]=x;ia[3]=fa;ia[4]=x;ia[5]=n;ia[6]=y;ia[7]=n}else for(y=this.mf+3,x=0;8>x;++x)ia[x]=this.Dd[y+x]};ja.prototype.getBBox=function(ia){var fa=new la.a;fa.Kj(this.Dd,this.Bp,this.Sb,this.nc,0);if(fa.Rq()){var y=this.Dd[this.mf+3],x=this.Dd[this.mf+4];if(y>x){var n=y;y=x;x=n}n=new na.a;fa.getBBox(n);fa=n.y1<n.y2?n.y1:n.y2;n=n.y1>n.y2?n.y1:n.y2;ia[0]=
|
|
15
15
|
y;ia[1]=fa;ia[2]=x;ia[3]=n}else{y=1.79769E308;x=oa.a.MIN;fa=1.79769E308;n=oa.a.MIN;for(var e=this.mf+3,a=0;4>a;++a){var f=this.Dd[e+2*a],r=this.Dd[e+2*a+1];y=Math.min(y,f);x=Math.max(x,f);fa=Math.min(fa,r);n=Math.max(n,r)}ia[0]=y;ia[1]=fa;ia[2]=x;ia[3]=n}};return ja}();ua.a=ya}}]);}).call(this || window)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[11],{639:function(ya,ua,h){h.r(ua);var la=h(0),
|
|
3
|
-
"XMLHttpRequest");this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=x.a.NOT_STARTED}r.prototype.start=function(b,w){var ba=this,z=this,ca=this.request,aa;z.
|
|
4
|
-
ha&&0===ca.status;if(ca.readyState!==x.b.DONE||ha){try{ca.responseText}catch(ea){return}z.
|
|
5
|
-
this.trigger(r.Events.DONE);else return w=Math.min(this.
|
|
6
|
-
{DONE:"done",DATA:"data",ABORTED:"aborted"};return r}();Object(ya.a)(e);var a;(function(r){r[r.LOCAL_HEADER=0]="LOCAL_HEADER";r[r.FILE=1]="FILE";r[r.CENTRAL_DIR=2]="CENTRAL_DIR"})(a||(a={}));var f=function(r){function b(){var w=r.call(this)||this;w.buffer="";w.state=a.LOCAL_HEADER;w.
|
|
7
|
-
ja.g)throw Error("Wrong signature in local header: ".concat(ba.
|
|
8
|
-
w;return!1};b.Events={HEADER:"header",FILE:"file"};return b}(fa.a);Object(ya.a)(f);ya=function(r){function b(w,ba,z,ca,aa){z=r.call(this,w,z,ca)||this;z.url=w;z.stream=new e(w,ba);z.Ze=new f;z.
|
|
9
|
-
ca;}});this.stream.addEventListener(e.Events.DONE,function(z){ba.
|
|
10
|
-
w.forEach(function(z){ba.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[11],{639:function(ya,ua,h){h.r(ua);var la=h(0),na=h(1);h.n(na);var oa=h(2),ja=h(227);ya=h(53);var ia=h(134),fa=h(370),y=h(108),x=h(369);h=h(553);var n=window,e=function(){function r(b,w,ba){var z=-1===b.indexOf("?")?"?":"&";switch(w){case y.a.NEVER_CACHE:this.url="".concat(b+z,"_=").concat(Object(na.uniqueId)());break;default:this.url=b}this.Uf=ba;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);this.request.setRequestHeader("X-Requested-With",
|
|
3
|
+
"XMLHttpRequest");this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=x.a.NOT_STARTED}r.prototype.start=function(b,w){var ba=this,z=this,ca=this.request,aa;z.NF=0;b&&Object.keys(b).forEach(function(ha){ba.request.setRequestHeader(ha,b[ha])});w&&(this.request.withCredentials=w);this.MO=setInterval(function(){var ha=0===window.document.URL.indexOf("file:///");ha=200===ca.status||
|
|
4
|
+
ha&&0===ca.status;if(ca.readyState!==x.b.DONE||ha){try{ca.responseText}catch(ea){return}z.NF<ca.responseText.length&&(aa=z.YNa())&&z.trigger(r.Events.DATA,[aa]);0===ca.readyState&&(clearInterval(z.MO),z.trigger(r.Events.DONE))}else clearInterval(z.MO),z.trigger(r.Events.DONE,["Error received return status ".concat(ca.status)])},1E3);this.request.send(null);this.status=x.a.STARTED};r.prototype.YNa=function(){var b=this.request,w=b.responseText;if(0!==w.length)if(this.NF===w.length)clearInterval(this.MO),
|
|
5
|
+
this.trigger(r.Events.DONE);else return w=Math.min(this.NF+3E6,w.length),b=n.Saa(b,this.NF,!0,w),this.NF=w,b};r.prototype.abort=function(){clearInterval(this.MO);var b=this;this.request.onreadystatechange=function(){Object(oa.i)("StreamingRequest aborted");b.status=x.a.ABORTED;return b.trigger(r.Events.ABORTED)};this.request.abort()};r.prototype.finish=function(){var b=this;this.request.onreadystatechange=function(){b.status=x.a.SUCCESS;return b.trigger(r.Events.DONE)};this.request.abort()};r.Events=
|
|
6
|
+
{DONE:"done",DATA:"data",ABORTED:"aborted"};return r}();Object(ya.a)(e);var a;(function(r){r[r.LOCAL_HEADER=0]="LOCAL_HEADER";r[r.FILE=1]="FILE";r[r.CENTRAL_DIR=2]="CENTRAL_DIR"})(a||(a={}));var f=function(r){function b(){var w=r.call(this)||this;w.buffer="";w.state=a.LOCAL_HEADER;w.g1=4;w.Uq=null;w.IA=ja.c;w.Xs={};return w}Object(la.c)(b,r);b.prototype.KNa=function(w){var ba;for(w=this.buffer+w;w.length>=this.IA;)switch(this.state){case a.LOCAL_HEADER:this.Uq=ba=this.cOa(w.slice(0,this.IA));if(ba.uB!==
|
|
7
|
+
ja.g)throw Error("Wrong signature in local header: ".concat(ba.uB));w=w.slice(this.IA);this.state=a.FILE;this.IA=ba.zT+ba.Nw+ba.bE+this.g1;this.trigger(b.Events.HEADER,[ba]);break;case a.FILE:this.Uq.name=w.slice(0,this.Uq.Nw);this.Xs[this.Uq.name]=this.Uq;ba=this.IA-this.g1;var z=w.slice(this.Uq.Nw+this.Uq.bE,ba);this.trigger(b.Events.FILE,[this.Uq.name,z,this.Uq.eU]);w=w.slice(ba);if(w.slice(0,this.g1)===ja.h)this.state=a.LOCAL_HEADER,this.IA=ja.c;else return this.state=a.CENTRAL_DIR,!0}this.buffer=
|
|
8
|
+
w;return!1};b.Events={HEADER:"header",FILE:"file"};return b}(fa.a);Object(ya.a)(f);ya=function(r){function b(w,ba,z,ca,aa){z=r.call(this,w,z,ca)||this;z.url=w;z.stream=new e(w,ba);z.Ze=new f;z.Bfa=window.createPromiseCapability();z.rga={};z.Uf=aa;return z}Object(la.c)(b,r);b.prototype.VG=function(w){var ba=this;this.request([this.nn,this.pp,this.mn]);this.stream.addEventListener(e.Events.DATA,function(z){try{if(ba.Ze.KNa(z))return ba.stream.finish()}catch(ca){throw ba.stream.abort(),ba.Sv(ca),w(ca),
|
|
9
|
+
ca;}});this.stream.addEventListener(e.Events.DONE,function(z){ba.cNa=!0;ba.Bfa.resolve();z&&(ba.Sv(z),w(z))});this.Ze.addEventListener(f.Events.HEADER,Object(na.bind)(this.qga,this));this.Ze.addEventListener(f.Events.FILE,Object(na.bind)(this.uOa,this));return this.stream.start(this.Uf,this.withCredentials)};b.prototype.Laa=function(w){var ba=this;this.Bfa.promise.then(function(){w(Object.keys(ba.Ze.Xs))})};b.prototype.Vt=function(){return!0};b.prototype.request=function(w){var ba=this;this.cNa&&
|
|
10
|
+
w.forEach(function(z){ba.rga[z]||ba.cWa(z)})};b.prototype.qga=function(){};b.prototype.abort=function(){this.stream&&this.stream.abort()};b.prototype.cWa=function(w){this.trigger(ia.a.Events.PART_READY,[{Rb:w,error:"Requested part not found",bm:!1,Ci:!1}])};b.prototype.uOa=function(w,ba,z){this.rga[w]=!0;this.trigger(ia.a.Events.PART_READY,[{Rb:w,data:ba,bm:!1,Ci:!1,error:null,Je:z}])};return b}(ia.a);Object(h.a)(ya);Object(h.b)(ya);ua["default"]=ya}}]);}).call(this || window)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{642:function(ya,ua,h){h.r(ua);var la=h(0),
|
|
3
|
-
ja.prototype.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{642:function(ya,ua,h){h.r(ua);var la=h(0),na=h(1);h.n(na);ya=h(134);h=h(553);ya=function(oa){function ja(ia,fa,y){fa=oa.call(this,ia,fa,y)||this;fa.db=ia;return fa}Object(la.c)(ja,oa);ja.prototype.request=function(ia){var fa=this;Object(na.each)(ia,function(y){fa.db.get(y,function(x,n,e){return x?fa.trigger("partReady.partRetriever",{Rb:y,error:x}):fa.trigger("partReady.partRetriever",{Rb:y,data:n,bm:!1,Ci:!1,error:null,Je:e})})})};
|
|
3
|
+
ja.prototype.AA=function(ia){ia()};return ja}(ya.a);Object(h.a)(ya);Object(h.b)(ya);ua["default"]=ya}}]);}).call(this || window)
|