@pdftron/pdfjs-express 8.6.0 → 8.7.0
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/22.chunk.js +7 -7
- package/public/core/23.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 +2 -2
- package/public/core/ContentEdit.chunk.js +28 -28
- package/public/core/ExternalAnnotationMerger.chunk.js +13 -14
- package/public/core/ExternalPdfPartRetriever.chunk.js +6 -6
- 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 +3 -3
- package/public/core/PDFInfoVersion1.chunk.js +16 -16
- package/public/core/SelectionInfoOld.chunk.js +14 -14
- package/public/core/StreamingPartRetriever.chunk.js +9 -9
- package/public/core/WebDBPartRetriever.chunk.js +2 -2
- package/public/core/WebViewerServerPartRetriever.chunk.js +41 -38
- package/public/core/WinRTPartRetriever.chunk.js +2 -3
- package/public/core/pdfjs/PDFJSDocumentType.js +154 -151
- package/public/core/pikaday.chunk.js +33 -33
- package/public/core/vendors.ascii85.chunk.js +6 -6
- package/public/core/vendors.ascii85.quill.chunk.js +34 -34
- package/public/core/vendors.pako.chunk.js +80 -80
- package/public/core/vendors.quill.chunk.js +394 -394
- package/public/core/webviewer-core.min.js +2793 -2758
- package/public/ui/chunks/10.chunk.js +1 -1
- package/public/ui/chunks/100.chunk.js +1 -1
- package/public/ui/chunks/101.chunk.js +1 -1
- package/public/ui/chunks/102.chunk.js +1 -1
- package/public/ui/chunks/103.chunk.js +1 -1
- package/public/ui/chunks/104.chunk.js +1 -1
- package/public/ui/chunks/105.chunk.js +1 -1
- package/public/ui/chunks/106.chunk.js +1 -1
- package/public/ui/chunks/107.chunk.js +1 -1
- package/public/ui/chunks/108.chunk.js +1 -1
- package/public/ui/chunks/109.chunk.js +1 -1
- package/public/ui/chunks/11.chunk.js +1 -1
- package/public/ui/chunks/110.chunk.js +1 -1
- package/public/ui/chunks/111.chunk.js +1 -1
- package/public/ui/chunks/112.chunk.js +1 -1
- package/public/ui/chunks/113.chunk.js +1 -1
- package/public/ui/chunks/114.chunk.js +1 -1
- package/public/ui/chunks/115.chunk.js +1 -1
- package/public/ui/chunks/116.chunk.js +1 -1
- package/public/ui/chunks/117.chunk.js +1 -1
- package/public/ui/chunks/118.chunk.js +1 -1
- package/public/ui/chunks/119.chunk.js +1 -1
- package/public/ui/chunks/12.chunk.js +1 -1
- package/public/ui/chunks/120.chunk.js +1 -1
- package/public/ui/chunks/121.chunk.js +1 -1
- package/public/ui/chunks/122.chunk.js +1 -1
- package/public/ui/chunks/123.chunk.js +1 -1
- package/public/ui/chunks/124.chunk.js +1 -1
- package/public/ui/chunks/125.chunk.js +1 -1
- package/public/ui/chunks/126.chunk.js +1 -1
- package/public/ui/chunks/127.chunk.js +1 -1
- package/public/ui/chunks/128.chunk.js +1 -1
- package/public/ui/chunks/129.chunk.js +1 -1
- package/public/ui/chunks/13.chunk.js +1 -1
- package/public/ui/chunks/130.chunk.js +1 -1
- package/public/ui/chunks/131.chunk.js +1 -1
- package/public/ui/chunks/132.chunk.js +1 -1
- package/public/ui/chunks/133.chunk.js +1 -1
- package/public/ui/chunks/134.chunk.js +1 -1
- package/public/ui/chunks/135.chunk.js +1 -1
- package/public/ui/chunks/136.chunk.js +1 -1
- package/public/ui/chunks/137.chunk.js +1 -1
- package/public/ui/chunks/138.chunk.js +1 -1
- package/public/ui/chunks/139.chunk.js +1 -1
- package/public/ui/chunks/14.chunk.js +1 -1
- package/public/ui/chunks/140.chunk.js +1 -1
- package/public/ui/chunks/141.chunk.js +1 -1
- package/public/ui/chunks/142.chunk.js +1 -1
- package/public/ui/chunks/143.chunk.js +1 -1
- package/public/ui/chunks/144.chunk.js +1 -1
- package/public/ui/chunks/145.chunk.js +1 -1
- package/public/ui/chunks/15.chunk.js +1 -1
- package/public/ui/chunks/16.chunk.js +1 -1
- package/public/ui/chunks/17.chunk.js +1 -1
- package/public/ui/chunks/18.chunk.js +1 -1
- package/public/ui/chunks/19.chunk.js +1 -1
- package/public/ui/chunks/2.chunk.js +1 -1
- package/public/ui/chunks/20.chunk.js +1 -1
- package/public/ui/chunks/21.chunk.js +1 -1
- package/public/ui/chunks/22.chunk.js +1 -1
- package/public/ui/chunks/23.chunk.js +1 -1
- package/public/ui/chunks/24.chunk.js +1 -1
- package/public/ui/chunks/25.chunk.js +1 -1
- package/public/ui/chunks/26.chunk.js +1 -1
- package/public/ui/chunks/27.chunk.js +1 -1
- package/public/ui/chunks/28.chunk.js +1 -1
- package/public/ui/chunks/29.chunk.js +1 -1
- package/public/ui/chunks/3.chunk.js +1 -1
- package/public/ui/chunks/30.chunk.js +1 -1
- package/public/ui/chunks/31.chunk.js +1 -1
- package/public/ui/chunks/32.chunk.js +1 -1
- package/public/ui/chunks/33.chunk.js +1 -1
- package/public/ui/chunks/34.chunk.js +1 -1
- package/public/ui/chunks/35.chunk.js +1 -1
- package/public/ui/chunks/36.chunk.js +1 -1
- package/public/ui/chunks/37.chunk.js +1 -1
- package/public/ui/chunks/38.chunk.js +1 -1
- package/public/ui/chunks/39.chunk.js +1 -1
- package/public/ui/chunks/4.chunk.js +1 -1
- package/public/ui/chunks/40.chunk.js +1 -1
- package/public/ui/chunks/41.chunk.js +1 -1
- package/public/ui/chunks/42.chunk.js +1 -1
- package/public/ui/chunks/43.chunk.js +1 -1
- package/public/ui/chunks/44.chunk.js +1 -1
- package/public/ui/chunks/45.chunk.js +1 -1
- package/public/ui/chunks/46.chunk.js +1 -1
- package/public/ui/chunks/47.chunk.js +1 -1
- package/public/ui/chunks/48.chunk.js +1 -1
- package/public/ui/chunks/49.chunk.js +1 -1
- package/public/ui/chunks/5.chunk.js +1 -1
- package/public/ui/chunks/50.chunk.js +1 -1
- package/public/ui/chunks/51.chunk.js +1 -1
- package/public/ui/chunks/52.chunk.js +1 -1
- package/public/ui/chunks/53.chunk.js +1 -1
- package/public/ui/chunks/54.chunk.js +1 -1
- package/public/ui/chunks/55.chunk.js +1 -1
- package/public/ui/chunks/56.chunk.js +1 -1
- package/public/ui/chunks/57.chunk.js +1 -1
- package/public/ui/chunks/58.chunk.js +1 -1
- package/public/ui/chunks/59.chunk.js +1 -1
- package/public/ui/chunks/6.chunk.js +1 -1
- package/public/ui/chunks/60.chunk.js +1 -1
- package/public/ui/chunks/61.chunk.js +1 -1
- package/public/ui/chunks/62.chunk.js +1 -1
- package/public/ui/chunks/63.chunk.js +1 -1
- package/public/ui/chunks/64.chunk.js +1 -1
- package/public/ui/chunks/65.chunk.js +1 -1
- package/public/ui/chunks/66.chunk.js +1 -1
- package/public/ui/chunks/67.chunk.js +1 -1
- package/public/ui/chunks/68.chunk.js +1 -1
- package/public/ui/chunks/69.chunk.js +1 -1
- package/public/ui/chunks/7.chunk.js +1 -1
- package/public/ui/chunks/70.chunk.js +1 -1
- package/public/ui/chunks/71.chunk.js +1 -1
- package/public/ui/chunks/72.chunk.js +1 -1
- package/public/ui/chunks/73.chunk.js +1 -1
- package/public/ui/chunks/74.chunk.js +1 -1
- package/public/ui/chunks/75.chunk.js +1 -1
- package/public/ui/chunks/76.chunk.js +1 -1
- package/public/ui/chunks/77.chunk.js +1 -1
- package/public/ui/chunks/78.chunk.js +1 -1
- package/public/ui/chunks/79.chunk.js +1 -1
- package/public/ui/chunks/8.chunk.js +1 -1
- package/public/ui/chunks/80.chunk.js +1 -1
- package/public/ui/chunks/81.chunk.js +1 -1
- package/public/ui/chunks/82.chunk.js +1 -1
- package/public/ui/chunks/83.chunk.js +1 -1
- package/public/ui/chunks/84.chunk.js +1 -1
- package/public/ui/chunks/85.chunk.js +1 -1
- package/public/ui/chunks/86.chunk.js +1 -1
- package/public/ui/chunks/87.chunk.js +1 -1
- package/public/ui/chunks/88.chunk.js +1 -1
- package/public/ui/chunks/89.chunk.js +1 -1
- package/public/ui/chunks/9.chunk.js +1 -1
- package/public/ui/chunks/90.chunk.js +1 -1
- package/public/ui/chunks/91.chunk.js +1 -1
- package/public/ui/chunks/92.chunk.js +1 -1
- package/public/ui/chunks/93.chunk.js +1 -1
- package/public/ui/chunks/94.chunk.js +1 -1
- package/public/ui/chunks/95.chunk.js +1 -1
- package/public/ui/chunks/96.chunk.js +1 -1
- package/public/ui/chunks/97.chunk.js +1 -1
- package/public/ui/chunks/98.chunk.js +1 -1
- package/public/ui/chunks/99.chunk.js +1 -1
- package/public/ui/chunks/vendors.html2canvas.chunk.js +1 -1
- package/public/ui/i18n/translation-bn.json +50 -14
- package/public/ui/i18n/translation-de.json +51 -15
- package/public/ui/i18n/translation-el.json +50 -14
- package/public/ui/i18n/translation-en.json +33 -40
- package/public/ui/i18n/translation-es.json +49 -13
- package/public/ui/i18n/translation-fr.json +49 -13
- package/public/ui/i18n/translation-hi.json +51 -15
- package/public/ui/i18n/translation-id.json +50 -14
- package/public/ui/i18n/translation-it.json +49 -13
- package/public/ui/i18n/translation-ja.json +51 -15
- package/public/ui/i18n/translation-ko.json +52 -24
- package/public/ui/i18n/translation-ms.json +50 -14
- package/public/ui/i18n/translation-nl.json +51 -15
- package/public/ui/i18n/translation-pt_br.json +50 -14
- package/public/ui/i18n/translation-ru.json +49 -13
- package/public/ui/i18n/translation-tr.json +49 -13
- package/public/ui/i18n/translation-uk.json +50 -14
- package/public/ui/i18n/translation-vi.json +51 -15
- package/public/ui/i18n/translation-zh_cn.json +50 -14
- package/public/ui/i18n/translation-zh_tw.json +50 -14
- package/public/ui/style.css +25 -19
- package/public/ui/style.css.map +1 -1
- package/public/ui/webviewer-ui.min.js +15 -15
- package/public/ui/webviewer-ui.min.js.map +1 -1
- package/webviewer.min.js +1 -1
|
@@ -4,37 +4,37 @@
|
|
|
4
4
|
|
|
5
5
|
Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/Pikaday/Pikaday
|
|
6
6
|
*/
|
|
7
|
-
(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[19],{
|
|
8
|
-
(!n(
|
|
9
|
-
la._onChange=function(
|
|
10
|
-
la._parseFieldValue=function(){if(na.parse)return na.parse(na.field.value,na.format);if(ea){var
|
|
11
|
-
while(
|
|
12
|
-
"");w(la.el,"mousedown",la._onMouseDown,!0);w(la.el,"touchend",la._onMouseDown,!0);w(la.el,"change",la._onChange);na.keyboardInput&&w(
|
|
13
|
-
la.gotoDate(new Date);na.bound?(this.hide(),la.el.className+=" is-bound",w(na.trigger,"click",la._onInputClick),w(na.trigger,"focus",la._onInputFocus),w(na.trigger,"blur",la._onInputBlur)):this.show()}function ka(
|
|
14
|
-
(
|
|
15
|
-
Ca=!0,Ka=!0;var
|
|
16
|
-
wa.minYear&&
|
|
17
|
-
1&&(
|
|
18
|
-
na),
|
|
19
|
-
30,31,30,31,31,30,31,30,31][la]}function
|
|
20
|
-
|
|
7
|
+
(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[19],{434:function(Ba,ua){!function(r,pa){if("object"==typeof ua){try{var ka=require("moment")}catch(ma){}Ba.exports=pa(ka)}else"function"==typeof define&&define.amd?define(function(ma){try{ka=ma("moment")}catch(fa){}return pa(ka)}):r.Pikaday=pa(r.moment)}(this,function(r){function pa(ha){var la=this,na=la.config(ha);la._onMouseDown=function(qa){if(la._v){var ra=(qa=qa||window.event).target||qa.srcElement;if(ra)if(n(ra,"is-disabled")||
|
|
8
|
+
(!n(ra,"pika-button")||n(ra,"is-empty")||n(ra.parentNode,"is-disabled")?n(ra,"pika-prev")?la.prevMonth():n(ra,"pika-next")?la.nextMonth():n(ra,"pika-set-today")&&(la.setDate(new Date),la.hide()):(la.setDate(new Date(ra.getAttribute("data-pika-year"),ra.getAttribute("data-pika-month"),ra.getAttribute("data-pika-day"))),na.bound&&ca(function(){la.hide();na.blurFieldOnSelect&&na.field&&na.field.blur()},100))),n(ra,"pika-select"))la._c=!0;else{if(!qa.preventDefault)return qa.returnValue=!1,!1;qa.preventDefault()}}};
|
|
9
|
+
la._onChange=function(qa){var ra=(qa=qa||window.event).target||qa.srcElement;ra&&(n(ra,"pika-select-month")?la.gotoMonth(ra.value):n(ra,"pika-select-year")&&la.gotoYear(ra.value))};la._onKeyChange=function(qa){if(qa=qa||window.event,la.isVisible())switch(qa.keyCode){case 13:case 27:na.field&&na.field.blur();break;case 37:la.adjustDate("subtract",1);break;case 38:la.adjustDate("subtract",7);break;case 39:la.adjustDate("add",1);break;case 40:la.adjustDate("add",7);break;case 8:case 46:la.setDate(null)}};
|
|
10
|
+
la._parseFieldValue=function(){if(na.parse)return na.parse(na.field.value,na.format);if(ea){var qa=r(na.field.value,na.format,na.formatStrict);return qa&&qa.isValid()?qa.toDate():null}return new Date(Date.parse(na.field.value))};la._onInputChange=function(qa){var ra;qa.firedBy!==la&&(ra=la._parseFieldValue(),e(ra)&&la.setDate(ra),la._v||la.show())};la._onInputFocus=function(){la.show()};la._onInputClick=function(){la.show()};la._onInputBlur=function(){var qa=aa.activeElement;do if(n(qa,"pika-single"))return;
|
|
11
|
+
while(qa=qa.parentNode);la._c||(la._b=ca(function(){la.hide()},50));la._c=!1};la._onClick=function(qa){var ra=(qa=qa||window.event).target||qa.srcElement;if(qa=ra){!ja&&n(ra,"pika-select")&&(ra.onchange||(ra.setAttribute("onchange","return;"),w(ra,"change",la._onChange)));do if(n(qa,"pika-single")||qa===na.trigger)return;while(qa=qa.parentNode);la._v&&ra!==na.trigger&&qa!==na.trigger&&la.hide()}};la.el=aa.createElement("div");la.el.className="pika-single"+(na.isRTL?" is-rtl":"")+(na.theme?" "+na.theme:
|
|
12
|
+
"");w(la.el,"mousedown",la._onMouseDown,!0);w(la.el,"touchend",la._onMouseDown,!0);w(la.el,"change",la._onChange);na.keyboardInput&&w(aa,"keydown",la._onKeyChange);na.field&&(na.container?na.container.appendChild(la.el):na.bound?aa.body.appendChild(la.el):na.field.parentNode.insertBefore(la.el,na.field.nextSibling),w(na.field,"change",la._onInputChange),na.defaultDate||(na.defaultDate=la._parseFieldValue(),na.setDefaultDate=!0));ha=na.defaultDate;e(ha)?na.setDefaultDate?la.setDate(ha,!0):la.gotoDate(ha):
|
|
13
|
+
la.gotoDate(new Date);na.bound?(this.hide(),la.el.className+=" is-bound",w(na.trigger,"click",la._onInputClick),w(na.trigger,"focus",la._onInputFocus),w(na.trigger,"blur",la._onInputBlur)):this.show()}function ka(ha,la,na){return'<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="'+na+'">'+function(qa){var ra,ta=[];qa.showWeekNumber&&ta.push("<th></th>");for(ra=0;7>ra;ra++)ta.push('<th scope="col"><abbr title="'+fa(qa,ra)+'">'+fa(qa,ra,!0)+"</abbr></th>");return"<thead><tr>"+
|
|
14
|
+
(qa.isRTL?ta.reverse():ta).join("")+"</tr></thead>"}(ha)+("<tbody>"+la.join("")+"</tbody>")+(ha.showTodayButton?function(qa){var ra=[];return ra.push('<td colspan="'+(qa.showWeekNumber?"8":"7")+'"><button class="pika-set-today">'+qa.i18n.today+"</button></td>"),"<tfoot>"+(qa.isRTL?ra.reverse():ra).join("")+"</tfoot>"}(ha):"")+"</table>"}function ma(ha,la,na,qa,ra,ta){var va,oa,wa=ha._o,Da=na===wa.minYear,Ha=na===wa.maxYear,La='<div id="'+ta+'" class="pika-title" role="heading" aria-live="assertive">',
|
|
15
|
+
Ca=!0,Ka=!0;var Ra=[];for(ta=0;12>ta;ta++)Ra.push('<option value="'+(na===ra?ta-la:12+ta-la)+'"'+(ta===qa?' selected="selected"':"")+(Da&&ta<wa.minMonth||Ha&&ta>wa.maxMonth?' disabled="disabled"':"")+">"+wa.i18n.months[ta]+"</option>");ra='<div class="pika-label">'+wa.i18n.months[qa]+'<select class="pika-select pika-select-month" tabindex="-1">'+Ra.join("")+"</select></div>";a(wa.yearRange)?(ta=wa.yearRange[0],va=wa.yearRange[1]+1):(ta=na-wa.yearRange,va=1+na+wa.yearRange);for(Ra=[];ta<va&&ta<=wa.maxYear;ta++)ta>=
|
|
16
|
+
wa.minYear&&Ra.push('<option value="'+ta+'"'+(ta===na?' selected="selected"':"")+">"+ta+"</option>");return oa='<div class="pika-label">'+na+wa.yearSuffix+'<select class="pika-select pika-select-year" tabindex="-1">'+Ra.join("")+"</select></div>",wa.showMonthAfterYear?La+=oa+ra:La+=ra+oa,Da&&(0===qa||wa.minMonth>=qa)&&(Ca=!1),Ha&&(11===qa||wa.maxMonth<=qa)&&(Ka=!1),0===la&&(La+='<button class="pika-prev'+(Ca?"":" is-disabled")+'" type="button">'+wa.i18n.previousMonth+"</button>"),la===ha._o.numberOfMonths-
|
|
17
|
+
1&&(La+='<button class="pika-next'+(Ka?"":" is-disabled")+'" type="button">'+wa.i18n.nextMonth+"</button>"),La+"</div>"}function fa(ha,la,na){for(la+=ha.firstDay;7<=la;)la-=7;return na?ha.i18n.weekdaysShort[la]:ha.i18n.weekdays[la]}function da(ha){return 0>ha.month&&(ha.year-=Math.ceil(Math.abs(ha.month)/12),ha.month+=12),11<ha.month&&(ha.year+=Math.floor(Math.abs(ha.month)/12),ha.month-=12),ha}function z(ha,la,na){var qa;aa.createEvent?((qa=aa.createEvent("HTMLEvents")).initEvent(la,!0,!1),qa=x(qa,
|
|
18
|
+
na),ha.dispatchEvent(qa)):aa.createEventObject&&(qa=aa.createEventObject(),qa=x(qa,na),ha.fireEvent("on"+la,qa))}function x(ha,la,na){var qa,ra;for(qa in la)(ra=void 0!==ha[qa])&&"object"==typeof la[qa]&&null!==la[qa]&&void 0===la[qa].nodeName?e(la[qa])?na&&(ha[qa]=new Date(la[qa].getTime())):a(la[qa])?na&&(ha[qa]=la[qa].slice(0)):ha[qa]=x({},la[qa],na):!na&&ra||(ha[qa]=la[qa]);return ha}function y(ha){e(ha)&&ha.setHours(0,0,0,0)}function f(ha,la){return[31,0==ha%4&&0!=ha%100||0==ha%400?29:28,31,
|
|
19
|
+
30,31,30,31,31,30,31,30,31][la]}function e(ha){return/Date/.test(Object.prototype.toString.call(ha))&&!isNaN(ha.getTime())}function a(ha){return/Array/.test(Object.prototype.toString.call(ha))}function b(ha,la){var na;ha.className=(na=(" "+ha.className+" ").replace(" "+la+" "," ")).trim?na.trim():na.replace(/^\s+|\s+$/g,"")}function h(ha,la){n(ha,la)||(ha.className=""===ha.className?la:ha.className+" "+la)}function n(ha,la){return-1!==(" "+ha.className+" ").indexOf(" "+la+" ")}function ba(ha,la,na,
|
|
20
|
+
qa){ja?ha.removeEventListener(la,na,!!qa):ha.detachEvent("on"+la,na)}function w(ha,la,na,qa){ja?ha.addEventListener(la,na,!!qa):ha.attachEvent("on"+la,na)}var ea="function"==typeof r,ja=!!window.addEventListener,aa=window.document,ca=window.setTimeout,ia={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,firstWeekOfYearMinDays:4,formatStrict:!1,minDate:null,
|
|
21
21
|
maxDate:null,yearRange:10,showWeekNumber:!1,showTodayButton:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",today:"Today",months:"January February March April May June July August September October November December".split(" "),
|
|
22
|
-
weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" ")},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0};return pa.prototype={config:function(
|
|
23
|
-
|
|
24
|
-
10,
|
|
25
|
-
new Date(this._d.getTime()):null},setDate:function(
|
|
26
|
-
this._o.onSelect.call(this,this.getDate())}},clear:function(){this.setDate(null)},gotoDate:function(
|
|
27
|
-
(this.calendars[0].month+=1-this._o.numberOfMonths));this.adjustCalendars()}},adjustDate:function(
|
|
28
|
-
gotoMonth:function(
|
|
29
|
-
this._o.minYear=
|
|
30
|
-
this._o;var na=la.minYear;var
|
|
31
|
-
"</div>";this.el.innerHTML=
|
|
32
|
-
va=window.pageYOffset||
|
|
33
|
-
this._o.position.indexOf("top")&&0<
|
|
34
|
-
(va+=7);for(var Da=0===la?11:la-1,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
(w(
|
|
40
|
-
!0);
|
|
22
|
+
weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" ")},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0};return pa.prototype={config:function(ha){this._o||(this._o=x({},ia,!0));ha=x(this._o,ha,!0);ha.isRTL=!!ha.isRTL;ha.field=ha.field&&ha.field.nodeName?ha.field:null;ha.theme="string"==typeof ha.theme&&ha.theme?ha.theme:null;ha.bound=!!(void 0!==ha.bound?ha.field&&ha.bound:ha.field);
|
|
23
|
+
ha.trigger=ha.trigger&&ha.trigger.nodeName?ha.trigger:ha.field;ha.disableWeekends=!!ha.disableWeekends;ha.disableDayFn="function"==typeof ha.disableDayFn?ha.disableDayFn:null;var la=parseInt(ha.numberOfMonths,10)||1;(ha.numberOfMonths=4<la?4:la,e(ha.minDate)||(ha.minDate=!1),e(ha.maxDate)||(ha.maxDate=!1),ha.minDate&&ha.maxDate&&ha.maxDate<ha.minDate&&(ha.maxDate=ha.minDate=!1),ha.minDate&&this.setMinDate(ha.minDate),ha.maxDate&&this.setMaxDate(ha.maxDate),a(ha.yearRange))?(la=(new Date).getFullYear()-
|
|
24
|
+
10,ha.yearRange[0]=parseInt(ha.yearRange[0],10)||la,ha.yearRange[1]=parseInt(ha.yearRange[1],10)||la):(ha.yearRange=Math.abs(parseInt(ha.yearRange,10))||ia.yearRange,100<ha.yearRange&&(ha.yearRange=100));return ha},toString:function(ha){return ha=ha||this._o.format,e(this._d)?this._o.toString?this._o.toString(this._d,ha):ea?r(this._d).format(ha):this._d.toDateString():""},getMoment:function(){return ea?r(this._d):null},setMoment:function(ha,la){ea&&r.isMoment(ha)&&this.setDate(ha.toDate(),la)},getDate:function(){return e(this._d)?
|
|
25
|
+
new Date(this._d.getTime()):null},setDate:function(ha,la){if(!ha)return this._d=null,this._o.field&&(this._o.field.value="",z(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof ha&&(ha=new Date(Date.parse(ha))),e(ha)){var na=this._o.minDate,qa=this._o.maxDate;e(na)&&ha<na?ha=na:e(qa)&&ha>qa&&(ha=qa);this._d=new Date(ha.getTime());this.gotoDate(this._d);this._o.field&&(this._o.field.value=this.toString(),z(this._o.field,"change",{firedBy:this}));la||"function"!=typeof this._o.onSelect||
|
|
26
|
+
this._o.onSelect.call(this,this.getDate())}},clear:function(){this.setDate(null)},gotoDate:function(ha){var la=!0;if(e(ha)){if(this.calendars){la=new Date(this.calendars[0].year,this.calendars[0].month,1);var na=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),qa=ha.getTime();na.setMonth(na.getMonth()+1);na.setDate(na.getDate()-1);la=qa<la.getTime()||na.getTime()<qa}la&&(this.calendars=[{month:ha.getMonth(),year:ha.getFullYear()}],"right"===this._o.mainCalendar&&
|
|
27
|
+
(this.calendars[0].month+=1-this._o.numberOfMonths));this.adjustCalendars()}},adjustDate:function(ha,la){var na,qa=this.getDate()||new Date;la=864E5*parseInt(la);"add"===ha?na=new Date(qa.valueOf()+la):"subtract"===ha&&(na=new Date(qa.valueOf()-la));this.setDate(na)},adjustCalendars:function(){this.calendars[0]=da(this.calendars[0]);for(var ha=1;ha<this._o.numberOfMonths;ha++)this.calendars[ha]=da({month:this.calendars[0].month+ha,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},
|
|
28
|
+
gotoMonth:function(ha){isNaN(ha)||(this.calendars[0].month=parseInt(ha,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++;this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--;this.adjustCalendars()},gotoYear:function(ha){isNaN(ha)||(this.calendars[0].year=parseInt(ha,10),this.adjustCalendars())},setMinDate:function(ha){ha instanceof Date?(y(ha),this._o.minDate=ha,this._o.minYear=ha.getFullYear(),this._o.minMonth=ha.getMonth()):(this._o.minDate=ia.minDate,
|
|
29
|
+
this._o.minYear=ia.minYear,this._o.minMonth=ia.minMonth,this._o.startRange=ia.startRange);this.draw()},setMaxDate:function(ha){ha instanceof Date?(y(ha),this._o.maxDate=ha,this._o.maxYear=ha.getFullYear(),this._o.maxMonth=ha.getMonth()):(this._o.maxDate=ia.maxDate,this._o.maxYear=ia.maxYear,this._o.maxMonth=ia.maxMonth,this._o.endRange=ia.endRange);this.draw()},setStartRange:function(ha){this._o.startRange=ha},setEndRange:function(ha){this._o.endRange=ha},draw:function(ha){if(this._v||ha){var la=
|
|
30
|
+
this._o;var na=la.minYear;var qa=la.maxYear,ra=la.minMonth,ta=la.maxMonth;ha="";this._y<=na&&(this._y=na,!isNaN(ra)&&this._m<ra&&(this._m=ra));this._y>=qa&&(this._y=qa,!isNaN(ta)&&this._m>ta&&(this._m=ta));for(qa=0;qa<la.numberOfMonths;qa++)na="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2),ha+='<div class="pika-lendar">'+ma(this,qa,this.calendars[qa].year,this.calendars[qa].month,this.calendars[0].year,na)+this.render(this.calendars[qa].year,this.calendars[qa].month,na)+
|
|
31
|
+
"</div>";this.el.innerHTML=ha;la.bound&&"hidden"!==la.field.type&&ca(function(){la.trigger.focus()},1);"function"==typeof this._o.onDraw&&this._o.onDraw(this);la.bound&&la.field.setAttribute("aria-label",la.ariaLabel)}},adjustPosition:function(){var ha,la,na,qa,ra,ta,va,oa,wa;if(!this._o.container){if(this.el.style.position="absolute",la=ha=this._o.trigger,na=this.el.offsetWidth,qa=this.el.offsetHeight,ra=window.innerWidth||aa.documentElement.clientWidth,ta=window.innerHeight||aa.documentElement.clientHeight,
|
|
32
|
+
va=window.pageYOffset||aa.body.scrollTop||aa.documentElement.scrollTop,oa=!0,wa=!0,"function"==typeof ha.getBoundingClientRect){var Da=(la=ha.getBoundingClientRect()).left+window.pageXOffset;var Ha=la.bottom+window.pageYOffset}else for(Da=la.offsetLeft,Ha=la.offsetTop+la.offsetHeight;la=la.offsetParent;)Da+=la.offsetLeft,Ha+=la.offsetTop;(this._o.reposition&&Da+na>ra||-1<this._o.position.indexOf("right")&&0<Da-na+ha.offsetWidth)&&(Da=Da-na+ha.offsetWidth,oa=!1);(this._o.reposition&&Ha+qa>ta+va||-1<
|
|
33
|
+
this._o.position.indexOf("top")&&0<Ha-qa-ha.offsetHeight)&&(Ha=Ha-qa-ha.offsetHeight,wa=!1);0>Da&&(Da=0);0>Ha&&(Ha=0);this.el.style.left=Da+"px";this.el.style.top=Ha+"px";h(this.el,oa?"left-aligned":"right-aligned");h(this.el,wa?"bottom-aligned":"top-aligned");b(this.el,oa?"right-aligned":"left-aligned");b(this.el,wa?"top-aligned":"bottom-aligned")}},render:function(ha,la,na){var qa=this._o,ra=new Date,ta=f(ha,la),va=(new Date(ha,la,1)).getDay(),oa=[],wa=[];y(ra);0<qa.firstDay&&0>(va-=qa.firstDay)&&
|
|
34
|
+
(va+=7);for(var Da=0===la?11:la-1,Ha=11===la?0:la+1,La=0===la?ha-1:ha,Ca=11===la?ha+1:ha,Ka=f(La,Da),Ra=ta+va,Ma=Ra;7<Ma;)Ma-=7;Ra+=7-Ma;for(var Aa=!1,Ja=Ma=0;Ma<Ra;Ma++){var Ia=new Date(ha,la,Ma-va+1),Pa=!!e(this._d)&&Ia.getTime()===this._d.getTime(),Wa=Ia.getTime()===ra.getTime(),Qa=-1!==qa.events.indexOf(Ia.toDateString()),Fa=Ma<va||Ma>=ta+va,Ea=Ma-va+1,Ua=la,Va=ha,Xa=qa.startRange&&qa.startRange.getTime()===Ia.getTime(),cb=qa.endRange&&qa.endRange.getTime()===Ia.getTime(),eb=qa.startRange&&qa.endRange&&
|
|
35
|
+
qa.startRange<Ia&&Ia<qa.endRange;Fa&&(Ma<va?(Ea=Ka+Ea,Ua=Da,Va=La):(Ea-=ta,Ua=Ha,Va=Ca));var hb=Pa,kb;!(kb=qa.minDate&&Ia<qa.minDate||qa.maxDate&&Ia>qa.maxDate)&&(kb=qa.disableWeekends)&&(kb=Ia.getDay(),kb=0===kb||6===kb);Fa={day:Ea,month:Ua,year:Va,hasEvent:Qa,isSelected:hb,isToday:Wa,isDisabled:kb||qa.disableDayFn&&qa.disableDayFn(Ia),isEmpty:Fa,isStartRange:Xa,isEndRange:cb,isInRange:eb,showDaysInNextAndPreviousMonths:qa.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:qa.enableSelectionDaysInNextAndPreviousMonths};
|
|
36
|
+
qa.pickWholeWeek&&Pa&&(Aa=!0);Pa=wa;Ia=Pa.push;a:{Xa=Fa;cb=[];eb="false";if(Xa.isEmpty){if(!Xa.showDaysInNextAndPreviousMonths){Fa='<td class="is-empty"></td>';break a}cb.push("is-outside-current-month");Xa.enableSelectionDaysInNextAndPreviousMonths||cb.push("is-selection-disabled")}Fa=(Xa.isDisabled&&cb.push("is-disabled"),Xa.isToday&&cb.push("is-today"),Xa.isSelected&&(cb.push("is-selected"),eb="true"),Xa.hasEvent&&cb.push("has-event"),Xa.isInRange&&cb.push("is-inrange"),Xa.isStartRange&&cb.push("is-startrange"),
|
|
37
|
+
Xa.isEndRange&&cb.push("is-endrange"),'<td data-day="'+Xa.day+'" class="'+cb.join(" ")+'" aria-selected="'+eb+'"><button class="pika-button pika-day" type="button" data-pika-year="'+Xa.year+'" data-pika-month="'+Xa.month+'" data-pika-day="'+Xa.day+'">'+Xa.day+"</button></td>")}Ia.call(Pa,Fa);7==++Ja&&(qa.showWeekNumber&&(Ja=wa,Pa=Ja.unshift,Xa=qa.firstWeekOfYearMinDays,Ia=new Date(ha,la,Ma-va),ea?Ia=r(Ia).isoWeek():(Ia.setHours(0,0,0,0),cb=Ia.getDate(),Fa=Xa-1,Ia.setDate(cb+Fa-(Ia.getDay()+7-1)%7),
|
|
38
|
+
Xa=new Date(Ia.getFullYear(),0,Xa),Ia=1+Math.round(((Ia.getTime()-Xa.getTime())/864E5-Fa+(Xa.getDay()+7-1)%7)/7)),Pa.call(Ja,'<td class="pika-week">'+Ia+"</td>")),Ja=oa,Pa=Ja.push,wa='<tr class="pika-row'+(qa.pickWholeWeek?" pick-whole-week":"")+(Aa?" is-selected":"")+'">'+(qa.isRTL?wa.reverse():wa).join("")+"</tr>",Pa.call(Ja,wa),wa=[],Ja=0,Aa=!1)}return ka(qa,oa,na)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),b(this.el,"is-hidden"),this._o.bound&&
|
|
39
|
+
(w(aa,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var ha=this._v;!1!==ha&&(this._o.bound&&ba(aa,"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),h(this.el,"is-hidden"),this._v=!1,void 0!==ha&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var ha=this._o;this.hide();ba(this.el,"mousedown",this._onMouseDown,
|
|
40
|
+
!0);ba(this.el,"touchend",this._onMouseDown,!0);ba(this.el,"change",this._onChange);ha.keyboardInput&&ba(aa,"keydown",this._onKeyChange);ha.field&&(ba(ha.field,"change",this._onInputChange),ha.bound&&(ba(ha.trigger,"click",this._onInputClick),ba(ha.trigger,"focus",this._onInputFocus),ba(ha.trigger,"blur",this._onInputBlur)));this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},pa})}}]);}).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([[20],{
|
|
3
|
-
pa.allocUnsafe||function(
|
|
4
|
-
|
|
5
|
-
h.write(
|
|
6
|
-
h=ba
|
|
7
|
-
h[
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[20],{446:function(Ba,ua,r){(function(pa){function ka(b){this.Of=b=b||{};if(Array.isArray(b.table)){var h=[];b.table.forEach(function(n,ba){h[n.charCodeAt(0)]=ba});b.z9=b.table;b.M6=h}}var ma=pa.from||function(){switch(arguments.length){case 1:return new pa(arguments[0]);case 2:return new pa(arguments[0],arguments[1]);case 3:return new pa(arguments[0],arguments[1],arguments[2]);default:throw new Exception("unexpected call.");}},fa=
|
|
3
|
+
pa.allocUnsafe||function(b){return new pa(b)},da=function(){return"undefined"===typeof Uint8Array?function(b){return Array(b)}:function(b){return new Uint8Array(b)}}(),z=String.fromCharCode(0),x=z+z+z+z,y=ma("<~").Mx(0),f=ma("~>").Mx(0),e=function(){var b=Array(85),h;for(h=0;85>h;h++)b[h]=String.fromCharCode(33+h);return b}(),a=function(){var b=Array(256),h;for(h=0;85>h;h++)b[33+h]=h;return b}();z=Ba.exports=new ka;ka.prototype.encode=function(b,h){var n=da(5),ba=b,w=this.Of,ea,ja;"string"===typeof ba?
|
|
4
|
+
ba=ma(ba,"binary"):ba instanceof pa||(ba=ma(ba));h=h||{};if(Array.isArray(h)){b=h;var aa=w.tB||!1;var ca=w.sJ||!1}else b=h.table||w.z9||e,aa=void 0===h.tB?w.tB||!1:!!h.tB,ca=void 0===h.sJ?w.sJ||!1:!!h.sJ;w=0;var ia=Math.ceil(5*ba.length/4)+4+(aa?4:0);h=fa(ia);aa&&(w+=h.write("<~",w));var ha=ea=ja=0;for(ia=ba.length;ha<ia;ha++){var la=ba.nL(ha);ja*=256;ja+=la;ea++;if(!(ea%4)){if(ca&&538976288===ja)w+=h.write("y",w);else if(ja){for(ea=4;0<=ea;ea--)la=ja%85,n[ea]=la,ja=(ja-la)/85;for(ea=0;5>ea;ea++)w+=
|
|
5
|
+
h.write(b[n[ea]],w)}else w+=h.write("z",w);ea=ja=0}}if(ea)if(ja){ba=4-ea;for(ha=4-ea;0<ha;ha--)ja*=256;for(ea=4;0<=ea;ea--)la=ja%85,n[ea]=la,ja=(ja-la)/85;for(ea=0;5>ea;ea++)w+=h.write(b[n[ea]],w);w-=ba}else for(ha=0;ha<ea+1;ha++)w+=h.write(b[0],w);aa&&(w+=h.write("~>",w));return h.slice(0,w)};ka.prototype.decode=function(b,h){var n=this.Of,ba=!0,w=!0,ea,ja,aa;h=h||n.M6||a;if(!Array.isArray(h)&&(h=h.table||h,!Array.isArray(h))){var ca=[];Object.keys(h).forEach(function(na){ca[na.charCodeAt(0)]=h[na]});
|
|
6
|
+
h=ca}ba=!h[122];w=!h[121];b instanceof pa||(b=ma(b));ca=0;if(ba||w){var ia=0;for(aa=b.length;ia<aa;ia++){var ha=b.nL(ia);ba&&122===ha&&ca++;w&&121===ha&&ca++}}var la=0;aa=Math.ceil(4*b.length/5)+4*ca+5;n=fa(aa);if(4<=b.length&&b.Mx(0)===y){for(ia=b.length-2;2<ia&&b.Mx(ia)!==f;ia--);if(2>=ia)throw Error("Invalid ascii85 string delimiter pair.");b=b.slice(2,ia)}ia=ea=ja=0;for(aa=b.length;ia<aa;ia++)ha=b.nL(ia),ba&&122===ha?la+=n.write(x,la):w&&121===ha?la+=n.write(" ",la):void 0!==h[ha]&&(ja*=85,
|
|
7
|
+
ja+=h[ha],ea++,ea%5||(la=n.Xla(ja,la),ea=ja=0));if(ea){b=5-ea;for(ia=0;ia<b;ia++)ja*=85,ja+=84;ia=3;for(aa=b-1;ia>aa;ia--)la=n.Yla(ja>>>8*ia&255,la)}return n.slice(0,la)};z.Sma=new ka({table:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-:+=^!/*?&<>()[]{}@%$#".split("")});z.pma=new ka({tB:!0});z.n_=ka}).call(this,r(454).Buffer)}}]);}).call(this || window)
|
|
@@ -1,35 +1,35 @@
|
|
|
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],{
|
|
3
|
-
|
|
4
|
-
if(ta.byteLength<va+(oa||0))throw new RangeError("'length' is out of bounds");ta=void 0===va&&void 0===oa?new Uint8Array(ta):void 0===oa?new Uint8Array(ta,va):new Uint8Array(ta,va,oa);
|
|
5
|
-
ta);return ta}function
|
|
6
|
-
ta.copy(
|
|
7
|
-
(
|
|
8
|
-
va;case "hex":return va>>>1;case "base64":return
|
|
9
|
-
oa.toString(16),oa=
|
|
10
|
-
2)va+=String.fromCharCode(ta[
|
|
11
|
-
ta.length?-1:n(
|
|
12
|
-
oa||"utf-16le"===oa)){if(2>
|
|
13
|
-
wa&&(Da=wa);break;case 2:var
|
|
14
|
-
Da&1023);oa.push(Da);ta+=
|
|
15
|
-
if(va+oa>
|
|
16
|
-
Da.push(va)}else if(2048>va){if(0>(ta-=2))break;Da.push(va>>6|192,va&63|128)}else if(65536>va){if(0>(ta-=3))break;Da.push(va>>12|224,va>>6&63|128,va&63|128)}else if(1114112>va){if(0>(ta-=4))break;Da.push(va>>18|240,va>>12&63|128,va>>6&63|128,va&63|128)}else throw Error("Invalid code point");}return Da}function
|
|
17
|
-
|
|
18
|
-
typeof Symbol&&Symbol.species&&
|
|
19
|
-
oa=ta[wa];break}return va<oa?-1:oa<va?1:0};
|
|
20
|
-
0;for(va=0;va<
|
|
21
|
-
"",ta=ua
|
|
22
|
-
ta>>>=0;va>>>=0;oa>>>=0;wa>>>=0;if(this===
|
|
23
|
-
"utf8",va=this.length,ta=0;else if(void 0===va&&"string"===typeof ta)oa=ta,va=this.length,ta=0;else if(isFinite(ta))ta|=0,isFinite(va)?(va|=0,void 0===oa&&(oa="utf8")):(oa=va,va=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var wa=this.length-ta;if(void 0===va||va>wa)va=wa;if(0<
|
|
24
|
-
0;oa=this.length-ta;va?(va=Number(va),va>oa&&(va=oa)):va=oa;oa=
|
|
25
|
-
|
|
26
|
-
ta?(ta+=va,0>ta&&(ta=0)):ta>va&&(ta=va);ta<
|
|
27
|
-
ta){
|
|
28
|
-
if(0>va||va>=this.length)throw new RangeError("sourceStart out of bounds");if(0>oa)throw new RangeError("sourceEnd out of bounds");oa>this.length&&(oa=this.length);
|
|
29
|
-
typeof ta?(oa=ta,ta=0,va=this.length):"string"===typeof va&&(oa=va,va=this.length);if(1===
|
|
30
|
-
if("number"===typeof
|
|
31
|
-
function(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{454:function(Ba,ua,r){(function(pa){function ka(){try{var ra=new Uint8Array(1);ra.__proto__={__proto__:Uint8Array.prototype,doa:function(){return 42}};return"function"===typeof ra.subarray&&0===ra.subarray(1,1).byteLength}catch(ta){return!1}}function ma(ra,ta){if((fa.Se?2147483647:1073741823)<ta)throw new RangeError("Invalid typed array length");fa.Se?(ra=new Uint8Array(ta),ra.__proto__=fa.prototype):(null===ra&&(ra=new fa(ta)),
|
|
3
|
+
ra.length=ta);return ra}function fa(ra,ta,va){if(!(fa.Se||this instanceof fa))return new fa(ra,ta,va);if("number"===typeof ra){if("string"===typeof ta)throw Error("If encoding is specified then the first argument must be a string");return x(this,ra)}return da(this,ra,ta,va)}function da(ra,ta,va,oa){if("number"===typeof ta)throw new TypeError('"value" argument must not be a number');if("undefined"!==typeof ArrayBuffer&&ta instanceof ArrayBuffer){ta.byteLength;if(0>va||ta.byteLength<va)throw new RangeError("'offset' is out of bounds");
|
|
4
|
+
if(ta.byteLength<va+(oa||0))throw new RangeError("'length' is out of bounds");ta=void 0===va&&void 0===oa?new Uint8Array(ta):void 0===oa?new Uint8Array(ta,va):new Uint8Array(ta,va,oa);fa.Se?(ra=ta,ra.__proto__=fa.prototype):ra=y(ra,ta);ta=ra}else if("string"===typeof ta){oa=ra;ra=va;if("string"!==typeof ra||""===ra)ra="utf8";if(!fa.BU(ra))throw new TypeError('"encoding" must be a valid string encoding');va=a(ta,ra)|0;oa=ma(oa,va);ta=oa.write(ta,ra);ta!==va&&(oa=oa.slice(0,ta));ta=oa}else ta=f(ra,
|
|
5
|
+
ta);return ta}function z(ra){if("number"!==typeof ra)throw new TypeError('"size" argument must be a number');if(0>ra)throw new RangeError('"size" argument must not be negative');}function x(ra,ta){z(ta);ra=ma(ra,0>ta?0:e(ta)|0);if(!fa.Se)for(var va=0;va<ta;++va)ra[va]=0;return ra}function y(ra,ta){var va=0>ta.length?0:e(ta.length)|0;ra=ma(ra,va);for(var oa=0;oa<va;oa+=1)ra[oa]=ta[oa]&255;return ra}function f(ra,ta){if(fa.isBuffer(ta)){var va=e(ta.length)|0;ra=ma(ra,va);if(0===ra.length)return ra;
|
|
6
|
+
ta.copy(ra,0,0,va);return ra}if(ta){if("undefined"!==typeof ArrayBuffer&&ta.buffer instanceof ArrayBuffer||"length"in ta)return(va="number"!==typeof ta.length)||(va=ta.length,va=va!==va),va?ma(ra,0):y(ra,ta);if("Buffer"===ta.type&&la(ta.data))return y(ra,ta.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");}function e(ra){if(ra>=(fa.Se?2147483647:1073741823))throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+
|
|
7
|
+
(fa.Se?2147483647:1073741823).toString(16)+" bytes");return ra|0}function a(ra,ta){if(fa.isBuffer(ra))return ra.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(ra)||ra instanceof ArrayBuffer))return ra.byteLength;"string"!==typeof ra&&(ra=""+ra);var va=ra.length;if(0===va)return 0;for(var oa=!1;;)switch(ta){case "ascii":case "latin1":case "binary":return va;case "utf8":case "utf-8":case void 0:return ja(ra).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*
|
|
8
|
+
va;case "hex":return va>>>1;case "base64":return ca(ra).length;default:if(oa)return ja(ra).length;ta=(""+ta).toLowerCase();oa=!0}}function b(ra,ta,va){var oa=!1;if(void 0===ta||0>ta)ta=0;if(ta>this.length)return"";if(void 0===va||va>this.length)va=this.length;if(0>=va)return"";va>>>=0;ta>>>=0;if(va<=ta)return"";for(ra||(ra="utf8");;)switch(ra){case "hex":ra=ta;ta=va;va=this.length;if(!ra||0>ra)ra=0;if(!ta||0>ta||ta>va)ta=va;oa="";for(va=ra;va<ta;++va)ra=oa,oa=this[va],oa=16>oa?"0"+oa.toString(16):
|
|
9
|
+
oa.toString(16),oa=ra+oa;return oa;case "utf8":case "utf-8":return ba(this,ta,va);case "ascii":ra="";for(va=Math.min(this.length,va);ta<va;++ta)ra+=String.fromCharCode(this[ta]&127);return ra;case "latin1":case "binary":ra="";for(va=Math.min(this.length,va);ta<va;++ta)ra+=String.fromCharCode(this[ta]);return ra;case "base64":return 0===ta&&va===this.length?ha.zS(this):ha.zS(this.slice(ta,va));case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":ta=this.slice(ta,va);va="";for(ra=0;ra<ta.length;ra+=
|
|
10
|
+
2)va+=String.fromCharCode(ta[ra]+256*ta[ra+1]);return va;default:if(oa)throw new TypeError("Unknown encoding: "+ra);ra=(ra+"").toLowerCase();oa=!0}}function h(ra,ta,va,oa,wa){if(0===ra.length)return-1;"string"===typeof va?(oa=va,va=0):2147483647<va?va=2147483647:-2147483648>va&&(va=-2147483648);va=+va;isNaN(va)&&(va=wa?0:ra.length-1);0>va&&(va=ra.length+va);if(va>=ra.length){if(wa)return-1;va=ra.length-1}else if(0>va)if(wa)va=0;else return-1;"string"===typeof ta&&(ta=fa.from(ta,oa));if(fa.isBuffer(ta))return 0===
|
|
11
|
+
ta.length?-1:n(ra,ta,va,oa,wa);if("number"===typeof ta)return ta&=255,fa.Se&&"function"===typeof Uint8Array.prototype.indexOf?wa?Uint8Array.prototype.indexOf.call(ra,ta,va):Uint8Array.prototype.lastIndexOf.call(ra,ta,va):n(ra,[ta],va,oa,wa);throw new TypeError("val must be string, number or Buffer");}function n(ra,ta,va,oa,wa){function Da(Ka,Ra){return 1===Ha?Ka[Ra]:Ka.Mx(Ra*Ha)}var Ha=1,La=ra.length,Ca=ta.length;if(void 0!==oa&&(oa=String(oa).toLowerCase(),"ucs2"===oa||"ucs-2"===oa||"utf16le"===
|
|
12
|
+
oa||"utf-16le"===oa)){if(2>ra.length||2>ta.length)return-1;Ha=2;La/=2;Ca/=2;va/=2}if(wa)for(oa=-1;va<La;va++)if(Da(ra,va)===Da(ta,-1===oa?0:va-oa)){if(-1===oa&&(oa=va),va-oa+1===Ca)return oa*Ha}else-1!==oa&&(va-=va-oa),oa=-1;else for(va+Ca>La&&(va=La-Ca);0<=va;va--){La=!0;for(oa=0;oa<Ca;oa++)if(Da(ra,va+oa)!==Da(ta,oa)){La=!1;break}if(La)return va}return-1}function ba(ra,ta,va){va=Math.min(ra.length,va);for(var oa=[];ta<va;){var wa=ra[ta],Da=null,Ha=239<wa?4:223<wa?3:191<wa?2:1;if(ta+Ha<=va)switch(Ha){case 1:128>
|
|
13
|
+
wa&&(Da=wa);break;case 2:var La=ra[ta+1];128===(La&192)&&(wa=(wa&31)<<6|La&63,127<wa&&(Da=wa));break;case 3:La=ra[ta+1];var Ca=ra[ta+2];128===(La&192)&&128===(Ca&192)&&(wa=(wa&15)<<12|(La&63)<<6|Ca&63,2047<wa&&(55296>wa||57343<wa)&&(Da=wa));break;case 4:La=ra[ta+1];Ca=ra[ta+2];var Ka=ra[ta+3];128===(La&192)&&128===(Ca&192)&&128===(Ka&192)&&(wa=(wa&15)<<18|(La&63)<<12|(Ca&63)<<6|Ka&63,65535<wa&&1114112>wa&&(Da=wa))}null===Da?(Da=65533,Ha=1):65535<Da&&(Da-=65536,oa.push(Da>>>10&1023|55296),Da=56320|
|
|
14
|
+
Da&1023);oa.push(Da);ta+=Ha}ra=oa.length;if(ra<=na)oa=String.fromCharCode.apply(String,oa);else{va="";for(ta=0;ta<ra;)va+=String.fromCharCode.apply(String,oa.slice(ta,ta+=na));oa=va}return oa}function w(ra,ta,va){if(0!==ra%1||0>ra)throw new RangeError("offset is not uint");if(ra+ta>va)throw new RangeError("Trying to access beyond buffer length");}function ea(ra,ta,va,oa,wa,Da){if(!fa.isBuffer(ra))throw new TypeError('"buffer" argument must be a Buffer instance');if(ta>wa||ta<Da)throw new RangeError('"value" argument is out of bounds');
|
|
15
|
+
if(va+oa>ra.length)throw new RangeError("Index out of range");}function ja(ra,ta){ta=ta||Infinity;for(var va,oa=ra.length,wa=null,Da=[],Ha=0;Ha<oa;++Ha){va=ra.charCodeAt(Ha);if(55295<va&&57344>va){if(!wa){if(56319<va){-1<(ta-=3)&&Da.push(239,191,189);continue}else if(Ha+1===oa){-1<(ta-=3)&&Da.push(239,191,189);continue}wa=va;continue}if(56320>va){-1<(ta-=3)&&Da.push(239,191,189);wa=va;continue}va=(wa-55296<<10|va-56320)+65536}else wa&&-1<(ta-=3)&&Da.push(239,191,189);wa=null;if(128>va){if(0>--ta)break;
|
|
16
|
+
Da.push(va)}else if(2048>va){if(0>(ta-=2))break;Da.push(va>>6|192,va&63|128)}else if(65536>va){if(0>(ta-=3))break;Da.push(va>>12|224,va>>6&63|128,va&63|128)}else if(1114112>va){if(0>(ta-=4))break;Da.push(va>>18|240,va>>12&63|128,va>>6&63|128,va&63|128)}else throw Error("Invalid code point");}return Da}function aa(ra){for(var ta=[],va=0;va<ra.length;++va)ta.push(ra.charCodeAt(va)&255);return ta}function ca(ra){var ta=ha,va=ta.dla;ra=(ra.trim?ra.trim():ra.replace(/^\s+|\s+$/g,"")).replace(qa,"");if(2>
|
|
17
|
+
ra.length)ra="";else for(;0!==ra.length%4;)ra+="=";return va.call(ta,ra)}function ia(ra,ta,va,oa){for(var wa=0;wa<oa&&!(wa+va>=ta.length||wa>=ra.length);++wa)ta[wa+va]=ra[wa];return wa}var ha=r(463);r(464);var la=r(465);ua.Buffer=fa;ua.sma=function(ra){+ra!=ra&&(ra=0);return fa.tQ(+ra)};ua.$_=50;fa.Se=void 0!==pa.Se?pa.Se:ka();ua.Moa=fa.Se?2147483647:1073741823;fa.from=function(ra,ta,va){return da(null,ra,ta,va)};fa.Se&&(fa.prototype.__proto__=Uint8Array.prototype,fa.__proto__=Uint8Array,"undefined"!==
|
|
18
|
+
typeof Symbol&&Symbol.species&&fa[Symbol.species]===fa&&Object.defineProperty(fa,Symbol.species,{value:null,configurable:!0}));fa.tQ=function(ra){z(ra);return ma(null,ra)};fa.allocUnsafe=function(ra){return x(null,ra)};fa.isBuffer=function(ra){return!(null==ra||!ra.a3)};fa.compare=function(ra,ta){if(!fa.isBuffer(ra)||!fa.isBuffer(ta))throw new TypeError("Arguments must be Buffers");if(ra===ta)return 0;for(var va=ra.length,oa=ta.length,wa=0,Da=Math.min(va,oa);wa<Da;++wa)if(ra[wa]!==ta[wa]){va=ra[wa];
|
|
19
|
+
oa=ta[wa];break}return va<oa?-1:oa<va?1:0};fa.BU=function(ra){switch(String(ra).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "latin1":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;default:return!1}};fa.concat=function(ra,ta){if(!la(ra))throw new TypeError('"list" argument must be an Array of Buffers');if(0===ra.length)return fa.tQ(0);var va;if(void 0===ta)for(va=ta=0;va<ra.length;++va)ta+=ra[va].length;ta=fa.allocUnsafe(ta);var oa=
|
|
20
|
+
0;for(va=0;va<ra.length;++va){var wa=ra[va];if(!fa.isBuffer(wa))throw new TypeError('"list" argument must be an Array of Buffers');wa.copy(ta,oa);oa+=wa.length}return ta};fa.byteLength=a;fa.prototype.a3=!0;fa.prototype.toString=function(){var ra=this.length|0;return 0===ra?"":0===arguments.length?ba(this,0,ra):b.apply(this,arguments)};fa.prototype.gs=function(ra){if(!fa.isBuffer(ra))throw new TypeError("Argument must be a Buffer");return this===ra?!0:0===fa.compare(this,ra)};fa.prototype.inspect=
|
|
21
|
+
function(){var ra="",ta=ua.$_;0<this.length&&(ra=this.toString("hex",0,ta).match(/.{2}/g).join(" "),this.length>ta&&(ra+=" ... "));return"<Buffer "+ra+">"};fa.prototype.compare=function(ra,ta,va,oa,wa){if(!fa.isBuffer(ra))throw new TypeError("Argument must be a Buffer");void 0===ta&&(ta=0);void 0===va&&(va=ra?ra.length:0);void 0===oa&&(oa=0);void 0===wa&&(wa=this.length);if(0>ta||va>ra.length||0>oa||wa>this.length)throw new RangeError("out of range index");if(oa>=wa&&ta>=va)return 0;if(oa>=wa)return-1;
|
|
22
|
+
if(ta>=va)return 1;ta>>>=0;va>>>=0;oa>>>=0;wa>>>=0;if(this===ra)return 0;var Da=wa-oa,Ha=va-ta,La=Math.min(Da,Ha);oa=this.slice(oa,wa);ra=ra.slice(ta,va);for(ta=0;ta<La;++ta)if(oa[ta]!==ra[ta]){Da=oa[ta];Ha=ra[ta];break}return Da<Ha?-1:Ha<Da?1:0};fa.prototype.includes=function(ra,ta,va){return-1!==this.indexOf(ra,ta,va)};fa.prototype.indexOf=function(ra,ta,va){return h(this,ra,ta,va,!0)};fa.prototype.lastIndexOf=function(ra,ta,va){return h(this,ra,ta,va,!1)};fa.prototype.write=function(ra,ta,va,oa){if(void 0===
|
|
23
|
+
ta)oa="utf8",va=this.length,ta=0;else if(void 0===va&&"string"===typeof ta)oa=ta,va=this.length,ta=0;else if(isFinite(ta))ta|=0,isFinite(va)?(va|=0,void 0===oa&&(oa="utf8")):(oa=va,va=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var wa=this.length-ta;if(void 0===va||va>wa)va=wa;if(0<ra.length&&(0>va||0>ta)||ta>this.length)throw new RangeError("Attempt to write outside buffer bounds");oa||(oa="utf8");for(wa=!1;;)switch(oa){case "hex":ta=Number(ta)||
|
|
24
|
+
0;oa=this.length-ta;va?(va=Number(va),va>oa&&(va=oa)):va=oa;oa=ra.length;if(0!==oa%2)throw new TypeError("Invalid hex string");va>oa/2&&(va=oa/2);for(oa=0;oa<va;++oa){wa=parseInt(ra.substr(2*oa,2),16);if(isNaN(wa))break;this[ta+oa]=wa}return oa;case "utf8":case "utf-8":return ia(ja(ra,this.length-ta),this,ta,va);case "ascii":return ia(aa(ra),this,ta,va);case "latin1":case "binary":return ia(aa(ra),this,ta,va);case "base64":return ia(ca(ra),this,ta,va);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":oa=
|
|
25
|
+
ra;wa=this.length-ta;for(var Da=[],Ha=0;Ha<oa.length&&!(0>(wa-=2));++Ha){var La=oa.charCodeAt(Ha);ra=La>>8;La%=256;Da.push(La);Da.push(ra)}return ia(Da,this,ta,va);default:if(wa)throw new TypeError("Unknown encoding: "+oa);oa=(""+oa).toLowerCase();wa=!0}};fa.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this.Wma||this,0)}};var na=4096;fa.prototype.slice=function(ra,ta){var va=this.length;ra=~~ra;ta=void 0===ta?va:~~ta;0>ra?(ra+=va,0>ra&&(ra=0)):ra>va&&(ra=va);0>
|
|
26
|
+
ta?(ta+=va,0>ta&&(ta=0)):ta>va&&(ta=va);ta<ra&&(ta=ra);if(fa.Se)ta=this.subarray(ra,ta),ta.__proto__=fa.prototype;else{va=ta-ra;ta=new fa(va,void 0);for(var oa=0;oa<va;++oa)ta[oa]=this[oa+ra]}return ta};fa.prototype.nL=function(ra){w(ra,1,this.length);return this[ra]};fa.prototype.Mx=function(ra){w(ra,2,this.length);return this[ra]<<8|this[ra+1]};fa.prototype.Yla=function(ra,ta){ra=+ra;ta|=0;ea(this,ra,ta,1,255,0);fa.Se||(ra=Math.floor(ra));this[ta]=ra&255;return ta+1};fa.prototype.Xla=function(ra,
|
|
27
|
+
ta){ra=+ra;ta|=0;ea(this,ra,ta,4,4294967295,0);if(fa.Se)this[ta]=ra>>>24,this[ta+1]=ra>>>16,this[ta+2]=ra>>>8,this[ta+3]=ra&255;else{var va=ta;0>ra&&(ra=4294967295+ra+1);for(var oa=0,wa=Math.min(this.length-va,4);oa<wa;++oa)this[va+oa]=ra>>>8*(3-oa)&255}return ta+4};fa.prototype.copy=function(ra,ta,va,oa){va||(va=0);oa||0===oa||(oa=this.length);ta>=ra.length&&(ta=ra.length);ta||(ta=0);0<oa&&oa<va&&(oa=va);if(oa===va||0===ra.length||0===this.length)return 0;if(0>ta)throw new RangeError("targetStart out of bounds");
|
|
28
|
+
if(0>va||va>=this.length)throw new RangeError("sourceStart out of bounds");if(0>oa)throw new RangeError("sourceEnd out of bounds");oa>this.length&&(oa=this.length);ra.length-ta<oa-va&&(oa=ra.length-ta+va);var wa=oa-va;if(this===ra&&va<ta&&ta<oa)for(oa=wa-1;0<=oa;--oa)ra[oa+ta]=this[oa+va];else if(1E3>wa||!fa.Se)for(oa=0;oa<wa;++oa)ra[oa+ta]=this[oa+va];else Uint8Array.prototype.set.call(ra,this.subarray(va,va+wa),ta);return wa};fa.prototype.fill=function(ra,ta,va,oa){if("string"===typeof ra){"string"===
|
|
29
|
+
typeof ta?(oa=ta,ta=0,va=this.length):"string"===typeof va&&(oa=va,va=this.length);if(1===ra.length){var wa=ra.charCodeAt(0);256>wa&&(ra=wa)}if(void 0!==oa&&"string"!==typeof oa)throw new TypeError("encoding must be a string");if("string"===typeof oa&&!fa.BU(oa))throw new TypeError("Unknown encoding: "+oa);}else"number"===typeof ra&&(ra&=255);if(0>ta||this.length<ta||this.length<va)throw new RangeError("Out of range index");if(va<=ta)return this;ta>>>=0;va=void 0===va?this.length:va>>>0;ra||(ra=0);
|
|
30
|
+
if("number"===typeof ra)for(oa=ta;oa<va;++oa)this[oa]=ra;else for(ra=fa.isBuffer(ra)?ra:ja((new fa(ra,oa)).toString()),wa=ra.length,oa=0;oa<va-ta;++oa)this[oa+ta]=ra[oa%wa];return this};var qa=/[^+\/0-9A-Za-z-_]/g}).call(this,r(178))},463:function(Ba,ua){function r(fa){var da=fa.length;if(0<da%4)throw Error("Invalid string. Length must be a multiple of 4");fa=fa.indexOf("=");-1===fa&&(fa=da);return[fa,fa===da?0:4-fa%4]}ua.byteLength=function(fa){fa=r(fa);var da=fa[1];return 3*(fa[0]+da)/4-da};ua.dla=
|
|
31
|
+
function(fa){var da=r(fa);var z=da[0];da=da[1];var x=new ma(3*(z+da)/4-da),y=0,f=0<da?z-4:z,e;for(e=0;e<f;e+=4)z=ka[fa.charCodeAt(e)]<<18|ka[fa.charCodeAt(e+1)]<<12|ka[fa.charCodeAt(e+2)]<<6|ka[fa.charCodeAt(e+3)],x[y++]=z>>16&255,x[y++]=z>>8&255,x[y++]=z&255;2===da&&(z=ka[fa.charCodeAt(e)]<<2|ka[fa.charCodeAt(e+1)]>>4,x[y++]=z&255);1===da&&(z=ka[fa.charCodeAt(e)]<<10|ka[fa.charCodeAt(e+1)]<<4|ka[fa.charCodeAt(e+2)]>>2,x[y++]=z>>8&255,x[y++]=z&255);return x};ua.zS=function(fa){for(var da=fa.length,
|
|
32
|
+
z=da%3,x=[],y=0,f=da-z;y<f;y+=16383){for(var e=x,a=e.push,b,h=fa,n=y+16383>f?f:y+16383,ba=[],w=y;w<n;w+=3)b=(h[w]<<16&16711680)+(h[w+1]<<8&65280)+(h[w+2]&255),ba.push(pa[b>>18&63]+pa[b>>12&63]+pa[b>>6&63]+pa[b&63]);b=ba.join("");a.call(e,b)}1===z?(fa=fa[da-1],x.push(pa[fa>>2]+pa[fa<<4&63]+"==")):2===z&&(fa=(fa[da-2]<<8)+fa[da-1],x.push(pa[fa>>10]+pa[fa>>4&63]+pa[fa<<2&63]+"="));return x.join("")};var pa=[],ka=[],ma="undefined"!==typeof Uint8Array?Uint8Array:Array;for(Ba=0;64>Ba;++Ba)pa[Ba]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[Ba],
|
|
33
|
+
ka["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Ba)]=Ba;ka[45]=62;ka[95]=63},464:function(Ba,ua){ua.read=function(r,pa,ka,ma,fa){var da=8*fa-ma-1;var z=(1<<da)-1,x=z>>1,y=-7;fa=ka?fa-1:0;var f=ka?-1:1,e=r[pa+fa];fa+=f;ka=e&(1<<-y)-1;e>>=-y;for(y+=da;0<y;ka=256*ka+r[pa+fa],fa+=f,y-=8);da=ka&(1<<-y)-1;ka>>=-y;for(y+=ma;0<y;da=256*da+r[pa+fa],fa+=f,y-=8);if(0===ka)ka=1-x;else{if(ka===z)return da?NaN:Infinity*(e?-1:1);da+=Math.pow(2,ma);ka-=x}return(e?-1:1)*da*Math.pow(2,
|
|
34
|
+
ka-ma)};ua.write=function(r,pa,ka,ma,fa,da){var z,x=8*da-fa-1,y=(1<<x)-1,f=y>>1,e=23===fa?Math.pow(2,-24)-Math.pow(2,-77):0;da=ma?0:da-1;var a=ma?1:-1,b=0>pa||0===pa&&0>1/pa?1:0;pa=Math.abs(pa);isNaN(pa)||Infinity===pa?(pa=isNaN(pa)?1:0,ma=y):(ma=Math.floor(Math.log(pa)/Math.LN2),1>pa*(z=Math.pow(2,-ma))&&(ma--,z*=2),pa=1<=ma+f?pa+e/z:pa+e*Math.pow(2,1-f),2<=pa*z&&(ma++,z/=2),ma+f>=y?(pa=0,ma=y):1<=ma+f?(pa=(pa*z-1)*Math.pow(2,fa),ma+=f):(pa=pa*Math.pow(2,f-1)*Math.pow(2,fa),ma=0));for(;8<=fa;r[ka+
|
|
35
|
+
da]=pa&255,da+=a,pa/=256,fa-=8);ma=ma<<fa|pa;for(x+=fa;0<x;r[ka+da]=ma&255,da+=a,ma/=256,x-=8);r[ka+da-a]|=128*b}},465:function(Ba){var ua={}.toString;Ba.exports=Array.isArray||function(r){return"[object Array]"==ua.call(r)}}}]);}).call(this || window)
|