BookStack/public/dist/app.js

63 lines
380 KiB
JavaScript
Raw Normal View History

var Ld=Object.create;var Wr=Object.defineProperty;var Fd=Object.getOwnPropertyDescriptor;var Rd=Object.getOwnPropertyNames;var Od=Object.getPrototypeOf,Pd=Object.prototype.hasOwnProperty;var Md=(r,e)=>()=>(r&&(e=r(r=0)),e);var re=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),_d=(r,e)=>{for(var t in e)Wr(r,t,{get:e[t],enumerable:!0})},Qo=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Rd(e))!Pd.call(r,o)&&o!==t&&Wr(r,o,{get:()=>e[o],enumerable:!(n=Fd(e,o))||n.enumerable});return r};var Yr=(r,e,t)=>(t=r!=null?Ld(Od(r)):{},Qo(e||!r||!r.__esModule?Wr(t,"default",{value:r,enumerable:!0}):t,r)),Nd=r=>Qo(Wr({},"__esModule",{value:!0}),r);var Zs=re((yn,Ei)=>{(function(e,t){if(typeof yn=="object"&&typeof Ei=="object")Ei.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var n=t();for(var o in n)(typeof yn=="object"?yn:e)[o]=n[o]}})(self,function(){return function(){var r={3099:function(o){o.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},6077:function(o,s,i){var a=i(111);o.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},1223:function(o,s,i){var a=i(5112),l=i(30),u=i(3070),c=a("unscopables"),f=Array.prototype;f[c]==null&&u.f(f,c,{configurable:!0,value:l(null)}),o.exports=function(h){f[c][h]=!0}},1530:function(o,s,i){"use strict";var a=i(8710).charAt;o.exports=function(l,u,c){return u+(c?a(l,u).length:1)}},5787:function(o){o.exports=function(s,i,a){if(!(s instanceof i))throw TypeError("Incorrect "+(a?a+" ":"")+"invocation");return s}},9670:function(o,s,i){var a=i(111);o.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},4019:function(o){o.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},260:function(o,s,i){"use strict";var a=i(4019),l=i(9781),u=i(7854),c=i(111),f=i(6656),h=i(648),d=i(8880),p=i(1320),m=i(3070).f,v=i(9518),b=i(7674),x=i(5112),C=i(9711),S=u.Int8Array,M=S&&S.prototype,A=u.Uint8ClampedArray,O=A&&A.prototype,k=S&&v(S),D=M&&v(M),I=Object.prototype,P=I.isPrototypeOf,N=x("toStringTag"),B=C("TYPED_ARRAY_TAG"),H=a&&!!b&&h(u.opera)!=="Opera",Z=!1,W,te={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},ne={BigInt64Array:8,BigUint64Array:8},be=function(Se){if(!c(Se))return!1;var ke=h(Se);return ke==="DataView"||f(te,ke)||f(ne,ke)},Ae=function(he){if(!c(he))return!1;var Se=h(he);return f(te,Se)||f(ne,Se)},xe=function(he){if(Ae(he))return he;throw TypeError("Target is not a typed array")},Fe=function(he){if(b){if(P.call(k,he))return he}else for(var Se in te)if(f(te,W)){var ke=u[Se];if(ke&&(he===ke||P.call(ke,he)))return he}throw TypeError("Target is not a typed array constructor")},Re=function(he,Se,ke){if(!!l){if(ke)for(var Ie in te){var Oe=u[Ie];Oe&&f(Oe.prototype,he)&&delete Oe.prototype[he]}(!D[he]||ke)&&p(D,he,ke?Se:H&&M[he]||Se)}},Ne=function(he,Se,ke){var Ie,Oe;if(!!l){if(b){if(ke)for(Ie in te)Oe=u[Ie],Oe&&f(Oe,he)&&delete Oe[he];if(!k[he]||ke)try{return p(k,he,ke?Se:H&&S[he]||Se)}catch{}else return}for(Ie in te)Oe=u[Ie],Oe&&(!Oe[he]||ke)&&p(Oe,he,Se)}};for(W in te)u[W]||(H=!1);if((!H||typeof k!="function"||k===Function.prototype)&&(k=function(){throw TypeError("Incorrect invocation")},H))for(W in te)u[W]&&b(u[W],k);if((!H||!D||D===I)&&(D=k.prototype,H))for(W in te)u[W]&&b(u[W].prototype,D);if(H&&v(O)!==D&&b(O,D),l&&!f(D,N)){Z=!0,m(D,N,{get:function(){return c(this)?this[B]:void 0}});for(W in te)u[W]&&d(u[W],B,W)}o.exports={NATIVE_ARRAY_BUFFER_VIEWS:H,TYPED_ARRAY_TAG:Z&&B,aTypedArray:xe,aTypedArrayConstructor:Fe,exportTypedArrayMethod:Re,exportTypedArrayStaticMethod:Ne,isView:be,isTypedArray:Ae,TypedArray:k,TypedArrayPrototype:D}},3331:function(o,s,i){"use strict";var a=i(7854),l=i(9781),u=i(4019),c=i(8880),f=i(2248),h=i(7293),d=i(5787),p=i(9958),m=i(7466),v=i(7067),b=i(1179),x=i(9518),C=i(7674),S=i(8006).f,M=i(3070).f,A=i(1285),O=i(8003),k=i(9909),D=k.get,I=k.set,P="ArrayBuffer",N="DataView",B="prototype",H="Wrong length",Z="Wrong in
`)&&(D="(?: "+D+")",P=" "+P,I++),S=new RegExp("^(?:"+D+")",k)),p&&(S=new RegExp("^"+D+"$(?!\\s)",k)),h&&(C=x.lastIndex),M=u.call(O?S:x,P),O?M?(M.input=M.input.slice(I),M[0]=M[0].slice(I),M.index=x.lastIndex,x.lastIndex+=M[0].length):x.lastIndex=0:h&&M&&(x.lastIndex=x.global?M.index+M[0].length:C),p&&M&&M.length>1&&c.call(M[0],S,function(){for(A=1;A<arguments.length-2;A++)arguments[A]===void 0&&(M[A]=void 0)}),M}),o.exports=f},7066:function(o,s,i){"use strict";var a=i(9670);o.exports=function(){var l=a(this),u="";return l.global&&(u+="g"),l.ignoreCase&&(u+="i"),l.multiline&&(u+="m"),l.dotAll&&(u+="s"),l.unicode&&(u+="u"),l.sticky&&(u+="y"),u}},2999:function(o,s,i){"use strict";var a=i(7293);function l(u,c){return RegExp(u,c)}s.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},4488:function(o){o.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},3505:function(o,s,i){var a=i(7854),l=i(8880);o.exports=function(u,c){try{l(a,u,c)}catch{a[u]=c}return c}},6340:function(o,s,i){"use strict";var a=i(5005),l=i(3070),u=i(5112),c=i(9781),f=u("species");o.exports=function(h){var d=a(h),p=l.f;c&&d&&!d[f]&&p(d,f,{configurable:!0,get:function(){return this}})}},8003:function(o,s,i){var a=i(3070).f,l=i(6656),u=i(5112),c=u("toStringTag");o.exports=function(f,h,d){f&&!l(f=d?f:f.prototype,c)&&a(f,c,{configurable:!0,value:h})}},6200:function(o,s,i){var a=i(2309),l=i(9711),u=a("keys");o.exports=function(c){return u[c]||(u[c]=l(c))}},5465:function(o,s,i){var a=i(7854),l=i(3505),u="__core-js_shared__",c=a[u]||l(u,{});o.exports=c},2309:function(o,s,i){var a=i(1913),l=i(5465);(o.exports=function(u,c){return l[u]||(l[u]=c!==void 0?c:{})})("versions",[]).push({version:"3.9.0",mode:a?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(o,s,i){var a=i(9670),l=i(3099),u=i(5112),c=u("species");o.exports=function(f,h){var d=a(f).constructor,p;return d===void 0||(p=a(d)[c])==null?h:l(p)}},8710:function(o,s,i){var a=i(9958),l=i(4488),u=function(c){return function(f,h){var d=String(l(f)),p=a(h),m=d.length,v,b;return p<0||p>=m?c?"":void 0:(v=d.charCodeAt(p),v<55296||v>56319||p+1===m||(b=d.charCodeAt(p+1))<56320||b>57343?c?d.charAt(p):v:c?d.slice(p,p+2):(v-55296<<10)+(b-56320)+65536)}};o.exports={codeAt:u(!1),charAt:u(!0)}},3197:function(o){"use strict";var s=2147483647,i=36,a=1,l=26,u=38,c=700,f=72,h=128,d="-",p=/[^\0-\u007E]/,m=/[.\u3002\uFF0E\uFF61]/g,v="Overflow: input needs wider integers to process",b=i-a,x=Math.floor,C=String.fromCharCode,S=function(k){for(var D=[],I=0,P=k.length;I<P;){var N=k.charCodeAt(I++);if(N>=55296&&N<=56319&&I<P){var B=k.charCodeAt(I++);(B&64512)==56320?D.push(((N&1023)<<10)+(B&1023)+65536):(D.push(N),I--)}else D.push(N)}return D},M=function(k){return k+22+75*(k<26)},A=function(k,D,I){var P=0;for(k=I?x(k/c):k>>1,k+=x(k/D);k>b*l>>1;P+=i)k=x(k/b);return x(P+(b+1)*k/(k+u))},O=function(k){var D=[];k=S(k);var I=k.length,P=h,N=0,B=f,H,Z;for(H=0;H<k.length;H++)Z=k[H],Z<128&&D.push(C(Z));var W=D.length,te=W;for(W&&D.push(d);te<I;){var ne=s;for(H=0;H<k.length;H++)Z=k[H],Z>=P&&Z<ne&&(ne=Z);var be=te+1;if(ne-P>x((s-N)/be))throw RangeError(v);for(N+=(ne-P)*be,P=ne,H=0;H<k.length;H++){if(Z=k[H],Z<P&&++N>s)throw RangeError(v);if(Z==P){for(var Ae=N,xe=i;;xe+=i){var Fe=xe<=B?a:xe>=B+l?l:xe-B;if(Ae<Fe)break;var Re=Ae-Fe,Ne=i-Fe;D.push(C(M(Fe+Re%Ne))),Ae=x(Re/Ne)}D.push(C(M(Ae))),B=A(N,be,te==W),N=0,++te}}++N,++P}return D.join("")};o.exports=function(k){var D=[],I=k.toLowerCase().replace(m,".").split("."),P,N;for(P=0;P<I.length;P++)N=I[P],D.push(p.test(N)?"xn--"+O(N):N);return D.join(".")}},6091:function(o,s,i){var a=i(7293),l=i(1361),u="\u200B\x85\u180E";o.exports=function(c){return a(function(){return!!l[c]()||u[c]()!=u||l[c].name!==c})}},3111:function(o,s,i){var a=i(4488),l=i(1361),u="["+l+"]",c=RegExp("^"+u+u+"*"),f=RegExp(u+u+"*$"),h=function(d){return function(p){var m=String(a(p));return d&1&&(m=m.replace(c,"")),d&2&&(m=m.replace(f,"")),m}};o.expor
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},8264:function(o,s,i){"use strict";var a=i(2109),l=i(7854),u=i(3331),c=i(6340),f="ArrayBuffer",h=u[f],d=l[f];a({global:!0,forced:d!==h},{ArrayBuffer:h}),c(f)},2222:function(o,s,i){"use strict";var a=i(2109),l=i(7293),u=i(3157),c=i(111),f=i(7908),h=i(7466),d=i(6135),p=i(5417),m=i(1194),v=i(5112),b=i(7392),x=v("isConcatSpreadable"),C=9007199254740991,S="Maximum allowed index exceeded",M=b>=51||!l(function(){var D=[];return D[x]=!1,D.concat()[0]!==D}),A=m("concat"),O=function(D){if(!c(D))return!1;var I=D[x];return I!==void 0?!!I:u(D)},k=!M||!A;a({target:"Array",proto:!0,forced:k},{concat:function(I){var P=f(this),N=p(P,0),B=0,H,Z,W,te,ne;for(H=-1,W=arguments.length;H<W;H++)if(ne=H===-1?P:arguments[H],O(ne)){if(te=h(ne.length),B+te>C)throw TypeError(S);for(Z=0;Z<te;Z++,B++)Z in ne&&d(N,B,ne[Z])}else{if(B>=C)throw TypeError(S);d(N,B++,ne)}return N.length=B,N}})},7327:function(o,s,i){"use strict";var a=i(2109),l=i(2092).filter,u=i(1194),c=u("filter");a({target:"Array",proto:!0,forced:!c},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},2772:function(o,s,i){"use strict";var a=i(2109),l=i(1318).indexOf,u=i(9341),c=[].indexOf,f=!!c&&1/[1].indexOf(1,-0)<0,h=u("indexOf");a({target:"Array",proto:!0,forced:f||!h},{indexOf:function(p){return f?c.apply(this,arguments)||0:l(this,p,arguments.length>1?arguments[1]:void 0)}})},6992:function(o,s,i){"use strict";var a=i(5656),l=i(1223),u=i(7497),c=i(9909),f=i(654),h="Array Iterator",d=c.set,p=c.getterFor(h);o.exports=f(Array,"Array",function(m,v){d(this,{type:h,target:a(m),index:0,kind:v})},function(){var m=p(this),v=m.target,b=m.kind,x=m.index++;return!v||x>=v.length?(m.target=void 0,{value:void 0,done:!0}):b=="keys"?{value:x,done:!1}:b=="values"?{value:v[x],done:!1}:{value:[x,v[x]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")},1249:function(o,s,i){"use strict";var a=i(2109),l=i(2092).map,u=i(1194),c=u("map");a({target:"Array",proto:!0,forced:!c},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},7042:function(o,s,i){"use strict";var a=i(2109),l=i(111),u=i(3157),c=i(1400),f=i(7466),h=i(5656),d=i(6135),p=i(5112),m=i(1194),v=m("slice"),b=p("species"),x=[].slice,C=Math.max;a({target:"Array",proto:!0,forced:!v},{slice:function(M,A){var O=h(this),k=f(O.length),D=c(M,k),I=c(A===void 0?k:A,k),P,N,B;if(u(O)&&(P=O.constructor,typeof P=="function"&&(P===Array||u(P.prototype))?P=void 0:l(P)&&(P=P[b],P===null&&(P=void 0)),P===Array||P===void 0))return x.call(O,D,I);for(N=new(P===void 0?Array:P)(C(I-D,0)),B=0;D<I;D++,B++)D in O&&d(N,B,O[D]);return N.length=B,N}})},561:function(o,s,i){"use strict";var a=i(2109),l=i(1400),u=i(9958),c=i(7466),f=i(7908),h=i(5417),d=i(6135),p=i(1194),m=p("splice"),v=Math.max,b=Math.min,x=9007199254740991,C="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!m},{splice:function(M,A){var O=f(this),k=c(O.length),D=l(M,k),I=arguments.length,P,N,B,H,Z,W;if(I===0?P=N=0:I===1?(P=0,N=k-D):(P=I-2,N=b(v(u(A),0),k-D)),k+P-N>x)throw TypeError(C);for(B=h(O,N),H=0;H<N;H++)Z=D+H,Z in O&&d(B,H,O[Z]);if(B.length=N,P<N){for(H=D;H<k-N;H++)Z=H+N,W=H+P,Z in O?O[W]=O[Z]:delete O[W];for(H=k;H>k-N+P;H--)delete O[H-1]}else if(P>N)for(H=k-N;H>D;H--)Z=H+N-1,W=H+P-1,Z in O?O[W]=O[Z]:delete O[W];for(H=0;H<P;H++)O[H+D]=arguments[H+2];return O.length=k-N+P,B}})},8309:function(o,s,i){var a=i(9781),l=i(3070).f,u=Function.prototype,c=u.toString,f=/^\s*function ([^ (]*)/,h="name";a&&!(h in u)&&l(u,h,{configurable:!0,get:function(){try{return c.call(this).match(f)[1]}catch{return""}}})},489:function(o,s,i){var a=i(2109),l=i(7293),u=i(7908),c=i(9518),f=i(8544),h=l(function(){c(1)});a({target:"Object",stat:!0,forced:h,sham:!f},{getPrototypeOf:function(p){return c(u(p))}})},1539:function(o,s,i){var a=i(1694),l=i(1320),u=i(288);a||l(Object.prototype,"toString",u,{unsafe:!0})},4916:function(o,s,i){"use strict";var a=i(2109),l=i(2261);a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,T=!1,_;return{s:function(){E=F[Symbol.iterator]()},n:function(){var z=E.next();return y=z.done,z},e:function(z){T=!0,_=z},f:function(){try{!y&&E.return!=null&&E.return()}finally{if(T)throw _}}}}function oe(F,R){if(!!F){if(typeof F=="string")return ue(F,R);var E=Object.prototype.toString.call(F).slice(8,-1);if(E==="Object"&&F.constructor&&(E=F.constructor.name),E==="Map"||E==="Set")return Array.from(F);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return ue(F,R)}}function ue(F,R){(R==null||R>F.length)&&(R=F.length);for(var E=0,L=new Array(R);E<R;E++)L[E]=F[E];return L}function fe(F,R){if(!(F instanceof R))throw new TypeError("Cannot call a class as a function")}function le(F,R){for(var E=0;E<R.length;E++){var L=R[E];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(F,L.key,L)}}function pe(F,R,E){return R&&le(F.prototype,R),E&&le(F,E),F}var J=function(){function F(){fe(this,F)}return pe(F,[{key:"on",value:function(E,L){return this._callbacks=this._callbacks||{},this._callbacks[E]||(this._callbacks[E]=[]),this._callbacks[E].push(L),this}},{key:"emit",value:function(E){this._callbacks=this._callbacks||{};for(var L=this._callbacks[E],g=arguments.length,y=new Array(g>1?g-1:0),T=1;T<g;T++)y[T-1]=arguments[T];if(L){var _=me(L,!0),U;try{for(_.s();!(U=_.n()).done;){var z=U.value;z.apply(this,y)}}catch(Y){_.e(Y)}finally{_.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+E,{args:y})),this}},{key:"makeEvent",value:function(E,L){var g={bubbles:!0,cancelable:!0,detail:L};if(typeof window.CustomEvent=="function")return new CustomEvent(E,g);var y=document.createEvent("CustomEvent");return y.initCustomEvent(E,g.bubbles,g.cancelable,g.detail),y}},{key:"off",value:function(E,L){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var g=this._callbacks[E];if(!g)return this;if(arguments.length===1)return delete this._callbacks[E],this;for(var y=0;y<g.length;y++){var T=g[y];if(T===L){g.splice(y,1);break}}return this}}]),F}(),V='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,T=!1,_;return{s:function(){E=F[Symbol.iterator]()},n:function(){var z=E.next();return y=z.done,z},e:function(z){T=!0,_=z},f:function(){try{!y&&E.return!=null&&E.return()}finally{if(T)throw _}}}}function $e(F,R){if(!!F){if(typeof F=="string")return Ge(F,R);var E=Object.prototype.toString.call(F).slice(8,-1);if(E==="Object"&&F.constructor&&(E=F.constructor.name),E==="Map"||E==="Set")return Array.from(F);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return Ge(F,R)}}function Ge(F,R){(R==null||R>F.length)&&(R=F.length);for(var E=0,L=new Array(R);E<R;E++)L[E]=F[E];return L}var st={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(R,E,L){if(L)return{dzuuid:L.file.upload.uuid,dzchunkindex:L.index,dztotalfilesize:L.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:L.file.upload.totalChunkCount,dzchunkbyteoffset:L.index*this.options.chunkSize}},accept:function(R,E){return E()},chunksUploaded:function(R,E){E()},fallback:function(){var R;this.element.className="".concat(this.element.className," dz-browser-not-supported");var E=ce(this.element.getElementsByTagName("div"),!0),L;try{for(E.s();!(L=E.n()).done;){var g=L.value;if(/(^| )dz-message($| )/.test(g.className)){R=g,g.className="dz-message";break}}}catch(T){E.e(T)}finally{E.f()}R||(R=de.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(R));var y=R.getElementsByTagName("span")[0];return y&&(y.textContent!=null?y.textContent=this.options.dictFallbackMessage:y.innerText!=null&&(y.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(R,E,L,g){var y={srcX:0,srcY:0,srcWidth:R.width,srcHeight:R.height},T=R.width/R.height;E==null&&L==null?(E=y.srcWidth,L=y.srcHeight):E==null?E=L*T:L==null&&(L=E/T),E=Math.min(E,y.srcWidth),L=Math.min(L,y.srcHeight);var _=E/L;if(y.srcWidth>E||y.srcHeight>L)if(g==="crop")T>_?(y.srcHeight=R.height,y.srcWidth=y.srcHeight*_):(y.srcWidth=R.width,y.srcHeight=y.srcWidth/_);else if(g==="contain")T>_?L=E/T:E=L*T;else throw new Error("Unknown resizeMethod '".concat(g,"'"));return y.srcX=(R.width-y.srcWidth)/2,y.srcY=(R.height-y.srcHeight)/2,y.trgWidth=E,y.trgHeight=L,y},transformFile:function(R,E){return(this.options.resizeWidth||this.options.resizeHeight)&&R.type.match(/image.*/)?this.resizeImage(R,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,E):E(R)},previewTemplate:ie,drop:function(R){return this.element.classList.remove("dz-drag-hover")},dragstart:function(R){
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,T=!1,_;return{s:function(){E=F[Symbol.iterator]()},n:function(){var z=E.next();return y=z.done,z},e:function(z){T=!0,_=z},f:function(){try{!y&&E.return!=null&&E.return()}finally{if(T)throw _}}}}function Nt(F,R){if(!!F){if(typeof F=="string")return dt(F,R);var E=Object.prototype.toString.call(F).slice(8,-1);if(E==="Object"&&F.constructor&&(E=F.constructor.name),E==="Map"||E==="Set")return Array.from(F);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return dt(F,R)}}function dt(F,R){(R==null||R>F.length)&&(R=F.length);for(var E=0,L=new Array(R);E<R;E++)L[E]=F[E];return L}function Xt(F,R){if(!(F instanceof R))throw new TypeError("Cannot call a class as a function")}function Zt(F,R){for(var E=0;E<R.length;E++){var L=R[E];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(F,L.key,L)}}function We(F,R,E){return R&&Zt(F.prototype,R),E&&Zt(F,E),F}function Pe(F,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(R&&R.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),R&&He(F,R)}function He(F,R){return He=Object.setPrototypeOf||function(L,g){return L.__proto__=g,L},He(F,R)}function ut(F){var R=Dt();return function(){var L=nt(F),g;if(R){var y=nt(this).constructor;g=Reflect.construct(L,arguments,y)}else g=L.apply(this,arguments);return It(this,g)}}function It(F,R){return R&&(Te(R)==="object"||typeof R=="function")?R:ft(F)}function ft(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function Dt(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function nt(F){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},nt(F)}var de=function(F){Pe(E,F);var R=ut(E);function E(L,g){var y;Xt(this,E),y=R.call(this);var T,_;if(y.element=L,y.version=E.version,y.clickableElements=[],y.listeners=[],y.files=[],typeof y.element=="string"&&(y.element=document.querySelector(y.element)),!y.element||y.element.nodeType==null)throw new Error("Invalid dropzone element.");if(y.element.dropzone)throw new Error("Dropzone already attached.");E.instances.push(ft(y)),y.element.dropzone=ft(y);var U=(_=E.optionsForElement(y.element))!=null?_:{};if(y.options=E.extend({},et,U,g??{}),y.options.previewTemplate=y.options.previewTemplate.replace(/\n*/g,""),y.options.forceFallback||!E.isBrowserSupported())return It(y,y.options.fallback.call(ft(y)));if(y.options.url==null&&(y.options.url=y.element.getAttribute("action")),!y.options.url)throw new Error("No URL provided.");if(y.options.acceptedFiles&&y.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(y.options.uploadMultiple&&y.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return y.options.acceptedMimeTypes&&(y.options.acceptedFiles=y.options.acceptedMimeTypes,delete y.options.acceptedMimeTypes),y.options.renameFilename!=null&&(y.options.renameFile=function(z){return y.options.renameFilename.call(ft(y),z.name,z)}),typeof y.options.method=="string"&&(y.options.method=y.options.method.toUpperCase()),(T=y.getExistingFallback())&&T.parentNode&&T.parentNode.removeChild(T),y.options.previewsContainer!==!1&&(y.options.previewsContainer?y.previewsContainer=E.getElement(y.options.previewsContainer,"previewsContainer"):y.previewsContainer=y.element),y.options.clickable&&(y.options.clickable===!0?y.clickableElements=[y.element]:y.clickableElements=E.getElements(y.options.clickable,"clickable")),y.init(),y}return We(E,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(g){return g.accepted}).map(function(g){return g})}},{key:"getRejectedFiles"
Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
Expect errors in decoding.`),E=E.replace(/[^A-Za-z0-9\+\/\=]/g,"");_=this.KEY_STR.indexOf(E.charAt(Q++)),U=this.KEY_STR.indexOf(E.charAt(Q++)),z=this.KEY_STR.indexOf(E.charAt(Q++)),Y=this.KEY_STR.indexOf(E.charAt(Q++)),g=_<<2|U>>4,y=(U&15)<<4|z>>2,T=(z&3)<<6|Y,G.push(g),z!==64&&G.push(y),Y!==64&&G.push(T),g=y=T="",_=U=z=Y="",Q<E.length;);return G}}]),F}();Er.initClass();var Bt=function(R,E){var L=!1,g=!0,y=R.document,T=y.documentElement,_=y.addEventListener?"addEventListener":"attachEvent",U=y.addEventListener?"removeEventListener":"detachEvent",z=y.addEventListener?"":"on",Y=function G(se){if(!(se.type==="readystatechange"&&y.readyState!=="complete")&&((se.type==="load"?R:y)[U](z+se.type,G,!1),!L&&(L=!0)))return E.call(R,se.type||se)},Q=function G(){try{T.doScroll("left")}catch{setTimeout(G,50);return}return Y("poll")};if(y.readyState!=="complete"){if(y.createEventObject&&T.doScroll){try{g=!R.frameElement}catch{}g&&Q()}return y[_](z+"DOMContentLoaded",Y,!1),y[_](z+"readystatechange",Y,!1),R[_](z+"load",Y,!1)}};de._autoDiscoverFunction=function(){if(de.autoDiscover)return de.discover()},Bt(window,de._autoDiscoverFunction);function Ct(F,R){return typeof F<"u"&&F!==null?R(F):void 0}function wt(F,R,E){if(typeof F<"u"&&F!==null&&typeof F[R]=="function")return E(F,R)}window.Dropzone=de;var $t=de}(),n}()})});var fa=re((mv,wf)=>{wf.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u25
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u01
`," "],If=["{","}","|","\\","^","`"].concat(Tf),Df=["'"].concat(If),Sa=["%","/","?",";","#"].concat(Df),Ca=["/","?","#"],Lf=255,Aa=/^[+a-z0-9A-Z_-]{0,63}$/,Ff=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ka={javascript:!0,"javascript:":!0},Ta={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Rf(r,e){if(r&&r instanceof En)return r;var t=new En;return t.parse(r,e),t}En.prototype.parse=function(r,e){var t,n,o,s,i,a=r;if(a=a.trim(),!e&&r.split("#").length===1){var l=kf.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var u=Cf.exec(a);if(u&&(u=u[0],o=u.toLowerCase(),this.protocol=u,a=a.substr(u.length)),(e||u||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(u&&ka[u])&&(a=a.substr(2),this.slashes=!0)),!ka[u]&&(i||u&&!Ta[u])){var c=-1;for(t=0;t<Ca.length;t++)s=a.indexOf(Ca[t]),s!==-1&&(c===-1||s<c)&&(c=s);var f,h;for(c===-1?h=a.lastIndexOf("@"):h=a.lastIndexOf("@",c),h!==-1&&(f=a.slice(0,h),a=a.slice(h+1),this.auth=f),c=-1,t=0;t<Sa.length;t++)s=a.indexOf(Sa[t]),s!==-1&&(c===-1||s<c)&&(c=s);c===-1&&(c=a.length),a[c-1]===":"&&c--;var d=a.slice(0,c);a=a.slice(c),this.parseHost(d),this.hostname=this.hostname||"";var p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){var m=this.hostname.split(/\./);for(t=0,n=m.length;t<n;t++){var v=m[t];if(!!v&&!v.match(Aa)){for(var b="",x=0,C=v.length;x<C;x++)v.charCodeAt(x)>127?b+="x":b+=v[x];if(!b.match(Aa)){var S=m.slice(0,t),M=m.slice(t+1),A=v.match(Ff);A&&(S.push(A[1]),M.unshift(A[2])),M.length&&(a=M.join(".")+a),this.hostname=S.join(".");break}}}}this.hostname.length>Lf&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var O=a.indexOf("#");O!==-1&&(this.hash=a.substr(O),a=a.slice(0,O));var k=a.indexOf("?");return k!==-1&&(this.search=a.substr(k),a=a.slice(0,k)),a&&(this.pathname=a),Ta[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};En.prototype.parseHost=function(r){var e=Af.exec(r);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),r=r.substr(0,r.length-e.length)),r&&(this.hostname=r)};Ia.exports=Rf});var Ni=re((Ev,$r)=>{"use strict";$r.exports.encode=va();$r.exports.decode=xa();$r.exports.format=Ea();$r.exports.parse=Da()});var Bi=re((Sv,La)=>{La.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/});var $i=re((Cv,Fa)=>{Fa.exports=/[\0-\x1F\x7F-\x9F]/});var Oa=re((Av,Ra)=>{Ra.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/});var Ui=re((kv,Pa)=>{Pa.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/});var Ma=re(gr=>{"use strict";gr.Any=Bi();gr.Cc=$i();gr.Cf=Oa();gr.P=bn();gr.Z=Ui()});var _e=re(rt=>{"use strict";function Of(r){return Object.prototype.toString.call(r)}function Pf(r){return Of(r)==="[object String]"}var Mf=Object.prototype.hasOwnProperty;function Na(r,e){return Mf.call(r,e)}function _f(r){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(t){if(!!t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){r[n]=t[n]})}}),r}function Nf(r,e,t){return[].concat(r.slice(0,e),t,r.slice(e+1))}function Ba(r){return!(r>=55296&&r<=57343||r>=64976&&r<=65007||(r&65535)===65535||(r&65535)===65534||r>=0&&r<=8||r===11||r>=14&&r<=31||r>=127&&r<=159||r>1114111)}function $a(r){if(r>65535){r-=65536;var e=55296+(r>>10),t=56320+(r&1023);return String.fromCharCode(e,t)}return String.fromCharCode(r)}var Ua=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,Bf=/&([a-z#][a-z0-9]{1,31});/gi,$f=new RegExp(Ua.source+"|"+Bf.source,"gi"),Uf=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,_a=_i();function zf(r,e){var t=0;return Na(_a,e)?_a[e]:e.charCodeAt(0)===35&&Uf.test(e)&&(t=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10),Ba(t))?$a(t):r}function jf(r){return r.indexOf("\\")<0?r:r.replace(Ua,"$1")}function Hf(r){return
`};Ot.fence=function(r,e,t,n,o){var s=r[e],i=s.info?oh(s.info).trim():"",a="",l="",u,c,f,h,d;return i&&(f=i.split(/(\s+)/g),a=f[0],l=f.slice(2).join("")),t.highlight?u=t.highlight(s.content,a,l)||tr(s.content):u=tr(s.content),u.indexOf("<pre")===0?u+`
`:i?(c=s.attrIndex("class"),h=s.attrs?s.attrs.slice():[],c<0?h.push(["class",t.langPrefix+a]):(h[c]=h[c].slice(),h[c][1]+=" "+t.langPrefix+a),d={attrs:h},"<pre><code"+o.renderAttrs(d)+">"+u+`</code></pre>
`):"<pre><code"+o.renderAttrs(s)+">"+u+`</code></pre>
`};Ot.image=function(r,e,t,n,o){var s=r[e];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,t,n),o.renderToken(r,e,t)};Ot.hardbreak=function(r,e,t){return t.xhtmlOut?`<br />
`:`<br>
`};Ot.softbreak=function(r,e,t){return t.breaks?t.xhtmlOut?`<br />
`:`<br>
`:`
`};Ot.text=function(r,e){return tr(r[e].content)};Ot.html_block=function(r,e){return r[e].content};Ot.html_inline=function(r,e){return r[e].content};function vr(){this.rules=ih({},Ot)}vr.prototype.renderAttrs=function(e){var t,n,o;if(!e.attrs)return"";for(o="",t=0,n=e.attrs.length;t<n;t++)o+=" "+tr(e.attrs[t][0])+'="'+tr(e.attrs[t][1])+'"';return o};vr.prototype.renderToken=function(e,t,n){var o,s="",i=!1,a=e[t];return a.hidden?"":(a.block&&a.nesting!==-1&&t&&e[t-1].hidden&&(s+=`
`),s+=(a.nesting===-1?"</":"<")+a.tag,s+=this.renderAttrs(a),a.nesting===0&&n.xhtmlOut&&(s+=" /"),a.block&&(i=!0,a.nesting===1&&t+1<e.length&&(o=e[t+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===a.tag)&&(i=!1))),s+=i?`>
`:">",s)};vr.prototype.renderInline=function(r,e,t){for(var n,o="",s=this.rules,i=0,a=r.length;i<a;i++)n=r[i].type,typeof s[n]<"u"?o+=s[n](r,i,e,t,this):o+=this.renderToken(r,i,e);return o};vr.prototype.renderInlineAsText=function(r,e,t){for(var n="",o=0,s=r.length;o<s;o++)r[o].type==="text"?n+=r[o].content:r[o].type==="image"?n+=this.renderInlineAsText(r[o].children,e,t):r[o].type==="softbreak"&&(n+=`
`);return n};vr.prototype.render=function(r,e,t){var n,o,s,i="",a=this.rules;for(n=0,o=r.length;n<o;n++)s=r[n].type,s==="inline"?i+=this.renderInline(r[n].children,e,t):typeof a[s]<"u"?i+=a[r[n].type](r,n,e,t,this):i+=this.renderToken(r,n,e,t);return i};Ka.exports=vr});var Cn=re((Pv,Za)=>{"use strict";function kt(){this.__rules__=[],this.__cache__=null}kt.prototype.__find__=function(r){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===r)return e;return-1};kt.prototype.__compile__=function(){var r=this,e=[""];r.__rules__.forEach(function(t){!t.enabled||t.alt.forEach(function(n){e.indexOf(n)<0&&e.push(n)})}),r.__cache__={},e.forEach(function(t){r.__cache__[t]=[],r.__rules__.forEach(function(n){!n.enabled||t&&n.alt.indexOf(t)<0||r.__cache__[t].push(n.fn)})})};kt.prototype.at=function(r,e,t){var n=this.__find__(r),o=t||{};if(n===-1)throw new Error("Parser rule not found: "+r);this.__rules__[n].fn=e,this.__rules__[n].alt=o.alt||[],this.__cache__=null};kt.prototype.before=function(r,e,t,n){var o=this.__find__(r),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+r);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:t,alt:s.alt||[]}),this.__cache__=null};kt.prototype.after=function(r,e,t,n){var o=this.__find__(r),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+r);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:t,alt:s.alt||[]}),this.__cache__=null};kt.prototype.push=function(r,e,t){var n=t||{};this.__rules__.push({name:r,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null};kt.prototype.enable=function(r,e){Array.isArray(r)||(r=[r]);var t=[];return r.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!0,t.push(n)},this),this.__cache__=null,t};kt.prototype.enableOnly=function(r,e){Array.isArray(r)||(r=[r]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(r,e)};kt.prototype.disable=function(r,e){Array.isArray(r)||(r=[r]);var t=[];return r.forEach(function(n){var o=this.__find__(n);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[o].enabled=!1,t.push(n)},this),this.__cache__=null,t};kt.prototype.getRules=function(r){return this.__cache__===null&&this.__compile__(),this.__cache__[r]||[]};Za.exports=kt});var Ja=re((Mv,Qa)=>{"use strict";var sh=/\r\n?|\n/g,ah=/\0/g;Qa.exports=function(e){var t;t=e.src.replace(sh,`
`),t=t.replace(ah,"\uFFFD"),e.src=t}});var tl=re((_v,el)=>{"use strict";el.exports=function(e){var t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}});var nl=re((Nv,rl)=>{"use strict";rl.exports=function(e){var t=e.tokens,n,o,s;for(o=0,s=t.length;o<s;o++)n=t[o],n.type==="inline"&&e.md.inline.parse(n.content,e.md,e.env,n.children)}});var ol=re((Bv,il)=>{"use strict";var lh=_e().arrayReplaceAt;function uh(r){return/^<a[>\s]/i.test(r)}function ch(r){return/^<\/a\s*>/i.test(r)}il.exports=function(e){var t,n,o,s,i,a,l,u,c,f,h,d,p,m,v,b,x=e.tokens,C;if(!!e.md.options.linkify){for(n=0,o=x.length;n<o;n++)if(!(x[n].type!=="inline"||!e.md.linkify.pretest(x[n].content)))for(s=x[n].children,p=0,t=s.length-1;t>=0;t--){if(a=s[t],a.type==="link_close"){for(t--;s[t].level!==a.level&&s[t].type!=="link_open";)t--;continue}if(a.type==="html_inline"&&(uh(a.content)&&p>0&&p--,ch(a.content)&&p++),!(p>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(c=a.content,C=e.md.linkify.match(c),l=[],d=a.level,h=0,C.length>0&&C[0].index===0&&t>0&&s[t-1].type==="text_special"&&(C=C.slice(1)),u=0;u<C.length;u++)m=C[u].url,v=e.md.normalizeLink(m),e.md.validateLink(v)&&(b=C[u].text,C[u].schema?C[u].schema==="mailto:"&&!/^mailto:/i.test(b)?b=e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):b=e.md.normalizeLinkText(b):b=e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),f=C[u].index,f>h&&(i=new e.Token("text","",0),i.content=c.slice(h,f),i.level=d,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",v]],i.level=d++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=b,i.level=d,l.push(i),i=new e.Token("link_close","a",-1),i.level=--d,i.markup="linkify",i.info="auto",l.push(i),h=C[u].lastIndex);h<c.length&&(i=new e.Token("text","",0),i.content=c.slice(h),i.level=d,l.push(i)),x[n].children=s=lh(s,t,l)}}}}});var ll=re(($v,al)=>{"use strict";var sl=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,dh=/\((c|tm|r)\)/i,fh=/\((c|tm|r)\)/ig,hh={c:"\xA9",r:"\xAE",tm:"\u2122"};function ph(r,e){return hh[e.toLowerCase()]}function mh(r){var e,t,n=0;for(e=r.length-1;e>=0;e--)t=r[e],t.type==="text"&&!n&&(t.content=t.content.replace(fh,ph)),t.type==="link_open"&&t.info==="auto"&&n--,t.type==="link_close"&&t.info==="auto"&&n++}function gh(r){var e,t,n=0;for(e=r.length-1;e>=0;e--)t=r[e],t.type==="text"&&!n&&sl.test(t.content)&&(t.content=t.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),t.type==="link_open"&&t.info==="auto"&&n--,t.type==="link_close"&&t.info==="auto"&&n++}al.exports=function(e){var t;if(!!e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(dh.test(e.tokens[t].content)&&mh(e.tokens[t].children),sl.test(e.tokens[t].content)&&gh(e.tokens[t].children))}});var ml=re((Uv,pl)=>{"use strict";var ul=_e().isWhiteSpace,cl=_e().isPunctChar,dl=_e().isMdAsciiPunct,vh=/['"]/,fl=/['"]/g,hl="\u2019";function An(r,e,t){return r.slice(0,e)+t+r.slice(e+1)}function yh(r,e){var t,n,o,s,i,a,l,u,c,f,h,d,p,m,v,b,x,C,S,M,A;for(S=[],t=0;t<r.length;t++){for(n=r[t],l=r[t].level,x=S.length-1;x>=0&&!(S[x].level<=l);x--);if(S.length=x+1,n.type!=="text")continue;o=n.content,i=0,a=o.length;e:for(;i<a&&(fl.lastIndex=i,s=fl.exec(o),!!s);){if(v=b=!0,i=s.index+1,C=s[0]==="'",c=32,s.index-1>=0)c=o.charCodeAt(s.index-1);else for(x=t-1;x>=0&&!(r[x].type==="softbreak"||r[x].type==="hardbreak");x--)if(!!r[x].content){c=r[x].content.charCodeAt(r[x].content.length-1);break}if(f=32,i<a)f=o.charCodeAt(i);else for(x=t+1;x<r.length&&!(r[x].type==="softbreak"||r[x].type==="hardbreak");x++)if(!!r[x].content){f=r[x].content.charCodeAt(0);break}if(h=dl(c)||cl(String.fromCharCode(c)),d=dl(f)||cl(String.fromCharCode(f)),p=ul(c),m=ul(f),m?v=!1:d&&(p||h||(v=!1)),p?b=!1:h&&(m||d||(b=!1)),f===34&&s[0]==='"'&&c>=48&&
`,i.map=[t,e.line],!0}});var Ll=re((Wv,Dl)=>{"use strict";Dl.exports=function(e,t,n,o){var s,i,a,l,u,c,f,h=!1,d=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||d+3>p||(s=e.src.charCodeAt(d),s!==126&&s!==96)||(u=d,d=e.skipChars(d,s),i=d-u,i<3)||(f=e.src.slice(u,d),a=e.src.slice(d,p),s===96&&a.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(l=t;l++,!(l>=n||(d=u=e.bMarks[l]+e.tShift[l],p=e.eMarks[l],d<p&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(d)===s&&!(e.sCount[l]-e.blkIndent>=4)&&(d=e.skipChars(d,s),!(d-u<i)&&(d=e.skipSpaces(d),!(d<p)))){h=!0;break}return i=e.sCount[t],e.line=l+(h?1:0),c=e.push("fence","code",0),c.info=a,c.content=e.getLines(t+1,l,i,!0),c.markup=f,c.map=[t,e.line],!0}});var Ol=re((Yv,Rl)=>{"use strict";var Fl=_e().isSpace;Rl.exports=function(e,t,n,o){var s,i,a,l,u,c,f,h,d,p,m,v,b,x,C,S,M,A,O,k,D=e.lineMax,I=e.bMarks[t]+e.tShift[t],P=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(I++)!==62)return!1;if(o)return!0;for(l=d=e.sCount[t]+1,e.src.charCodeAt(I)===32?(I++,l++,d++,s=!1,S=!0):e.src.charCodeAt(I)===9?(S=!0,(e.bsCount[t]+d)%4===3?(I++,l++,d++,s=!1):s=!0):S=!1,p=[e.bMarks[t]],e.bMarks[t]=I;I<P&&(i=e.src.charCodeAt(I),Fl(i));){i===9?d+=4-(d+e.bsCount[t]+(s?1:0))%4:d++;I++}for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(S?1:0),c=I>=P,x=[e.sCount[t]],e.sCount[t]=d-l,C=[e.tShift[t]],e.tShift[t]=I-e.bMarks[t],A=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",h=t+1;h<n&&(k=e.sCount[h]<e.blkIndent,I=e.bMarks[h]+e.tShift[h],P=e.eMarks[h],!(I>=P));h++){if(e.src.charCodeAt(I++)===62&&!k){for(l=d=e.sCount[h]+1,e.src.charCodeAt(I)===32?(I++,l++,d++,s=!1,S=!0):e.src.charCodeAt(I)===9?(S=!0,(e.bsCount[h]+d)%4===3?(I++,l++,d++,s=!1):s=!0):S=!1,p.push(e.bMarks[h]),e.bMarks[h]=I;I<P&&(i=e.src.charCodeAt(I),Fl(i));){i===9?d+=4-(d+e.bsCount[h]+(s?1:0))%4:d++;I++}c=I>=P,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(S?1:0),x.push(e.sCount[h]),e.sCount[h]=d-l,C.push(e.tShift[h]),e.tShift[h]=I-e.bMarks[h];continue}if(c)break;for(M=!1,a=0,u=A.length;a<u;a++)if(A[a](e,h,n,!0)){M=!0;break}if(M){e.lineMax=h,e.blkIndent!==0&&(p.push(e.bMarks[h]),m.push(e.bsCount[h]),C.push(e.tShift[h]),x.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}p.push(e.bMarks[h]),m.push(e.bsCount[h]),C.push(e.tShift[h]),x.push(e.sCount[h]),e.sCount[h]=-1}for(v=e.blkIndent,e.blkIndent=0,O=e.push("blockquote_open","blockquote",1),O.markup=">",O.map=f=[t,0],e.md.block.tokenize(e,t,h),O=e.push("blockquote_close","blockquote",-1),O.markup=">",e.lineMax=D,e.parentType=b,f[1]=e.line,a=0;a<C.length;a++)e.bMarks[a+t]=p[a],e.tShift[a+t]=C[a],e.sCount[a+t]=x[a],e.bsCount[a+t]=m[a];return e.blkIndent=v,!0}});var Ml=re((Kv,Pl)=>{"use strict";var wh=_e().isSpace;Pl.exports=function(e,t,n,o){var s,i,a,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||(s=e.src.charCodeAt(u++),s!==42&&s!==45&&s!==95))return!1;for(i=1;u<c;){if(a=e.src.charCodeAt(u++),a!==s&&!wh(a))return!1;a===s&&i++}return i<3?!1:(o||(e.line=t+1,l=e.push("hr","hr",0),l.map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(s))),!0)}});var Ul=re((Xv,$l)=>{"use strict";var Bl=_e().isSpace;function _l(r,e){var t,n,o,s;return n=r.bMarks[e]+r.tShift[e],o=r.eMarks[e],t=r.src.charCodeAt(n++),t!==42&&t!==45&&t!==43||n<o&&(s=r.src.charCodeAt(n),!Bl(s))?-1:n}function Nl(r,e){var t,n=r.bMarks[e]+r.tShift[e],o=n,s=r.eMarks[e];if(o+1>=s||(t=r.src.charCodeAt(o++),t<48||t>57))return-1;for(;;){if(o>=s)return-1;if(t=r.src.charCodeAt(o++),t>=48&&t<=57){if(o-n>=10)return-1;continue}if(t===41||t===46)break;return-1}return o<s&&(t=r.src.charCodeAt(o),!Bl(t))?-1:o}function Eh(r,e){var t,n,o=r.level+2;for(t=e+2,n=r.tokens.length-2;t<n;t++)r.tokens[t].level===o&&r.tokens[t].type==="paragraph_open"&&(r.tokens[t+2].hidden=!0,r.tokens[t].hidden=!0,t+=2)}$l.exports=function(e,t,n,o){var s,i,a,l,u,c,f,h,d,p,m,v,b,x,C,S,M,A,O,k,D,I,P,N,B,H,Z,W,te=!1,ne=!0;if(e.sCount[t]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[t]>=e.bl
`);Kr("error",e)}}var Jo={emit:Kr,emitPublic:Ud,listen:$d,success:r=>Kr("success",r),error:r=>Kr("error",r),showValidationErrors:zd};async function jd(r,e={}){return es(r,{method:"GET",params:e})}async function Hd(r,e=null){return Xr("POST",r,e)}async function qd(r,e=null){return Xr("PUT",r,e)}async function Vd(r,e=null){return Xr("PATCH",r,e)}async function Gd(r,e=null){return Xr("DELETE",r,e)}async function Xr(r,e,t=null){let n={method:r,body:t};return typeof t=="object"&&!(t instanceof FormData)&&(n.headers={"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},n.body=JSON.stringify(t)),t instanceof FormData&&r!=="post"&&(t.append("_method",r),n.method="post"),es(e,n)}async function es(r,e={}){if(r.startsWith("http")||(r=window.baseUrl(r)),e.params){let i=new URL(r);for(let a of Object.keys(e.params)){let l=e.params[a];typeof l<"u"&&l!==null&&i.searchParams.set(a,l)}r=i.toString()}let t=document.querySelector("meta[name=token]").getAttribute("content");e=Object.assign({},e,{credentials:"same-origin"}),e.headers=Object.assign({},e.headers||{},{baseURL:window.baseUrl(""),"X-CSRF-TOKEN":t});let n=await fetch(r,e),s={data:await Wd(n),headers:n.headers,redirected:n.redirected,status:n.status,statusText:n.statusText,url:n.url,original:n};if(!n.ok)throw s;return s}async function Wd(r){if(r.status===204)return null;let t=(r.headers.get("Content-Type")||"").split(";")[0].split("/").pop();return t==="javascript"||t==="json"?await r.json():await r.text()}var ts={get:jd,post:Hd,put:qd,patch:Vd,delete:Gd};var Un=class{constructor(e){this.store=new Map,this.parseTranslations()}parseTranslations(){let e=document.querySelectorAll('meta[name="translation"]');for(let t of e){let n=t.getAttribute("key"),o=t.getAttribute("value");this.store.set(n,o)}}get(e,t){let n=this.getTransText(e);return this.performReplacements(n,t)}getPlural(e,t,n){let o=this.getTransText(e);return this.parsePlural(o,t,n)}parsePlural(e,t,n){let o=e.split("|"),s=/^{([0-9]+)}/,i=/^\[([0-9]+),([0-9*]+)]/,a=null;for(let l of o){let u=l.match(s);if(u!==null&&Number(u[1])===t){a=l.replace(s,"").trim();break}let c=l.match(i);if(c!==null&&Number(c[1])<=t&&(c[2]==="*"||Number(c[2])>=t)){a=l.replace(i,"").trim();break}}return a===null&&o.length>1&&(a=t===1?o[0]:o[1]),a===null&&(a=o[0]),this.performReplacements(a,n)}getTransText(e){let t=this.store.get(e);return t===void 0&&console.warn(`Translation with key "${e}" does not exist`),t}performReplacements(e,t){if(!t)return e;let n=e.match(/:([\S]+)/g);return n===null||n.forEach(o=>{let s=o.substring(1);typeof t[s]>"u"||(e=e.replace(o,t[s]))}),e}},rs=Un;function Zr(r,e){let t=document.querySelectorAll(r);for(let n of t)e(n)}function Qr(r,e,t){for(let n of e)r.addEventListener(n,t)}function Be(r,e){Array.isArray(r)||(r=[r]);for(let t of r)t.addEventListener("click",e),t.addEventListener("keydown",n=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),e(n))})}function Jr(r,e){Array.isArray(r)||(r=[r]);let t=n=>{n.key==="Enter"&&e(n)};r.forEach(n=>n.addEventListener("keypress",t))}function qe(r,e,t,n){r.addEventListener(t,function(o){let s=o.target.closest(e);s&&n.call(s,o,s)})}function ns(r,e){let t=document.querySelectorAll(r);e=e.toLowerCase();for(let n of t)if(n.textContent.toLowerCase().includes(e))return n;return null}function Cr(r){r.innerHTML='<div class="loading-container"><div></div><div></div><div></div></div>'}function is(r){let e=r.querySelectorAll(".loading-container");for(let t of e)t.remove()}function Ar(r,e,t){let n;return function(){let o=this,s=arguments,i=function(){n=null,t||r.apply(o,s)},a=t&&!n;clearTimeout(n),n=setTimeout(i,e),a&&r.apply(o,s)}}function kr(r){if(!r)return;r.scrollIntoView({behavior:"smooth"});let e=document.getElementById("custom-styles").getAttribute("data-color-light"),t=window.getComputedStyle(r).getPropertyValue("background-color");r.style.backgroundColor=e,setTimeout(()=>{r.classList.add("selectFade"),r.style.backgroundColor=t},10),setTimeout(()=>{r.classList.remove("selectFade"),r.style.backgroundColor=""},3e3)}function ss(r){return r.replace(/&/g,"&amp;").replace(/<
`).map(c=>c.indexOf(`drawio-diagram="${o}"`)!==-1?l:c).join(`
`);this.cm.setValue(u),this.cm.setCursor(n),this.cm.focus(),bt.close()}).catch(a=>{this.handleDrawingUploadError(a)})})}handleDrawingUploadError(e){e.status===413?window.$events.emit("error",this.serverUploadLimitText):window.$events.emit("error",this.imageUploadErrorText),console.log(e)}actionFullScreen(){let e=this.elem.classList.contains("fullscreen");this.elem.classList.toggle("fullscreen",!e),document.body.classList.toggle("markdown-fullscreen",!e)}scrollToText(e){if(!e)return;let n=this.cm.getValue().split(/\r?\n/),o=n.findIndex(s=>s&&s.indexOf(e)!==-1);o!==-1&&(this.cm.scrollIntoView({line:o},200),this.cm.focus(),this.cm.setCursor({line:o,char:n[o].length}))}listenForBookStackEditorEvents(){function e({html:t,markdown:n}){return n||t}window.$events.listen("editor::replace",t=>{let n=e(t);this.cm.setValue(n)}),window.$events.listen("editor::append",t=>{let n=this.cm.getCursor("from"),o=e(t),s=this.cm.getValue()+`
`+o;this.cm.setValue(s),this.cm.setCursor(n.line,n.ch)}),window.$events.listen("editor::prepend",t=>{let n=this.cm.getCursor("from"),o=e(t),s=o+`
`+this.cm.getValue();this.cm.setValue(s);let i=o.split(`
`).length;this.cm.setCursor(n.line+i,n.ch)}),window.$events.listen("editor::insert",t=>{let n=e(t);this.cm.replaceSelection(n)}),window.$events.listen("editor::focus",()=>{this.cm.focus()})}},Fc=So;var Co=class{constructor(e){this.elem=e,this.inviteOption=e.querySelector("input[name=send_invite]"),this.inviteOption&&(this.inviteOption.addEventListener("change",this.inviteOptionChange.bind(this)),this.inviteOptionChange())}inviteOptionChange(){let e=this.inviteOption.value==="true",t=this.elem.querySelectorAll("input[type=password]");for(let o of t)o.disabled=e;let n=this.elem.querySelector("#password-input-container");n&&(n.style.display=e?"none":"block")}},Rc=Co;var Ao=class{constructor(e){this.elem=e,this.type=e.getAttribute("notification"),this.textElem=e.querySelector("span"),this.autohide=this.elem.hasAttribute("data-autohide"),this.elem.style.display="grid",window.$events.listen(this.type,t=>{this.show(t)}),e.addEventListener("click",this.hide.bind(this)),e.hasAttribute("data-show")&&setTimeout(()=>this.show(this.textElem.textContent),100),this.hideCleanup=this.hideCleanup.bind(this)}show(e=""){if(this.elem.removeEventListener("transitionend",this.hideCleanup),this.textElem.textContent=e,this.elem.style.display="grid",setTimeout(()=>{this.elem.classList.add("showing")},1),this.autohide){let t=e.split(" ").length,n=Math.max(2e3,1e3+250*t);setTimeout(this.hide.bind(this),n)}}hide(){this.elem.classList.remove("showing"),this.elem.addEventListener("transitionend",this.hideCleanup)}hideCleanup(){this.elem.style.display="none",this.elem.removeEventListener("transitionend",this.hideCleanup)}},Oc=Ao;var ko=class{setup(){this.removeButton=this.$refs.remove,this.showButton=this.$refs.show,this.input=this.$refs.input,this.setupListeners()}setupListeners(){Be(this.removeButton,()=>{this.input.value="",this.input.classList.add("hidden"),this.removeButton.classList.add("hidden"),this.showButton.classList.remove("hidden")}),Be(this.showButton,()=>{this.input.classList.remove("hidden"),this.removeButton.classList.remove("hidden"),this.showButton.classList.add("hidden")})}},Pc=ko;var To=class{setup(){this.elem=this.$el,this.pageId=Number(this.$opts.pageId),this.container=this.$refs.commentContainer,this.formContainer=this.$refs.formContainer,this.commentCountBar=this.$refs.commentCountBar,this.addButtonContainer=this.$refs.addButtonContainer,this.replyToRow=this.$refs.replyToRow,this.updatedText=this.$opts.updatedText,this.deletedText=this.$opts.deletedText,this.createdText=this.$opts.createdText,this.countText=this.$opts.countText,this.editingComment=null,this.parentId=null,this.formContainer&&(this.form=this.formContainer.querySelector("form"),this.formInput=this.form.querySelector("textarea"),this.form.addEventListener("submit",this.saveComment.bind(this))),this.elem.addEventListener("click",this.handleAction.bind(this)),this.elem.addEventListener("submit",this.updateComment.bind(this))}handleAction(e){let t=e.target.closest("[action]");if(e.target.matches('a[href^="#"]')){let s=e.target.href.split("#")[1];kr(document.querySelector("#"+s))}if(t===null)return;e.preventDefault();let n=t.getAttribute("action"),o=t.closest("[comment]");n==="edit"&&this.editComment(o),n==="closeUpdateForm"&&this.closeUpdateForm(),n==="delete"&&this.deleteComment(o),n==="addComment"&&this.showForm(),n==="hideForm"&&this.hideForm(),n==="reply"&&this.setReply(o),n==="remove-reply-to"&&this.removeReplyTo()}closeUpdateForm(){!this.editingComment||(this.editingComment.querySelector("[comment-content]").style.display="block",this.editingComment.querySelector("[comment-edit-container]").style.display="none")}editComment(e){this.hideForm(),this.editingComment&&this.closeUpdateForm(),e.querySelector("[comment-content]").style.display="none",e.querySelector("[comment-edit-container]").style.display="block";let t=e.querySelector("[comment-edit-container] textarea"),n=t.value.split(`
`).length;t.style.height=n*20+40+"px",this.editingComment=e}updateComment(e){let t=e.target;e.preventDefault();let o={text:t.querySelector("textarea").value,parent_id:this.parentId||null};this.showLoading(t);let s=this.editingComment.getAttribute("comment");window.$http.put(`/comment/${s}`,o).then(i=>{let a=document.createElement("div");a.innerHTML=i.data,this.editingComment.innerHTML=a.children[0].innerHTML,window.$events.success(this.updatedText),window.components.init(this.editingComment),this.closeUpdateForm(),this.editingComment=null}).catch(window.$events.showValidationErrors).then(()=>{this.hideLoading(t)})}deleteComment(e){let t=e.getAttribute("comment");this.showLoading(e.querySelector("[comment-content]")),window.$http.delete(`/comment/${t}`).then(n=>{e.parentNode.removeChild(e),window.$events.success(this.deletedText),this.updateCount(),this.hideForm()})}saveComment(e){e.preventDefault(),e.stopPropagation();let n={text:this.formInput.value,parent_id:this.parentId||null};this.showLoading(this.form),window.$http.post(`/comment/${this.pageId}`,n).then(o=>{let s=document.createElement("div");s.innerHTML=o.data;let i=s.children[0];this.container.appendChild(i),window.components.init(i),window.$events.success(this.createdText),this.resetForm(),this.updateCount()}).catch(o=>{window.$events.showValidationErrors(o),this.hideLoading(this.form)})}updateCount(){let e=this.container.children.length;this.elem.querySelector("[comments-title]").textContent=window.trans_plural(this.countText,e,{count:e})}resetForm(){this.formInput.value="",this.formContainer.appendChild(this.form),this.hideForm(),this.removeReplyTo(),this.hideLoading(this.form)}showForm(){this.formContainer.style.display="block",this.formContainer.parentNode.style.display="block",this.addButtonContainer.style.display="none",this.formInput.focus(),this.formInput.scrollIntoView({behavior:"smooth"})}hideForm(){this.formContainer.style.display="none",this.formContainer.parentNode.style.display="none",this.getCommentCount()>0?this.elem.appendChild(this.addButtonContainer):this.commentCountBar.appendChild(this.addButtonContainer),this.addButtonContainer.style.display="block"}getCommentCount(){return this.elem.querySelectorAll(".comment-box[comment]").length}setReply(e){this.showForm(),this.parentId=Number(e.getAttribute("local-id")),this.replyToRow.style.display="block";let t=this.replyToRow.querySelector("a");t.textContent=`#${this.parentId}`,t.href=`#comment${this.parentId}`}removeReplyTo(){this.parentId=null,this.replyToRow.style.display="none"}showLoading(e){let t=e.querySelectorAll(".form-group");for(let n of t)n.style.display="none";e.querySelector(".form-group.loading").style.display="block"}hideLoading(e){let t=e.querySelectorAll(".form-group");for(let n of t)n.style.display="block";e.querySelector(".form-group.loading").style.display="none"}},Mc=To;var Nc=Yr(_c());var Do=class{constructor(e){if(this.elem=e,this.pageId=e.getAttribute("page-display"),window.importVersioned("code").then(n=>n.highlight()),this.setupPointer(),this.setupNavHighlighting(),this.setupDetailsCodeBlockRefresh(),window.location.hash){let n=window.location.hash.replace(/\%20/g," ").substr(1);this.goToText(n)}let t=document.querySelector(".sidebar-page-nav");t&&qe(t,"a","click",(n,o)=>{n.preventDefault(),window.components["tri-layout"][0].showContent();let s=o.getAttribute("href").substr(1);this.goToText(s),window.history.pushState(null,null,"#"+s)})}goToText(e){let t=document.getElementById(e);if(Zr(".page-content [data-highlighted]",n=>{n.removeAttribute("data-highlighted"),n.style.backgroundColor=null}),t!==null)kr(t);else{let n=ns(".page-content > div > *",e);n&&kr(n)}}setupPointer(){let e=document.getElementById("pointer");if(!e)return;e=e.parentNode.removeChild(e);let t=e.querySelector("div.pointer"),n=!1,o=!1,s=!0,i="";qe(e,"input","click",(l,u)=>{u.select(),l.stopPropagation()}),Qr(e,["click","focus"],l=>{l.stopPropagation()}),qe(e,"span.icon","click",(l,u)=>{l.stopPropagation(),s=!s,u.querySelector('[data-icon="include"]').style.display=s?"none":"inline",u.querySelector('[data-
`);return i.textContent}connectedCallback(){let s=Date.now();if(this.cm)return;this.cleanChildContent();let i=this.getContent(),l=i.split(`
`).length*19.2+18+24;this.style.height=`${l}px`;let u=this.shadowRoot.querySelector(".CodeMirrorContainer"),c=f=>{this.cm=f.wysiwygView(u,i,this.getLanguage()),f.updateLayout(this.cm),setTimeout(()=>{this.style.height=null},1)};window.importVersioned("code").then(f=>{let h=Date.now()-s<20?20:0;setTimeout(()=>c(f),h)})}cleanChildContent(){let s=this.querySelector("pre");if(!!s)for(let i of s.childNodes)i.nodeName==="#text"&&i.textContent==="\uFEFF"&&i.remove()}}t.customElements.define("code-block",n)}function Om(r,e){r.ui.registry.addIcon("codeblock",'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5Z"/><path d="M11.103 15.423c.277.277.277.738 0 .922a.692.692 0 0 1-1.106 0l-4.057-3.78a.738.738 0 0 1 0-1.107l4.057-3.872c.276-.277.83-.277 1.106 0a.724.724 0 0 1 0 1.014L7.6 12.012ZM12.897 8.577c-.245-.312-.2-.675.08-.955.28-.281.727-.27 1.027.033l4.057 3.78a.738.738 0 0 1 0 1.107l-4.057 3.872c-.277.277-.83.277-1.107 0a.724.724 0 0 1 0-1.014l3.504-3.412z"/></svg>'),r.ui.registry.addButton("codeeditor",{tooltip:"Insert code block",icon:"codeblock",onAction(){r.execCommand("codeeditor")}}),r.addCommand("codeeditor",()=>{let t=r.selection.getNode(),n=t.ownerDocument;if(cd(t))dd(r,t);else{let o=r.selection.getContent({format:"text"});fd(r,o,"",(s,i)=>{let a=n.createElement("pre"),l=n.createElement("code");l.classList.add(`language-${i}`),l.innerText=s,a.append(l),r.insertContent(a.outerHTML)})}}),r.on("dblclick",t=>{let n=r.selection.getNode();cd(n)&&dd(r,n)}),r.on("PreInit",()=>{r.parser.addNodeFilter("pre",function(t){for(let n of t){let o=tinymce.html.Node.create("code-block",{contenteditable:"false"}),s=n.getAll("span");for(let i of s)i.unwrap();n.attr("style",null),n.wrap(o)}}),r.parser.addNodeFilter("code-block",function(t){for(let n of t)n.attr("contenteditable","false")}),r.serializer.addNodeFilter("code-block",function(t){for(let n of t)n.unwrap()})}),r.on("PreInit",()=>{Rm(r)})}function hd(r){return Om}var Tt=null,sr=null,or={};function Wo(r){return r.hasAttribute("drawio-diagram")}function Pm(r,e=null){Tt=r,sr=e,window.ImageManager.show(function(t){if(e){let n=e.querySelector("img");Tt.dom.setAttrib(n,"src",t.url),Tt.dom.setAttrib(e,"drawio-diagram",t.id)}else{let n=`<div drawio-diagram="${t.id}" contenteditable="false"><img src="${t.url}"></div>`;Tt.insertContent(n)}},"drawio")}function pd(r,e=null){Tt=r,sr=e,bt.show(or.drawioUrl,_m,Mm)}async function Mm(r){let e="image-"+Math.random().toString(16).slice(2),t=window.baseUrl("/loading.gif"),n=o=>{o.status===413?window.$events.emit("error",or.translations.serverUploadLimitText):window.$events.emit("error",or.translations.imageUploadErrorText),console.log(o)};if(sr){bt.close();let o=sr.querySelector("img");try{let s=await bt.upload(r,or.pageId);Tt.dom.setAttrib(o,"src",s.url),Tt.dom.setAttrib(sr,"drawio-diagram",s.id)}catch(s){n(s)}return}setTimeout(async()=>{Tt.insertContent(`<div drawio-diagram contenteditable="false"><img src="${t}" id="${e}"></div>`),bt.close();try{let o=await bt.upload(r,or.pageId);Tt.dom.setAttrib(e,"src",o.url),Tt.dom.get(e).parentNode.setAttribute("drawio-diagram",o.id)}catch(o){Tt.dom.remove(e),n(o)}},5)}function _m(){if(!sr)return Promise.resolve("");let r=sr.getAttribute("drawio-diagram");return bt.load(r)}function md(r){return or=r,function(e,t){e.addCommand("drawio",()=>{let n=e.selection.getNode();pd(e,Wo(n)?n:null)}),e.ui.registry.addIcon("diagram",`<svg width="24" height="24" fill="${or.darkMode?"#BBB":"#000000"}" xmlns="http://www.w3.org/2000/svg"><path d="M20.716 7.639V2.845h-4.794v1.598h-7.99V2.845H3.138v4.794h1.598v7.99H3.138v4.794h4.794v-1.598h7.99v1.598h4.794v-4.794h-1.598v-7.99zM4.736 4.443h1.598V6.04H4.736zm1.598 14.382H4.736v-1.598h1.598zm9.588-1.598h-7.99v-1.598H6.334v-7.99h1.598V6.04h7.99v1.598h1.598v7.99h-1.598zm3.196 1.598H17.52v-1.598h1.598zM17.52 6.04V4.443h1.598V6.04zm-4.21 7.19h-2.79l-.582 1.599H8.643l2.717-7.191h1.119l2.724 7.19h-1.302zm-2.43-1.006h2.086l-1.039-3.06z"/></svg>`),e.ui.registry.addSplitButton("drawio",{tooltip:"Insert/edit drawing",icon:
`),e=r.findIndex(n=>n.trim()==="<!-- Start: custom user content -->"),t=r.findIndex(n=>n.trim()==="<!-- End: custom user content -->");return e===-1||t===-1?"":r.slice(e+1,t).join(`
`)}function ig(r){r.serializer.addNodeFilter("br",function(e){for(let t of e)if(t.parent&&t.parent.name==="code"){let n=tinymce.html.Node.create("#text");n.value=`
`,t.replace(n)}})}function og(r){return function(e){e.on("ExecCommand change input NodeChange ObjectResized",t),id(e),ad(e,r),e.on("init",()=>{t(),od(e),window.editor=e,nd(e)}),e.on("PreInit",()=>{ig(e)});function t(){let n=e.getContent();r.darkMode&&e.contentDocument.documentElement.classList.add("dark-mode"),window.$events.emit("editor-html-change",n)}window.$events.emitPublic(r.containerElement,"editor-tinymce::setup",{editor:e}),e.ui.registry.addButton("inlinecode",{tooltip:"Inline code",icon:"sourcecode",onAction(){e.execCommand("mceToggleFormat",!1,"code")}})}}function sg(r){return`
html, body, html.dark-mode {
background: ${r.darkMode?"#222":"#fff"};
}
body {
padding-left: 15px !important;
padding-right: 15px !important;
height: initial !important;
margin:0!important;
margin-left: auto! important;
margin-right: auto !important;
overflow-y: hidden !important;
}`.trim().replace(`
`,"")}function Sd(r){window.tinymce.addI18n(r.language,r.translationMap);let e=document.querySelector('script[src*="/dist/app.js"]').getAttribute("src").split("?version=")[1];return{width:"100%",height:"100%",selector:"#html-editor",cache_suffix:"?version="+e,content_css:[window.baseUrl("/dist/styles.css")],branding:!1,skin:r.darkMode?"tinymce-5-dark":"tinymce-5",body_class:"page-content",browser_spellcheck:!0,relative_urls:!1,language:r.language,directionality:r.textDirection,remove_script_host:!1,document_base_url:window.baseUrl("/"),end_container_on_empty_block:!0,remove_trailing_brs:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*],svg[*],div[drawio-diagram],details[*],summary[*],div[*],li[class|checked]",automatic_uploads:!1,custom_elements:"doc-root,code-block",valid_children:["-div[p|h1|h2|h3|h4|h5|h6|blockquote|code-block]","+div[pre|img]","-doc-root[doc-root|#text]","-li[details]","+code-block[pre]","+doc-root[p|h1|h2|h3|h4|h5|h6|blockquote|code-block|div]"].join(","),plugins:rg(r),contextmenu:!1,toolbar:ld(r),content_style:sg(r),style_formats:Qm,style_formats_merge:!1,media_alt_source:!1,media_poster:!1,formats:Jm,table_style_by_css:!0,table_use_colgroups:!0,file_picker_types:"file image",color_map:eg,file_picker_callback:tg,paste_preprocess(t,n){n.content.indexOf('<img src="file://')!==-1&&(n.content="")},init_instance_callback(t){let n=t.getDoc().querySelector("head");n.innerHTML+=ng()},setup(t){ud(t,r),og(r)(t)}}}var Ko=class{setup(){this.elem=this.$el,this.pageId=this.$opts.pageId,this.textDirection=this.$opts.textDirection,this.isDarkMode=document.documentElement.classList.contains("dark-mode"),this.tinyMceConfig=Sd({language:this.$opts.language,containerElement:this.elem,darkMode:this.isDarkMode,textDirection:this.textDirection,drawioUrl:this.getDrawIoUrl(),pageId:Number(this.pageId),translations:{imageUploadErrorText:this.$opts.imageUploadErrorText,serverUploadLimitText:this.$opts.serverUploadLimitText},translationMap:window.editor_translations}),window.$events.emitPublic(this.elem,"editor-tinymce::pre-init",{config:this.tinyMceConfig}),window.tinymce.init(this.tinyMceConfig)}getDrawIoUrl(){let e=document.querySelector("[drawio-url]");return e?e.getAttribute("drawio-url"):""}},Cd=Ko;var Ad={"add-remove-rows":ls,"ajax-delete-row":us,"ajax-form":cs,attachments:ds,"attachments-list":fs,"auto-suggest":hs,"back-to-top":ps,"book-sort":Bs,"chapter-contents":zs,"code-editor":js,"code-highlighter":Hs,"code-textarea":qs,collapsible:Vs,"confirm-dialog":Gs,"custom-checkbox":Ws,"details-highlighter":Ys,dropdown:Ks,"dropdown-search":Xs,dropzone:Js,"editor-toolbox":ea,"entity-permissions-editor":ta,"entity-search":ra,"entity-selector":na,"entity-selector-popup":ia,"event-emit-select":oa,"expand-toggle":sa,"header-mobile-toggle":aa,"homepage-control":la,"image-manager":ua,"image-picker":ca,"list-sort-control":da,"markdown-editor":Fc,"new-user-password":Rc,notification:Oc,"optional-input":Pc,"page-comments":Mc,"page-display":Bc,"page-editor":Uc,"page-picker":zc,"permissions-table":jc,popup:Hc,"setting-app-color-picker":qc,"setting-color-picker":Vc,"shelf-sort":Gc,sidebar:Wc,"sortable-list":Yc,"submit-on-change":Kc,tabs:Xc,"tag-manager":Zc,"template-manager":Qc,"toggle-switch":Jc,"tri-layout":ed,"user-select":td,"webhook-events":rd,"wysiwyg-editor":Cd};window.components={};function ag(r,e){let t=e.querySelectorAll(`[${r}]`);for(let n=0,o=t.length;n<o;n++)kd(r,t[n])}function kd(r,e){let t=Ad[r];if(t===void 0)return;let n;try{n=new t(e),n.$el=e;let o=lg(r,e);n.$refs=o.refs,n.$manyRefs=o.manyRefs,n.$opts=ug(r,e),n.$emit=(s,i={})=>{i.from=n;let a=new CustomEvent(`${r}-${s}`,{bubbles:!0,detail:i});n.$el.dispatchEvent(a)},typeof n.setup=="function"&&n.setup()}catch(o){console.error("Failed to create component",o,r,e)}typeof window.components[r]>"u"&&(window.components[r]=[]),window.components[r].push(n),typeof e.components>"u"&&(e.components={}),e.components[r]=n}function lg(r,e){let t={},n={},o=`${r}@`,s=`[refs*="${o}"]`,i=[...e.querySelectorAll(s)];e.matches(s)&&i.push(e);for(let a of i){let l=a
2019-08-31 09:16:14 -04:00
/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
2019-08-31 09:16:14 -04:00
* Licensed MIT © Zeno Rocha
*/
/**!
* Sortable 1.15.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
//# sourceMappingURL=app.js.map