pixelfed/public/js/admin.js

2 lines
25 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see admin.js.LICENSE.txt */
(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[467],{19675:(e,t,n)=>{n(19755);n(86807),window._=n(96486),window.Popper=n(28981).default,window.pixelfed=window.pixelfed||{},window.$=n(19755),n(43734),window.axios=n(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",n(90717),window.filesize=n(42317),window.Cookies=n(36808),n(20154),n(80981),window.Chart=n(17757),n(1922),Chart.defaults.global.defaultFontFamily="-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif",Array.from(document.querySelectorAll(".pagination .page-link")).filter((function(e){return"« Previous"===e.textContent||"Next »"===e.textContent})).forEach((function(e){return e.textContent="Next »"===e.textContent?"":""}))},1922:(e,t,n)=>{"use strict";var a=n(19755);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}!function(){function e(){a(".sidenav-toggler").addClass("active"),a(".sidenav-toggler").data("action","sidenav-unpin"),a("body").removeClass("g-sidenav-hidden").addClass("g-sidenav-show g-sidenav-pinned"),a("body").append('<div class="backdrop d-xl-none" data-action="sidenav-unpin" data-target='+a("#sidenav-main").data("target")+" />"),Cookies.set("sidenav-state","pinned")}function t(){a(".sidenav-toggler").removeClass("active"),a(".sidenav-toggler").data("action","sidenav-pin"),a("body").removeClass("g-sidenav-pinned").addClass("g-sidenav-hidden"),a("body").find(".backdrop").remove(),Cookies.set("sidenav-state","unpinned")}var n=Cookies.get("sidenav-state")?Cookies.get("sidenav-state"):"pinned";a(window).width()>1200&&("pinned"==n&&e(),"unpinned"==Cookies.get("sidenav-state")&&t(),a(window).resize((function(){a("body").hasClass("g-sidenav-show")&&!a("body").hasClass("g-sidenav-pinned")&&a("body").removeClass("g-sidenav-show").addClass("g-sidenav-hidden")}))),a(window).width()<1200&&(a("body").removeClass("g-sidenav-hide").addClass("g-sidenav-hidden"),a("body").removeClass("g-sidenav-show"),a(window).resize((function(){a("body").hasClass("g-sidenav-show")&&!a("body").hasClass("g-sidenav-pinned")&&a("body").removeClass("g-sidenav-show").addClass("g-sidenav-hidden")}))),a("body").on("click","[data-action]",(function(n){n.preventDefault();var o=a(this),r=o.data("action");o.data("target");switch(r){case"sidenav-pin":e();break;case"sidenav-unpin":t();break;case"search-show":o.data("target"),a("body").removeClass("g-navbar-search-show").addClass("g-navbar-search-showing"),setTimeout((function(){a("body").removeClass("g-navbar-search-showing").addClass("g-navbar-search-show")}),150),setTimeout((function(){a("body").addClass("g-navbar-search-shown")}),300);break;case"search-close":o.data("target"),a("body").removeClass("g-navbar-search-shown"),setTimeout((function(){a("body").removeClass("g-navbar-search-show").addClass("g-navbar-search-hiding")}),150),setTimeout((function(){a("body").removeClass("g-navbar-search-hiding").addClass("g-navbar-search-hidden")}),300),setTimeout((function(){a("body").removeClass("g-navbar-search-hidden")}),500)}})),a(".sidenav").on("mouseenter",(function(){a("body").hasClass("g-sidenav-pinned")||a("body").removeClass("g-sidenav-hide").removeClass("g-sidenav-hidden").addClass("g-sidenav-show")})),a(".sidenav").on("mouseleave",(function(){a("body").hasClass("g-sidenav-pinned")||(a("body").removeClass("g-sidenav-show").addClass("g-sidenav-hide"),setTimeout((function(){a("body").removeClass("g-sidenav-hide").addClass("g-sidenav-hidden")}),300))})),a(window).on("load resize",(function(){a("body").height()<800&&(a("body").css("min-height","100vh"),a("#footer-main").addClass("footer-auto-bottom"))}))}();var r,s,i,l,d,c,u,f,p,b,h,y,v,g=function(){var e,t=a('[data-toggle="chart"]'),n="light",r={base:"Open Sans"},s={gray:{100:"#f6f9fc",200:"#e9ecef",300:"#dee2e6",400:"#ced4da",500:"#adb5bd",600:"#8898aa",700:"#525f7f",800:"#32325d",900:"#212529"},theme:{default:"#172b4d",primary:"#5e72e4",secondary:"#f4f5f7",info:"#11cdef",success:"#2dce89",danger:"#f5365c",warning:"#fb6340"},black:"#12263F",white:"#FFFFFF",transparent:"transparent"};function i(e,t){for(var n in t)"object"!==o(t[n])?e[n]=t[n]:i(e[n],t[n])}function l(e,t){for(var n in t)Array.isArray(t[n])?t[n].forEach((function(t){e[n].push(t)})):l(e[n],t[n])}function d(e,t){for(var n in t)Array.isArray(t[n])?t[n].forEach((function(t){e[n].pop()})):d(e[n],t[n])}function c(e){var t=e.data("add"),n=a(e.data("target")).data("chart");e.is(":checked")?(l(n,t),n.update()):(d(n,t),n.update())}function u(e){var t=e.data("update"),n=a(e.data("target")).data("chart");i(n,t),function(e,t){if(void 0!==e.data("prefix")||void 0!==e.data("prefix")){var n=e.data("prefix")?e.data("prefix"):"",a=e.data("suffix")?e.data("suffix"):"";t.options.scales.yAxes[0].ticks.callback=function(e){if(!(e%10))return n+e+a},t.options.tooltips.callbacks.label=function(e,t){var o=t.datasets[e.datasetIndex].label||"",r=e.yLabel,s="";return t.datasets.length>1&&(s+='<span class="popover-body-label mr-auto">'+o+"</span>"),s+='<span class="popover-body-value">'+n+r+a+"</span>"}}}(e,n),n.update()}return window.Chart&&i(Chart,(e={defaults:{global:{responsive:!0,maintainAspectRatio:!1,defaultColor:s.gray[600],defaultFontColor:s.gray[600],defaultFontFamily:r.base,defaultFontSize:13,layout:{padding:0},legend:{display:!1,position:"bottom",labels:{usePointStyle:!0,padding:16}},elements:{point:{radius:0,backgroundColor:s.theme.primary},line:{tension:.4,borderWidth:4,borderColor:s.theme.primary,backgroundColor:s.transparent,borderCapStyle:"rounded"},rectangle:{backgroundColor:s.theme.warning},arc:{backgroundColor:s.theme.primary,borderColor:s.white,borderWidth:4}},tooltips:{enabled:!0,mode:"index",intersect:!1}},doughnut:{cutoutPercentage:83,legendCallback:function(e){var t=e.data,n="";return t.labels.forEach((function(e,a){var o=t.datasets[0].backgroundColor[a];n+='<span class="chart-legend-item">',n+='<i class="chart-legend-indicator" style="background-color: '+o+'"></i>',n+=e,n+="</span>"})),n}}}},Chart.scaleService.updateScaleDefaults("linear",{gridLines:{borderDash:[2],borderDashOffset:[2],color:s.gray[300],drawBorder:!1,drawTicks:!1,drawOnChartArea:!0,zeroLineWidth:0,zeroLineColor:"rgba(0,0,0,0)",zeroLineBorderDash:[2],zeroLineBorderDashOffset:[2]},ticks:{beginAtZero:!0,padding:10,callback:function(e){if(!(e%10))return e}}}),Chart.scaleService.updateScaleDefaults("category",{gridLines:{drawBorder:!1,drawOnChartArea:!1,drawTicks:!1},ticks:{padding:20},maxBarThickness:10}),e)),t.on({change:function(){var e=a(this);e.is("[data-add]")&&c(e)},click:function(){var e=a(this);e.is("[data-update]")&&u(e)}}),{colors:s,fonts:r,mode:n}}(),m=((i=a(s=".btn-icon-clipboard")).length&&((r=i).tooltip().on("mouseleave",(function(){r.tooltip("hide")})),new ClipboardJS(s).on("success",(function(e){a(e.trigger).attr("title","Copied!").tooltip("_fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("_fixTitle"),e.clearSelection()}))),l=a(".navbar-nav, .navbar-nav .nav"),d=a(".navbar .collapse"),c=a(".navbar .dropdown"),d.on({"show.bs.collapse":function(){!function(e){e.closest(l).find(d).not(e).collapse("hide")}(a(this))}}),c.on({"hide.bs.dropdown":function(){!function(e){var t=e.find(".dropdown-menu");t.addClass("close"),setTimeout((function(){t.removeClass("close")}),200)}(a(this))}}),function(){a(".navbar-nav");var e=a(".navbar .navbar-custom-collapse");e.length&&(e.on({"hide.bs.collapse":function(){!function(e){e.addClass("collapsing-out")}(e)}}),e.on({"hidden.bs.collapse":function(){!function(e){e.removeClass("collapsing-out")}(e)}}));var t=0;a(".sidenav-toggler").click((function(){if(1==t)a("body").removeClass("nav-open"),t=0,a(".bodyClick").remove();else{a('<div class="bodyClick"></div>').appendTo("body").click((function(){a("body").removeClass("nav-open"),t=0,a(".bodyClick").remove()})),a("body").addClass("nav-open"),t=1}}))}(),u=a('[data-toggle="popover"]'),f="",u.length&&u.each((function(){!function(e){e.data("color")&&(f="popover-"+e.data("color"));var t={trigger:"focus",template:'<div class="popover '+f+'" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'};e.popover(t)}(a(this))})),function(){var e=a(".scroll-me, [data-scroll-to], .toc-entry a");function t(e){var t=e.attr("href"),n=e.data("scroll-to-offset")?e.data("scroll-to-offset"):0,o={scrollTop:a(t).offset().top-n};a("html, body").stop(!0,!0).animate(o,600),event.preventDefault()}e.length&&e.on("click",(function(e){t(a(this))}))}(),(p=a('[data-toggle="tooltip"]')).length&&p.tooltip(),(b=a(".form-control")).length&&function(e){e.on("focus blur",(function(e){a(this).parents(".form-group").toggleClass("focused","focus"===e.type)})).trigger("blur")}(b),(h=a("#chart-bars")).length&&function(e){var t=new Chart(e,{type:"bar",data:{labels:["Jul","Aug","Sep","Oct","Nov","Dec"],datasets:[{label:"Sales",data:[25,20,30,22,17,29]}]}});e.data("chart",t)}(h),function(){var e=a("#c1-dark");e.length&&function(e){var t=new Chart(e,{type:"line",options:{scales:{yAxes:[{gridLines:{lineWidth:1,color:g.colors.gray[900],zeroLineColor:g.colors.gray[900]},ticks:{callback:function(e){if(!(e%10))return e}}}]},tooltips:{callbacks:{label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",a=e.yLabel,o="";return t.datasets.length>1&&(o+=n),o+(a+" posts")}}}},data:{labels:["7","6","5","4","3","2","1"],datasets:[{label:"",data:a(".posts-this-week").data("update").data.datasets[0].data}]}});e.data("chart",t)}(e)}(),(y=a(".datepicker")).length&&y.each((function(){!function(e){e.datepicker({disableTouchKeyboard:!0,autoclose:!1})}(a(this))})),function(){if(a(".input-slider-container")[0]&&a(".input-slider-container").each((function(){var e=a(this).find(".input-slider"),t=e.attr("id"),n=e.data("range-value-min"),o=e.data("range-value-max"),r=a(this).find(".range-slider-value"),s=r.attr("id"),i=r.data("range-value-low"),l=document.getElementById(t),d=document.getElementById(s);m.create(l,{start:[parseInt(i)],connect:[!0,!1],range:{min:[parseInt(n)],max:[parseInt(o)]}}),l.noUiSlider.on("update",(function(e,t){d.textContent=e[t]}))})),a("#input-slider-range")[0]){var e=document.getElementById("input-slider-range"),t=document.getElementById("input-slider-range-value-low"),n=document.getElementById("input-slider-range-value-high"),o=[t,n];m.create(e,{start:[parseInt(t.getAttribute("data-range-value-low")),parseInt(n.getAttribute("data-range-value-high"))],connect:!0,range:{min:parseInt(e.getAttribute("data-range-value-min")),max:parseInt(e.getAttribute("data-range-value-max"))}}),e.noUiSlider.on("update",(function(e,t){o[t].textContent=e[t]}))}}());(v=a(".scrollbar-inner")).length&&v.scrollbar().scrollLock()},86807:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(){var t="object"===("undefined"==typeof window?"undefined":e(window))?window:"object"===("undefined"==typeof self?"undefined":e(self))?self:this,n=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder;t.URL=t.URL||t.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var a=t.Blob,o=URL.createObjectURL,r=URL.revokeObjectURL,s=t.Symbol&&t.Symbol.toStringTag,i=!1,d=!1,c=!!t.ArrayBuffer,u=n&&n.prototype.append&&n.prototype.getBlob;try{i=2===new Blob(["ä"]).size,d=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function f(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var n=new Uint8Array(e.byteLength);n.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=n.buffer}return t}return e}))}function p(e,t){t=t||{};var a=new n;return f(e).forEach((function(e){a.append(e)})),t.type?a.getBlob(t.type):a.getBlob()}function b(e,t){return new a(f(e),t||{})}t.Blob&&(p.prototype=Blob.prototype,b.prototype=Blob.prototype);var h="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(e){for(var n=0,a=e.length,o=t.Uint8Array||Array,r=0,s=Math.max(32,a+(a>>1)+7),i=new o(s>>3<<3);n<a;){var l=e.charCodeAt(n++);if(l>=55296&&l<=56319){if(n<a){var d=e.charCodeAt(n);56320==(64512&d)&&(++n,l=((1023&l)<<10)+(1023&d)+65536)}if(l>=55296&&l<=56319)continue}if(r+4>i.length){s+=8,s=(s*=1+n/e.length*2)>>3<<3;var c=new Uint8Array(s);c.set(i),i=c}if(0!=(4294967168&l)){if(0==(4294965248&l))i[r++]=l>>6&31|192;else if(0==(4294901760&l))i[r++]=l>>12&15|224,i[r++]=l>>6&63|128;else{if(0!=(4292870144&l))continue;i[r++]=l>>18&7|240,i[r++]=l>>12&63|128,i[r++]=l>>6&63|128}i[r++]=63&l|128}else i[r++]=l}return i.slice(0,r)},y="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(e){for(var t=e.length,n=[],a=0;a<t;){var o,r,s,i,l=e[a],d=null,c=l>239?4:l>223?3:l>191?2:1;if(a+c<=t)switch(c){case 1:l<128&&(d=l);break;case 2:128==(192&(o=e[a+1]))&&(i=(31&l)<<6|63&o)>127&&(d=i);break;case 3:o=e[a+1],r=e[a+2],128==(192&o)&&128==(192&r)&&(i=(15&l)<<12|(63&o)<<6|63&r)>2047&&(i<55296||i>57343)&&(d=i);break;case 4:o=e[a+1],r=e[a+2],s=e[a+3],128==(192&o)&&128==(192&r)&&128==(192&s)&&(i=(15&l)<<18|(63&o)<<12|(63&r)<<6|63&s)>65535&&i<1114112&&(d=i)}null===d?(d=65533,c=1):d>65535&&(d-=65536,n.push(d>>>10&1023|55296),d=56320|1023&d),n.push(d),a+=c}var u=n.length,f="";for(a=0;a<u;)f+=String.fromCharCode.apply(String,n.slice(a,a+=4096));return f};function v(){var e=!!t.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,n=t.XMLHttpRequest&&t.XMLHttpRequest.prototype.send;e&&n&&(XMLHttpRequest.prototype.send=function(e){e instanceof Blob?(this.setRequestHeader("Content-Type",e.type),n.call(this,e)):n.call(this,e)});try{new File([],"")}catch(e){try{var a=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name.replace(///g, ":");this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date();this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();t.File=a}catch(e){a=function(e,t,n){var a=new Blob(e,n),o=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date;return a.name=t.replace(/\//g,":"),a.lastModifiedDate=o,a.lastModified=+o,a.toString=function(){return"[object File]"},s&&(a[s]="File"),a};t.File=a}}}i?(v(),t.Blob=d?t.Blob:b):u?(v(),t.Blob=p):function(){function e(e){for(var t=new Array(e.byteLength),n=new Uint8Array(e),a=t.length;a--;)t[a]=n[a];return t}function n(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n=[],a=0;a<e.length;a+=3){var o=e[a],r=a+1<e.length,s=r?e[a+1]:0,i=a+2<e.length,l=i?e[a+2]:0,d=o>>2,c=(3&o)<<4|s>>4,u=(15&s)<<2|l>>6,f=63&l;i||(f=64,r||(u=64)),n.push(t[d],t[c],t[u],t[f])}return n.join("")}var a=Object.create||function(e){function t(){}return t.prototype=e,new t};if(c)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function d(n,a){a=null==a?{}:a;for(var o=0,r=(n=n||[]).length;o<r;o++){var s=n[o];s instanceof d?n[o]=s._buffer:"string"==typeof s?n[o]=h(s):c&&(ArrayBuffer.prototype.isPrototypeOf(s)||i(s))?n[o]=e(s):c&&(u=s)&&DataView.prototype.isPrototypeOf(u)?n[o]=e(s.buffer):n[o]=h(String(s))}var u;this._buffer=t.Uint8Array?function(e){for(var t=0,n=e.length;n--;)t+=e[n].length;var a=new Uint8Array(t),o=0;for(n=0,l=e.length;n<l;n++){var r=e[n];a.set(r,o),o+=r.byteLength||r.length}return a}(n):[].concat.apply([],n),this.size=this._buffer.length,this.type=a.type||"",/[^\u0020-\u007E]/.test(this.type)?this.type="":this.type=this.type.toLowerCase()}function u(e,t,n){n=n||{};var a=d.call(this,e,n)||this;return a.name=t.replace(/\//g,":"),a.lastModifiedDate=n.lastModified?new Date(n.lastModified):new Date,a.lastModified=+a.lastModifiedDate,a}if(d.prototype.arrayBuffer=function(){return Promise.resolve(this._buffer)},d.prototype.text=function(){return Promise.resolve(y(this._buffer))},d.prototype.slice=function(e,t,n){return new d([this._buffer.slice(e||0,t||this._buffer.length)],{type:n})},d.prototype.toString=function(){return"[object Blob]"},u.prototype=a(d.prototype),u.prototype.constructor=u,Object.setPrototypeOf)Object.setPrototypeOf(u,d);else try{u.__proto__=d}catch(e){}function f(){if(!(this instanceof f))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var e=document.createDocumentFragment();this.addEventListener=e.addEventListener,this.dispatchEvent=function(t){var n=this["on"+t.type];"function"==typeof n&&n(t),e.dispatchEvent(t)},this.removeEventListener=e.removeEventListener}function p(e,t,n){if(!(t instanceof d))throw new TypeError("Failed to execute '"+n+"' on 'FileReader': parameter 1 is not of type 'Blob'.");e.result="",setTimeout((function(){this.readyState=f.LOADING,e.dispatchEvent(new Event("load")),e.dispatchEvent(new Event("loadend"))}))}u.prototype.toString=function(){return"[object File]"},f.EMPTY=0,f.LOADING=1,f.DONE=2,f.prototype.error=null,f.prototype.onabort=null,f.prototype.onerror=null,f.prototype.onload=null,f.prototype.onloadend=null,f.prototype.onloadstart=null,f.prototype.onprogress=null,f.prototype.readAsDataURL=function(e){p(this,e,"readAsDataURL"),this.result="data:"+e.type+";base64,"+n(e._buffer)},f.prototype.readAsText=function(e){p(this,e,"readAsText"),this.result=y(e._buffer)},f.prototype.readAsArrayBuffer=function(e){p(this,e,"readAsText"),this.result=(e._buffer.buffer||e._buffer).slice()},f.prototype.abort=function(){},URL.createObjectURL=function(e){return e instanceof d?"data:"+e.type+";base64,"+n(e._buffer):o.call(URL,e)},URL.revokeObjectURL=function(e){r&&r.call(URL,e)};var b=t.XMLHttpRequest&&t.XMLHttpRequest.prototype.send;b&&(XMLHttpRequest.prototype.send=function(e){e instanceof d?(this.setRequestHeader("Content-Type",e.type),b.call(this,y(e._buffer))):b.call(this,e)}),t.FileReader=f,t.File=u,t.Blob=d}(),s&&(File.prototype[s]="File",Blob.prototype[s]="Blob",FileReader.prototype[s]="FileReader");var g,m=t.Blob.prototype;function j(e){return new Promise((function(t,n){e.onload=e.onerror=function(a){e.onload=e.onerror=null,"load"===a.type?t(e.result||e):n(new Error("Failed to read the blob/file"))}}))}try{new ReadableStream({type:"bytes"}),g=function(){var e=0,t=this;return new ReadableStream({type:"bytes",autoAllocateChunkSize:524288,pull:function(n){var a=n.byobRequest.view;return t.slice(e,e+a.byteLength).arrayBuffer().then((function(o){var r=new Uint8Array(o),s=r.byteLength;e+=s,a.set(r),n.byobRequest.respond(s),e>=t.size&&n.close()}))}})}}catch(e){try{new ReadableStream({}),g=function(e){var t=0;e=this;return new ReadableStream({pull:function(n){return e.slice(t,t+524288).arrayBuffer().then((function(a){t+=a.byteLength;var o=new Uint8Array(a);n.enqueue(o),t==e.size&&n.close()}))}})}}catch(e){try{new Response("").body.getReader().read(),g=function(){return new Response(this).body}}catch(e){g=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}m.arrayBuffer||(m.arrayBuffer=function(){var e=new FileReader;return e.readAsArrayBuffer(this),j(e)}),m.text||(m.text=function(){var e=new FileReader;return e.readAsText(this),j(e)}),m.stream||(m.stream=g)}(),function(e){"use strict";var t,n=e.Uint8Array,a=e.HTMLCanvasElement,o=a&&a.prototype,r=/\s*;\s*base64\s*(?:;|$)/i,s="toDataURL",i=function(e){for(var a,o,r=e.length,s=new n(r/4*3|0),i=0,l=0,d=[0,0],c=0,u=0;r--;)o=e.charCodeAt(i++),255!==(a=t[o-43])&&undefined!==a&&(d[1]=d[0],d[0]=o,u=u<<6|a,4===++c&&(s[l++]=u>>>16,61!==d[1]&&(s[l++]=u>>>8),61!==d[0]&&(s[l++]=u),c=0));return s};n&&(t=new n([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),!a||o.toBlob&&o.toBlobHD||(o.toBlob||(o.toBlob=function(e,t){if(t||(t="image/png"),this.mozGetAsFile)e(this.mozGetAsFile("canvas",t));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(t))e(this.msToBlob());else{var a,o=Array.prototype.slice.call(arguments,1),l=this[s].apply(this,o),d=l.indexOf(","),c=l.substring(d+1),u=r.test(l.substring(0,d));Blob.fake?((a=new Blob).encoding=u?"base64":"URI",a.data=c,a.size=c.length):n&&(a=u?new Blob([i(c)],{type:t}):new Blob([decodeURIComponent(c)],{type:t})),e(a)}}),!o.toBlobHD&&o.toDataURLHD?o.toBlobHD=function(){s="toDataURLHD";var e=this.toBlob();return s="toDataURL",e}:o.toBlobHD=o.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},46700:(e,t,n)=>{var a={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":37524,"./fr-ca.js":37524,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function o(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=r,e.exports=o,o.id=46700}},e=>{e.O(0,[898],(()=>{return t=19675,e(e.s=t);var t}));e.O()}]);