@pdftron/webviewer 11.6.0-20250623 → 11.6.0-20250624
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 +6 -6
- package/public/core/22.chunk.js +7 -7
- 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 +5 -5
- package/public/core/HttpPartRetriever.chunk.js +12 -13
- 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 +16 -16
- package/public/core/SelectionInfoOld.chunk.js +12 -12
- package/public/core/StreamingPartRetriever.chunk.js +9 -9
- package/public/core/WebDBPartRetriever.chunk.js +1 -1
- package/public/core/WebViewerServerPartRetriever.chunk.js +43 -43
- package/public/core/WinRTPartRetriever.chunk.js +2 -2
- package/public/core/officeEditor/OfficeEditorModule.js +98 -96
- package/public/core/officeEditor/OfficeEditorWorkerWasm.br.js.mem +0 -0
- package/public/core/officeEditor/OfficeEditorWorkerWasm.br.wasm +0 -0
- package/public/core/officeEditor/OfficeEditorWorkerWasm.gz.js.mem +0 -0
- package/public/core/officeEditor/OfficeEditorWorkerWasm.gz.wasm +0 -0
- package/public/core/pikaday.chunk.js +32 -32
- package/public/core/spreadsheetEditor/SpreadsheetEditor.d.ts +1 -1
- package/public/core/spreadsheetEditor/SpreadsheetEditor.js +1 -1
- package/public/core/vendors.ascii85.chunk.js +6 -6
- package/public/core/vendors.pako.chunk.js +81 -81
- package/public/core/webviewer-core.min.js +4460 -4455
- package/public/ui/chunks/chunk.72.js +1 -1
- package/public/ui/chunks/chunk.72.js.map +1 -1
- package/types.d.ts +19 -0
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
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[19],{649: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
|
|
3
|
-
r)return f.clientHeight+a<f.scrollHeight;if("X"===r)return f.clientWidth+a<f.scrollWidth}function
|
|
4
|
-
fa;var
|
|
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"!==
|
|
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.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[19],{649: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 ma(f,r){if("Y"===
|
|
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=ma(f,"Y")&&na(f,"Y");f=ma(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.Br+(f.x-f.Br)*b;b=f.BH+(f.y-f.BH)*b;f.method.call(f.nP,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 aa=
|
|
4
|
+
fa;var ba=fa.scrollX||fa.pageXOffset;f=fa.scrollY||fa.pageYOffset;var ha=n.scroll}else aa=f,ba=f.scrollLeft,f=f.scrollTop,ha=ua;ja({nP:aa,method:ha,startTime:w,Br:ba,BH:f,x:r,y:b})}var fa=window,y=document;if(!("scrollBehavior"in y.documentElement.style&&!0!==fa.BZa)){var x=fa.HTMLElement||fa.Element,n={scroll:fa.scroll||fa.scrollTo,scrollBy:fa.scrollBy,N9:x.prototype.scroll||ua,scrollIntoView:x.prototype.scrollIntoView},e=fa.performance&&fa.performance.now?fa.performance.now.bind(fa.performance):
|
|
5
|
+
Date.now,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"!==
|
|
6
|
+
typeof f?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.N9.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"===
|
|
7
|
+
typeof r?this.scrollLeft:~~r,"undefined"===typeof f?this.scrollTop:~~f)};x.prototype.scrollBy=function(f,r){void 0!==f&&(!0===h(f)?n.N9.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],{651:function(ya,ua,h){h.r(ua);var
|
|
3
|
-
break;case "delete":e="<delete><id>".concat(e.aId,"</id></delete>"),this.ga.xt(e)}}};fa.prototype.
|
|
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=
|
|
8
|
-
f.annots.push({at:"modify",aId:
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[22],{651:function(ya,ua,h){h.r(ua);var ma=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.mva=!1;this.Wg=this.Op=this.connection=null;this.Ul={};this.ga=this.xQ=null};fa.prototype.qQ=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.yHa(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.yHa=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.lGa=function(y,x,n){this.Op&&this.Op(y,x,n)};fa.prototype.preloadAnnotations=function(y){this.addEventListener("webViewerServerAnnotationsEnabled",this.lGa.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.AXa(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.aZa(Object(ja.l)(e.Wg,"blackbox/"),"annot");e.xQ=f.id;e.Ul[f.id]=f.user_name;e.ga.B0(f.id);e.connection.J1a(function(r){r.t&&r.t.startsWith("a_")&&r.data&&e.qQ(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.xQ])},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.mva=!0;e.ga.$ha(function(f){return e.Ul[f.Author]||f.Author})}else Object(oa.f)("Document ID required for collaboration")};fa.prototype.disableCollaboration=function(){this.Op&&(this.ga.removeEventListener(ia.a.Events.ANNOTATION_CHANGED,this.Op),this.Op=
|
|
6
|
+
null);this.connection&&this.connection.Rv();this.ga&&this.ga.B0("Guest");this.init();this.trigger(fa.Events.WEBVIEWER_SERVER_ANNOTATIONS_DISABLED)};fa.prototype.AXa=function(y){var x=this;this.Op&&this.ga.removeEventListener(ia.a.Events.ANNOTATION_CHANGED,this.Op);this.Op=function(n,e,a){return Object(ma.b)(this,void 0,void 0,function(){var f,r,b,w,aa,ba,ha,z,ea;return Object(ma.d)(this,function(ca){switch(ca.label){case 0:if(a.imported)return[2];f={t:"a_".concat(e),dId:y,annots:[]};return[4,x.ga.Y9()];
|
|
7
|
+
case 1:r=ca.aa();"delete"!==e&&(b=(new DOMParser).parseFromString(r,"text/xml"),w=new XMLSerializer);for(aa=0;aa<n.length;aa++)ba=n[aa],z=ha=void 0,"add"===e?(ha=b.querySelector('[name="'.concat(ba.Id,'"]')),z=w.serializeToString(ha),ea=null,ba.InReplyTo&&(ea=x.ga.Yf(ba.InReplyTo).authorId||"default"),f.annots.push({at:"create",aId:ba.Id,author:x.xQ,aName:x.Ul[x.xQ],parent:ea,xfdf:"<add>".concat(z,"</add>")})):"modify"===e?(ha=b.querySelector('[name="'.concat(ba.Id,'"]')),z=w.serializeToString(ha),
|
|
8
|
+
f.annots.push({at:"modify",aId:ba.Id,xfdf:"<modify>".concat(z,"</modify>")})):"delete"===e&&f.annots.push({at:"delete",aId:ba.Id});0<f.annots.length&&x.connection.send(f);return[2]}})})}.bind(x);this.ga.addEventListener(ia.a.Events.ANNOTATION_CHANGED,this.Op)};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],{635:function(ya,ua,h){h.r(ua);var
|
|
3
|
-
ya=function(ia){function fa(y,x,n,e){y=ia.call(this,y,x,n,e)||this;y.MG=ja;return y}Object(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{635:function(ya,ua,h){h.r(ua);var ma=h(0),na=h(370);ya=h(631);h=h(554);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(ma.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.MG=ja;return y}Object(ma.c)(fa,ia);fa.prototype.GD=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],{636:function(ya,ua,h){h.r(ua);ya=h(53);h=h(554);var
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[2],{636:function(ya,ua,h){h.r(ua);ya=h(53);h=h(554);var ma=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)(ma);Object(h.a)(ma);Object(h.b)(ma);ua["default"]=ma}}]);}).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],{637:function(ya,ua,h){h.r(ua);var
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[3],{637:function(ya,ua,h){h.r(ua);var ma=h(0),na=h(227);ya=h(631);h=h(554);ya=function(oa){function ja(ia,fa,y,x){return oa.call(this,ia,fa,y,x)||this}Object(ma.c)(ja,oa);ja.prototype.maa=function(){return{start:this.c$-na.a,stop:this.c$}};ja.prototype.BA=function(ia){var fa=this;this.Ht(this.url,{start:0,stop:1},function(y,x,n){if(y)return ia(y);y=n.request.getResponseHeader("Content-Range");fa.c$=y.split("/")[1];oa.prototype.BA.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],{648:function(ya,ua,h){h.r(ua);var
|
|
3
|
-
x,n){return Object(
|
|
4
|
-
[2];r=new DOMParser;b=r.parseFromString(y,"text/xml");x.forEach(function(
|
|
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},659:function(ya,ua){ya=function(){function h(){}h.prototype.PJ=function(
|
|
11
|
-
{};this.
|
|
12
|
-
function(
|
|
13
|
-
10),fa=ja.getAttribute("name");
|
|
14
|
-
this,fa={
|
|
15
|
-
Object(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[4],{648:function(ya,ua,h){h.r(ua);var ma=h(0),na=h(670),oa=h(671),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.cGa=function(){var fa=this;return function(y,
|
|
3
|
+
x,n){return Object(ma.b)(fa,void 0,void 0,function(){var e,a,f,r,b,w,aa,ba=this,ha;return Object(ma.d)(this,function(z){switch(z.label){case 0:if(this.state!==ja.EXTERNAL_XFDF_NOT_REQUESTED)return[3,2];e=this.ba.getDocument().Oz();return[4,this.oDa(e)];case 1:a=z.aa(),f=this.Cwa(a),this.pV=null!==(ha=null===f||void 0===f?void 0:f.parse())&&void 0!==ha?ha:null,this.state=null===this.pV?ja.EXTERNAL_XFDF_NOT_AVAILABLE:ja.EXTERNAL_XFDF_AVAILABLE,z.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(ea){ba.merge(b,ba.pV,ea-1)});w=new XMLSerializer;aa=w.serializeToString(b);n(aa);return[2]}})})}};ia.prototype.F0=function(fa){this.oDa=fa};ia.prototype.Vf=function(){this.pV=void 0;this.state=ja.EXTERNAL_XFDF_NOT_REQUESTED};ia.prototype.Cwa=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};
|
|
5
|
+
ia.prototype.merge=function(fa,y,x){var n=this;0===x&&(this.NKa(fa,y.qv),this.QKa(fa,y.UU));var e=y.ea[x];e&&(this.RKa(fa,e.gv),this.TKa(fa,e.Wka,y.eE),this.SKa(fa,e.page,x),this.PKa(fa,e.k9));e=this.ba.Db();if(x===e-1){var a=y.eE;Object.keys(a).forEach(function(f){a[f].sX||n.Vda(fa,f,a[f])})}};ia.prototype.NKa=function(fa,y){null!==y&&(fa=this.fD(fa),this.hx(fa,"calculation-order",y))};ia.prototype.QKa=function(fa,y){null!==y&&(fa=this.fD(fa),this.hx(fa,"document-actions",y))};ia.prototype.RKa=function(fa,
|
|
6
|
+
y){var x=this,n=this.eD(fa.querySelector("xfdf"),"annots");Object.keys(y).forEach(function(e){x.hx(n,'[name="'.concat(e,'"]'),y[e])})};ia.prototype.TKa=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.Vda(fa,f,r),n.hx(e,"null",a))})}};ia.prototype.Vda=function(fa,y,x){var n=this.fD(fa),e=n.querySelector('ffield[name="'.concat(y,'"]'));null!==x.OL&&null===e&&this.hx(n,'ffield[name="'.concat(y,'"]'),x.OL);fa=this.eD(fa.querySelector("xfdf"),
|
|
7
|
+
"xfdf > fields","fields");y=y.split(".");this.r_(fa,y,0,x.value);x.sX=!0};ia.prototype.SKa=function(fa,y,x){null!==y&&(fa=this.fD(fa),fa=this.eD(fa,"pages"),this.hx(fa,'[number="'.concat(x+1,'"]'),y))};ia.prototype.PKa=function(fa,y){Object.keys(y).forEach(function(x){(x=fa.querySelector('annots [name="'.concat(x,'"]')))&&x.parentElement.removeChild(x)})};ia.prototype.r_=function(fa,y,x,n){if(x===y.length)y=document.createElementNS("","value"),y.textContent=n,this.hx(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.r_(fa[0],y,x+1,n):(e=this.rBa(fa),this.r_(x===y.length-1?e:this.UVa(fa,e),y,x+1,n))}};ia.prototype.rBa=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.UVa=function(fa,y){for(var x=0;x<fa.length;x++)if(fa[x]!==y)return fa[x];return null};
|
|
9
|
+
ia.prototype.hx=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},659:function(ya,ua){ya=function(){function h(){}h.prototype.PJ=function(ma){var na={qv:null,UU:null,eE:{},ea:{}};ma=(new DOMParser).parseFromString(ma,"text/xml");na.qv=ma.querySelector("pdf-info calculation-order");na.UU=ma.querySelector("pdf-info document-actions");na.eE=this.FMa(ma);na.ea=this.TMa(ma);return na};h.prototype.FMa=function(ma){var na=ma.querySelector("fields");ma=ma.querySelectorAll("pdf-info > ffield");if(null===na&&null===ma)return{};var oa=
|
|
11
|
+
{};this.msa(oa,na);this.ksa(oa,ma);return oa};h.prototype.msa=function(ma,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?ma[na.name]={value:ia.textContent,OL:null,sX:!1}:ia.children&&oa.push({name:"".concat(na.name,".").concat(ia.getAttribute("name")),element:ia})}};h.prototype.ksa=
|
|
12
|
+
function(ma,na){na.forEach(function(oa){var ja=oa.getAttribute("name");ma[ja]?ma[ja].OL=oa:ma[ja]={value:null,OL:oa,sX:!1}})};h.prototype.TMa=function(ma){var na=this,oa={};ma.querySelectorAll("pdf-info widget").forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),10)-1;na.qN(oa,ia);oa[ia].Wka.push(ja)});ma.querySelectorAll("pdf-info page").forEach(function(ja){var ia=parseInt(ja.getAttribute("number"),10)-1;na.qN(oa,ia);oa[ia].page=ja});this.Caa(ma).forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),
|
|
13
|
+
10),fa=ja.getAttribute("name");na.qN(oa,ia);oa[ia].gv[fa]=ja});this.gaa(ma).forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),10);ja=ja.textContent;na.qN(oa,ia);oa[ia].k9[ja]=!0});return oa};h.prototype.qN=function(ma,na){ma[na]||(ma[na]={gv:{},k9:{},Wka:[],page:null})};return h}();ua.a=ya},670:function(ya,ua,h){var ma=h(0),na=h(1);h.n(na);ya=function(oa){function ja(ia){var fa=oa.call(this)||this;fa.ZAa=Array.isArray(ia)?ia:[ia];return fa}Object(ma.c)(ja,oa);ja.prototype.parse=function(){var ia=
|
|
14
|
+
this,fa={qv:null,UU:null,eE:{},ea:{}};this.ZAa.forEach(function(y){fa=Object(na.merge)(fa,ia.PJ(y))});return fa};ja.prototype.Caa=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.gaa=function(ia){return ia.querySelectorAll("delete > *")};return ja}(h(659).a);ua.a=ya},671:function(ya,ua,h){var ma=h(0);ya=function(na){function oa(ja){var ia=na.call(this)||this;ia.$Aa=ja;return ia}
|
|
15
|
+
Object(ma.c)(oa,na);oa.prototype.parse=function(){return this.PJ(this.$Aa)};oa.prototype.Caa=function(ja){return ja.querySelectorAll("annots > *")};oa.prototype.gaa=function(){return[]};return oa}(h(659).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],{638:function(ya,ua,h){h.r(ua);var
|
|
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(
|
|
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.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.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[5],{638:function(ya,ua,h){h.r(ua);var ma=h(0);ya=h(53);var na=h(252),oa=h(554),ja=h(315),ia=window;h=function(){function fa(y,x){this.Mca=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.kXa=!!x.useDownloader;this.withCredentials=!!x.withCredentials}fa.prototype.AP=function(y){this.Uf=y};fa.prototype.getCustomHeaders=function(){return this.Uf};
|
|
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(ma.b)(this,void 0,void 0,function(){var b,w,aa,ba,ha,z;return Object(ma.d)(this,function(ea){switch(ea.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.Mca(n.filename)?[4,Object(ja.b)(b)]:[3,2];case 1:return w=ea.aa(),n.fileSize=w.byteLength,y(new Uint8Array(w)),[3,3];case 2:aa=new FileReader,aa.onload=function(ca){ca=new Uint8Array(ca.target.result);n.fileSize=ca.length;y(ca)},aa.readAsArrayBuffer(b),ea.label=3;case 3:return[3,9];case 4:ea.jd.push([4,8,,9]);ba=new Uint8Array(this.response);
|
|
5
|
+
if(!n.Mca(n.filename))return[3,6];b=new Blob([ba.buffer]);return[4,Object(ja.b)(b)];case 5:return w=ea.aa(),n.fileSize=w.byteLength,y(new Uint8Array(w)),[3,7];case 6:n.fileSize=ba.length,y(ba),ea.label=7;case 7:return[3,9];case 8:return ea.aa(),n.trigger(fa.Events.ERROR,["pdfLoad","Out of memory"]),[3,9];case 9:return[3,11];case 10:ha=r.currentTarget,z=Object(na.b)(ha),n.trigger(fa.Events.ERROR,["pdfLoad","".concat(this.status," ").concat(ha.statusText),z]),ea.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.kXa){var n=Object(ma.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,13 @@
|
|
|
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],{631:function(ya,ua,h){h.r(ua);h.d(ua,"ByteRangeRequest",function(){return w});var
|
|
3
|
-
|
|
4
|
-
this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=x.a.NOT_STARTED}
|
|
5
|
-
this.status=x.a.STARTED};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
ua["default"]=ba}}]);}).call(this || window)
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[0],{631:function(ya,ua,h){h.r(ua);h.d(ua,"ByteRangeRequest",function(){return w});var ma=h(0),na=h(1);h.n(na);var oa=h(2),ja=h(227);ya=h(134);var ia=h(371),fa=h(114),y=h(108),x=h(370),n=h(252);h=h(554);var e=[],a=[],f=window,r=function(){return function(){this.lr=1}}(),b;(function(ba){ba[ba.UNSENT=0]="UNSENT";ba[ba.DONE=4]="DONE"})(b||(b={}));var w=function(){function ba(ha,z,ea,ca){var pa=this;this.url=ha;this.range=z;this.Uf=ea;
|
|
3
|
+
this.withCredentials=ca;this.Soa=b;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);f.Uint8Array&&(this.request.responseType="arraybuffer");ca&&(this.request.withCredentials=ca);aa.DISABLE_RANGE_HEADER||(Object(na.isUndefined)(z.stop)?this.request.setRequestHeader("Range","bytes=".concat(z.start)):this.request.setRequestHeader("Range",["bytes=",z.start,"-",z.stop-1].join("")));ea&&Object.keys(ea).forEach(function(la){pa.request.setRequestHeader(la,ea[la])});this.request.overrideMimeType?
|
|
4
|
+
this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=x.a.NOT_STARTED}ba.prototype.start=function(ha){var z=this,ea=this.request;ea.onreadystatechange=function(){if(z.aborted)return z.status=x.a.ABORTED,ha({code:x.a.ABORTED});if(this.readyState===z.Soa.DONE){z.BM();var ca=0===window.document.URL.indexOf("file:///");200===ea.status||206===ea.status||ca&&0===ea.status?(ca=f.Yaa(this),z.u1(ca,ha)):(z.status=x.a.ERROR,
|
|
5
|
+
ha({code:z.status,status:z.status}))}};this.request.send(null);this.status=x.a.STARTED};ba.prototype.u1=function(ha,z){this.status=x.a.SUCCESS;if(z)return z(!1,ha)};ba.prototype.abort=function(){this.BM();this.aborted=!0;this.request.abort()};ba.prototype.BM=function(){var ha=Object(n.c)(this.url,this.range,a);-1!==ha&&a.splice(ha,1);if(0<e.length){ha=e.shift();var z=new ba(ha.url,ha.range,this.Uf,this.withCredentials);ha.request=z;a.push(ha);z.start(Object(n.d)(ha))}};ba.prototype.extend=function(ha){var z=
|
|
6
|
+
Object.assign({},this,ha.prototype);z.constructor=ha;return z};return ba}(),aa=function(ba){function ha(z,ea,ca,pa,la){ca=ba.call(this,z,ca,pa)||this;ca.Rm={};ca.zK=ea;ca.url=z;ca.DISABLE_RANGE_HEADER=!1;ca.MG=w;ca.d3=3;ca.Uf=la||{};return ca}Object(ma.c)(ha,ba);ha.prototype.GD=function(z,ea,ca){var pa=-1===z.indexOf("?")?"?":"&";switch(ca){case !1:case y.a.NEVER_CACHE:z="".concat(z+pa,"_=").concat(Object(na.uniqueId)());break;case !0:case y.a.CACHE:z="".concat(z+pa,"_=").concat(ea.start,",").concat(Object(na.isUndefined)(ea.stop)?
|
|
7
|
+
"":ea.stop)}return z};ha.prototype.N8=function(z,ea,ca,pa){void 0===ca&&(ca={});return new this.MG(z,ea,ca,pa)};ha.prototype.KAa=function(z,ea,ca,pa,la){for(var ka=0;ka<e.length;ka++)if(Object(na.isEqual)(e[ka].range,ea)&&Object(na.isEqual)(e[ka].url,z))return e[ka].wj.push(pa),e[ka].iO++,null;for(ka=0;ka<a.length;ka++)if(Object(na.isEqual)(a[ka].range,ea)&&Object(na.isEqual)(a[ka].url,z))return a[ka].wj.push(pa),a[ka].iO++,null;ca={url:z,range:ea,zK:ca,wj:[pa],iO:1};if(0===e.length&&a.length<this.d3)return a.push(ca),
|
|
8
|
+
ca.request=this.N8(z,ea,la,this.withCredentials),ca;e.push(ca);return null};ha.prototype.Ht=function(z,ea,ca){var pa=this.GD(z,ea,this.zK);(z=this.KAa(pa,ea,this.zK,ca,this.Uf))&&z.request.start(Object(n.d)(z));return function(){var la=Object(n.c)(pa,ea,a);if(-1!==la){var ka=--a[la].iO;0===ka&&a[la].request&&a[la].request.abort()}else la=Object(n.c)(pa,ea,e),-1!==la&&(ka=--e[la].iO,0===ka&&e.splice(la,1))}};ha.prototype.maa=function(){return{start:-ja.a}};ha.prototype.qGa=function(){var z=-(ja.a+
|
|
9
|
+
ja.e);return{start:z-ja.d,end:z}};ha.prototype.BA=function(z){var ea=this;this.KK=!0;var ca=ja.a;this.Ht(this.url,this.maa(),function(pa,la,ka){function ra(){var qa=ea.Ze.iaa();ea.Ht(ea.url,qa,function(sa,ta){if(sa)return Object(oa.i)("Error loading central directory: ".concat(sa)),z(sa);ta=Object(fa.a)(ta);if(ta.length!==qa.stop-qa.start)return z("Invalid XOD file: Zip central directory data is wrong size! Should be ".concat(qa.stop-qa.start," but is ").concat(ta.length));ea.Ze.lga(ta);ea.TT=!0;
|
|
10
|
+
ea.KK=!1;return z(!1)})}if(pa)return Object(oa.i)("Error loading end header: ".concat(pa)),z(pa,la,ka);la=Object(fa.a)(la);if(la.length!==ca)return z("Invalid XOD file: Zip end header data is wrong size!");try{ea.Ze=new ia.a(la)}catch(qa){return z(qa)}ea.Ze.PJa?ea.Ht(ea.url,ea.qGa(),function(qa,sa){if(qa)return Object(oa.i)("Error loading zip64 header: ".concat(qa)),z(qa);sa=Object(fa.a)(sa);ea.Ze.vKa(sa);ra()}):ra()})};ha.prototype.Raa=function(z){z(Object.keys(this.Ze.Xs))};ha.prototype.u_=function(z,
|
|
11
|
+
ea){var ca=this;if(this.Ze.t8(z)){var pa=this.Ze.BE(z);if(pa in this.Rm){var la=this.Wj[z];la.Xy=this.Rm[pa];la.Xy.lr++;la.cancel=la.Xy.cancel}else{var ka=this.Ze.tDa(z),ra=this.Ht(this.url,ka,function(sa,ta){sa?(Object(oa.i)('Error loading part "'.concat(z,'": ').concat(sa)),ca.Ht(ca.url,ka,function(wa,za){if(wa)return ea(wa,z);ca.pga(za,ka,pa,z,ea)})):ca.pga(ta,ka,pa,z,ea)}),qa=this.Wj[z];qa&&(qa.Lja=!0,qa.cancel=function(){qa.Xy.lr--;0===qa.Xy.lr&&(ra(),delete ca.Rm[pa])},this.Rm[pa]=new r(pa),
|
|
12
|
+
qa.Xy=this.Rm[pa],qa.Xy.cancel=qa.cancel)}}else delete this.Wj[z],ea(Error('File not found: "'.concat(z,'"')),z)};ha.prototype.pga=function(z,ea,ca,pa,la){if(z.length!==ea.stop-ea.start)la(Error("Part data is wrong size!"),pa);else{do{if(!this.Rm[ca])return;pa=this.Rm[ca].lr;for(var ka=ea.ix.length,ra=0;ra<ka;++ra){var qa=ea.ix[ra];la(!1,qa.ax,z["string"===typeof z?"substring":"subarray"](qa.start,qa.stop),this.Ze.Aca(qa.ax));qa.ax in this.Wj&&delete this.Wj[qa.ax]}}while(pa!==this.Rm[ca].lr);delete this.Rm[ca]}};
|
|
13
|
+
ha.DISABLE_RANGE_HEADER=!1;ha.d3=3;return ha}(ya.a);(function(ba){function ha(z,ea,ca){var pa=ba.call(this)||this,la;for(la in z)pa[la]=z[la];pa.c1a=z;pa.startOffset=ea;pa.endOffset=ca;pa.N8=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.GD(pa.url,ra,pa.zK);return new z.MG(ka,ra,qa,sa)};return pa}Object(ma.c)(ha,ba);return ha})(aa);Object(h.a)(aa);Object(h.b)(aa);ua["default"]=aa}}]);}).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],{639:function(ya,ua,h){h.r(ua);var
|
|
3
|
-
return ia}(ya.ByteRangeRequest);ya=function(ja){function ia(fa,y,x,n){fa=ja.call(this,fa,y,x,n)||this;fa.MG=oa;return fa}Object(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[6],{639:function(ya,ua,h){h.r(ua);var ma=h(0),na=h(370);ya=h(631);h(37);h=h(554);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(ma.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.BM()};
|
|
3
|
+
return ia}(ya.ByteRangeRequest);ya=function(ja){function ia(fa,y,x,n){fa=ja.call(this,fa,y,x,n)||this;fa.MG=oa;return fa}Object(ma.c)(ia,ja);ia.prototype.GD=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],{633:function(ya,ua,h){h.r(ua);var
|
|
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],{633:function(ya,ua,h){h.r(ua);var ma=h(0),na=h(2),oa=h(227);ya=h(134);var ja=h(371);h=h(554);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.OK=[];n.wU=0;return n}Object(ma.c)(y,fa);y.prototype.PY=function(x,
|
|
3
|
+
n,e){var a=this,f=new FileReader;f.onloadend=function(r){if(0<a.OK.length){var b=a.OK.shift();b.DOa.readAsBinaryString(b.file)}else a.wU--;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.b0a).call(x,n.start,n.stop));0===a.OK.length&&50>a.wU?(f.readAsBinaryString(x),
|
|
4
|
+
a.wU++):a.OK.push({DOa:f,file:x});return function(){f.abort()}};y.prototype.BA=function(x){var n=this;n.KK=!0;var e=oa.a;n.PY(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.iaa();n.PY(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.lga(w);n.TT=!0;n.KK=!1;return x(!1)})})};y.prototype.u_=function(x,n){var e=this,a=e.Wj[x];if(e.Ze.t8(x)){var f=e.Ze.CE(x),r=e.PY(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.Aca(x))});a.Lja=!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],{634:function(ya,ua,h){h.r(ua);var
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[8],{634:function(ya,ua,h){h.r(ua);var ma=h(0);ya=h(53);var na=h(554),oa=h(315),ja=h(26),ia=window;h=function(){function fa(y){var x=this;this.UIa=function(n){return n&&("image"===n.type.split("/")[0].toLowerCase()||n.name&&!!n.name.match(/.(jpg|jpeg|png|gif)$/i))};this.file=y;this.mJa=new Promise(function(n){return Object(ma.b)(x,void 0,void 0,function(){var e;return Object(ma.d)(this,function(a){switch(a.label){case 0:return this.UIa(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(
|
|
4
|
+
n.readAsArrayBuffer(this.file)};fa.prototype.getFile=function(){return Object(ma.b)(this,void 0,Promise,function(){return Object(ma.d)(this,function(y){switch(y.label){case 0:return[4,this.mJa];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],{645:function(ya,ua,h){function
|
|
3
|
-
javascript:
|
|
4
|
-
0});
|
|
5
|
-
"POST",exclude:oa(
|
|
6
|
-
{name:"Hide",hide:oa(
|
|
7
|
-
ja(
|
|
8
|
-
|
|
9
|
-
return
|
|
10
|
-
return new window.da.Annotations.la.xa(pa,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[9],{645:function(ya,ua,h){function ma(ea){ea.ib();ea.advance();var ca=ea.current.textContent;ea.Ib();return ca}function na(ea){var ca=[];for(ea.ib();ea.advance();){var pa=ea.sb();"field"===pa?ca.push(String(ea.ka("name"))):Object(f.i)("unrecognised field list element: ".concat(pa))}ea.Ib();return ca}function oa(ea,ca){return ca?"false"!==ea:"true"===ea}function ja(ea,ca){var pa=ea.sb();switch(pa){case "javascript":return{name:"JavaScript",
|
|
3
|
+
javascript:ea.current.textContent};case "uri":return{name:"URI",uri:ea.ka("uri")};case "goto":pa=null;ea.ib();if(ea.advance()){var la=ea.ka("fit");pa={page:ea.ka("page"),fit:la};if("0"===pa.page)Object(f.i)("null page encountered in dest");else switch(ca=ca(Number(pa.page)),la){case "Fit":case "FitB":break;case "FitH":case "FitBH":pa.top=ca.Ba({x:0,y:ea.ka("top")||0}).y;break;case "FitV":case "FitBV":pa.left=ca.Ba({x:ea.ka("left")||0,y:0}).x;break;case "FitR":la=ca.Ba({x:ea.ka("left")||0,y:ea.ka("top")||
|
|
4
|
+
0});ca=ca.Ba({x:ea.ka("right")||0,y:ea.ka("bottom")||0});ca=new w.d(la.x,la.y,ca.x,ca.y);pa.top=ca.y1;pa.left=ca.x1;pa.bottom=ca.y2;pa.right=ca.x2;break;case "XYZ":la=ca.Ba({x:ea.ka("left")||0,y:ea.ka("top")||0});pa.top=la.y;pa.left=la.x;pa.zoom=ea.ka("zoom")||0;break;default:Object(f.i)("unknown dest fit: ".concat(la))}pa={name:"GoTo",dest:pa}}else Object(f.i)("missing dest in GoTo action");ea.Ib();return pa;case "submit-form":pa={name:"SubmitForm",url:ea.ka("url"),format:ea.ka("format"),method:ea.ka("method")||
|
|
5
|
+
"POST",exclude:oa(ea.ka("exclude"),!1)};ca=ea.ka("flags");pa.flags=ca?ca.split(" "):[];for(ea.ib();ea.advance();)switch(ca=ea.sb(),ca){case "fields":pa.fields=na(ea);break;default:Object(f.i)("unrecognised submit-form child: ".concat(ca))}ea.Ib();return pa;case "reset-form":pa={name:"ResetForm",exclude:oa(ea.ka("exclude"),!1)};for(ea.ib();ea.advance();)switch(ca=ea.sb(),ca){case "fields":pa.fields=na(ea);break;default:Object(f.i)("unrecognised reset-form child: ".concat(ca))}ea.Ib();return pa;case "hide":pa=
|
|
6
|
+
{name:"Hide",hide:oa(ea.ka("hide"),!0)};for(ea.ib();ea.advance();)switch(ca=ea.sb(),ca){case "fields":pa.fields=na(ea);break;default:Object(f.i)("unrecognised hide child: ".concat(ca))}ea.Ib();return pa;case "named":return{name:"Named",action:ea.ka("name")};default:Object(f.i)("Encountered unexpected action type: ".concat(pa))}return null}function ia(ea,ca,pa){var la={};for(ea.ib();ea.advance();){var ka=ea.sb();switch(ka){case "action":ka=ea.ka("trigger");if(ca?-1!==ca.indexOf(ka):1){la[ka]=[];for(ea.ib();ea.advance();){var ra=
|
|
7
|
+
ja(ea,pa);Object(r.isNull)(ra)||la[ka].push(ra)}ea.Ib()}else Object(f.i)("encountered unexpected trigger on field: ".concat(ka));break;default:Object(f.i)("encountered unknown action child: ".concat(ka))}}ea.Ib();return la}function fa(ea){return new aa.a(ea.ka("r")||0,ea.ka("g")||0,ea.ka("b")||0,ea.ka("a")||1)}function y(ea,ca){var pa=ea.ka("name"),la=ea.ka("type")||"Type1",ka=ea.ka("size"),ra=ca.Ba({x:0,y:0});ka=ca.Ba({x:Number(ka),y:0});ca=ra.x-ka.x;ra=ra.y-ka.y;pa={name:pa,type:la,size:Math.sqrt(ca*
|
|
8
|
+
ca+ra*ra)||0,strokeColor:[0,0,0],fillColor:[0,0,0]};for(ea.ib();ea.advance();)switch(la=ea.sb(),la){case "stroke-color":pa.strokeColor=fa(ea);break;case "fill-color":pa.fillColor=fa(ea);break;default:Object(f.i)("unrecognised font child: ".concat(la))}ea.Ib();return pa}function x(ea){var ca=[];for(ea.ib();ea.advance();){var pa=ea.sb();switch(pa){case "option":pa=ca;var la=pa.push;var ka=ea;ka={value:ka.ka("value"),displayValue:ka.ka("display-value")||void 0};la.call(pa,ka);break;default:Object(f.i)("unrecognised options child: ".concat(pa))}}ea.Ib();
|
|
9
|
+
return ca}function n(ea,ca){var pa=ea.ka("name"),la={type:ea.ka("type"),quadding:ea.ka("quadding")||"Left-justified",maxLen:ea.ka("max-len")||-1},ka=ea.ka("flags");Object(r.isString)(ka)&&(la.flags=ka.split(" "));for(ea.ib();ea.advance();)switch(ka=ea.sb(),ka){case "actions":la.actions=ia(ea,["C","F","K","V"],function(){return ca});break;case "default-value":la.defaultValue=ma(ea);break;case "font":la.font=y(ea,ca);break;case "options":la.options=x(ea);break;default:Object(f.i)("unknown field child: ".concat(ka))}ea.Ib();
|
|
10
|
+
return new window.da.Annotations.la.xa(pa,la)}function e(ea,ca){switch(ea.type){case "Tx":try{if(Object(ha.c)(ea.actions))return new b.a.DatePickerWidgetAnnotation(ea,ca)}catch(pa){Object(f.i)(pa)}return new b.a.TextWidgetAnnotation(ea,ca);case "Ch":return ea.flags.get(z.WidgetFlags.COMBO)?new b.a.ChoiceWidgetAnnotation(ea,ca):new b.a.ListWidgetAnnotation(ea,ca);case "Btn":return ea.flags.get(z.WidgetFlags.PUSH_BUTTON)?new b.a.PushButtonWidgetAnnotation(ea,ca):ea.flags.get(z.WidgetFlags.RADIO)?new b.a.RadioButtonWidgetAnnotation(ea,
|
|
11
|
+
ca):new b.a.CheckButtonWidgetAnnotation(ea,ca);case "Sig":return new b.a.SignatureWidgetAnnotation(ea,ca);default:Object(f.i)("Unrecognised field type: ".concat(ea.type))}return null}function a(ea,ca,pa,la){var ka=[],ra={};ea.ib();var qa=[],sa={},ta=[];Object(ba.a)(function(){if(ea.advance()){var wa=ea.sb();switch(wa){case "calculation-order":qa="calculation-order"===ea.sb()?na(ea):[];break;case "document-actions":sa=ia(ea,["Init","Open"],ca);break;case "pages":wa=[];for(ea.ib();ea.advance();){var za=
|
|
12
|
+
ea.sb();switch(za){case "page":za=wa;var Ca=za.push,Ea=ea,Aa=ca,Ba={number:Ea.ka("number")};for(Ea.ib();Ea.advance();){var Ha=Ea.sb();switch(Ha){case "actions":Ba.actions=ia(Ea,["O","C"],Aa);break;default:Object(f.i)("unrecognised page child: ".concat(Ha))}}Ea.Ib();Ca.call(za,Ba);break;default:Object(f.i)("unrecognised page child: ".concat(za))}}ea.Ib();ta=wa;break;case "field":za=n(ea,ca(1));ra[za.name]=za;break;case "widget":wa={border:{style:"Solid",width:1},backgroundColor:[],fieldName:ea.ka("field"),
|
|
13
|
+
page:ea.ka("page"),index:ea.ka("index")||0,rotation:ea.ka("rotation")||0,flags:[],isImporting:!0};(za=ea.ka("appearance"))&&(wa.appearance=za);(za=ea.ka("flags"))&&(wa.flags=za.split(" "));for(ea.ib();ea.advance();)switch(za=ea.sb(),za){case "rect":Ca=ea;Ea=ca(Number(wa.page));za=Ea.Ba({x:Ca.ka("x1")||0,y:Ca.ka("y1")||0});Ca=Ea.Ba({x:Ca.ka("x2")||0,y:Ca.ka("y2")||0});za=new w.d(za.x,za.y,Ca.x,Ca.y);za.normalize();wa.rect={x1:za.x1,y1:za.y1,x2:za.x2,y2:za.y2};break;case "border":za=ea;Ca={style:za.ka("style")||
|
|
14
|
+
"Solid",width:za.ka("width")||1,color:[0,0,0]};for(za.ib();za.advance();)switch(Ea=za.sb(),Ea){case "color":Ca.color=fa(za);break;default:Object(f.i)("unrecognised border child: ".concat(Ea))}za.Ib();wa.border=Ca;break;case "background-color":wa.backgroundColor=fa(ea);break;case "actions":wa.actions=ia(ea,"E X D U Fo Bl PO PC PV PI".split(" "),ca);break;case "appearances":za=ea;Ca=Object(ha.b)(wa,"appearances");for(za.ib();za.advance();)if(Ea=za.sb(),"appearance"===Ea){Ea=za.ka("name");Aa=Object(ha.b)(Ca,
|
|
15
|
+
Ea);Ea=za;for(Ea.ib();Ea.advance();)switch(Ba=Ea.sb(),Ba){case "Normal":Object(ha.b)(Aa,"Normal").data=Ea.current.textContent;break;default:Object(f.i)("unexpected appearance state: ",Ba)}Ea.Ib()}else Object(f.i)("unexpected appearances child: ".concat(Ea));za.Ib();break;case "extra":za=ea;Ca=ca;Ea={};for(za.ib();za.advance();)switch(Aa=za.sb(),Aa){case "font":Ea.font=y(za,Ca(1));break;default:Object(f.i)("unrecognised extra child: ".concat(Aa))}za.Ib();za=Ea;za.font&&(wa.font=za.font);break;case "captions":Ca=
|
|
16
|
+
ea;za={};(Ea=Ca.ka("Normal"))&&(za.Normal=Ea);(Ea=Ca.ka("Rollover"))&&(za.Rollover=Ea);(Ca=Ca.ka("Down"))&&(za.Down=Ca);wa.captions=za;break;default:Object(f.i)("unrecognised widget child: ".concat(za))}ea.Ib();(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},function(){ea.Ib();pa({calculationOrder:qa,widgets:ka,fields:ra,
|
|
17
|
+
documentActions:sa,pages:ta,custom:[]})},la)}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),aa=h(11),ba=h(26),ha=h(150),z=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],{650:function(ya,ua,h){h.r(ua);var
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[10],{650:function(ya,ua,h){h.r(ua);var ma=h(660),na=h(171),oa=h(63),ja=h(101);ya=function(){function ia(){this.fc=this.vg=this.Zc=this.Ed=null;this.Og=!1}ia.prototype.clear=function(){Object(oa.b)(this.Ed);this.Zc="";Object(oa.b)(this.vg);Object(oa.b)(this.fc);this.Og=!1};ia.prototype.Sd=function(){this.Ed=[];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
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.Ed=[];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(
|
|
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(
|
|
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(
|
|
7
|
-
function(){return{m_Struct:this.Ed,m_Str:this.Zc,m_Offsets:this.vg,m_Quads:this.fc,m_Ready:this.Og}};return ia}();ua["default"]=ya},660:function(ya,ua,h){var
|
|
8
|
-
function(){return Math.abs(this.ih[this.Of])};ja.prototype.Qq=function(){return 0<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.Qq())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=
|
|
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},672:function(ya,ua,h){var
|
|
12
|
-
2],10)};ja.prototype.Gj=function(){return parseInt(this.Ed[this.mf+1],10)};ja.prototype.Qq=function(){return 0<this.Ed[this.
|
|
13
|
-
-1:parseInt(this.Ed[this.mf+1],10)+ia};ja.prototype.
|
|
14
|
-
this.Ed[this.mf+3],x=this.Ed[this.mf+4];if(y>x){var n=y;y=x;x=n}n=new
|
|
4
|
+
for(var n=x.split(","),e=Object(na.a)(n);e.Wq();){var a=e.current;try{var f=parseInt(a.trim(),10);this.vg.push(f)}catch(z){}}Object(oa.b)(this.Ed);y.advance();x=y.current.textContent;n=x.split(",");for(var r=Object(na.a)(n);r.Wq();){a=r.current;try{f=parseFloat(a.trim()),this.Ed.push(f)}catch(z){}}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.Wq();){a=b.current;switch(a){case "Q":x=1;break;case "R":x=2;break;case "S":x=3;break;
|
|
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(z){return}}x=0;var w=fa.length;e=b=a=n=void 0;for(var aa=r=0,ba=0;ba<w;){var ha=y[ba];if(0<ha)x=ha,++ba,3===x&&(r=fa[ba],aa=fa[ba+1],ba+=2);else if(1===x)for(f=0;8>f;++f)this.fc.push(fa[ba++]);else 2===x?(n=fa[ba++],a=fa[ba++],b=fa[ba++],e=fa[ba++],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[ba++],a=r,b=fa[ba++],
|
|
6
|
+
e=aa,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(z){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 ma.a;if(!this.Ed.length)return fa.Kj(this.Ed,-1,this.Zc,this.fc,0),fa;fa.Kj(this.Ed,1,this.Zc,this.fc,1);return fa};ia.prototype.dg=function(){return this.fc};ia.prototype.getData=
|
|
7
|
+
function(){return{m_Struct:this.Ed,m_Str:this.Zc,m_Offsets:this.vg,m_Quads:this.fc,m_Ready:this.Og}};return ia}();ua["default"]=ya},660:function(ya,ua,h){var ma=h(139),na=h(71),oa=h(672);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.ko=
|
|
8
|
+
function(){return Math.abs(this.ih[this.Of])};ja.prototype.Qq=function(){return 0<this.ih[this.Of]};ja.prototype.Bj=function(){var ia=this.Qq()?6:10,fa=new oa.a;fa.Kj(this.ih,this.Of+ia,this.Of,this.Sb,this.nc,1);return fa};ja.prototype.zba=function(ia){if(0>ia||ia>=this.ko())return ia=new oa.a,ia.Kj(this.ih,-1,-1,this.Sb,this.nc,0),ia;var fa=this.Qq()?6:10,y=this.Qq()?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.Qq())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=ma.a.MIN,x=1.79769E308,n=ma.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.kM=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.Bj(),n=new oa.a;n.Sd();for(var e=this.Bj();!e.ae(y);e=e.Ej())n=e;y=Array(8);e=Array(8);x.Cj(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.Cj(n.yq()-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},672:function(ya,ua,h){var ma=h(660),na=h(135),oa=h(139);ya=function(){function ja(){this.Cp=this.mf=0;this.nc=this.Sb=this.Ed=null;this.ud=0}ja.prototype.Sd=function(){this.Cp=this.mf=-1;this.ud=0};ja.prototype.Kj=function(ia,fa,y,x,n,e){this.mf=fa;this.Cp=y;this.Ed=ia;this.Sb=x;this.nc=n;this.ud=e};ja.prototype.ae=function(ia){return this.mf===ia.mf};ja.prototype.yq=function(){return parseInt(this.Ed[this.mf],10)};ja.prototype.sm=function(){return parseInt(this.Ed[this.mf+
|
|
12
|
+
2],10)};ja.prototype.Gj=function(){return parseInt(this.Ed[this.mf+1],10)};ja.prototype.Qq=function(){return 0<this.Ed[this.Cp]};ja.prototype.JEa=function(){return Math.abs(this.Ed[this.Cp])};ja.prototype.Ej=function(){var ia=this.Qq(),fa=ia?5:11;if(this.mf>=this.Cp+(ia?6:10)+(this.JEa()-1)*fa)return fa=new ja,fa.Kj(this.Ed,-1,-1,this.Sb,this.nc,0),fa;ia=new ja;ia.Kj(this.Ed,this.mf+fa,this.Cp,this.Sb,this.nc,this.ud+1);return ia};ja.prototype.EDa=function(ia){var fa=this.yq();return 0>ia||ia>=fa?
|
|
13
|
+
-1:parseInt(this.Ed[this.mf+1],10)+ia};ja.prototype.Cj=function(ia,fa){ia=this.EDa(ia);if(!(0>ia)){var y=new ma.a;y.Kj(this.Ed,this.Cp,this.Sb,this.nc,0);if(y.Qq()){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 ma.a;fa.Kj(this.Ed,this.Cp,this.Sb,this.nc,0);if(fa.Qq()){var y=
|
|
14
|
+
this.Ed[this.mf+3],x=this.Ed[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.Ed[y+x]};ja.prototype.getBBox=function(ia){var fa=new ma.a;fa.Kj(this.Ed,this.Cp,this.Sb,this.nc,0);if(fa.Qq()){var y=this.Ed[this.mf+3],x=this.Ed[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.Ed[e+2*a],r=this.Ed[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],{640:function(ya,ua,h){h.r(ua);var
|
|
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
|
|
4
|
-
|
|
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(
|
|
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
|
|
9
|
-
|
|
10
|
-
w.forEach(function(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[11],{640:function(ya,ua,h){h.r(ua);var ma=h(0),na=h(1);h.n(na);var oa=h(2),ja=h(227);ya=h(53);var ia=h(134),fa=h(371),y=h(108),x=h(370);h=h(554);var n=window,e=function(){function r(b,w,aa){var ba=-1===b.indexOf("?")?"?":"&";switch(w){case y.a.NEVER_CACHE:this.url="".concat(b+ba,"_=").concat(Object(na.uniqueId)());break;default:this.url=b}this.Uf=aa;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 aa=this,ba=this,ha=this.request,z;ba.NF=0;b&&Object.keys(b).forEach(function(ea){aa.request.setRequestHeader(ea,b[ea])});w&&(this.request.withCredentials=w);this.PO=setInterval(function(){var ea=0===window.document.URL.indexOf("file:///");ea=200===ha.status||
|
|
4
|
+
ea&&0===ha.status;if(ha.readyState!==x.b.DONE||ea){try{ha.responseText}catch(ca){return}ba.NF<ha.responseText.length&&(z=ba.hOa())&&ba.trigger(r.Events.DATA,[z]);0===ha.readyState&&(clearInterval(ba.PO),ba.trigger(r.Events.DONE))}else clearInterval(ba.PO),ba.trigger(r.Events.DONE,["Error received return status ".concat(ha.status)])},1E3);this.request.send(null);this.status=x.a.STARTED};r.prototype.hOa=function(){var b=this.request,w=b.responseText;if(0!==w.length)if(this.NF===w.length)clearInterval(this.PO),
|
|
5
|
+
this.trigger(r.Events.DONE);else return w=Math.min(this.NF+3E6,w.length),b=n.Yaa(b,this.NF,!0,w),this.NF=w,b};r.prototype.abort=function(){clearInterval(this.PO);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.j1=4;w.Tq=null;w.IA=ja.c;w.Xs={};return w}Object(ma.c)(b,r);b.prototype.TNa=function(w){var aa;for(w=this.buffer+w;w.length>=this.IA;)switch(this.state){case a.LOCAL_HEADER:this.Tq=aa=this.mOa(w.slice(0,this.IA));if(aa.vB!==
|
|
7
|
+
ja.g)throw Error("Wrong signature in local header: ".concat(aa.vB));w=w.slice(this.IA);this.state=a.FILE;this.IA=aa.BT+aa.Rw+aa.cE+this.j1;this.trigger(b.Events.HEADER,[aa]);break;case a.FILE:this.Tq.name=w.slice(0,this.Tq.Rw);this.Xs[this.Tq.name]=this.Tq;aa=this.IA-this.j1;var ba=w.slice(this.Tq.Rw+this.Tq.cE,aa);this.trigger(b.Events.FILE,[this.Tq.name,ba,this.Tq.gU]);w=w.slice(aa);if(w.slice(0,this.j1)===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,aa,ba,ha,z){ba=r.call(this,w,ba,ha)||this;ba.url=w;ba.stream=new e(w,aa);ba.Ze=new f;ba.Gfa=window.createPromiseCapability();ba.wga={};ba.Uf=z;return ba}Object(ma.c)(b,r);b.prototype.WG=function(w){var aa=this;this.request([this.mn,this.qp,this.ln]);this.stream.addEventListener(e.Events.DATA,function(ba){try{if(aa.Ze.TNa(ba))return aa.stream.finish()}catch(ha){throw aa.stream.abort(),aa.Vv(ha),
|
|
9
|
+
w(ha),ha;}});this.stream.addEventListener(e.Events.DONE,function(ba){aa.lNa=!0;aa.Gfa.resolve();ba&&(aa.Vv(ba),w(ba))});this.Ze.addEventListener(f.Events.HEADER,Object(na.bind)(this.vga,this));this.Ze.addEventListener(f.Events.FILE,Object(na.bind)(this.EOa,this));return this.stream.start(this.Uf,this.withCredentials)};b.prototype.Raa=function(w){var aa=this;this.Gfa.promise.then(function(){w(Object.keys(aa.Ze.Xs))})};b.prototype.Wt=function(){return!0};b.prototype.request=function(w){var aa=this;
|
|
10
|
+
this.lNa&&w.forEach(function(ba){aa.wga[ba]||aa.mWa(ba)})};b.prototype.vga=function(){};b.prototype.abort=function(){this.stream&&this.stream.abort()};b.prototype.mWa=function(w){this.trigger(ia.a.Events.PART_READY,[{Rb:w,error:"Requested part not found",am:!1,Ei:!1}])};b.prototype.EOa=function(w,aa,ba){this.wga[w]=!0;this.trigger(ia.a.Events.PART_READY,[{Rb:w,data:aa,am:!1,Ei:!1,error:null,Je:ba}])};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],{643:function(ya,ua,h){h.r(ua);var
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{643:function(ya,ua,h){h.r(ua);var ma=h(0),na=h(1);h.n(na);ya=h(134);h=h(554);ya=function(oa){function ja(ia,fa,y){fa=oa.call(this,ia,fa,y)||this;fa.db=ia;return fa}Object(ma.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,am:!1,Ei:!1,error:null,Je:e})})})};
|
|
3
3
|
ja.prototype.BA=function(ia){ia()};return ja}(ya.a);Object(h.a)(ya);Object(h.b)(ya);ua["default"]=ya}}]);}).call(this || window)
|