2022-02-26 07:01:44 -05:00
var rd = Object . create ; var zr = Object . defineProperty ; var nd = Object . getOwnPropertyDescriptor ; var id = Object . getOwnPropertyNames ; var od = Object . getPrototypeOf , sd = Object . prototype . hasOwnProperty ; var Ni = r => zr ( r , "__esModule" , { value : ! 0 } ) ; var ad = ( r , e ) => ( ) => ( r && ( e = r ( r = 0 ) ) , e ) ; var ie = ( r , e ) => ( ) => ( e || r ( ( e = { exports : { } } ) . exports , e ) , e . exports ) , ld = ( r , e ) => { for ( var t in e ) zr ( r , t , { get : e [ t ] , enumerable : ! 0 } ) } , _i = ( r , e , t , n ) => { if ( e && typeof e == "object" || typeof e == "function" ) for ( let o of id ( e ) ) ! sd . call ( r , o ) && ( t || o !== "default" ) && zr ( r , o , { get : ( ) => e [ o ] , enumerable : ! ( n = nd ( e , o ) ) || n . enumerable } ) ; return r } , jr = ( r , e ) => _i ( Ni ( zr ( r != null ? rd ( od ( r ) ) : { } , "default" , ! e && r && r . _ _esModule ? { get : ( ) => r . default , enumerable : ! 0 } : { value : r , enumerable : ! 0 } ) ) , r ) , ud = ( r => ( e , t ) => r && r . get ( e ) || ( t = _i ( Ni ( { } ) , e , 1 ) , r && r . set ( e , t ) , t ) ) ( typeof WeakMap != "undefined" ? new WeakMap : 0 ) ; var Xo = ie ( ( pn , Qn ) => { ( function ( e , t ) { if ( typeof pn == "object" && typeof Qn == "object" ) Qn . exports = t ( ) ; else if ( typeof define == "function" && define . amd ) define ( [ ] , t ) ; else { var n = t ( ) ; for ( var o in n ) ( typeof pn == "object" ? pn : 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 ( d ) { f [ c ] [ d ] = ! 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 ) , d = i ( 648 ) , h = i ( 8880 ) , m = i ( 1320 ) , v = i ( 3070 ) . f , y = i ( 9518 ) , w = i ( 7674 ) , x = i ( 5112 ) , D = i ( 9711 ) , I = u . Int8Array , N = I && I . prototype , S = u . Uint8ClampedArray , M = S && S . prototype , L = I && y ( I ) , R = N && y ( N ) , O = Object . prototype , F = O . isPrototypeOf , _ = x ( "toStringTag" ) , j = D ( "TYPED_ARRAY_TAG" ) , H = a && ! ! w && d ( u . opera ) !== "Opera" , te = ! 1 , W , J = { Int8Array : 1 , Uint8Array : 1 , Uint8ClampedArray : 1 , Int16Array : 2 , Uint16Array : 2 , Int32Array : 4 , Uint32Array : 4 , Float32Array : 4 , Float64Array : 8 } , re = { BigInt64Array : 8 , BigUint64Array : 8 } , be = function ( Se ) { if ( ! c ( Se ) ) return ! 1 ; var ke = d ( Se ) ; return ke === "DataView" || f ( J , ke ) || f ( re , ke ) } , Ae = function ( he ) { if ( ! c ( he ) ) return ! 1 ; var Se = d ( he ) ; return f ( J , Se ) || f ( re , Se ) } , xe = function ( he ) { if ( Ae ( he ) ) return he ; throw TypeError ( "Target is not a typed array" ) } , Fe = function ( he ) { if ( w ) { if ( F . call ( L , he ) ) return he } else for ( var Se in J ) if ( f ( J , W ) ) { var ke = u [ Se ] ; if ( ke && ( he === ke || F . 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 J ) { var Oe = u [ Ie ] ; Oe && f ( Oe . prototype , he ) && delete Oe . prototype [ he ] } ( ! R [ he ] || ke ) && m ( R , he , ke ? Se : H && N [ he ] || Se ) } } , _e = function ( he , Se , ke ) { var Ie , Oe ; if ( ! ! l ) { if ( w ) { if ( ke ) for ( Ie in J ) Oe = u [ Ie ] , Oe && f ( Oe , he ) && delete Oe [ he ] ; if ( ! L [ he ] || ke ) try { return m ( L , he , ke ? Se : H && I [ he ] || Se ) } catch { } else return } for ( Ie in J ) Oe = u [ Ie ] , Oe && ( ! Oe [ he ] || ke ) && m ( Oe , he , Se ) } } ; for ( W in J ) u [ W ] || ( H = ! 1 ) ; if ( ( ! H || typeof L != "function" || L === Function . prototype ) && ( L = function ( ) { throw TypeError ( "Incorrect invocation" ) } , H ) ) for ( W in J ) u [ W ] && w ( u [ W ] , L ) ; if ( ( ! H || ! R || R === O ) && ( R = L . prototype , H ) ) for ( W in J ) u [ W ] && w ( u [ W ] . prototype , R ) ; if ( H && y ( M ) !== R && w ( M , R ) , l && ! f ( R , _ ) ) { te = ! 0 , v ( R , _ , { get : function ( ) { return c ( this ) ? this [ j ] : void 0 } } ) ; for ( W in J ) u [ W ] && h ( u [ W ] , j , W ) } o . exports = { NATIVE _ARRAY _BUFFER _VIEWS : H , TYPED _ARRAY _TAG : te && j , aTypedArray : xe , aTypedArrayConstructor : Fe , exportTypedArrayMethod : Re , exportTypedArrayStaticMethod : _e , isView : be , isTypedArray : Ae , TypedArray : L , TypedArrayPrototype : R } } , 3331 : function ( o , s , i ) { "use strict" ; var a = i ( 7854 ) , l = i ( 9781 ) , u = i ( 4019 ) , c = i ( 8880 ) , f = i ( 2248 ) , d = i ( 7293 ) , h = i ( 5787 ) , m = i ( 9958 ) , v = i ( 7466 ) , y = i ( 7067 ) , w = i ( 1179 ) , x = i ( 9518 ) , D = i ( 7674 ) , I = i ( 8006 ) . f
` )&&(R="(?: "+R+")",F=" "+F,O++),I=new RegExp("^(?:"+R+")",L)),m&&(I=new RegExp("^"+R+" $ (?! \\ s)",L)),d&&(D=x.lastIndex),N=u.call(M?I:x,F),M?N?(N.input=N.input.slice(O),N[0]=N[0].slice(O),N.index=x.lastIndex,x.lastIndex+=N[0].length):x.lastIndex=0:d&&N&&(x.lastIndex=x.global?N.index+N[0].length:D),m&&N&&N.length>1&&c.call(N[0],I,function(){for(S=1;S<arguments.length-2;S++)arguments[S]===void 0&&(N[S]=void 0)}),N}),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(d){var h=a(d),m=l.f;c&&h&&!h[f]&&m(h,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,d,h){f&&!l(f=h?f:f.prototype,c)&&a(f,c,{configurable:!0,value:d})}},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:" \x A9 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,d){var h=a(f).constructor,m;return h===void 0||(m=a(h)[c])==null?d:l(m)}},8710:function(o,s,i){var a=i(9958),l=i(4488),u=function(c){return function(f,d){var h=String(l(f)),m=a(d),v=h.length,y,w;return m<0||m>=v?c?"":void 0:(y=h.charCodeAt(m),y<55296||y>56319||m+1===v||(w=h.charCodeAt(m+1))<56320||w>57343?c?h.charAt(m):y:c?h.slice(m,m+2):(y-55296<<10)+(w-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,d=128,h="-",m=/[^ \0 - \u 007E]/,v=/[. \u 3002 \u FF0E \u FF61]/g,y="Overflow: input needs wider integers to process",w=i-a,x=Math.floor,D=String.fromCharCode,I=function(L){for(var R=[],O=0,F=L.length;O<F;){var _=L.charCodeAt(O++);if(_>=55296&&_<=56319&&O<F){var j=L.charCodeAt(O++);(j&64512)==56320?R.push(((_&1023)<<10)+(j&1023)+65536):(R.push(_),O--)}else R.push(_)}return R},N=function(L){return L+22+75*(L<26)},S=function(L,R,O){var F=0;for(L=O?x(L/c):L>>1,L+=x(L/R);L>w*l>>1;F+=i)L=x(L/w);return x(F+(w+1)*L/(L+u))},M=function(L){var R=[];L=I(L);var O=L.length,F=d,_=0,j=f,H,te;for(H=0;H<L.length;H++)te=L[H],te<128&&R.push(D(te));var W=R.length,J=W;for(W&&R.push(h);J<O;){var re=s;for(H=0;H<L.length;H++)te=L[H],te>=F&&te<re&&(re=te);var be=J+1;if(re-F>x((s-_)/be))throw RangeError(y);for(_+=(re-F)*be,F=re,H=0;H<L.length;H++){if(te=L[H],te<F&&++_>s)throw RangeError(y);if(te==F){for(var Ae=_,xe=i;;xe+=i){var Fe=xe<=j?a:xe>=j+l?l:xe-j;if(Ae<Fe)break;var Re=Ae-Fe,_e=i-Fe;R.push(D(N(Fe+Re%_e))),Ae=x(Re/_e)}R.push(D(N(Ae))),j=S(_,be,J==W),_=0,++J}}++_,++F}return R.join("")};o.exports=function(L){var R=[],O=L.toLowerCase().replace(v,".").split("."),F,_;for(F=0;F<O.length;F++)_=O[F],R.push(m.test(_)?"xn--"+M(_):_);return R.join(".")}},6091:function(o,s,i){var a=i(7293),l=i(1361),u=" \u 200B \x 85 \u 180E";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+"* $ "),d=function(h){return function(m){var v=String(a(m));return h&1&&(v=v.replace(c,"")),h&2&&(v=v.replace(f,"")),v}};o
\ 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",d=u[f],h=l[f];a({global:!0,forced:h!==d},{ArrayBuffer:d}),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),d=i(7466),h=i(6135),m=i(5417),v=i(1194),y=i(5112),w=i(7392),x=y("isConcatSpreadable"),D=9007199254740991,I="Maximum allowed index exceeded",N=w>=51||!l(function(){var R=[];return R[x]=!1,R.concat()[0]!==R}),S=v("concat"),M=function(R){if(!c(R))return!1;var O=R[x];return O!==void 0?!!O:u(R)},L=!N||!S;a({target:"Array",proto:!0,forced:L},{concat:function(O){var F=f(this),_=m(F,0),j=0,H,te,W,J,re;for(H=-1,W=arguments.length;H<W;H++)if(re=H===-1?F:arguments[H],M(re)){if(J=d(re.length),j+J>D)throw TypeError(I);for(te=0;te<J;te++,j++)te in re&&h(_,j,re[te])}else{if(j>=D)throw TypeError(I);h(_,j++,re)}return _.length=j,_}})},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(d){return l(this,d,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,d=u("indexOf");a({target:"Array",proto:!0,forced:f||!d},{indexOf:function(m){return f?c.apply(this,arguments)||0:l(this,m,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),d="Array Iterator",h=c.set,m=c.getterFor(d);o.exports=f(Array,"Array",function(v,y){h(this,{type:d,target:a(v),index:0,kind:y})},function(){var v=m(this),y=v.target,w=v.kind,x=v.index++;return!y||x>=y.length?(v.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:x,done:!1}:w=="values"?{value:y[x],done:!1}:{value:[x,y[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(d){return l(this,d,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),d=i(5656),h=i(6135),m=i(5112),v=i(1194),y=v("slice"),w=m("species"),x=[].slice,D=Math.max;a({target:"Array",proto:!0,forced:!y},{slice:function(N,S){var M=d(this),L=f(M.length),R=c(N,L),O=c(S===void 0?L:S,L),F,_,j;if(u(M)&&(F=M.constructor,typeof F=="function"&&(F===Array||u(F.prototype))?F=void 0:l(F)&&(F=F[w],F===null&&(F=void 0)),F===Array||F===void 0))return x.call(M,R,O);for(_=new(F===void 0?Array:F)(D(O-R,0)),j=0;R<O;R++,j++)R in M&&h(_,j,M[R]);return _.length=j,_}})},561:function(o,s,i){"use strict";var a=i(2109),l=i(1400),u=i(9958),c=i(7466),f=i(7908),d=i(5417),h=i(6135),m=i(1194),v=m("splice"),y=Math.max,w=Math.min,x=9007199254740991,D="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!v},{splice:function(N,S){var M=f(this),L=c(M.length),R=l(N,L),O=arguments.length,F,_,j,H,te,W;if(O===0?F=_=0:O===1?(F=0,_=L-R):(F=O-2,_=w(y(u(S),0),L-R)),L+F-_>x)throw TypeError(D);for(j=d(M,_),H=0;H<_;H++)te=R+H,te in M&&h(j,H,M[te]);if(j.length=_,F<_){for(H=R;H<L-_;H++)te=H+_,W=H+F,te in M?M[W]=M[te]:delete M[W];for(H=L;H>L-_+F;H--)delete M[H-1]}else if(F>_)for(H=L-_;H>R;H--)te=H+_-1,W=H+F-1,te in M?M[W]=M[te]:delete M[W];for(H=0;H<F;H++)M[H+R]=arguments[H+2];return M.length=L-_+F,j}})},8309:function(o,s,i){var a=i(9781),l=i(3070).f,u=Function.prototype,c=u.toString,f=/^ \s *function ([^ (]*)/,d="name";a&&!(d in u)&&l(u,d,{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),d=l(function(){c(1)});a({target:"Object",stat:!0,forced:d,sham:!f},{getPrototypeOf:function(m){return c(u(m))}})},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}
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var g=!0,C=!1,P;return{s:function(){E=k[Symbol.iterator]()},n:function(){var U=E.next();return g=U.done,U},e:function(U){C=!0,P=U},f:function(){try{!g&&E.return!=null&&E.return()}finally{if(C)throw P}}}}function oe(k,T){if(!!k){if(typeof k=="string")return ue(k,T);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor&&(E=k.constructor.name),E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(E))return ue(k,T)}}function ue(k,T){(T==null||T>k.length)&&(T=k.length);for(var E=0,A=new Array(T);E<T;E++)A[E]=k[E];return A}function fe(k,T){if(!(k instanceof T))throw new TypeError("Cannot call a class as a function")}function le(k,T){for(var E=0;E<T.length;E++){var A=T[E];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(k,A.key,A)}}function pe(k,T,E){return T&&le(k.prototype,T),E&&le(k,E),k}var Q=function(){function k(){fe(this,k)}return pe(k,[{key:"on",value:function(E,A){return this._callbacks=this._callbacks||{},this._callbacks[E]||(this._callbacks[E]=[]),this._callbacks[E].push(A),this}},{key:"emit",value:function(E){this._callbacks=this._callbacks||{};for(var A=this._callbacks[E],p=arguments.length,g=new Array(p>1?p-1:0),C=1;C<p;C++)g[C-1]=arguments[C];if(A){var P=me(A,!0), $ ;try{for(P.s();!( $ =P.n()).done;){var U= $ .value;U.apply(this,g)}}catch(Y){P.e(Y)}finally{P.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+E,{args:g})),this}},{key:"makeEvent",value:function(E,A){var p={bubbles:!0,cancelable:!0,detail:A};if(typeof window.CustomEvent=="function")return new CustomEvent(E,p);var g=document.createEvent("CustomEvent");return g.initCustomEvent(E,p.bubbles,p.cancelable,p.detail),g}},{key:"off",value:function(E,A){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var p=this._callbacks[E];if(!p)return this;if(arguments.length===1)return delete this._callbacks[E],this;for(var g=0;g<p.length;g++){var C=p[g];if(C===A){p.splice(g,1);break}}return this}}]),k}(),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 g=!0,C=!1,P;return{s:function(){E=k[Symbol.iterator]()},n:function(){var U=E.next();return g=U.done,U},e:function(U){C=!0,P=U},f:function(){try{!g&&E.return!=null&&E.return()}finally{if(C)throw P}}}}function Be(k,T){if(!!k){if(typeof k=="string")return Ve(k,T);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor&&(E=k.constructor.name),E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(E))return Ve(k,T)}}function Ve(k,T){(T==null||T>k.length)&&(T=k.length);for(var E=0,A=new Array(T);E<T;E++)A[E]=k[E];return A}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(T,E,A){if(A)return{dzuuid:A.file.upload.uuid,dzchunkindex:A.index,dztotalfilesize:A.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:A.file.upload.totalChunkCount,dzchunkbyteoffset:A.index*this.options.chunkSize}},accept:function(T,E){return E()},chunksUploaded:function(T,E){E()},fallback:function(){var T;this.element.className="".concat(this.element.className," dz-browser-not-supported");var E=ce(this.element.getElementsByTagName("div"),!0),A;try{for(E.s();!(A=E.n()).done;){var p=A.value;if(/(^| )dz-message( $ | )/.test(p.className)){T=p,p.className="dz-message";break}}}catch(C){E.e(C)}finally{E.f()}T||(T=de.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(T));var g=T.getElementsByTagName("span")[0];return g&&(g.textContent!=null?g.textContent=this.options.dictFallbackMessage:g.innerText!=null&&(g.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(T,E,A,p){var g={srcX:0,srcY:0,srcWidth:T.width,srcHeight:T.height},C=T.width/T.height;E==null&&A==null?(E=g.srcWidth,A=g.srcHeight):E==null?E=A*C:A==null&&(A=E/C),E=Math.min(E,g.srcWidth),A=Math.min(A,g.srcHeight);var P=E/A;if(g.srcWidth>E||g.srcHeight>A)if(p==="crop")C>P?(g.srcHeight=T.height,g.srcWidth=g.srcHeight*P):(g.srcWidth=T.width,g.srcHeight=g.srcWidth/P);else if(p==="contain")C>P?A=E/C:E=A*C;else throw new Error("Unknown resizeMethod '".concat(p,"'"));return g.srcX=(T.width-g.srcWidth)/2,g.srcY=(T.height-g.srcHeight)/2,g.trgWidth=E,g.trgHeight=A,g},transformFile:function(T,E){return(this.options.resizeWidth||this.options.resizeHeight)&&T.type.match(/image.*/)?this.resizeImage(T,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,E):E(T)},previewTemplate:ne,drop:function(T){return this.element.classList.remove("dz-drag-hover")},dragstart:function(T){
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var g=!0,C=!1,P;return{s:function(){E=k[Symbol.iterator]()},n:function(){var U=E.next();return g=U.done,U},e:function(U){C=!0,P=U},f:function(){try{!g&&E.return!=null&&E.return()}finally{if(C)throw P}}}}function Mt(k,T){if(!!k){if(typeof k=="string")return dt(k,T);var E=Object.prototype.toString.call(k).slice(8,-1);if(E==="Object"&&k.constructor&&(E=k.constructor.name),E==="Map"||E==="Set")return Array.from(k);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array $ /.test(E))return dt(k,T)}}function dt(k,T){(T==null||T>k.length)&&(T=k.length);for(var E=0,A=new Array(T);E<T;E++)A[E]=k[E];return A}function Yt(k,T){if(!(k instanceof T))throw new TypeError("Cannot call a class as a function")}function Kt(k,T){for(var E=0;E<T.length;E++){var A=T[E];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(k,A.key,A)}}function Ge(k,T,E){return T&&Kt(k.prototype,T),E&&Kt(k,E),k}function Pe(k,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(T&&T.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),T&&He(k,T)}function He(k,T){return He=Object.setPrototypeOf||function(A,p){return A.__proto__=p,A},He(k,T)}function ut(k){var T=It();return function(){var A=nt(k),p;if(T){var g=nt(this).constructor;p=Reflect.construct(A,arguments,g)}else p=A.apply(this,arguments);return Tt(this,p)}}function Tt(k,T){return T&&(Te(T)==="object"||typeof T=="function")?T:ft(k)}function ft(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function It(){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(k){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},nt(k)}var de=function(k){Pe(E,k);var T=ut(E);function E(A,p){var g;Yt(this,E),g=T.call(this);var C,P;if(g.element=A,g.version=E.version,g.clickableElements=[],g.listeners=[],g.files=[],typeof g.element=="string"&&(g.element=document.querySelector(g.element)),!g.element||g.element.nodeType==null)throw new Error("Invalid dropzone element.");if(g.element.dropzone)throw new Error("Dropzone already attached.");E.instances.push(ft(g)),g.element.dropzone=ft(g);var $ =(P=E.optionsForElement(g.element))!=null?P:{};if(g.options=E.extend({},et, $ ,p??{}),g.options.previewTemplate=g.options.previewTemplate.replace(/ \n */g,""),g.options.forceFallback||!E.isBrowserSupported())return Tt(g,g.options.fallback.call(ft(g)));if(g.options.url==null&&(g.options.url=g.element.getAttribute("action")),!g.options.url)throw new Error("No URL provided.");if(g.options.acceptedFiles&&g.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(g.options.uploadMultiple&&g.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return g.options.acceptedMimeTypes&&(g.options.acceptedFiles=g.options.acceptedMimeTypes,delete g.options.acceptedMimeTypes),g.options.renameFilename!=null&&(g.options.renameFile=function(U){return g.options.renameFilename.call(ft(g),U.name,U)}),typeof g.options.method=="string"&&(g.options.method=g.options.method.toUpperCase()),(C=g.getExistingFallback())&&C.parentNode&&C.parentNode.removeChild(C),g.options.previewsContainer!==!1&&(g.options.previewsContainer?g.previewsContainer=E.getElement(g.options.previewsContainer,"previewsContainer"):g.previewsContainer=g.element),g.options.clickable&&(g.options.clickable===!0?g.clickableElements=[g.element]:g.clickableElements=E.getElements(g.options.clickable,"clickable")),g.init(),g}return Ge(E,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(p){return p.accepted}).map(function(p){return p})}},{key:"getRejectedFiles"
2020-09-20 05:33:18 -04:00
Valid base64 characters are A - Z , a - z , 0 - 9 , '+' , '/' , and '='
2022-02-26 07:01:44 -05:00
Expect errors in decoding . ` ),E=E.replace(/[^A-Za-z0-9 \+ \/ \= ]/g,"");P=this.KEY_STR.indexOf(E.charAt(Z++)), $ =this.KEY_STR.indexOf(E.charAt(Z++)),U=this.KEY_STR.indexOf(E.charAt(Z++)),Y=this.KEY_STR.indexOf(E.charAt(Z++)),p=P<<2| $ >>4,g=( $ &15)<<4|U>>2,C=(U&3)<<6|Y,G.push(p),U!==64&&G.push(g),Y!==64&&G.push(C),p=g=C="",P= $ =U=Y="",Z<E.length;);return G}}]),k}();xr.initClass();var Nt=function(T,E){var A=!1,p=!0,g=T.document,C=g.documentElement,P=g.addEventListener?"addEventListener":"attachEvent", $ =g.addEventListener?"removeEventListener":"detachEvent",U=g.addEventListener?"":"on",Y=function G(se){if(!(se.type==="readystatechange"&&g.readyState!=="complete")&&((se.type==="load"?T:g)[ $ ](U+se.type,G,!1),!A&&(A=!0)))return E.call(T,se.type||se)},Z=function G(){try{C.doScroll("left")}catch{setTimeout(G,50);return}return Y("poll")};if(g.readyState!=="complete"){if(g.createEventObject&&C.doScroll){try{p=!T.frameElement}catch{}p&&Z()}return g[P](U+"DOMContentLoaded",Y,!1),g[P](U+"readystatechange",Y,!1),T[P](U+"load",Y,!1)}};de._autoDiscoverFunction=function(){if(de.autoDiscover)return de.discover()},Nt(window,de._autoDiscoverFunction);function St(k,T){return typeof k<"u"&&k!==null?T(k):void 0}function bt(k,T,E){if(typeof k<"u"&&k!==null&&typeof k[T]=="function")return E(k,T)}window.Dropzone=de;var _t=de}(),n}()})});var Cs=ie((Jm,Wd)=>{Wd.exports={Aacute:" \x C1",aacute:" \x E1",Abreve:" \u 0102",abreve:" \u 0103",ac:" \u 223E",acd:" \u 223F",acE:" \u 223E \u 0333",Acirc:" \x C2",acirc:" \x E2",acute:" \x B4",Acy:" \u 0410",acy:" \u 0430",AElig:" \x C6",aelig:" \x E6",af:" \u 2061",Afr:" \u {1D504}",afr:" \u {1D51E}",Agrave:" \x C0",agrave:" \x E0",alefsym:" \u 2135",aleph:" \u 2135",Alpha:" \u 0391",alpha:" \u 03B1",Amacr:" \u 0100",amacr:" \u 0101",amalg:" \u 2A3F",amp:"&",AMP:"&",andand:" \u 2A55",And:" \u 2A53",and:" \u 2227",andd:" \u 2A5C",andslope:" \u 2A58",andv:" \u 2A5A",ang:" \u 2220",ange:" \u 29A4",angle:" \u 2220",angmsdaa:" \u 29A8",angmsdab:" \u 29A9",angmsdac:" \u 29AA",angmsdad:" \u 29AB",angmsdae:" \u 29AC",angmsdaf:" \u 29AD",angmsdag:" \u 29AE",angmsdah:" \u 29AF",angmsd:" \u 2221",angrt:" \u 221F",angrtvb:" \u 22BE",angrtvbd:" \u 299D",angsph:" \u 2222",angst:" \x C5",angzarr:" \u 237C",Aogon:" \u 0104",aogon:" \u 0105",Aopf:" \u {1D538}",aopf:" \u {1D552}",apacir:" \u 2A6F",ap:" \u 2248",apE:" \u 2A70",ape:" \u 224A",apid:" \u 224B",apos:"'",ApplyFunction:" \u 2061",approx:" \u 2248",approxeq:" \u 224A",Aring:" \x C5",aring:" \x E5",Ascr:" \u {1D49C}",ascr:" \u {1D4B6}",Assign:" \u 2254",ast:"*",asymp:" \u 2248",asympeq:" \u 224D",Atilde:" \x C3",atilde:" \x E3",Auml:" \x C4",auml:" \x E4",awconint:" \u 2233",awint:" \u 2A11",backcong:" \u 224C",backepsilon:" \u 03F6",backprime:" \u 2035",backsim:" \u 223D",backsimeq:" \u 22CD",Backslash:" \u 2216",Barv:" \u 2AE7",barvee:" \u 22BD",barwed:" \u 2305",Barwed:" \u 2306",barwedge:" \u 2305",bbrk:" \u 23B5",bbrktbrk:" \u 23B6",bcong:" \u 224C",Bcy:" \u 0411",bcy:" \u 0431",bdquo:" \u 201E",becaus:" \u 2235",because:" \u 2235",Because:" \u 2235",bemptyv:" \u 29B0",bepsi:" \u 03F6",bernou:" \u 212C",Bernoullis:" \u 212C",Beta:" \u 0392",beta:" \u 03B2",beth:" \u 2136",between:" \u 226C",Bfr:" \u {1D505}",bfr:" \u {1D51F}",bigcap:" \u 22C2",bigcirc:" \u 25EF",bigcup:" \u 22C3",bigodot:" \u 2A00",bigoplus:" \u 2A01",bigotimes:" \u 2A02",bigsqcup:" \u 2A06",bigstar:" \u 2605",bigtriangledown:" \u 25BD",bigtriangleup:" \u 25B3",biguplus:" \u 2A04",bigvee:" \u 22C1",bigwedge:" \u 22C0",bkarow:" \u 290D",blacklozenge:" \u 29EB",blacksquare:" \u 25AA",blacktriangle:" \u 25B4",blacktriangledown:" \u 25BE",blacktriangleleft:" \u 25C2",blacktriangleright:" \u 25B8",blank:" \u 2423",blk12:" \u 2592",blk14:" \u 2591",blk34:" \u 2593",block:" \u 2588",bne:"= \u 20E5",bnequiv:" \u 2261 \u 20E5",bNot:" \u 2AED",bnot:" \u 2310",Bopf:" \u {1D539}",bopf:" \u {1D553}",bot:" \u 22A5",bottom:" \u 22A5",bowtie:" \u 22C8",boxbox:" \u 29C9",boxdl:" \u 2510",boxdL:" \u 2555",boxDl:" \u 2556",boxDL:" \u 2557",boxdr:" \u 250C",boxdR:" \u 2552",boxDr:" \u 2553",boxDR:" \u 2554",boxh:" \u 2500",boxH:" \u 2550",boxhd:" \u 252C",boxHd:" \u 2564",boxhD:" \u 2565",boxHD:" \u 2566",boxhu:" \u 2534",boxHu:" \u 2567",boxhU:" \u 2568",boxHU:" \u 2569",boxminus:" \u 229F",boxplus:" \u 229E",boxtimes:" \u 22A0",boxul:" \u 2518",boxuL:" \u 255B",boxUl:" \u 255C",boxUL:" \u 255D",boxur:" \u 2514",boxuR:" \u 2558",boxUr:" \u 2559",boxUR:" \u 25
` ,nexist:" \u 2204",nexists:" \u 2204",Nfr:" \u {1D511}",nfr:" \u {1D52B}",ngE:" \u 2267 \u 0338",nge:" \u 2271",ngeq:" \u 2271",ngeqq:" \u 2267 \u 0338",ngeqslant:" \u 2A7E \u 0338",nges:" \u 2A7E \u 0338",nGg:" \u 22D9 \u 0338",ngsim:" \u 2275",nGt:" \u 226B \u 20D2",ngt:" \u 226F",ngtr:" \u 226F",nGtv:" \u 226B \u 0338",nharr:" \u 21AE",nhArr:" \u 21CE",nhpar:" \u 2AF2",ni:" \u 220B",nis:" \u 22FC",nisd:" \u 22FA",niv:" \u 220B",NJcy:" \u 040A",njcy:" \u 045A",nlarr:" \u 219A",nlArr:" \u 21CD",nldr:" \u 2025",nlE:" \u 2266 \u 0338",nle:" \u 2270",nleftarrow:" \u 219A",nLeftarrow:" \u 21CD",nleftrightarrow:" \u 21AE",nLeftrightarrow:" \u 21CE",nleq:" \u 2270",nleqq:" \u 2266 \u 0338",nleqslant:" \u 2A7D \u 0338",nles:" \u 2A7D \u 0338",nless:" \u 226E",nLl:" \u 22D8 \u 0338",nlsim:" \u 2274",nLt:" \u 226A \u 20D2",nlt:" \u 226E",nltri:" \u 22EA",nltrie:" \u 22EC",nLtv:" \u 226A \u 0338",nmid:" \u 2224",NoBreak:" \u 2060",NonBreakingSpace:" \x A0",nopf:" \u {1D55F}",Nopf:" \u 2115",Not:" \u 2AEC",not:" \x AC",NotCongruent:" \u 2262",NotCupCap:" \u 226D",NotDoubleVerticalBar:" \u 2226",NotElement:" \u 2209",NotEqual:" \u 2260",NotEqualTilde:" \u 2242 \u 0338",NotExists:" \u 2204",NotGreater:" \u 226F",NotGreaterEqual:" \u 2271",NotGreaterFullEqual:" \u 2267 \u 0338",NotGreaterGreater:" \u 226B \u 0338",NotGreaterLess:" \u 2279",NotGreaterSlantEqual:" \u 2A7E \u 0338",NotGreaterTilde:" \u 2275",NotHumpDownHump:" \u 224E \u 0338",NotHumpEqual:" \u 224F \u 0338",notin:" \u 2209",notindot:" \u 22F5 \u 0338",notinE:" \u 22F9 \u 0338",notinva:" \u 2209",notinvb:" \u 22F7",notinvc:" \u 22F6",NotLeftTriangleBar:" \u 29CF \u 0338",NotLeftTriangle:" \u 22EA",NotLeftTriangleEqual:" \u 22EC",NotLess:" \u 226E",NotLessEqual:" \u 2270",NotLessGreater:" \u 2278",NotLessLess:" \u 226A \u 0338",NotLessSlantEqual:" \u 2A7D \u 0338",NotLessTilde:" \u 2274",NotNestedGreaterGreater:" \u 2AA2 \u 0338",NotNestedLessLess:" \u 2AA1 \u 0338",notni:" \u 220C",notniva:" \u 220C",notnivb:" \u 22FE",notnivc:" \u 22FD",NotPrecedes:" \u 2280",NotPrecedesEqual:" \u 2AAF \u 0338",NotPrecedesSlantEqual:" \u 22E0",NotReverseElement:" \u 220C",NotRightTriangleBar:" \u 29D0 \u 0338",NotRightTriangle:" \u 22EB",NotRightTriangleEqual:" \u 22ED",NotSquareSubset:" \u 228F \u 0338",NotSquareSubsetEqual:" \u 22E2",NotSquareSuperset:" \u 2290 \u 0338",NotSquareSupersetEqual:" \u 22E3",NotSubset:" \u 2282 \u 20D2",NotSubsetEqual:" \u 2288",NotSucceeds:" \u 2281",NotSucceedsEqual:" \u 2AB0 \u 0338",NotSucceedsSlantEqual:" \u 22E1",NotSucceedsTilde:" \u 227F \u 0338",NotSuperset:" \u 2283 \u 20D2",NotSupersetEqual:" \u 2289",NotTilde:" \u 2241",NotTildeEqual:" \u 2244",NotTildeFullEqual:" \u 2247",NotTildeTilde:" \u 2249",NotVerticalBar:" \u 2224",nparallel:" \u 2226",npar:" \u 2226",nparsl:" \u 2AFD \u 20E5",npart:" \u 2202 \u 0338",npolint:" \u 2A14",npr:" \u 2280",nprcue:" \u 22E0",nprec:" \u 2280",npreceq:" \u 2AAF \u 0338",npre:" \u 2AAF \u 0338",nrarrc:" \u 2933 \u 0338",nrarr:" \u 219B",nrArr:" \u 21CF",nrarrw:" \u 219D \u 0338",nrightarrow:" \u 219B",nRightarrow:" \u 21CF",nrtri:" \u 22EB",nrtrie:" \u 22ED",nsc:" \u 2281",nsccue:" \u 22E1",nsce:" \u 2AB0 \u 0338",Nscr:" \u {1D4A9}",nscr:" \u {1D4C3}",nshortmid:" \u 2224",nshortparallel:" \u 2226",nsim:" \u 2241",nsime:" \u 2244",nsimeq:" \u 2244",nsmid:" \u 2224",nspar:" \u 2226",nsqsube:" \u 22E2",nsqsupe:" \u 22E3",nsub:" \u 2284",nsubE:" \u 2AC5 \u 0338",nsube:" \u 2288",nsubset:" \u 2282 \u 20D2",nsubseteq:" \u 2288",nsubseteqq:" \u 2AC5 \u 0338",nsucc:" \u 2281",nsucceq:" \u 2AB0 \u 0338",nsup:" \u 2285",nsupE:" \u 2AC6 \u 0338",nsupe:" \u 2289",nsupset:" \u 2283 \u 20D2",nsupseteq:" \u 2289",nsupseteqq:" \u 2AC6 \u 0338",ntgl:" \u 2279",Ntilde:" \x D1",ntilde:" \x F1",ntlg:" \u 2278",ntriangleleft:" \u 22EA",ntrianglelefteq:" \u 22EC",ntriangleright:" \u 22EB",ntrianglerighteq:" \u 22ED",Nu:" \u 039D",nu:" \u 03BD",num:"#",numero:" \u 2116",numsp:" \u 2007",nvap:" \u 224D \u 20D2",nvdash:" \u 22AC",nvDash:" \u 22AD",nVdash:" \u 22AE",nVDash:" \u 22AF",nvge:" \u 2265 \u 20D2",nvgt:"> \u 20D2",nvHarr:" \u 2904",nvinfin:" \u 29DE",nvlArr:" \u 2902",nvle:" \u 2264 \u 20D2",nvlt:"< \u 20D2",nvltrie:" \u 22B4 \u 20D2",nvrArr:" \u 2903",nvrtrie:" \u 22B5 \u 20D2",nvsim:" \u 223C \u 20D2",nwarhk:" \u 2923",nwarr:" \u 2196",nwArr:" \u 21D6",nwarrow:" \u 2196",nwnear:" \u 2927",Oacute:" \x D3",oacute:" \x F3",oast:" \u 229B",Ocirc:" \x D4",ocirc:" \x F4",ocir:" \u 229A",Ocy:" \u 041E",ocy:" \u 043E",odash:" \u 229D",Odblac:" \u 0150",odblac:" \u 0151",odiv:" \u 2A38",odot:" \u 2299",odsold:" \u 29BC",OElig:" \u 0152",oelig:" \u 01
` ," "],ef=["{","}","|"," \\ ","^"," ` "].concat(Jd),tf=[" '"].concat(ef),Ms=["%","/","?",";","#"].concat(tf),Ns=["/","?","#"],rf=255,_s=/^[+a-z0-9A-Z_-]{0,63}$/,nf=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Bs={javascript:!0,"javascript:":!0},$s={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function of(r,e){if(r&&r instanceof yn)return r;var t=new yn;return t.parse(r,e),t}yn.prototype.parse=function(r,e){var t,n,o,s,i,a=r;if(a=a.trim(),!e&&r.split("#").length===1){var l=Qd.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var u=Xd.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&&Bs[u])&&(a=a.substr(2),this.slashes=!0)),!Bs[u]&&(i||u&&!$s[u])){var c=-1;for(t=0;t<Ns.length;t++)s=a.indexOf(Ns[t]),s!==-1&&(c===-1||s<c)&&(c=s);var f,d;for(c===-1?d=a.lastIndexOf("@"):d=a.lastIndexOf("@",c),d!==-1&&(f=a.slice(0,d),a=a.slice(d+1),this.auth=f),c=-1,t=0;t<Ms.length;t++)s=a.indexOf(Ms[t]),s!==-1&&(c===-1||s<c)&&(c=s);c===-1&&(c=a.length),a[c-1]===":"&&c--;var h=a.slice(0,c);a=a.slice(c),this.parseHost(h),this.hostname=this.hostname||"";var m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){var v=this.hostname.split(/\./);for(t=0,n=v.length;t<n;t++){var y=v[t];if(!!y&&!y.match(_s)){for(var w="",x=0,D=y.length;x<D;x++)y.charCodeAt(x)>127?w+="x":w+=y[x];if(!w.match(_s)){var I=v.slice(0,t),N=v.slice(t+1),S=y.match(nf);S&&(I.push(S[1]),N.unshift(S[2])),N.length&&(a=N.join(".")+a),this.hostname=I.join(".");break}}}}this.hostname.length>rf&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var M=a.indexOf("#");M!==-1&&(this.hash=a.substr(M),a=a.slice(0,M));var L=a.indexOf("?");return L!==-1&&(this.search=a.substr(L),a=a.slice(0,L)),a&&(this.pathname=a),$s[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};yn.prototype.parseHost=function(r){var e=Zd.exec(r);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),r=r.substr(0,r.length-e.length)),r&&(this.hostname=r)};Us.exports=of});var ei=ie((sg,Mr)=>{"use strict";Mr.exports.encode=Ds();Mr.exports.decode=Rs();Mr.exports.format=Ps();Mr.exports.parse=zs()});var ti=ie((ag,js)=>{js.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/});var ri=ie((lg,Hs)=>{Hs.exports=/[\0-\x1F\x7F-\x9F]/});var Vs=ie((ug,qs)=>{qs.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 ni=ie((cg,Gs)=>{Gs.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/});var Ws=ie(pr=>{"use strict";pr.Any=ti();pr.Cc=ri();pr.Cf=Vs();pr.P=mn();pr.Z=ni()});var Ne=ie(rt=>{"use strict";function sf(r){return Object.prototype.toString.call(r)}function af(r){return sf(r)==="[object String]"}var lf=Object.prototype.hasOwnProperty;function Ks(r,e){return lf.call(r,e)}function uf(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 cf(r,e,t){return[].concat(r.slice(0,e),t,r.slice(e+1))}function Xs(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 Zs(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 Qs=/\\([!"#$%&' ( ) * + , \ - . \ / : ; <= > ? @ [ \ \ \ ] ^ _ ` {|}~])/g,df=/&([a-z#][a-z0-9]{1,31});/gi,ff=new RegExp(Qs.source+"|"+df.source,"gi"),hf=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,Ys=Jn();function pf(r,e){var t=0;return Ks(Ys,e)?Ys[e]:e.charCodeAt(0)===35&&hf.test(e)&&(t=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10),Xs(t))?Zs(t):r}function mf(r){return r.indexOf(" \\ ")<0?r:r.replace(Qs," $ 1")}function gf(r){return
` };Rt.fence=function(r,e,t,n,o){var s=r[e],i=s.info?Rf(s.info).trim():"",a="",l="",u,c,f,d,h;return i&&(f=i.split(/( \s +)/g),a=f[0],l=f.slice(2).join("")),t.highlight?u=t.highlight(s.content,a,l)||Jt(s.content):u=Jt(s.content),u.indexOf("<pre")===0?u+ `
` :i?(c=s.attrIndex("class"),d=s.attrs?s.attrs.slice():[],c<0?d.push(["class",t.langPrefix+a]):(d[c]=d[c].slice(),d[c][1]+=" "+t.langPrefix+a),h={attrs:d},"<pre><code"+o.renderAttrs(h)+">"+u+ ` < / c o d e > < / p r e >
` ):"<pre><code"+o.renderAttrs(s)+">"+u+ ` < / c o d e > < / p r e >
` };Rt.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)};Rt.hardbreak=function(r,e,t){return t.xhtmlOut? ` < br / >
2020-09-20 05:33:18 -04:00
` : ` < br >
2022-02-26 07:01:44 -05:00
` };Rt.softbreak=function(r,e,t){return t.breaks?t.xhtmlOut? ` < br / >
2020-09-20 05:33:18 -04:00
` : ` < br >
` : `
2022-02-26 07:01:44 -05:00
` };Rt.text=function(r,e){return Jt(r[e].content)};Rt.html_block=function(r,e){return r[e].content};Rt.html_inline=function(r,e){return r[e].content};function mr(){this.rules=Ff({},Rt)}mr.prototype.renderAttrs=function(e){var t,n,o;if(!e.attrs)return"";for(o="",t=0,n=e.attrs.length;t<n;t++)o+=" "+Jt(e.attrs[t][0])+'="'+Jt(e.attrs[t][1])+'"';return o};mr.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)};mr.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};mr.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};mr.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};aa.exports=mr});var xn=ie((yg,ua)=>{"use strict";function At(){this.__rules__=[],this.__cache__=null}At.prototype.__find__=function(r){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===r)return e;return-1};At.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)})})};At.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};At.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};At.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};At.prototype.push=function(r,e,t){var n=t||{};this.__rules__.push({name:r,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null};At.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};At.prototype.enableOnly=function(r,e){Array.isArray(r)||(r=[r]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(r,e)};At.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};At.prototype.getRules=function(r){return this.__cache__===null&&this.__compile__(),this.__cache__[r]||[]};ua.exports=At});var da=ie((bg,ca)=>{"use strict";var Of=/ \r \n ?| \n /g,Pf=/ \0 /g;ca.exports=function(e){var t;t=e.src.replace(Of, `
` ),t=t.replace(Pf," \u FFFD"),e.src=t}});var ha=ie((xg,fa)=>{"use strict";fa.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 ma=ie((wg,pa)=>{"use strict";pa.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 va=ie((Eg,ga)=>{"use strict";var Mf=Ne().arrayReplaceAt;function Nf(r){return/^<a[> \s ]/i.test(r)}function _f(r){return/^< \/ a \s *>/i.test(r)}ga.exports=function(e){var t,n,o,s,i,a,l,u,c,f,d,h,m,v,y,w,x=e.tokens,D;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,m=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"&&(Nf(a.content)&&m>0&&m--,_f(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(c=a.content,D=e.md.linkify.match(c),l=[],h=a.level,d=0,u=0;u<D.length;u++)v=D[u].url,y=e.md.normalizeLink(v),!!e.md.validateLink(y)&&(w=D[u].text,D[u].schema?D[u].schema==="mailto:"&&!/^mailto:/i.test(w)?w=e.md.normalizeLinkText("mailto:"+w).replace(/^mailto:/,""):w=e.md.normalizeLinkText(w):w=e.md.normalizeLinkText("http://"+w).replace(/^http: \/ \/ /,""),f=D[u].index,f>d&&(i=new e.Token("text","",0),i.content=c.slice(d,f),i.level=h,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",y]],i.level=h++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=w,i.level=h,l.push(i),i=new e.Token("link_close","a",-1),i.level=--h,i.markup="linkify",i.info="auto",l.push(i),d=D[u].lastIndex);d<c.length&&(i=new e.Token("text","",0),i.content=c.slice(d),i.level=h,l.push(i)),x[n].children=s=Mf(s,t,l)}}}}});var xa=ie((Sg,ba)=>{"use strict";var ya=/ \+ -| \. \. | \? \? \? \? |!!!!|,,|--/,Bf=/ \( (c|tm|r|p) \) /i, $ f=/ \( (c|tm|r|p) \) /ig,Uf={c:" \x A9",r:" \x AE",p:" \x A7",tm:" \u 2122"};function zf(r,e){return Uf[e.toLowerCase()]}function jf(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( $ f,zf)),t.type==="link_open"&&t.info==="auto"&&n--,t.type==="link_close"&&t.info==="auto"&&n++}function Hf(r){var e,t,n=0;for(e=r.length-1;e>=0;e--)t=r[e],t.type==="text"&&!n&&ya.test(t.content)&&(t.content=t.content.replace(/ \+ -/g," \x B1").replace(/ \. {2,}/g," \u 2026").replace(/([?!])…/g," $ 1..").replace(/([?!]){4,}/g," $ 1 $ 1 $ 1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]| $ )/mg," $ 1 \u 2014").replace(/(^| \s )--(?= \s | $ )/mg," $ 1 \u 2013").replace(/(^|[^- \s ])--(?=[^- \s ]| $ )/mg," $ 1 \u 2013")),t.type==="link_open"&&t.info==="auto"&&n--,t.type==="link_close"&&t.info==="auto"&&n++}ba.exports=function(e){var t;if(!!e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Bf.test(e.tokens[t].content)&&jf(e.tokens[t].children),ya.test(e.tokens[t].content)&&Hf(e.tokens[t].children))}});var Ta=ie((Cg,ka)=>{"use strict";var wa=Ne().isWhiteSpace,Ea=Ne().isPunctChar,Sa=Ne().isMdAsciiPunct,qf=/['"]/,Ca=/['"]/g,Aa=" \u 2019";function wn(r,e,t){return r.substr(0,e)+t+r.substr(e+1)}function Vf(r,e){var t,n,o,s,i,a,l,u,c,f,d,h,m,v,y,w,x,D,I,N,S;for(I=[],t=0;t<r.length;t++){for(n=r[t],l=r[t].level,x=I.length-1;x>=0&&!(I[x].level<=l);x--);if(I.length=x+1,n.type!=="text")continue;o=n.content,i=0,a=o.length;e:for(;i<a&&(Ca.lastIndex=i,s=Ca.exec(o),!!s);){if(y=w=!0,i=s.index+1,D=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(d=Sa(c)||Ea(String.fromCharCode(c)),h=Sa(f)||Ea(String.fromCharCode(f)),m=wa(c),v=wa(f),v?y=!1:h&&(m||d||(y=!1)),m?w=!1:d&&(v||h||(w=!1)),f===34&&s[0]==='"'&&c>=48&&c<=57&&(w=y=!1),y&&w&&(y=d,w=h),!y&&!w){D&&(n.content=wn(n.co
` ,i.map=[t,e.line],!0}});var Ua=ie((Lg, $ a)=>{"use strict"; $ a.exports=function(e,t,n,o){var s,i,a,l,u,c,f,d=!1,h=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||h+3>m||(s=e.src.charCodeAt(h),s!==126&&s!==96)||(u=h,h=e.skipChars(h,s),i=h-u,i<3)||(f=e.src.slice(u,h),a=e.src.slice(h,m),s===96&&a.indexOf(String.fromCharCode(s))>=0))return!1;if(o)return!0;for(l=t;l++,!(l>=n||(h=u=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],h<m&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(h)===s&&!(e.sCount[l]-e.blkIndent>=4)&&(h=e.skipChars(h,s),!(h-u<i)&&(h=e.skipSpaces(h),!(h<m)))){d=!0;break}return i=e.sCount[t],e.line=l+(d?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 Ha=ie((Fg,ja)=>{"use strict";var za=Ne().isSpace;ja.exports=function(e,t,n,o){var s,i,a,l,u,c,f,d,h,m,v,y,w,x,D,I,N,S,M,L,R=e.lineMax,O=e.bMarks[t]+e.tShift[t],F=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(O++)!==62)return!1;if(o)return!0;for(l=h=e.sCount[t]+1,e.src.charCodeAt(O)===32?(O++,l++,h++,s=!1,I=!0):e.src.charCodeAt(O)===9?(I=!0,(e.bsCount[t]+h)%4===3?(O++,l++,h++,s=!1):s=!0):I=!1,m=[e.bMarks[t]],e.bMarks[t]=O;O<F&&(i=e.src.charCodeAt(O),za(i));){i===9?h+=4-(h+e.bsCount[t]+(s?1:0))%4:h++;O++}for(v=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(I?1:0),c=O>=F,x=[e.sCount[t]],e.sCount[t]=h-l,D=[e.tShift[t]],e.tShift[t]=O-e.bMarks[t],S=e.md.block.ruler.getRules("blockquote"),w=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(L=e.sCount[d]<e.blkIndent,O=e.bMarks[d]+e.tShift[d],F=e.eMarks[d],!(O>=F));d++){if(e.src.charCodeAt(O++)===62&&!L){for(l=h=e.sCount[d]+1,e.src.charCodeAt(O)===32?(O++,l++,h++,s=!1,I=!0):e.src.charCodeAt(O)===9?(I=!0,(e.bsCount[d]+h)%4===3?(O++,l++,h++,s=!1):s=!0):I=!1,m.push(e.bMarks[d]),e.bMarks[d]=O;O<F&&(i=e.src.charCodeAt(O),za(i));){i===9?h+=4-(h+e.bsCount[d]+(s?1:0))%4:h++;O++}c=O>=F,v.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(I?1:0),x.push(e.sCount[d]),e.sCount[d]=h-l,D.push(e.tShift[d]),e.tShift[d]=O-e.bMarks[d];continue}if(c)break;for(N=!1,a=0,u=S.length;a<u;a++)if(S[a](e,d,n,!0)){N=!0;break}if(N){e.lineMax=d,e.blkIndent!==0&&(m.push(e.bMarks[d]),v.push(e.bsCount[d]),D.push(e.tShift[d]),x.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}m.push(e.bMarks[d]),v.push(e.bsCount[d]),D.push(e.tShift[d]),x.push(e.sCount[d]),e.sCount[d]=-1}for(y=e.blkIndent,e.blkIndent=0,M=e.push("blockquote_open","blockquote",1),M.markup=">",M.map=f=[t,0],e.md.block.tokenize(e,t,d),M=e.push("blockquote_close","blockquote",-1),M.markup=">",e.lineMax=R,e.parentType=w,f[1]=e.line,a=0;a<D.length;a++)e.bMarks[a+t]=m[a],e.tShift[a+t]=D[a],e.sCount[a+t]=x[a],e.bsCount[a+t]=v[a];return e.blkIndent=y,!0}});var Va=ie((Rg,qa)=>{"use strict";var Yf=Ne().isSpace;qa.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&&!Yf(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 Xa=ie((Og,Ka)=>{"use strict";var Ya=Ne().isSpace;function Ga(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),!Ya(s))?-1:n}function Wa(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),!Ya(t))?-1:o}function Kf(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)}Ka.exports=function(e,t,n,o){var s,i,a,l,u,c,f,d,h,m,v,y,w,x,D,I,N,S,M,L,R,O,F,_,j,H,te,W,J=!1,re=!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
2022-02-27 12:46:06 -05:00
` );Hr("error",e)}}var Bi={emit:Hr,emitPublic:fd,listen:dd,success:r=>Hr("success",r),error:r=>Hr("error",r),showValidationErrors:hd};async function pd(r,e={}){return $ i(r,{method:"GET",params:e})}async function md(r,e=null){return qr("POST",r,e)}async function gd(r,e=null){return qr("PUT",r,e)}async function vd(r,e=null){return qr("PATCH",r,e)}async function yd(r,e=null){return qr("DELETE",r,e)}async function qr(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"), $ i(e,n)}async function $ i(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 bd(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 bd(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 Ui={get:pd,post:md,put:gd,patch:vd,delete:yd};var zi=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}},ji=zi;function Vr(r,e){let t=document.querySelectorAll(r);for(let n of t)e(n)}function Gr(r,e,t){for(let n of e)r.addEventListener(n,t)}function Ue(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 Wr(r,e){Array.isArray(r)||(r=[r]);let t=n=>{n.key==="Enter"&&e(n)};r.forEach(n=>n.addEventListener("keypress",t))}function We(r,e,t,n){r.addEventListener(t,function(o){let s=o.target.closest(e);s&&n.call(s,o,s)})}function Hi(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 Er(r){r.innerHTML='<div class="loading-container"><div></div><div></div><div></div></div>'}function qi(r){let e=r.querySelectorAll(".loading-container");for(let t of e)t.remove()}function Sr(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 Cr(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 Gi(r){return r.replace(/&/g,"&").replace(/<
2022-02-26 07:01:44 -05:00
` ).map(c=>c.indexOf( ` drawio - diagram = "${o}" ` )!==-1?l:c).join( `
` );this.cm.setValue(u),this.cm.setCursor(n),this.cm.focus(),vt.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()})}}, $ u=Bu;var Uu=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")}},zu=Uu;var ju=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)}},Hu=ju;var qu=class{setup(){this.removeButton=this. $ refs.remove,this.showButton=this. $ refs.show,this.input=this. $ refs.input,this.setupListeners()}setupListeners(){Ue(this.removeButton,()=>{this.input.value="",this.input.classList.add("hidden"),this.removeButton.classList.add("hidden"),this.showButton.classList.remove("hidden")}),Ue(this.showButton,()=>{this.input.classList.remove("hidden"),this.removeButton.classList.remove("hidden"),this.showButton.classList.add("hidden")})}},Vu=qu;var Gu=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];Cr(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"}},Wu=Gu;var Ku=jr(Yu());var Xu=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&&We(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(Vr(".page-content [data-highlighted]",n=>{n.removeAttribute("data-highlighted"),n.style.backgroundColor=null}),t!==null)Cr(t);else{let n=Hi(".page-content > div > *",e);n&&Cr(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="";We(e,"input","click",(l,u)=>{u.select(),l.stopPropagation()}),Gr(e,["click","focus"],l=>{l.stopPropagation()}),We(e,"span.icon","click",(l,u)=>{l.stopPropagation(),s=!s,u.querySelector('[data-icon="include"]').style.display=s?"none":"inline",u.querySelector('[data-
2022-02-27 12:46:06 -05:00
` ).replace(/ \u feff/g,""),i.textContent}connectedCallback(){let s=Date.now();if(this.cm)return;this.cleanChildContent();let i=this.shadowRoot.querySelector(".CodeMirrorContainer"),a=l=>{this.cm=l.wysiwygView(i,this.getContent(),this.getLanguage()),l.updateLayout(this.cm)};window.importVersioned("code").then(l=>{let u=Date.now()-s<20?20:0;setTimeout(()=>a(l),u)})}cleanChildContent(){let s=this.querySelector("pre");if(!!s)for(let i of s.childNodes)i.nodeName==="#text"&&i.textContent===" \u FEFF"&&i.remove()}}t.customElements.define("code-block",n)}function Tp(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(Bc(t)) $ c(r,t);else{let o=r.selection.getContent({format:"text"});Uc(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();Bc(n)&& $ c(r,n)}),r.on("PreInit",()=>{r.parser.addNodeFilter("pre",function(t){for(let n of t){let o=new 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",()=>{kp(r)})}function zc(r){return Tp}var kt=null,ir=null,nr={};function Ri(r){return r.hasAttribute("drawio-diagram")}function Ip(r,e=null){kt=r,ir=e,window.ImageManager.show(function(t){if(e){let n=e.querySelector("img");kt.dom.setAttrib(n,"src",t.url),kt.dom.setAttrib(e,"drawio-diagram",t.id)}else{let n= ` < div drawio - diagram = "${t.id}" contenteditable = "false" > < img src = "${t.url}" > < / d i v > ` ; k t . i n s e r t C o n t e n t ( n ) } } , " d r a w i o " ) } f u n c t i o n j c ( r , e = n u l l ) { k t = r , i r = e , v t . s h o w ( n r . d r a w i o U r l , L p , D p ) } a s y n c f u n c t i o n D p ( r ) { l e t e = " i m a g e - " + M a t h . r a n d o m ( ) . t o S t r i n g ( 1 6 ) . s l i c e ( 2 ) , t = w i n d o w . b a s e U r l ( " / l o a d i n g . g i f " ) , n = o = > { o . s t a t u s = = = 4 1 3 ? w i n d o w . $ e v e n t s . e m i t ( " e r r o r " , n r . t r a n s l a t i o n s . s e r v e r U p l o a d L i m i t T e x t ) : w i n d o w . $ e v e n t s . e m i t ( " e r r o r " , n r . t r a n s l a t i o n s . i m a g e U p l o a d E r r o r T e x t ) , c o n s o l e . l o g ( o ) } ; i f ( i r ) { v t . c l o s e ( ) ; l e t o = i r . q u e r y S e l e c t o r ( " i m g " ) ; t r y { l e t s = a w a i t v t . u p l o a d ( r , n r . p a g e I d ) ; k t . d o m . s e t A t t r i b ( o , " s r c " , s . u r l ) , k t . d o m . s e t A t t r i b ( i r , " d r a w i o - d i a g r a m " , s . i d ) } c a t c h ( s ) { n ( s ) } r e t u r n } s e t T i m e o u t ( a s y n c ( ) = > { k t . i n s e r t C o n t e n t ( ` < d i v d r a w i o - d i a g r a m c o n t e n t e d i t a b l e = " f a l s e " > < i m g s r c = " $ { t } " i d = " $ { e } " > < / d i v > ` ) , v t . c l o s e ( ) ; t r y { l e t o = a w a i t v t . u p l o a d ( r , n r . p a g e I d ) ; k t . d o m . s e t A t t r i b ( e , " s r c " , o . u r l ) , k t . d o m . g e t ( e ) . p a r e n t N o d e . s e t A t t r i b u t e ( " d r a w i o - d i a g r a m " , o . i d ) } c a t c h ( o ) { k t . d o m . r e m o v e ( e ) , n ( o ) } } , 5 ) } f u n c t i o n L p ( ) { i f ( ! i r ) r e t u r n P r o m i s e . r e s o l v e ( " " ) ; l e t r = i r . g e t A t t r i b u t e ( " d r a w i o - d i a g r a m " ) ; r e t u r n v t . l o a d ( r ) } f u n c t i o n H c ( r ) { r e t u r n n r = r , f u n c t i o n ( e , t ) { e . a d d C o m m a n d ( " d r a w i o " , ( ) = > { l e t n = e . s e l e c t i o n . g e t N o d e ( ) ; j c ( e , R i ( n ) ? n : n u l l ) } ) , e . u i . r e g i s t r y . a d d I c o n ( " d i a g r a m " , ` < s v g w i d t h = " 2 4 " h e i g h t = " 2 4 " f i l l = " $ { n r . d a r k M o d e ? " # B B B " : " # 0 0 0 0 0 0 " } " x m l n s = " h t t p : / / w w w . w 3 . o r g / 2 0 0 0 / s v g " > < p a t h d = " M 2 0 . 7 1 6 7 . 6 3 9 V 2 . 8 4 5 h - 4 . 7 9 4 v 1 . 5 9 8 h - 7 . 9 9 V 2 . 8 4 5 H 3 . 1 3 8 v 4 . 7 9 4 h 1 . 5 9 8 v 7 . 9 9 H 3 . 1 3 8 v 4 . 7 9 4 h 4 . 7 9 4 v - 1 . 5 9 8 h 7 . 9 9 v 1 . 5 9 8 h 4 . 7 9 4 v - 4 . 7 9 4 h - 1 . 5 9 8 v - 7 . 9 9 z M 4 . 7 3 6 4 . 4 4 3 h 1 . 5 9 8 V 6 . 0 4 H 4 . 7 3 6 z m 1 . 5 9 8 1 4 . 3 8 2 H 4 . 7 3 6 v - 1 . 5 9 8 h 1 . 5 9 8 z m 9 . 5 8 8 - 1 . 5 9 8 h - 7 . 9 9 v - 1 . 5 9 8 H 6 . 3 3 4 v - 7 . 9 9 h 1 . 5 9 8 V 6 . 0 4 h 7 . 9 9 v 1 . 5 9 8 h 1 . 5 9 8 v 7 . 9 9 h - 1 . 5 9 8 z m 3 . 1 9 6 1 . 5 9 8 H 1 7 . 5 2 v - 1 . 5 9 8 h 1 . 5 9 8 z M 1 7 . 5 2 6 . 0 4 V 4 . 4 4 3 h 1 . 5 9 8 V 6 . 0 4 z m - 4 . 2 1 7 . 1 9 h - 2 . 7 9 l - . 5 8 2 1 . 5 9 9 H 8 . 6 4 3 l 2 . 7 1 7 - 7 . 1 9 1 h 1 . 1 1 9 l 2 . 7 2 4 7 . 1 9 h - 1 . 3 0 2 z m - 2 . 4 3 - 1 . 0 0 6 h 2 . 0 8 6 l - 1 . 0 3 9 - 3 . 0 6 z " / > < / s v g > ` ) , e . u i . r e g i s t r y . a d d S p l i t B u t t
2022-02-26 07:01:44 -05:00
` ),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 Wp(r){return function(e){e.on("ExecCommand change input NodeChange ObjectResized",t),Pc(e),Oc(e),_c(e,r),e.on("init",()=>{t(),Mc(e),window.editor=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 Yp(r){return `
html , body , html . dark - mode {
background : $ { r . darkMode ? "#222" : "#fff" } ;
}
body {
padding - left : 15 px ! important ;
padding - right : 15 px ! important ;
height : initial ! important ;
margin : 0 ! important ;
margin - left : auto ! important ;
margin - right : auto ! important ;
overflow - y : hidden ! important ;
} ` .trim().replace( `
2022-03-01 17:45:41 -05:00
` ,"")}function Kc(r){window.tinymce.addI18n(r.language,r.translationMap);let{toolbar:e,groupButtons:t}=qp(r),n=document.querySelector('script[src*="/dist/app.js"]').getAttribute("src").split("?version=")[1];return{width:"100%",height:"100%",selector:"#html-editor",cache_suffix:"?version="+n,content_css:[window.baseUrl("/dist/styles.css")],branding:!1,skin:r.darkMode?"oxide-dark":"oxide",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[*]",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[code-block]"].join(","),plugins:Vp(r),imagetools_toolbar:"imageoptions",contextmenu:!1,toolbar:e,content_style:Yp(r),style_formats:zp,style_formats_merge:!1,media_alt_source:!1,media_poster:!1,formats:jp,file_picker_types:"file image",file_picker_callback:Hp,paste_preprocess(o,s){s.content.indexOf('<img src="file://')!==-1&&(s.content="")},init_instance_callback(o){let s=o.getDoc().querySelector("head");s.innerHTML+=Gp()},setup(o){for(let[s,i]of Object.entries(t))o.ui.registry.addGroupToolbarButton(s,i);Wp(r)(o)}}}var Xc=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=Kc({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"):""}},Zc=Xc;var Qc={"add-remove-rows":Ki,"ajax-delete-row":Zi,"ajax-form":Ji,attachments:to,"attachments-list":no,"auto-suggest":oo,"back-to-top":ao,"book-sort":Ro,"chapter-toggle":Mo,"code-editor":_o,"code-highlighter": $ o,collapsible:zo,"custom-checkbox":Ho,"details-highlighter":Vo,dropdown:Wo,"dropdown-search":Ko,dropzone:Jo,"editor-toolbox":ts,"entity-permissions-editor":ns,"entity-search":os,"entity-selector":as,"entity-selector-popup":us,"event-emit-select":ds,"expand-toggle":hs,"header-mobile-toggle":ms,"homepage-control":vs,"image-manager":bs,"image-picker":ws,index:Rn,"list-sort-control":Ss,"markdown-editor": $ u,"new-user-password":zu,notification:Hu,"optional-input":Vu,"page-comments":Wu,"page-display":Zu,"page-editor":ec,"page-picker":rc,"permissions-table":ic,popup:sc,"setting-app-color-picker":lc,"setting-color-picker":cc,"shelf-sort":fc,sidebar:pc,"sortable-list":gc,"submit-on-change":yc,tabs:xc,"tag-manager":Ec,"template-manager":Cc,"toggle-switch":kc,"tri-layout":Ic,"user-select":Lc,"webhook-events":Rc,"wysiwyg-editor":Zc};window.components={};function Kp(r,e){let t=e.querySelectorAll( ` [ $ { r } ] ` );for(let n=0,o=t.length;n<o;n++)Jc(r,t[n])}function Jc(r,e){let t=Qc[r];if(t===void 0)return;let n;try{n=new t(e),n. $ el=e;let o=Xp(r,e);n. $ refs=o.refs,n. $ manyRefs=o.manyRefs,n. $ opts=Zp(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 Xp(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.getAttribute("refs").s
2019-08-31 09:16:14 -04:00
/ * !
2022-02-26 07:01:44 -05:00
* clipboard . js v2 . 0.10
2020-03-14 18:31:42 -04:00
* https : //clipboardjs.com/
2021-04-09 16:18:32 -04:00
*
2019-08-31 09:16:14 -04:00
* Licensed MIT © Zeno Rocha
* /
2021-04-09 16:18:32 -04:00
/ * * !
2021-08-31 17:07:53 -04:00
* Sortable 1.14 . 0
2021-04-09 16:18:32 -04:00
* @ author RubaXa < trash @ rubaxa . org >
* @ author owenm < owen23355 @ gmail . com >
* @ license MIT
* /
2020-09-20 05:33:18 -04:00
//# sourceMappingURL=app.js.map