2022-07-10 16:46:21 +08:00
const Hb = function ( ) { const e = document . createElement ( "link" ) . relList ; if ( e && e . supports && e . supports ( "modulepreload" ) ) return ; for ( const s of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) i ( s ) ; new MutationObserver ( s => { for ( const l of s ) if ( l . type === "childList" ) for ( const r of l . addedNodes ) r . tagName === "LINK" && r . rel === "modulepreload" && i ( r ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function t ( s ) { const l = { } ; return s . integrity && ( l . integrity = s . integrity ) , s . referrerpolicy && ( l . referrerPolicy = s . referrerpolicy ) , s . crossorigin === "use-credentials" ? l . credentials = "include" : s . crossorigin === "anonymous" ? l . credentials = "omit" : l . credentials = "same-origin" , l } function i ( s ) { if ( s . ep ) return ; s . ep = ! 0 ; const l = t ( s ) ; fetch ( s . href , l ) } } ; Hb ( ) ; function re ( ) { } const Ul = n => n ; function ct ( n , e ) { for ( const t in e ) n [ t ] = e [ t ] ; return n } function Rg ( n ) { return n ( ) } function gf ( ) { return Object . create ( null ) } function rt ( n ) { n . forEach ( Rg ) } function Jn ( n ) { return typeof n == "function" } function Ae ( n , e ) { return n != n ? e == e : n !== e || n && typeof n == "object" || typeof n == "function" } let rr ; function ei ( n , e ) { return rr || ( rr = document . createElement ( "a" ) ) , rr . href = e , n === rr . href } function qb ( n ) { return Object . keys ( n ) . length === 0 } function jg ( n , ... e ) { if ( n == null ) return re ; const t = n . subscribe ( ... e ) ; return t . unsubscribe ? ( ) => t . unsubscribe ( ) : t } function hn ( n , e , t ) { n . $$ . on _destroy . push ( jg ( e , t ) ) } function Tn ( n , e , t , i ) { if ( n ) { const s = Hg ( n , e , t , i ) ; return n [ 0 ] ( s ) } } function Hg ( n , e , t , i ) { return n [ 1 ] && i ? ct ( t . ctx . slice ( ) , n [ 1 ] ( i ( e ) ) ) : t . ctx } function Dn ( n , e , t , i ) { if ( n [ 2 ] && i ) { const s = n [ 2 ] ( i ( t ) ) ; if ( e . dirty === void 0 ) return s ; if ( typeof s == "object" ) { const l = [ ] , r = Math . max ( e . dirty . length , s . length ) ; for ( let o = 0 ; o < r ; o += 1 ) l [ o ] = e . dirty [ o ] | s [ o ] ; return l } return e . dirty | s } return e . dirty } function An ( n , e , t , i , s , l ) { if ( s ) { const r = Hg ( e , t , i , l ) ; n . p ( r , s ) } } function En ( n ) { if ( n . ctx . length > 32 ) { const e = [ ] , t = n . ctx . length / 32 ; for ( let i = 0 ; i < t ; i ++ ) e [ i ] = - 1 ; return e } return - 1 } function di ( n ) { const e = { } ; for ( const t in n ) t [ 0 ] !== "$" && ( e [ t ] = n [ t ] ) ; return e } function Yt ( n , e ) { const t = { } ; e = new Set ( e ) ; for ( const i in n ) ! e . has ( i ) && i [ 0 ] !== "$" && ( t [ i ] = n [ i ] ) ; return t } function _f ( n ) { return n == null ? "" : n } function qg ( n , e , t ) { return n . set ( t ) , e } function Xe ( n ) { return n && Jn ( n . destroy ) ? n . destroy : re } const Vg = typeof window != "undefined" ; let ko = Vg ? ( ) => window . performance . now ( ) : ( ) => Date . now ( ) , _u = Vg ? n => requestAnimationFrame ( n ) : re ; const Is = new Set ; function zg ( n ) { Is . forEach ( e => { e . c ( n ) || ( Is . delete ( e ) , e . f ( ) ) } ) , Is . size !== 0 && _u ( zg ) } function wo ( n ) { let e ; return Is . size === 0 && _u ( zg ) , { promise : new Promise ( t => { Is . add ( e = { c : n , f : t } ) } ) , abort ( ) { Is . delete ( e ) } } } function m ( n , e ) { n . appendChild ( e ) } function Bg ( n ) { if ( ! n ) return document ; const e = n . getRootNode ? n . getRootNode ( ) : n . ownerDocument ; return e && e . host ? e : n . ownerDocument } function Vb ( n ) { const e = _ ( "style" ) ; return zb ( Bg ( n ) , e ) , e . sheet } function zb ( n , e ) { m ( n . head || n , e ) } function w ( n , e , t ) { n . insertBefore ( e , t || null ) } function k ( n ) { n . parentNode . removeChild ( n ) } function Bn ( n , e ) { for ( let t = 0 ; t < n . length ; t += 1 ) n [ t ] && n [ t ] . d ( e ) } function _ ( n ) { return document . createElement ( n ) } function H ( n ) { return document . createTextNode ( n ) } function O ( ) { return H ( " " ) } function lt ( ) { return H ( "" ) } function X ( n , e , t , i ) { return n . addEventListener ( e , t , i ) , ( ) => n . removeEventListener ( e , t , i ) } function Kt ( n ) { return function ( e ) { return e . preventDefault ( ) , n . call ( this , e ) } } function Un ( n ) { return function ( e ) { return e . stopPropagation ( ) , n . call ( this , e ) } } function Ug ( n ) { return function ( e ) { e . target === this && n . call ( this , e ) } } function p ( n , e , t ) { t == null ? n . removeAttribute ( e ) : n . getAttribute ( e ) !== t && n . setAttribute ( e , t ) } function ci ( n , e ) { const t = Object . getOwnPropertyDescriptors ( n . _ _proto _ _ ) ; for ( const i in e ) e [ i ] == null ? n . removeAttribute ( i ) : i === "style" ? n . style . cssText = e [ i ] : i === "__value" ? n . value = n [ i ] = e [ i ] : t [ i ] && t [ i ] . set ? n [ i ] = e [ i ] : p ( n , i , e [ i ] ) } function Tt ( n ) { return n === "" ? null : + n } function Bb ( n ) { return Array . from ( n . childNodes ) } function _e ( n , e ) { e = "" + e , n . wholeText !== e && ( n . data = e ) } function $e ( n , e ) { n . value = e == null ? "" : e } function bf ( n , e , t , i ) { t === null ? n . style . removeProperty ( e ) : n . style . setProperty ( e , t , i ? "important" : "" ) } function Q ( n , e , t ) { n . classList [ t ? "add" : "remove" ] ( e ) } function Wg ( n , e , { bubbles : t = ! 1 , cancelable : i = ! 1 } = { } ) { const s = document . createEvent ( "CustomEvent" ) ; retu
` ;for(let b=0;b<=1;b+=a){const v=e+(t-e)*l(b);u+=b*100+ ` % { $ { r ( v , 1 - v ) } }
` }const f=u+ ` 100 % { $ { r ( t , 1 - t ) } }
} ` ,c= ` _ _svelte _$ { Ub ( f ) } _$ { o } ` ,d=Bg(n),{stylesheet:h,rules:g}=Zr.get(d)||Wb(d,n);g[c]||(g[c]=!0,h.insertRule( ` @ keyframes $ { c } $ { f } ` ,h.cssRules.length));const y=n.style.animation||"";return n.style.animation= ` $ { y ? ` ${ y } , ` : "" } $ { c } $ { i } ms linear $ { s } ms 1 both ` ,xr+=1,c}function Fl(n,e){const t=(n.style.animation||"").split(", "),i=t.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),s=t.length-i.length;s&&(n.style.animation=i.join(", "),xr-=s,xr||Yb())}function Yb(){_u(()=>{xr||(Zr.forEach(n=>{const{stylesheet:e}=n;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);n.rules={}}),Zr.clear())})}function Kb(n,e,t,i){if(!e)return re;const s=n.getBoundingClientRect();if(e.left===s.left&&e.right===s.right&&e.top===s.top&&e.bottom===s.bottom)return re;const{delay:l=0,duration:r=300,easing:o=Ul,start:a=ko()+l,end:u=a+r,tick:f=re,css:c}=t(n,{from:e,to:s},i);let d=!0,h=!1,g;function y(){c&&(g=Ll(n,0,1,r,l,o,c)),l||(h=!0)}function b(){c&&Fl(n,g),d=!1}return wo(v=>{if(!h&&v>=a&&(h=!0),h&&v>=u&&(f(1,0),b()),!d)return!1;if(h){const S=v-a, $ =0+1*o(S/r);f( $ ,1- $ )}return!0}),y(),f(0,1),b}function Jb(n){const e=getComputedStyle(n);if(e.position!=="absolute"&&e.position!=="fixed"){const{width:t,height:i}=e,s=n.getBoundingClientRect();n.style.position="absolute",n.style.width=t,n.style.height=i,Yg(n,s)}}function Yg(n,e){const t=n.getBoundingClientRect();if(e.left!==t.left||e.top!==t.top){const i=getComputedStyle(n),s=i.transform==="none"?"":i.transform;n.style.transform= ` $ { s } translate ( $ { e . left - t . left } px , $ { e . top - t . top } px ) ` }}let Il;function Sl(n){Il=n}function So(){if(!Il)throw new Error("Function called outside component initialization");return Il}function pi(n){So(). $ $ .on_mount.push(n)}function Gb(n){So(). $ $ .after_update.push(n)}function Zb(n){So(). $ $ .on_destroy.push(n)}function _n(){const n=So();return(e,t,{cancelable:i=!1}={})=>{const s=n. $ $ .callbacks[e];if(s){const l=Wg(e,t,{cancelable:i});return s.slice().forEach(r=>{r.call(n,l)}),!l.defaultPrevented}return!0}}function ut(n,e){const t=n. $ $ .callbacks[e.type];t&&t.slice().forEach(i=>i.call(this,e))}const _l=[],he=[],jr=[],Aa=[],Kg=Promise.resolve();let Ea=!1;function Jg(){Ea||(Ea=!0,Kg.then(Gg))}function Mi(){return Jg(),Kg}function Dt(n){jr.push(n)}function je(n){Aa.push(n)}const Ro=new Set;let or=0;function Gg(){const n=Il;do{for(;or<_l.length;){const e=_l[or];or++,Sl(e),xb(e. $ $ )}for(Sl(null),_l.length=0,or=0;he.length;)he.pop()();for(let e=0;e<jr.length;e+=1){const t=jr[e];Ro.has(t)||(Ro.add(t),t())}jr.length=0}while(_l.length);for(;Aa.length;)Aa.pop()();Ea=!1,Ro.clear(),Sl(n)}function xb(n){if(n.fragment!==null){n.update(),rt(n.before_update);const e=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(Dt)}}let nl;function bu(){return nl||(nl=Promise.resolve(),nl.then(()=>{nl=null})),nl}function fs(n,e,t){n.dispatchEvent(Wg( ` $ { e ? "intro" : "outro" } $ { t } ` ))}const Hr=new Set;let ai;function Oe(){ai={r:0,c:[],p:ai}}function Te(){ai.r||rt(ai.c),ai=ai.p}function A(n,e){n&&n.i&&(Hr.delete(n),n.i(e))}function F(n,e,t,i){if(n&&n.o){if(Hr.has(n))return;Hr.add(n),ai.c.push(()=>{Hr.delete(n),i&&(t&&n.d(1),i())}),n.o(e)}else i&&i()}const yu={duration:0};function vu(n,e,t){let i=e(n,t),s=!1,l,r,o=0;function a(){l&&Fl(n,l)}function u(){const{delay:c=0,duration:d=300,easing:h=Ul,tick:g=re,css:y}=i||yu;y&&(l=Ll(n,0,1,d,c,h,y,o++)),g(0,1);const b=ko()+c,v=b+d;r&&r.abort(),s=!0,Dt(()=>fs(n,!0,"start")),r=wo(S=>{if(s){if(S>=v)return g(1,0),fs(n,!0,"end"),a(),s=!1;if(S>=b){const $ =h((S-b)/d);g( $ ,1- $ )}}return s})}let f=!1;return{start(){f||(f=!0,Fl(n),Jn(i)?(i=i(),bu().then(u)):u())},invalidate(){f=!1},end(){s&&(a(),s=!1)}}}function Zg(n,e,t){let i=e(n,t),s=!0,l;const r=ai;r.r+=1;function o(){const{delay:a=0,duration:u=300,easing:f=Ul,tick:c=re,css:d}=i||yu;d&&(l=Ll(n,1,0,u,a,f,d));const h=ko()+a,g=h+u;Dt(()=>fs(n,!1,"start")),wo(y=>{if(s){if(y>=g)return c(0,1),fs(n,!1,"end"),--r.r||rt(r.c),!1;if(y>=h){const b=f((y-h)/u);c(1-b,b)}}return s})}return Jn(i)?bu().then(()=>{i=i(),o()}):o(),{end(a){a&&i.tick&&i.tick(1,0),s&&(l&&Fl(n,l),s=!1)}}}function ft(n,e,t,i){let s=e(n,t),l=i?0:1,r=nu
` ),function(l){if(i=l.indexOf(":"),e=qo.trim(l.substr(0,i)).toLowerCase(),t=qo.trim(l.substr(i+1)),e){if(s[e]&&b1.indexOf(e)>=0)return;s[e]=e==="set-cookie"?(s[e]?s[e]:[]).concat([t]):s[e]?s[e]+", "+t:t}}),s},C1=y1,Vo=l_,M1=function(n){return new Promise(function(e,t){var i=n.data,s=n.headers,l=n.responseType;fr.isFormData(i)&&delete s["Content-Type"];var r=new XMLHttpRequest;if(n.auth){var o=n.auth.username||"",a=n.auth.password?unescape(encodeURIComponent(n.auth.password)):"";s.Authorization="Basic "+btoa(o+":"+a)}var u=S1(n.baseURL,n.url);function f(){if(r){var d="getAllResponseHeaders"in r? $ 1(r.getAllResponseHeaders()):null,h={data:l&&l!=="text"&&l!=="json"?r.response:r.responseText,status:r.status,statusText:r.statusText,headers:d,config:n,request:r};v1(e,t,h),r=null}}if(r.open(n.method.toUpperCase(),w1(u,n.params,n.paramsSerializer),!0),r.timeout=n.timeout,"onloadend"in r?r.onloadend=f:r.onreadystatechange=function(){r&&r.readyState===4&&(r.status!==0||r.responseURL&&r.responseURL.indexOf("file:")===0)&&setTimeout(f)},r.onabort=function(){r&&(t(Vo("Request aborted",n,"ECONNABORTED",r)),r=null)},r.onerror=function(){t(Vo("Network Error",n,null,r)),r=null},r.ontimeout=function(){var d="timeout of "+n.timeout+"ms exceeded";n.timeoutErrorMessage&&(d=n.timeoutErrorMessage),t(Vo(d,n,n.transitional&&n.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",r)),r=null},fr.isStandardBrowserEnv()){var c=(n.withCredentials||C1(u))&&n.xsrfCookieName?k1.read(n.xsrfCookieName):void 0;c&&(s[n.xsrfHeaderName]=c)}"setRequestHeader"in r&&fr.forEach(s,function(d,h){i===void 0&&h.toLowerCase()==="content-type"?delete s[h]:r.setRequestHeader(h,d)}),fr.isUndefined(n.withCredentials)||(r.withCredentials=!!n.withCredentials),l&&l!=="json"&&(r.responseType=n.responseType),typeof n.onDownloadProgress=="function"&&r.addEventListener("progress",n.onDownloadProgress),typeof n.onUploadProgress=="function"&&r.upload&&r.upload.addEventListener("progress",n.onUploadProgress),n.cancelToken&&n.cancelToken.promise.then(function(d){r&&(r.abort(),t(d),r=null)}),i||(i=null),r.send(i)})},Xt=Fn,Df=function(n,e){d1.forEach(n,function(t,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(n[e]=t,delete n[i])})},O1=s_,T1={"Content-Type":"application/x-www-form-urlencoded"};function Af(n,e){!Xt.isUndefined(n)&&Xt.isUndefined(n["Content-Type"])&&(n["Content-Type"]=e)}var Ef,zr={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:((typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(Ef=M1),Ef),transformRequest:[function(n,e){return Df(e,"Accept"),Df(e,"Content-Type"),Xt.isFormData(n)||Xt.isArrayBuffer(n)||Xt.isBuffer(n)||Xt.isStream(n)||Xt.isFile(n)||Xt.isBlob(n)?n:Xt.isArrayBufferView(n)?n.buffer:Xt.isURLSearchParams(n)?(Af(e,"application/x-www-form-urlencoded;charset=utf-8"),n.toString()):Xt.isObject(n)||e&&e["Content-Type"]==="application/json"?(Af(e,"application/json"),function(t,i,s){if(Xt.isString(t))try{return(i||JSON.parse)(t),Xt.trim(t)}catch(l){if(l.name!=="SyntaxError")throw l}return(s||JSON.stringify)(t)}(n)):n}],transformResponse:[function(n){var e=this.transitional,t=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,s=!t&&this.responseType==="json";if(s||i&&Xt.isString(n)&&n.length)try{return JSON.parse(n)}catch(l){if(s)throw l.name==="SyntaxError"?O1(l,this,"E_JSON_PARSE"):l}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(n){return n>=200&&n<300}};zr.headers={common:{Accept:"application/json, text/plain, */*"}},Xt.forEach(["delete","get","head"],function(n){zr.headers[n]={}}),Xt.forEach(["post","put","patch"],function(n){zr.headers[n]=Xt.merge(T1)});var ku=zr,D1=Fn,A1=ku,r_=function(n){return!(!n||!n.__CANCEL__)},Pf=Fn,zo=function(n,e,t){var i=this||A1;return D1.forEach(t,function(s){n=s.call(i,n,e)}),n},E1=r_,P1=ku;function Bo(n){n.cancelToken&&n.cancelToken.throwIfRequested()}var sn=Fn,o_=function(n,e){e=e||{};var t={},i=["url","method","data"],s=
` +e.prev+e.base;return t+ri.call(n,","+t)+ `
` +e.prev}function hr(n,e){var t=Ra(n),i=[];if(t){i.length=n.length;for(var s=0;s<n.length;s++)i[s]=Li(n,s)?e(n[s],n):""}var l,r=typeof xo=="function"?xo(n):[];if(Bs){l={};for(var o=0;o<r.length;o++)l[" $ "+r[o]]=r[o]}for(var a in n)Li(n,a)&&(t&&String(Number(a))===a&&a<n.length||Bs&&l[" $ "+a]instanceof Symbol||(__.call(/[^ \w $ ]/,a)?i.push(e(a,n)+": "+e(n[a],n)):i.push(a+": "+e(n[a],n))));if(typeof xo=="function")for(var u=0;u<r.length;u++)b_.call(n,r[u])&&i.push("["+e(r[u])+"]: "+e(n[r[u]],n));return i}var w_,Tu= $ u,Zs=function(n,e){var t=m_(n,!!e);return typeof t=="function"&&ny(n,".prototype.")>-1?g_(t):t},my=function n(e,t,i,s){var l=t||{};if(Li(l,"quoteStyle")&&l.quoteStyle!=="single"&&l.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Li(l,"maxStringLength")&&(typeof l.maxStringLength=="number"?l.maxStringLength<0&&l.maxStringLength!==1/0:l.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or ` null ` ');var r=!Li(l,"customInspect")||l.customInspect;if(typeof r!="boolean"&&r!=="symbol")throw new TypeError("option \" customInspect \" , if provided, must be ` true ` , ` false ` , or ` 'symbol' ` ");if(Li(l,"indent")&&l.indent!==null&&l.indent!==" "&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be " \\ t", an integer > 0, or ` null ` ');if(Li(l,"numericSeparator")&&typeof l.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be ` true ` or ` false ` ');var o=l.numericSeparator;if(e===void 0)return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return k_(e,l);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var a=String(e);return o?Yf(e,a):a}if(typeof e=="bigint"){var u=String(e)+"n";return o?Yf(e,u):u}var f=l.depth===void 0?5:l.depth;if(i===void 0&&(i=0),i>=f&&f>0&&typeof e=="object")return Ra(e)?"[Array]":"[Object]";var c=function(R,J){var W;if(R.indent===" ")W=" ";else{if(!(typeof R.indent=="number"&&R.indent>0))return null;W=ri.call(Array(R.indent+1)," ")}return{base:W,prev:ri.call(Array(J+1),W)}}(l,i);if(s===void 0)s=[];else if(Zf(s,e)>=0)return"[Circular]";function d(R,J,W){if(J&&(s=cy.call(s)).push(J),W){var q={depth:l.depth};return Li(l,"quoteStyle")&&(q.quoteStyle=l.quoteStyle),n(R,q,i+1,s)}return n(R,l,i+1,s)}if(typeof e=="function"&&!Gf(e)){var h=function(R){if(R.name)return R.name;var J=uy.call(ay.call(R),/^function \s *([ \w $ ]+)/);return J?J[1]:null}(e),g=hr(e,d);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(g.length>0?" { "+ri.call(g,", ")+" }":"")}if(v_(e)){var y=Bs?ji.call(String(e),/^(Symbol \( .* \) )_[^)]* $ /," $ 1"):Ia.call(e);return typeof e!="object"||Bs?y:ll(y)}if(function(R){return!R||typeof R!="object"?!1:typeof HTMLElement!="undefined"&&R instanceof HTMLElement?!0:typeof R.nodeName=="string"&&typeof R.getAttribute=="function"}(e)){for(var b="<"+zf.call(String(e.nodeName)),v=e.attributes||[],S=0;S<v.length;S++)b+=" "+v[S].name+"="+y_(dy(v[S].value),"double",l);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+="</"+zf.call(String(e.nodeName))+">"}if(Ra(e)){if(e.length===0)return"[]";var $ =hr(e,d);return c&&!function(R){for(var J=0;J<R.length;J++)if(Zf(R[J], `
` )>=0)return!1;return!0}( $ )?"["+ja( $ ,c)+"]":"[ "+ri.call( $ ,", ")+" ]"}if(function(R){return!(Fi(R)!=="[object Error]"||ln&&typeof R=="object"&&ln in R)}(e)){var C=hr(e,d);return"cause"in Error.prototype||!("cause"in e)||b_.call(e,"cause")?C.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+ri.call(C,", ")+" }":"{ ["+String(e)+"] "+ri.call(Bf.call("[cause]: "+d(e.cause),C),", ")+" }"}if(typeof e=="object"&&r){if(Jf&&typeof e[Jf]=="function"&&Na)return Na(e,{depth:f-i});if(r!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(function(R){if(!dr||!R||typeof R!="object")return!1;try{dr.call(R);try{pr.call(R)}catch{return!0}return R instanceof Map}catch{}return!1}(e)){var M=[];return sy.call(e,function(R,J){M.push(d(J,e,!0)+" => "+d(R,e))}),xf("Map",dr.call(e),M,c)}if(function(R){if(!pr||!R||typeof R!="object")return!1;try{pr.call(R);try{dr.call(R)}catch{return!0}return R instanceof Set}catch{}return!1}(e)){var T=[];return ly.call(e,function(R){T.push(d(R,e))}),xf("Set",pr.call(e),T,c)}if(function(R){if(!il||!R||typeof R!="object")return!1;try{il.call(R,il);try{sl.call(R,sl)}catch{return!0}return R instanceof WeakMap}catch{}return!1}(e))return Xo("WeakMap");if(function(R){if(!sl||!R||typeof R!="object")return!1;try{sl.call(R,sl);try{il.call(R,il)}catch{return!0}return R instanceof WeakSet}catch{}return!1}(e))return Xo("WeakSet");if(function(R){if(!Vf||!R||typeof R!="object")return!1;try{return Vf.call(R),!0}catch{}return!1}(e))return Xo("WeakRef");if(function(R){return!(Fi(R)!=="[object Number]"||ln&&typeof R=="object"&&ln in R)}(e))return ll(d(Number(e)));if(function(R){if(!R||typeof R!="object"||!Zo)return!1;try{return Zo.call(R),!0}catch{}return!1}(e))return ll(d(Zo.call(e)));if(function(R){return!(Fi(R)!=="[object Boolean]"||ln&&typeof R=="object"&&ln in R)}(e))return ll(ry.call(e));if(function(R){return!(Fi(R)!=="[object String]"||ln&&typeof R=="object"&&ln in R)}(e))return ll(d(String(e)));if(!function(R){return!(Fi(R)!=="[object Date]"||ln&&typeof R=="object"&&ln in R)}(e)&&!Gf(e)){var E=hr(e,d),D=Wf?Wf(e)===Object.prototype:e instanceof Object||e.constructor===Object,P=e instanceof Object?"":"null prototype",L=!D&&ln&&Object(e)===e&&ln in e?Ou.call(Fi(e),8,-1):P?"Object":"",N=(D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"")+(L||P?"["+ri.call(Bf.call([],L||[],P||[]),": ")+"] ":"");return E.length===0?N+"{}":c?N+"{"+ja(E,c)+"}":N+"{ "+ri.call(E,", ")+" }"}return String(e)},gy=Tu("%TypeError%"),mr=Tu("%WeakMap%",!0),gr=Tu("%Map%",!0),_y=Zs("WeakMap.prototype.get",!0),by=Zs("WeakMap.prototype.set",!0),yy=Zs("WeakMap.prototype.has",!0),vy=Zs("Map.prototype.get",!0),ky=Zs("Map.prototype.set",!0),wy=Zs("Map.prototype.has",!0),Qo=function(n,e){for(var t,i=n;(t=i.next)!==null;i=t)if(t.key===e)return i.next=t.next,t.next=n.next,n.next=t,t},Sy=String.prototype.replace, $ y=/%20/g,Xf="RFC3986",Du={default:Xf,formatters:{RFC1738:function(n){return Sy.call(n, $ y,"+")},RFC3986:function(n){return String(n)}},RFC1738:"RFC1738",RFC3986:Xf},Cy=Du,ea=Object.prototype.hasOwnProperty,Zi=Array.isArray,si=function(){for(var n=[],e=0;e<256;++e)n.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return n}(),Qf=function(n,e){for(var t=e&&e.plainObjects?Object.create(null):{},i=0;i<n.length;++i)n[i]!==void 0&&(t[i]=n[i]);return t},S_={arrayToObject:Qf,assign:function(n,e){return Object.keys(e).reduce(function(t,i){return t[i]=e[i],t},n)},combine:function(n,e){return[].concat(n,e)},compact:function(n){for(var e=[{obj:{o:n},prop:"o"}],t=[],i=0;i<e.length;++i)for(var s=e[i],l=s.obj[s.prop],r=Object.keys(l),o=0;o<r.length;++o){var a=r[o],u=l[a];typeof u=="object"&&u!==null&&t.indexOf(u)===-1&&(e.push({obj:l,prop:a}),t.push(u))}return function(f){for(;f.length>1;){var c=f.pop(),d=c.obj[c.prop];if(Zi(d)){for(var h=[],g=0;g<d.length;++g)d[g]!==void 0&&h.push(d[g]);c.obj[c.prop]=h}}}(e),n},decode:function(n,e,t){var i=n.replace(/ \+ /g," ");if(t==="iso-8859-1")return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch{return i}},encode:function(n,e,t,i,s){if(n.length===0)return n;v
< span class = "txt" > Pocket < strong > Base < / s t r o n g > < / s p a n > < / f i g u r e > ` , t = O ( ) , i = _ ( " d i v " ) , p ( e , " c l a s s " , " b l o c k t x t - c e n t e r m - b - l g " ) , p ( i , " c l a s s " , " c l e a r f i x " ) } , m ( s , l ) { w ( s , e , l ) , w ( s , t , l ) , w ( s , i , l ) } , d ( s ) { s & & k ( e ) , s & & k ( t ) , s & & k ( i ) } } } f u n c t i o n U k ( n ) { l e t e , t , i , s , l , r , o , a , u = ! n [ 0 ] & & M c ( ) ; c o n s t f = n [ 2 ] . d e f a u l t , c = T n ( f , n , n [ 1 ] , n u l l ) ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " d i v " ) , i = O ( ) , s = _ ( " d i v " ) , u & & u . c ( ) , l = O ( ) , c & & c . c ( ) , r = O ( ) , o = _ ( " d i v " ) , p ( t , " c l a s s " , " f l e x - f i l l " ) , p ( s , " c l a s s " , " w r a p p e r w r a p p e r - s m m - b - x l s v e l t e - 1 w b a w r 2 " ) , p ( o , " c l a s s " , " f l e x - f i l l " ) , p ( e , " c l a s s " , " p a g e - w r a p p e r f u l l - p a g e - p a n e l s v e l t e - 1 w b a w r 2 " ) } , m ( d , h ) { w ( d , e , h ) , m ( e , t ) , m ( e , i ) , m ( e , s ) , u & & u . m ( s , n u l l ) , m ( s , l ) , c & & c . m ( s , n u l l ) , m ( e , r ) , m ( e , o ) , a = ! 0 } , p ( d , [ h ] ) { d [ 0 ] ? u & & ( u . d ( 1 ) , u = n u l l ) : u | | ( u = M c ( ) , u . c ( ) , u . m ( s , l ) ) , c & & c . p & & ( ! a | | h & 2 ) & & A n ( c , f , d , d [ 1 ] , a ? D n ( f , d [ 1 ] , h , n u l l ) : E n ( d [ 1 ] ) , n u l l ) } , i ( d ) { a | | ( A ( c , d ) , a = ! 0 ) } , o ( d ) { F ( c , d ) , a = ! 1 } , d ( d ) { d & & k ( e ) , u & & u . d ( ) , c & & c . d ( d ) } } } f u n c t i o n W k ( n , e , t ) { l e t { $ $ s l o t s : i = { } , $ $ s c o p e : s } = e , { n o b r a n d i n g : l = ! 1 } = e ; r e t u r n n . $ $ s e t = r = > { " n o b r a n d i n g " i n r & & t ( 0 , l = r . n o b r a n d i n g ) , " $ $ s c o p e " i n r & & t ( 1 , s = r . $ $ s c o p e ) } , [ l , s , i ] } c l a s s P 0 e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , W k , U k , A e , { n o b r a n d i n g : 0 } ) } } f u n c t i o n O c ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 1 1 ] = e [ t ] , i } c o n s t Y k = n = > ( { } ) , T c = n = > ( { u n i q u e I d : n [ 3 ] } ) ; f u n c t i o n K k ( n ) { l e t e = ( n [ 1 1 ] | | l o ) + " " , t ; r e t u r n { c ( ) { t = H ( e ) } , m ( i , s ) { w ( i , t , s ) } , p ( i , s ) { s & 4 & & e ! = = ( e = ( i [ 1 1 ] | | l o ) + " " ) & & _ e ( t , e ) } , d ( i ) { i & & k ( t ) } } } f u n c t i o n J k ( n ) { v a r i , s ; l e t e = ( ( ( i = n [ 1 1 ] ) = = n u l l ? v o i d 0 : i . m e s s a g e ) | | ( ( s = n [ 1 1 ] ) = = n u l l ? v o i d 0 : s . c o d e ) | | l o ) + " " , t ; r e t u r n { c ( ) { t = H ( e ) } , m ( l , r ) { w ( l , t , r ) } , p ( l , r ) { v a r o , a ; r & 4 & & e ! = = ( e = ( ( ( o = l [ 1 1 ] ) = = n u l l ? v o i d 0 : o . m e s s a g e ) | | ( ( a = l [ 1 1 ] ) = = n u l l ? v o i d 0 : a . c o d e ) | | l o ) + " " ) & & _ e ( t , e ) } , d ( l ) { l & & k ( t ) } } } f u n c t i o n D c ( n ) { l e t e , t ; f u n c t i o n i ( r , o ) { r e t u r n t y p e o f r [ 1 1 ] = = " o b j e c t " ? J k : K k } l e t s = i ( n ) , l = s ( n ) ; r e t u r n { c ( ) { e = _ ( " d i v " ) , l . c ( ) , t = O ( ) , p ( e , " c l a s s " , " h e l p - b l o c k h e l p - b l o c k - e r r o r " ) } , m ( r , o ) { w ( r , e , o ) , l . m ( e , n u l l ) , m ( e , t ) } , p ( r , o ) { s = = = ( s = i ( r ) ) & & l ? l . p ( r , o ) : ( l . d ( 1 ) , l = s ( r ) , l & & ( l . c ( ) , l . m ( e , t ) ) ) } , d ( r ) { r & & k ( e ) , l . d ( ) } } } f u n c t i o n G k ( n ) { l e t e , t , i , s , l ; c o n s t r = n [ 7 ] . d e f a u l t , o = T n ( r , n , n [ 6 ] , T c ) ; l e t a = n [ 2 ] , u = [ ] ; f o r ( l e t f = 0 ; f < a . l e n g t h ; f + = 1 ) u [ f ] = D c ( O c ( n , a , f ) ) ; r e t u r n { c ( ) { e = _ ( " d i v " ) , o & & o . c ( ) , t = O ( ) ; f o r ( l e t f = 0 ; f < u . l e n g t h ; f + = 1 ) u [ f ] . c ( ) ; p ( e , " c l a s s " , n [ 0 ] ) , Q ( e , " e r r o r " , n [ 2 ] . l e n g t h ) } , m ( f , c ) { w ( f , e , c ) , o & & o . m ( e , n u l l ) , m ( e , t ) ; f o r ( l e t d = 0 ; d < u . l e n g t h ; d + = 1 ) u [ d ] . m ( e , n u l l ) ; n [ 9 ] ( e ) , i = ! 0 , s | | ( l = X ( e , " c l i c k " , n [ 8 ] ) , s = ! 0 ) } , p ( f , [ c ] ) { i f ( o & & o . p & & ( ! i | | c & 6 4 ) & & A n ( o , r , f , f [ 6 ] , i ? D n ( r , f [ 6 ] , c , Y k ) : E n ( f [ 6 ] ) , T c ) , c & 4 ) { a = f [ 2 ] ; l e t d ; f o r ( d = 0 ; d < a . l e n g t h ; d + = 1 ) { c o n s t h = O c ( f , a , d ) ; u [ d ] ? u [ d ] . p ( h , c ) : ( u [ d ] = D c ( h ) , u [ d ] . c ( ) , u [ d ] . m ( e , n u l l ) ) } f o r ( ; d < u . l e n g t h ; d + = 1 ) u [ d ] . d ( 1 ) ; u . l e n g t h = a . l e n g t h } ( ! i | | c & 1 ) & & p ( e , " c l a s s " , f [ 0 ] ) , c & 5 & & Q ( e , " e r r o r " , f [ 2 ] . l e n g t h ) } , i ( f ) { i | | ( A ( o , f ) , i = ! 0 ) } , o ( f ) { F ( o , f ) , i = ! 1 } , d ( f ) { f & & k ( e ) , o & & o . d ( f ) , B n ( u , f ) , n [ 9 ] ( n u l l ) , s = ! 1 , l ( ) } } } c o n s t l o = " I n v a l i d v a l u e " ; f u n c t i o n Z k ( n , e , t ) { l e t i ; h n ( n , _ s , g = > t ( 5 , i = g ) ) ; l e t { $ $ s l o t s : s = { } , $ $ s c o p e : l } = e ; c o n s t r = " f i e l d _ " + U . r a n d o m S t r i n g ( 7 ) ; l e t { n a m e : o = " " } = e , { c l a s s : a = v o i d 0 } = e , u , f = [ ] ; f u n c t i o n c ( ) { E 0 ( o ) } p i ( ( ) = > ( u . a d d E v e n t L i s t e n e r ( " c h a n g e " , c ) , ( ) = > { u . r e m o v e E v e n t L i s t e n e r ( " c h a n g e " , c ) } ) ) ; f u n c t i o n d ( g ) { u t . c a l l ( t h i s , n , g ) } f u n c t i o n h ( g ) { h e [ g ? " u n s h i f t " : " p u s h " ] ( ( ) = > { u = g , t ( 1 , u ) } ) } r e t u r n n . $ $ s e t = g = > { " n a m e " i n g & & t ( 4 , o = g . n a m e ) , " c l a s s " i n g & & t ( 0 , a = g . c l a s s ) , " $ $ s c o p e " i n g & & t ( 6 , l = g . $ $ s c o p e ) } , n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 4 8 & & t ( 2 , f = U . t o A r r a y ( U . g e t N e s t e d V a l ( i , o ) ) ) } , [ a , u , f , r , o , i , l , s , d , h ] } c l a s s N e e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , Z k , G k , A e , { n a m e : 4 , c l a s s : 0 } ) } } f u n c t i o n x k ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " E m a i l " ) , s = O ( ) , l = _ ( " i n p u t " ) , p ( e , " f o r " , i = n [ 9 ] ) , p ( l , " t y p e " , " e m a i l " ) , p ( l , " a u t o c o m p l e t e " , " o f f " ) , p ( l , " i d " , r = n [ 9 ] ) , l . r e q u i r e d = ! 0 , l . a u t o f o c u s = ! 0 } , m ( u , f ) { w ( u , e , f ) , m ( e , t ) , w ( u , s , f ) , w ( u , l , f ) , $ e ( l , n [ 0 ] ) , l . f o c u s ( ) , o | | ( a = X ( l , " i n p u t " , n [ 5 ] ) , o = ! 0 ) } , p ( u , f ) { f & 5 1 2 & & i ! = = ( i = u [ 9 ] ) & & p ( e , " f o r " , i ) , f & 5 1 2 & & r ! = = ( r = u [ 9 ] ) & & p ( l , " i d " , r ) , f & 1 & & l . v a l u e ! = = u [ 0 ] & & $ e ( l , u [ 0 ] ) } , d ( u ) { u & & k ( e ) , u & & k ( s ) , u & & k ( l ) , o = ! 1 , a ( ) } } } f u n c t i o n X k ( n ) { l e t e , t , i , s , l , r , o , a , u , f ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " P a s s w o r d " ) , s = O ( ) , l = _ ( " i n p u t " ) , o = O ( ) , a = _ ( " d i v " ) , a . t e x t C o n t e n t = " M i n i m u m 1 0 c h a r a c t e r s . " , p ( e , " f o r " , i = n [ 9 ] ) , p ( l , " t y p e " , " p a s s w o r d " ) , p ( l , " a u t o c o m p l e t e " , " n e w - p a s s w o r d " ) , p ( l , " m i n l e n g t h " , " 1 0 " ) , p ( l , " i d " , r = n [ 9 ] ) , l . r e q u i r e d = ! 0 , p ( a , " c l a s s " , " h e l p - b l o c k " ) } , m ( c ,
< i class = "ri-arrow-right-line" > < / i > ` , p ( t , " c l a s s " , " c o n t e n t t x t - c e n t e r m - b - b a s e " ) , p ( f , " t y p e " , " s u b m i t " ) , p ( f , " c l a s s " , " b t n b t n - l g b t n - b l o c k b t n - n e x t " ) , Q ( f , " b t n - d i s a b l e d " , n [ 3 ] ) , Q ( f , " b t n - l o a d i n g " , n [ 3 ] ) , p ( e , " c l a s s " , " b l o c k " ) , p ( e , " a u t o c o m p l e t e " , " o f f " ) } , m ( g , y ) { w ( g , e , y ) , m ( e , t ) , m ( e , i ) , V ( s , e , n u l l ) , m ( e , l ) , V ( r , e , n u l l ) , m ( e , o ) , V ( a , e , n u l l ) , m ( e , u ) , m ( e , f ) , c = ! 0 , d | | ( h = X ( e , " s u b m i t " , K t ( n [ 4 ] ) ) , d = ! 0 ) } , p ( g , [ y ] ) { c o n s t b = { } ; y & 1 5 3 7 & & ( b . $ $ s c o p e = { d i r t y : y , c t x : g } ) , s . $ s e t ( b ) ; c o n s t v = { } ; y & 1 5 3 8 & & ( v . $ $ s c o p e = { d i r t y : y , c t x : g } ) , r . $ s e t ( v ) ; c o n s t S = { } ; y & 1 5 4 0 & & ( S . $ $ s c o p e = { d i r t y : y , c t x : g } ) , a . $ s e t ( S ) , y & 8 & & Q ( f , " b t n - d i s a b l e d " , g [ 3 ] ) , y & 8 & & Q ( f , " b t n - l o a d i n g " , g [ 3 ] ) } , i ( g ) { c | | ( A ( s . $ $ . f r a g m e n t , g ) , A ( r . $ $ . f r a g m e n t , g ) , A ( a . $ $ . f r a g m e n t , g ) , c = ! 0 ) } , o ( g ) { F ( s . $ $ . f r a g m e n t , g ) , F ( r . $ $ . f r a g m e n t , g ) , F ( a . $ $ . f r a g m e n t , g ) , c = ! 1 } , d ( g ) { g & & k ( e ) , z ( s ) , z ( r ) , z ( a ) , d = ! 1 , h ( ) } } } f u n c t i o n t 2 ( n , e , t ) { c o n s t i = _ n ( ) ; l e t s = " " , l = " " , r = " " , o = ! 1 ; a s y n c f u n c t i o n a ( ) { i f ( ! o ) { t ( 3 , o = ! 0 ) ; t r y { a w a i t w e . A d m i n s . c r e a t e ( { e m a i l : s , p a s s w o r d : l , p a s s w o r d C o n f i r m : r } ) , a w a i t w e . A d m i n s . a u t h V i a E m a i l ( s , l ) , i ( " s u b m i t " ) } c a t c h ( d ) { w e . e r r o r R e s p o n s e H a n d l e r ( d ) } t ( 3 , o = ! 1 ) } } f u n c t i o n u ( ) { s = t h i s . v a l u e , t ( 0 , s ) } f u n c t i o n f ( ) { l = t h i s . v a l u e , t ( 1 , l ) } f u n c t i o n c ( ) { r = t h i s . v a l u e , t ( 2 , r ) } r e t u r n [ s , l , r , o , a , u , f , c ] } c l a s s n 2 e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , t 2 , e 2 , A e , { } ) } } f u n c t i o n A c ( n ) { l e t e , t ; r e t u r n e = n e w P 0 ( { p r o p s : { $ $ s l o t s : { d e f a u l t : [ i 2 ] } , $ $ s c o p e : { c t x : n } } } ) , { c ( ) { B ( e . $ $ . f r a g m e n t ) } , m ( i , s ) { V ( e , i , s ) , t = ! 0 } , p ( i , s ) { c o n s t l = { } ; s & 9 & & ( l . $ $ s c o p e = { d i r t y : s , c t x : i } ) , e . $ s e t ( l ) } , i ( i ) { t | | ( A ( e . $ $ . f r a g m e n t , i ) , t = ! 0 ) } , o ( i ) { F ( e . $ $ . f r a g m e n t , i ) , t = ! 1 } , d ( i ) { z ( e , i ) } } } f u n c t i o n i 2 ( n ) { l e t e , t ; r e t u r n e = n e w n 2 ( { } ) , e . $ o n ( " s u b m i t " , n [ 1 ] ) , { c ( ) { B ( e . $ $ . f r a g m e n t ) } , m ( i , s ) { V ( e , i , s ) , t = ! 0 } , p : r e , i ( i ) { t | | ( A ( e . $ $ . f r a g m e n t , i ) , t = ! 0 ) } , o ( i ) { F ( e . $ $ . f r a g m e n t , i ) , t = ! 1 } , d ( i ) { z ( e , i ) } } } f u n c t i o n s 2 ( n ) { l e t e , t , i = n [ 0 ] & & A c ( n ) ; r e t u r n { c ( ) { i & & i . c ( ) , e = l t ( ) } , m ( s , l ) { i & & i . m ( s , l ) , w ( s , e , l ) , t = ! 0 } , p ( s , [ l ] ) { s [ 0 ] ? i ? ( i . p ( s , l ) , l & 1 & & A ( i , 1 ) ) : ( i = A c ( s ) , i . c ( ) , A ( i , 1 ) , i . m ( e . p a r e n t N o d e , e ) ) : i & & ( O e ( ) , F ( i , 1 , 1 , ( ) = > { i = n u l l } ) , T e ( ) ) } , i ( s ) { t | | ( A ( i ) , t = ! 0 ) } , o ( s ) { F ( i ) , t = ! 1 } , d ( s ) { i & & i . d ( s ) , s & & k ( e ) } } } f u n c t i o n l 2 ( n , e , t ) { l e t i = ! 1 ; s ( ) ; f u n c t i o n s ( ) { i f ( t ( 0 , i = ! 1 ) , n e w U R L S e a r c h P a r a m s ( w i n d o w . l o c a t i o n . s e a r c h ) . h a s ( " i n s t a l l e r " ) ) { w e . l o g o u t ( ! 1 ) , t ( 0 , i = ! 0 ) ; r e t u r n } w e . A u t h S t o r e . i s V a l i d ? G s ( " / c o l l e c t i o n s " ) : w e . l o g o u t ( ) } r e t u r n [ i , a s y n c ( ) = > { t ( 0 , i = ! 1 ) , a w a i t M i ( ) , w i n d o w . l o c a t i o n . s e a r c h = " " } ] } c l a s s r 2 e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , l 2 , s 2 , A e , { } ) } } l e t x a , Q i ; c o n s t X a = " a p p - t o o l t i p " ; f u n c t i o n E c ( n ) { r e t u r n t y p e o f n = = " s t r i n g " ? { t e x t : n , p o s i t i o n : " b o t t o m " , h i d e O n C l i c k : n u l l } : n | | { } } f u n c t i o n V i ( ) { r e t u r n Q i = Q i | | d o c u m e n t . q u e r y S e l e c t o r ( " . " + X a ) , Q i | | ( Q i = d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) , Q i . c l a s s L i s t . a d d ( X a ) , d o c u m e n t . b o d y . a p p e n d C h i l d ( Q i ) ) , Q i } f u n c t i o n L 0 ( n , e ) { l e t t = V i ( ) ; i f ( ! t . c l a s s L i s t . c o n t a i n s ( " a c t i v e " ) | | ! ( e ! = n u l l & & e . t e x t ) ) { Q a ( ) ; r e t u r n } t . t e x t C o n t e n t = e . t e x t , t . c l a s s N a m e = X a + " a c t i v e " , e . c l a s s & & t . c l a s s L i s t . a d d ( e . c l a s s ) , t . s t y l e . t o p = " 0 p x " , t . s t y l e . l e f t = " 0 p x " ; l e t i = t . o f f s e t H e i g h t , s = t . o f f s e t W i d t h , l = n . g e t B o u n d i n g C l i e n t R e c t ( ) , r = 0 , o = 0 , a = 5 ; e . p o s i t i o n = = " l e f t " ? ( r = l . t o p + l . h e i g h t / 2 - i / 2 , o = l . l e f t - s - a ) : e . p o s i t i o n = = " r i g h t " ? ( r = l . t o p + l . h e i g h t / 2 - i / 2 , o = l . r i g h t + a ) : e . p o s i t i o n = = " t o p " ? ( r = l . t o p - i - a , o = l . l e f t + l . w i d t h / 2 - s / 2 ) : e . p o s i t i o n = = " t o p - l e f t " ? ( r = l . t o p - i - a , o = l . l e f t ) : e . p o s i t i o n = = " t o p - r i g h t " ? ( r = l . t o p - i - a , o = l . r i g h t - s ) : e . p o s i t i o n = = " b o t t o m - l e f t " ? ( r = l . t o p + l . h e i g h t + a , o = l . l e f t ) : e . p o s i t i o n = = " b o t t o m - r i g h t " ? ( r = l . t o p + l . h e i g h t + a , o = l . r i g h t - s ) : ( r = l . t o p + l . h e i g h t + a , o = l . l e f t + l . w i d t h / 2 - s / 2 ) , o + s > d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h & & ( o = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h - s ) , o = o > = 0 ? o : 0 , r + i > d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t & & ( r = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t - i ) , r = r > = 0 ? r : 0 , t . s t y l e . t o p = r + " p x " , t . s t y l e . l e f t = o + " p x " } f u n c t i o n Q a ( ) { c l e a r T i m e o u t ( x a ) , V i ( ) . c l a s s L i s t . r e m o v e ( " a c t i v e " ) , V i ( ) . a c t i v e N o d e = v o i d 0 } f u n c t i o n o 2 ( n , e ) { V i ( ) . a c t i v e N o d e = n , c l e a r T i m e o u t ( x a ) , x a = s e t T i m e o u t ( ( ) = > { V i ( ) . c l a s s L i s t . a d d ( " a c t i v e " ) , L 0 ( n , e ) } , i s N a N ( e . d e l a y ) ? 2 5 0 : e . d e l a y ) } f u n c t i o n S t ( n , e ) { l e t t = E c ( e ) ; f u n c t i o n i ( ) { o 2 ( n , t ) } f u n c t i o n s ( ) { Q a ( ) } r e t u r n n . a d d E v e n t L i s t e n e r ( " m o u s e e n t e r " , i ) , n . a d d E v e n t L i s t e n e r ( " m o u s e l e a v e " , s ) , n . a d d E v e n t L i s t e n e r ( " b l u r " , s ) , ( t . h i d e O n C l i c k = = = ! 0 | | t . h i d e O n C l i c k = = = n u l l & & U . i s F o c u s a b l e ( n ) ) & & n . a d d E v e n t L i s t e n e r ( " c l i c k " , s ) , V i ( ) , { u p d a t e ( l ) { v a r r , o ; t = E c ( l ) , ( o = ( r = V i ( ) ) = = n u
transform : $ { u } translate ( $ { ( 1 - c ) * s } px , $ { ( 1 - c ) * l } px ) ;
opacity : $ { a - f * d } ` }}function un(n,{delay:e=0,duration:t=400,easing:i=Do}={}){const s=getComputedStyle(n),l=+s.opacity,r=parseFloat(s.height),o=parseFloat(s.paddingTop),a=parseFloat(s.paddingBottom),u=parseFloat(s.marginTop),f=parseFloat(s.marginBottom),c=parseFloat(s.borderTopWidth),d=parseFloat(s.borderBottomWidth);return{delay:e,duration:t,easing:i,css:h=> ` overflow : hidden ; opacity : $ { Math . min ( h * 20 , 1 ) * l } ; height : $ { h * r } px ; padding - top : $ { h * o } px ; padding - bottom : $ { h * a } px ; margin - top : $ { h * u } px ; margin - bottom : $ { h * f } px ; border - top - width : $ { h * c } px ; border - bottom - width : $ { h * d } px ; ` }}function Wn(n,{delay:e=0,duration:t=400,easing:i=Do,start:s=0,opacity:l=0}={}){const r=getComputedStyle(n),o=+r.opacity,a=r.transform==="none"?"":r.transform,u=1-s,f=o*(1-l);return{delay:e,duration:t,easing:i,css:(c,d)=> `
transform : $ { a } scale ( $ { 1 - u * d } ) ;
opacity : $ { o - f * d }
2022-07-11 02:14:38 +08:00
` }}function a2(n){let e,t,i,s;return{c(){e=_("input"),p(e,"type","text"),p(e,"id",n[8]),p(e,"placeholder",t=n[0]||n[1])},m(l,r){w(l,e,r),n[13](e), $ e(e,n[7]),i||(s=X(e,"input",n[14]),i=!0)},p(l,r){r&3&&t!==(t=l[0]||l[1])&&p(e,"placeholder",t),r&128&&e.value!==l[7]&& $ e(e,l[7])},i:re,o:re,d(l){l&&k(e),n[13](null),i=!1,s()}}}function u2(n){let e,t,i,s;function l(a){n[12](a)}var r=n[4];function o(a){let u={singleLine:!0,disableRequestKeys:!0,disableIndirectCollectionsKeys:!0,extraAutocompleteKeys:a[3],baseCollection:a[2],placeholder:a[0]||a[1]};return a[7]!==void 0&&(u.value=a[7]),{props:u}}return r&&(e=new r(o(n)),he.push(()=>Re(e,"value",l)),e. $ on("submit",n[10])),{c(){e&&B(e. $ $ .fragment),i=lt()},m(a,u){e&&V(e,a,u),w(a,i,u),s=!0},p(a,u){const f={};if(u&8&&(f.extraAutocompleteKeys=a[3]),u&4&&(f.baseCollection=a[2]),u&3&&(f.placeholder=a[0]||a[1]),!t&&u&128&&(t=!0,f.value=a[7],je(()=>t=!1)),r!==(r=a[4])){if(e){Oe();const c=e;F(c. $ $ .fragment,1,0,()=>{z(c,1)}),Te()}r?(e=new r(o(a)),he.push(()=>Re(e,"value",l)),e. $ on("submit",a[10]),B(e. $ $ .fragment),A(e. $ $ .fragment,1),V(e,i.parentNode,i)):e=null}else r&&e. $ set(f)},i(a){s||(e&&A(e. $ $ .fragment,a),s=!0)},o(a){e&&F(e. $ $ .fragment,a),s=!1},d(a){a&&k(i),e&&z(e,a)}}}function Pc(n){let e,t,i,s,l,r,o=n[7]!==n[0]&&Lc();return{c(){o&&o.c(),e=O(),t=_("button"),t.innerHTML='<span class="txt">Clear</span>',p(t,"type","button"),p(t,"class","btn btn-secondary btn-sm btn-hint p-l-xs p-r-xs m-l-10")},m(a,u){o&&o.m(a,u),w(a,e,u),w(a,t,u),s=!0,l||(r=X(t,"click",n[15]),l=!0)},p(a,u){a[7]!==a[0]?o?u&129&&A(o,1):(o=Lc(),o.c(),A(o,1),o.m(e.parentNode,e)):o&&(Oe(),F(o,1,1,()=>{o=null}),Te())},i(a){s||(A(o),Dt(()=>{i||(i=ft(t,ni,{duration:150,x:5},!0)),i.run(1)}),s=!0)},o(a){F(o),i||(i=ft(t,ni,{duration:150,x:5},!1)),i.run(0),s=!1},d(a){o&&o.d(a),a&&k(e),a&&k(t),a&&i&&i.end(),l=!1,r()}}}function Lc(n){let e,t,i;return{c(){e=_("button"),e.innerHTML='<span class="txt">Search</span>',p(e,"type","submit"),p(e,"class","btn btn-expanded btn-sm btn-warning")},m(s,l){w(s,e,l),i=!0},i(s){i||(Dt(()=>{t||(t=ft(e,ni,{duration:150,x:5},!0)),t.run(1)}),i=!0)},o(s){t||(t=ft(e,ni,{duration:150,x:5},!1)),t.run(0),i=!1},d(s){s&&k(e),s&&t&&t.end()}}}function f2(n){let e,t,i,s,l,r,o,a,u,f,c;const d=[u2,a2],h=[];function g(b,v){return b[4]&&!b[5]?0:1}r=g(n),o=h[r]=d[r](n);let y=(n[0].length||n[7].length)&&Pc(n);return{c(){e=_("div"),t=_("form"),i=_("label"),s=_("i"),l=O(),o.c(),a=O(),y&&y.c(),p(s,"class","ri-search-line"),p(i,"for",n[8]),p(i,"class","m-l-10 txt-xl"),p(t,"class","searchbar"),p(e,"class","searchbar-wrapper")},m(b,v){w(b,e,v),m(e,t),m(t,i),m(i,s),m(t,l),h[r].m(t,null),m(t,a),y&&y.m(t,null),u=!0,f||(c=[X(t,"submit",Kt(n[10])),X(e,"click",Un(n[11]))],f=!0)},p(b,[v]){let S=r;r=g(b),r===S?h[r].p(b,v):(Oe(),F(h[S],1,1,()=>{h[S]=null}),Te(),o=h[r],o?o.p(b,v):(o=h[r]=d[r](b),o.c()),A(o,1),o.m(t,a)),b[0].length||b[7].length?y?(y.p(b,v),v&129&&A(y,1)):(y=Pc(b),y.c(),A(y,1),y.m(t,null)):y&&(Oe(),F(y,1,1,()=>{y=null}),Te())},i(b){u||(A(o),A(y),u=!0)},o(b){F(o),F(y),u=!1},d(b){b&&k(e),h[r].d(),y&&y.d(),f=!1,rt(c)}}}function c2(n,e,t){const i=_n(),s="search_"+U.randomString(7);let{value:l=""}=e,{placeholder:r='Search filter, ex. created > "2022-01-01"...'}=e,{autocompleteCollection:o=new Ln}=e,{extraAutocompleteKeys:a=[]}=e,u,f=!1,c,d="";function h(M=!0){t(7,d=""),M&&(c==null||c.focus()),i("clear")}function g(){t(0,l=d),i("submit",l)}async function y(){u||f||(t(5,f=!0),t(4,u=(await rs(()=>import("./FilterAutocompleteInput.e18b080c.js"),[])).default),t(5,f=!1))}pi(()=>{y()});function b(M){ut.call(this,n,M)}function v(M){d=M,t(7,d),t(0,l)}function S(M){he[M?"unshift":"push"](()=>{c=M,t(6,c)})}function $ (){d=this.value,t(7,d),t(0,l)}const C=()=>{h(!1),g()};return n. $ $ set=M=>{"value"in M&&t(0,l=M.value),"placeholder"in M&&t(1,r=M.placeholder),"autocompleteCollection"in M&&t(2,o=M.autocompleteCollection),"extraAutocompleteKeys"in M&&t(3,a=M.extraAutocompleteKeys)},n. $ $ .update=()=>{n. $ $ .dirty&1&&typeof l=="string"&&t(7,d=l)},[l,r,o,a,u,f,c,d,s,h,g,b,v,S, $ ,C]}class Ao extends Fe{constructor(e){super(),Le(this,e,c2,f2,Ae,{value:0
2022-07-10 16:46:21 +08:00
< span class = "txt" > method < / s p a n > ` , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( t , i ) { w ( t , e , i ) } , p : r e , d ( t ) { t & & k ( e ) } } } f u n c t i o n y 2 ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " u r l " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " u r l " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n v 2 ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " r e f e r e r " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " u r l " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n k 2 ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " s t a t u s " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " n u m b e r " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n w 2 ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " c r e a t e d " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " d a t e " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n I c ( n ) { l e t e ; f u n c t i o n t ( l , r ) { r e t u r n l [ 6 ] ? $ 2 : S 2 } l e t i = t ( n ) , s = i ( n ) ; r e t u r n { c ( ) { s . c ( ) , e = l t ( ) } , m ( l , r ) { s . m ( l , r ) , w ( l , e , r ) } , p ( l , r ) { i = = = ( i = t ( l ) ) & & s ? s . p ( l , r ) : ( s . d ( 1 ) , s = i ( l ) , s & & ( s . c ( ) , s . m ( e . p a r e n t N o d e , e ) ) ) } , d ( l ) { s . d ( l ) , l & & k ( e ) } } } f u n c t i o n S 2 ( n ) { v a r o ; l e t e , t , i , s , l , r = ( ( o = n [ 0 ] ) = = n u l l ? v o i d 0 : o . l e n g t h ) & & N c ( n ) ; r e t u r n { c ( ) { e = _ ( " t r " ) , t = _ ( " t d " ) , i = _ ( " h 6 " ) , i . t e x t C o n t e n t = " N o l o g s f o u n d . " , s = O ( ) , r & & r . c ( ) , l = O ( ) , p ( t , " c o l s p a n " , " 9 9 " ) , p ( t , " c l a s s " , " t x t - c e n t e r t x t - h i n t p - x s " ) } , m ( a , u ) { w ( a , e , u ) , m ( e , t ) , m ( t , i ) , m ( t , s ) , r & & r . m ( t , n u l l ) , m ( e , l ) } , p ( a , u ) { v a r f ; ( f = a [ 0 ] ) ! = n u l l & & f . l e n g t h ? r ? r . p ( a , u ) : ( r = N c ( a ) , r . c ( ) , r . m ( t , n u l l ) ) : r & & ( r . d ( 1 ) , r = n u l l ) } , d ( a ) { a & & k ( e ) , r & & r . d ( ) } } } f u n c t i o n $ 2 ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " t r " ) , e . i n n e r H T M L = ` < t d c o l s p a n = " 9 9 " c l a s s = " p - x s " > < s p a n c l a s s = " s k e l e t o n - l o a d e r " > < / s p a n > < / t d >
` },m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function Nc(n){let e,t,i;return{c(){e=_("button"),e.innerHTML='<span class="txt">Clear filters</span>',p(e,"type","button"),p(e,"class","btn btn-hint btn-expanded m-t-sm")},m(s,l){w(s,e,l),t||(i=X(e,"click",n[18]),t=!0)},p:re,d(s){s&&k(e),t=!1,i()}}}function Rc(n){let e;return{c(){e=_("i"),p(e,"class","ri-error-warning-line txt-danger m-l-5 m-r-5"),p(e,"title","Error")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function jc(n,e){var se,Z,De;let t,i,s,l=((se=e[21].method)==null?void 0:se.toUpperCase())+"",r,o,a,u,f,c=e[21].url+"",d,h,g,y,b,v,S=(e[21].referer||"N/A")+"", $ ,C,M,T,E,D=e[21].status+"",P,L,N,R,J,W,q,G,K,Y,ne=(((Z=e[21].meta)==null?void 0:Z.errorMessage)||((De=e[21].meta)==null?void 0:De.errorData))&&Rc();R=new $ i({props:{date:e[21].created}});function fe(){return e[16](e[21])}function ye(...te){return e[17](e[21],...te)}return{key:n,first:null,c(){t=_("tr"),i=_("td"),s=_("span"),r=H(l),a=O(),u=_("td"),f=_("span"),d=H(c),g=O(),ne&&ne.c(),y=O(),b=_("td"),v=_("span"), $ =H(S),M=O(),T=_("td"),E=_("span"),P=H(D),L=O(),N=_("td"),B(R. $ $ .fragment),J=O(),W=_("td"),W.innerHTML='<i class="ri-arrow-right-line"></i>',q=O(),p(s,"class",o="label txt-uppercase "+e[9][e[21].method.toLowerCase()]),p(i,"class","col-type-text col-field-method min-width"),p(f,"class","txt txt-ellipsis"),p(f,"title",h=e[21].url),p(u,"class","col-type-text col-field-url"),p(v,"class","txt txt-ellipsis"),p(v,"title",C=e[21].referer),Q(v,"txt-hint",!e[21].referer),p(b,"class","col-type-text col-field-referer"),p(E,"class","label"),Q(E,"label-danger",e[21].status>=400),p(T,"class","col-type-number col-field-status"),p(N,"class","col-type-date col-field-created"),p(W,"class","col-type-action min-width"),p(t,"tabindex","0"),p(t,"class","row-handle"),this.first=t},m(te,be){w(te,t,be),m(t,i),m(i,s),m(s,r),m(t,a),m(t,u),m(u,f),m(f,d),m(u,g),ne&&ne.m(u,null),m(t,y),m(t,b),m(b,v),m(v, $ ),m(t,M),m(t,T),m(T,E),m(E,P),m(t,L),m(t,N),V(R,N,null),m(t,J),m(t,W),m(t,q),G=!0,K||(Y=[X(t,"click",fe),X(t,"keydown",ye)],K=!0)},p(te,be){var ie,ve,He;e=te,(!G||be&8)&&l!==(l=((ie=e[21].method)==null?void 0:ie.toUpperCase())+"")&&_e(r,l),(!G||be&8&&o!==(o="label txt-uppercase "+e[9][e[21].method.toLowerCase()]))&&p(s,"class",o),(!G||be&8)&&c!==(c=e[21].url+"")&&_e(d,c),(!G||be&8&&h!==(h=e[21].url))&&p(f,"title",h),((ve=e[21].meta)==null?void 0:ve.errorMessage)||((He=e[21].meta)==null?void 0:He.errorData)?ne||(ne=Rc(),ne.c(),ne.m(u,null)):ne&&(ne.d(1),ne=null),(!G||be&8)&&S!==(S=(e[21].referer||"N/A")+"")&&_e( $ ,S),(!G||be&8&&C!==(C=e[21].referer))&&p(v,"title",C),be&8&&Q(v,"txt-hint",!e[21].referer),(!G||be&8)&&D!==(D=e[21].status+"")&&_e(P,D),be&8&&Q(E,"label-danger",e[21].status>=400);const ue={};be&8&&(ue.date=e[21].created),R. $ set(ue)},i(te){G||(A(R. $ $ .fragment,te),G=!0)},o(te){F(R. $ $ .fragment,te),G=!1},d(te){te&&k(t),ne&&ne.d(),z(R),K=!1,rt(Y)}}}function Hc(n){let e,t,i=n[3].length+"",s,l,r;return{c(){e=_("small"),t=H("Showing "),s=H(i),l=H(" of "),r=H(n[4]),p(e,"class","block txt-hint txt-right m-t-sm")},m(o,a){w(o,e,a),m(e,t),m(e,s),m(e,l),m(e,r)},p(o,a){a&8&&i!==(i=o[3].length+"")&&_e(s,i),a&16&&_e(r,o[4])},d(o){o&&k(e)}}}function qc(n){let e,t,i,s,l=n[4]-n[3].length+"",r,o,a,u;return{c(){e=_("div"),t=_("button"),i=_("span"),s=H("Load more ("),r=H(l),o=H(")"),p(i,"class","txt"),p(t,"type","button"),p(t,"class","btn btn-lg btn-secondary btn-expanded"),Q(t,"btn-loading",n[6]),Q(t,"btn-disabled",n[6]),p(e,"class","block txt-center m-t-xs")},m(f,c){w(f,e,c),m(e,t),m(t,i),m(i,s),m(i,r),m(i,o),a||(u=X(t,"click",n[19]),a=!0)},p(f,c){c&24&&l!==(l=f[4]-f[3].length+"")&&_e(r,l),c&64&&Q(t,"btn-loading",f[6]),c&64&&Q(t,"btn-disabled",f[6])},d(f){f&&k(e),a=!1,u()}}}function C2(n){let e,t,i,s,l,r,o,a,u,f,c,d,h,g,y,b,v,S, $ ,C,M,T,E=[],D=new Map,P,L,N,R;function J(ie){n[11](ie)}let W={disable:!0,class:"col-field-method",name:"method", $ $ slots:{default:[b2]}, $ $ scope:{ctx:n}};n[1]!==void 0&&(W.sort=n[1]),l=new Qt({props:W}),he.push(()=>Re(l,"sort",J));function q(ie){n[12](ie)}let G={disable:!0,class:"col-type-text col-field-url",name:"url", $ $ s
* Chart . js v3 . 8.0
* https : //www.chartjs.org
* ( c ) 2022 Chart . js Contributors
* Released under the MIT License
* / c o n s t F 0 = f u n c t i o n ( ) { r e t u r n t y p e o f w i n d o w = = " u n d e f i n e d " ? f u n c t i o n ( n ) { r e t u r n n ( ) } : w i n d o w . r e q u e s t A n i m a t i o n F r a m e } ( ) ; f u n c t i o n I 0 ( n , e , t ) { c o n s t i = t | | ( r = > A r r a y . p r o t o t y p e . s l i c e . c a l l ( r ) ) ; l e t s = ! 1 , l = [ ] ; r e t u r n f u n c t i o n ( . . . r ) { l = i ( r ) , s | | ( s = ! 0 , F 0 . c a l l ( w i n d o w , ( ) = > { s = ! 1 , n . a p p l y ( e , l ) } ) ) } } f u n c t i o n T 2 ( n , e ) { l e t t ; r e t u r n f u n c t i o n ( . . . i ) { r e t u r n e ? ( c l e a r T i m e o u t ( t ) , t = s e t T i m e o u t ( n , e , i ) ) : n . a p p l y ( t h i s , i ) , e } } c o n s t D 2 = n = > n = = = " s t a r t " ? " l e f t " : n = = = " e n d " ? " r i g h t " : " c e n t e r " , V c = ( n , e , t ) = > n = = = " s t a r t " ? e : n = = = " e n d " ? t : ( e + t ) / 2 ; f u n c t i o n g i ( ) { } c o n s t A 2 = f u n c t i o n ( ) { l e t n = 0 ; r e t u r n f u n c t i o n ( ) { r e t u r n n + + } } ( ) ; f u n c t i o n C t ( n ) { r e t u r n n = = = n u l l | | t y p e o f n = = " u n d e f i n e d " } f u n c t i o n P t ( n ) { i f ( A r r a y . i s A r r a y & & A r r a y . i s A r r a y ( n ) ) r e t u r n ! 0 ; c o n s t e = O b j e c t . p r o t o t y p e . t o S t r i n g . c a l l ( n ) ; r e t u r n e . s l i c e ( 0 , 7 ) = = = " [ o b j e c t " & & e . s l i c e ( - 6 ) = = = " A r r a y ] " } f u n c t i o n d t ( n ) { r e t u r n n ! = = n u l l & & O b j e c t . p r o t o t y p e . t o S t r i n g . c a l l ( n ) = = = " [ o b j e c t O b j e c t ] " } c o n s t V t = n = > ( t y p e o f n = = " n u m b e r " | | n i n s t a n c e o f N u m b e r ) & & i s F i n i t e ( + n ) ; f u n c t i o n j n ( n , e ) { r e t u r n V t ( n ) ? n : e } f u n c t i o n h t ( n , e ) { r e t u r n t y p e o f n = = " u n d e f i n e d " ? e : n } c o n s t E 2 = ( n , e ) = > t y p e o f n = = " s t r i n g " & & n . e n d s W i t h ( " % " ) ? p a r s e F l o a t ( n ) / 1 0 0 : n / e , N 0 = ( n , e ) = > t y p e o f n = = " s t r i n g " & & n . e n d s W i t h ( " % " ) ? p a r s e F l o a t ( n ) / 1 0 0 * e : + n ; f u n c t i o n R t ( n , e , t ) { i f ( n & & t y p e o f n . c a l l = = " f u n c t i o n " ) r e t u r n n . a p p l y ( t , e ) } f u n c t i o n $ t ( n , e , t , i ) { l e t s , l , r ; i f ( P t ( n ) ) i f ( l = n . l e n g t h , i ) f o r ( s = l - 1 ; s > = 0 ; s - - ) e . c a l l ( t , n [ s ] , s ) ; e l s e f o r ( s = 0 ; s < l ; s + + ) e . c a l l ( t , n [ s ] , s ) ; e l s e i f ( d t ( n ) ) f o r ( r = O b j e c t . k e y s ( n ) , l = r . l e n g t h , s = 0 ; s < l ; s + + ) e . c a l l ( t , n [ r [ s ] ] , r [ s ] ) } f u n c t i o n o o ( n , e ) { l e t t , i , s , l ; i f ( ! n | | ! e | | n . l e n g t h ! = = e . l e n g t h ) r e t u r n ! 1 ; f o r ( t = 0 , i = n . l e n g t h ; t < i ; + + t ) i f ( s = n [ t ] , l = e [ t ] , s . d a t a s e t I n d e x ! = = l . d a t a s e t I n d e x | | s . i n d e x ! = = l . i n d e x ) r e t u r n ! 1 ; r e t u r n ! 0 } f u n c t i o n a o ( n ) { i f ( P t ( n ) ) r e t u r n n . m a p ( a o ) ; i f ( d t ( n ) ) { c o n s t e = O b j e c t . c r e a t e ( n u l l ) , t = O b j e c t . k e y s ( n ) , i = t . l e n g t h ; l e t s = 0 ; f o r ( ; s < i ; + + s ) e [ t [ s ] ] = a o ( n [ t [ s ] ] ) ; r e t u r n e } r e t u r n n } f u n c t i o n R 0 ( n ) { r e t u r n [ " _ _ p r o t o _ _ " , " p r o t o t y p e " , " c o n s t r u c t o r " ] . i n d e x O f ( n ) = = = - 1 } f u n c t i o n P 2 ( n , e , t , i ) { i f ( ! R 0 ( n ) ) r e t u r n ; c o n s t s = e [ n ] , l = t [ n ] ; d t ( s ) & & d t ( l ) ? N l ( s , l , i ) : e [ n ] = a o ( l ) } f u n c t i o n N l ( n , e , t ) { c o n s t i = P t ( e ) ? e : [ e ] , s = i . l e n g t h ; i f ( ! d t ( n ) ) r e t u r n n ; t = t | | { } ; c o n s t l = t . m e r g e r | | P 2 ; f o r ( l e t r = 0 ; r < s ; + + r ) { i f ( e = i [ r ] , ! d t ( e ) ) c o n t i n u e ; c o n s t o = O b j e c t . k e y s ( e ) ; f o r ( l e t a = 0 , u = o . l e n g t h ; a < u ; + + a ) l ( o [ a ] , n , e , t ) } r e t u r n n } f u n c t i o n O l ( n , e ) { r e t u r n N l ( n , e , { m e r g e r : L 2 } ) } f u n c t i o n L 2 ( n , e , t ) { i f ( ! R 0 ( n ) ) r e t u r n ; c o n s t i = e [ n ] , s = t [ n ] ; d t ( i ) & & d t ( s ) ? O l ( i , s ) : O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( e , n ) | | ( e [ n ] = a o ( s ) ) } c o n s t F 2 = " " , I 2 = " . " ; f u n c t i o n z c ( n , e ) { c o n s t t = n . i n d e x O f ( I 2 , e ) ; r e t u r n t = = = - 1 ? n . l e n g t h : t } f u n c t i o n B i ( n , e ) { i f ( e = = = F 2 ) r e t u r n n ; l e t t = 0 , i = z c ( e , t ) ; f o r ( ; n & & i > t ; ) n = n [ e . s l i c e ( t , i ) ] , t = i + 1 , i = z c ( e , t ) ; r e t u r n n } f u n c t i o n z u ( n ) { r e t u r n n . c h a r A t ( 0 ) . t o U p p e r C a s e ( ) + n . s l i c e ( 1 ) } c o n s t Y n = n = > t y p e o f n ! = " u n d e f i n e d " , U i = n = > t y p e o f n = = " f u n c t i o n " , B c = ( n , e ) = > { i f ( n . s i z e ! = = e . s i z e ) r e t u r n ! 1 ; f o r ( c o n s t t o f n ) i f ( ! e . h a s ( t ) ) r e t u r n ! 1 ; r e t u r n ! 0 } ; f u n c t i o n N 2 ( n ) { r e t u r n n . t y p e = = = " m o u s e u p " | | n . t y p e = = = " c l i c k " | | n . t y p e = = = " c o n t e x t m e n u " } c o n s t H t = M a t h . P I , E t = 2 * H t , R 2 = E t + H t , u o = N u m b e r . P O S I T I V E _ I N F I N I T Y , j 2 = H t / 1 8 0 , j t = H t / 2 , f l = H t / 4 , U c = H t * 2 / 3 , V n = M a t h . l o g 1 0 , u i = M a t h . s i g n ; f u n c t i o n W c ( n ) { c o n s t e = M a t h . r o u n d ( n ) ; n = T l ( n , e , n / 1 e 3 ) ? e : n ; c o n s t t = M a t h . p o w ( 1 0 , M a t h . f l o o r ( V n ( n ) ) ) , i = n / t ; r e t u r n ( i < = 1 ? 1 : i < = 2 ? 2 : i < = 5 ? 5 : 1 0 ) * t } f u n c t i o n H 2 ( n ) { c o n s t e = [ ] , t = M a t h . s q r t ( n ) ; l e t i ; f o r ( i = 1 ; i < t ; i + + ) n % i = = = 0 & & ( e . p u s h ( i ) , e . p u s h ( n / i ) ) ; r e t u r n t = = = ( t | 0 ) & & e . p u s h ( t ) , e . s o r t ( ( s , l ) = > s - l ) . p o p ( ) , e } f u n c t i o n R l ( n ) { r e t u r n ! i s N a N ( p a r s e F l o a t ( n ) ) & & i s F i n i t e ( n ) } f u n c t i o n T l ( n , e , t ) { r e t u r n M a t h . a b s ( n - e ) < t } f u n c t i o n q 2 ( n , e ) { c o n s t t = M a t h . r o u n d ( n ) ; r e t u r n t - e < = n & & t + e > = n } f u n c t i o n j 0 ( n , e , t ) { l e t i , s , l ; f o r ( i = 0 , s = n . l e n g t h ; i < s ; i + + ) l = n [ i ] [ t ] , i s N a N ( l ) | | ( e . m i n = M a t h . m i n ( e . m i n , l ) , e . m a x = M a t h . m a x ( e . m a x , l ) ) } f u n c t i o n Q n ( n ) { r e t u r n n * ( H t / 1 8 0 ) } f u n c t i o n B u ( n ) { r e t u r n n * ( 1 8 0 / H t ) } f u n c t i o n Y c ( n ) { i f ( ! V t ( n ) ) r e t u r n ; l e t e = 1 , t = 0 ; f o r ( ; M a t h . r o u n d ( n * e ) / e ! = = n ; ) e * = 1 0 , t + + ; r e t u r n t } f u n c t i o n H 0 ( n , e ) { c o n s t t = e . x - n . x , i = e . y - n . y , s = M a t h . s q r t ( t * t + i * i ) ; l e t l = M a t h . a t a n 2 ( i , t ) ; r e t u r n l < - . 5 * H t & & ( l + = E t ) , { a n g l e : l , d i s t a n c e : s } } f u n c t i o n e u ( n , e ) { r e t u r n M a t h . s q r t ( M a t h . p o w ( e . x - n . x , 2 ) + M a t h . p o w ( e . y - n . y , 2 ) ) } f u n c t i o n V 2 ( n , e ) { r e t u r n ( n - e + R 2 ) % E t - H t } f u n c t i o n C n ( n ) { r e t u r n ( n % E t + E t ) % E t } f u n c t i o n j l ( n , e , t , i ) { c o n s t s = C n ( n ) , l = C n ( e ) , r = C n ( t ) , o = C n ( l - s ) , a = C n ( r - s ) , u = C n ( s - l ) , f = C n ( s - r ) ; r e t u r n s = = = l | | s = = = r | | i & & l = = = r | | o
* @ kurkle / color v0 . 2.1
* https : //github.com/kurkle/color#readme
* ( c ) 2022 Jukka Kurkela
* Released under the MIT License
* / f u n c t i o n x l ( n ) { r e t u r n n + . 5 | 0 } c o n s t H i = ( n , e , t ) = > M a t h . m a x ( M a t h . m i n ( n , t ) , e ) ; f u n c t i o n k l ( n ) { r e t u r n H i ( x l ( n * 2 . 5 5 ) , 0 , 2 5 5 ) } f u n c t i o n z i ( n ) { r e t u r n H i ( x l ( n * 2 5 5 ) , 0 , 2 5 5 ) } f u n c t i o n v i ( n ) { r e t u r n H i ( x l ( n / 2 . 5 5 ) / 1 0 0 , 0 , 1 ) } f u n c t i o n G c ( n ) { r e t u r n H i ( x l ( n * 1 0 0 ) , 0 , 1 0 0 ) } c o n s t R n = { 0 : 0 , 1 : 1 , 2 : 2 , 3 : 3 , 4 : 4 , 5 : 5 , 6 : 6 , 7 : 7 , 8 : 8 , 9 : 9 , A : 1 0 , B : 1 1 , C : 1 2 , D : 1 3 , E : 1 4 , F : 1 5 , a : 1 0 , b : 1 1 , c : 1 2 , d : 1 3 , e : 1 4 , f : 1 5 } , t u = [ . . . " 0 1 2 3 4 5 6 7 8 9 A B C D E F " ] , B 2 = n = > t u [ n & 1 5 ] , U 2 = n = > t u [ ( n & 2 4 0 ) > > 4 ] + t u [ n & 1 5 ] , S r = n = > ( n & 2 4 0 ) > > 4 = = = ( n & 1 5 ) , W 2 = n = > S r ( n . r ) & & S r ( n . g ) & & S r ( n . b ) & & S r ( n . a ) ; f u n c t i o n Y 2 ( n ) { v a r e = n . l e n g t h , t ; r e t u r n n [ 0 ] = = = " # " & & ( e = = = 4 | | e = = = 5 ? t = { r : 2 5 5 & R n [ n [ 1 ] ] * 1 7 , g : 2 5 5 & R n [ n [ 2 ] ] * 1 7 , b : 2 5 5 & R n [ n [ 3 ] ] * 1 7 , a : e = = = 5 ? R n [ n [ 4 ] ] * 1 7 : 2 5 5 } : ( e = = = 7 | | e = = = 9 ) & & ( t = { r : R n [ n [ 1 ] ] < < 4 | R n [ n [ 2 ] ] , g : R n [ n [ 3 ] ] < < 4 | R n [ n [ 4 ] ] , b : R n [ n [ 5 ] ] < < 4 | R n [ n [ 6 ] ] , a : e = = = 9 ? R n [ n [ 7 ] ] < < 4 | R n [ n [ 8 ] ] : 2 5 5 } ) ) , t } c o n s t K 2 = ( n , e ) = > n < 2 5 5 ? e ( n ) : " " ; f u n c t i o n J 2 ( n ) { v a r e = W 2 ( n ) ? B 2 : U 2 ; r e t u r n n ? " # " + e ( n . r ) + e ( n . g ) + e ( n . b ) + K 2 ( n . a , e ) : v o i d 0 } c o n s t G 2 = / ^ ( h s l a ? | h w b | h s v ) \ ( \ s * ( [ - + . e \ d ] + ) ( ? : d e g ) ? [ \ s , ] + ( [ - + . e \ d ] + ) % [ \ s , ] + ( [ - + . e \ d ] + ) % ( ? : [ \ s , ] + ( [ - + . e \ d ] + ) ( % ) ? ) ? \ s * \ ) $ / ; f u n c t i o n q 0 ( n , e , t ) { c o n s t i = e * M a t h . m i n ( t , 1 - t ) , s = ( l , r = ( l + n / 3 0 ) % 1 2 ) = > t - i * M a t h . m a x ( M a t h . m i n ( r - 3 , 9 - r , 1 ) , - 1 ) ; r e t u r n [ s ( 0 ) , s ( 8 ) , s ( 4 ) ] } f u n c t i o n Z 2 ( n , e , t ) { c o n s t i = ( s , l = ( s + n / 6 0 ) % 6 ) = > t - t * e * M a t h . m a x ( M a t h . m i n ( l , 4 - l , 1 ) , 0 ) ; r e t u r n [ i ( 5 ) , i ( 3 ) , i ( 1 ) ] } f u n c t i o n x 2 ( n , e , t ) { c o n s t i = q 0 ( n , 1 , . 5 ) ; l e t s ; f o r ( e + t > 1 & & ( s = 1 / ( e + t ) , e * = s , t * = s ) , s = 0 ; s < 3 ; s + + ) i [ s ] * = 1 - e - t , i [ s ] + = e ; r e t u r n i } f u n c t i o n X 2 ( n , e , t , i , s ) { r e t u r n n = = = s ? ( e - t ) / i + ( e < t ? 6 : 0 ) : e = = = s ? ( t - n ) / i + 2 : ( n - e ) / i + 4 } f u n c t i o n U u ( n ) { c o n s t t = n . r / 2 5 5 , i = n . g / 2 5 5 , s = n . b / 2 5 5 , l = M a t h . m a x ( t , i , s ) , r = M a t h . m i n ( t , i , s ) , o = ( l + r ) / 2 ; l e t a , u , f ; r e t u r n l ! = = r & & ( f = l - r , u = o > . 5 ? f / ( 2 - l - r ) : f / ( l + r ) , a = X 2 ( t , i , s , f , l ) , a = a * 6 0 + . 5 ) , [ a | 0 , u | | 0 , o ] } f u n c t i o n W u ( n , e , t , i ) { r e t u r n ( A r r a y . i s A r r a y ( e ) ? n ( e [ 0 ] , e [ 1 ] , e [ 2 ] ) : n ( e , t , i ) ) . m a p ( z i ) } f u n c t i o n Y u ( n , e , t ) { r e t u r n W u ( q 0 , n , e , t ) } f u n c t i o n Q 2 ( n , e , t ) { r e t u r n W u ( x 2 , n , e , t ) } f u n c t i o n e w ( n , e , t ) { r e t u r n W u ( Z 2 , n , e , t ) } f u n c t i o n V 0 ( n ) { r e t u r n ( n % 3 6 0 + 3 6 0 ) % 3 6 0 } f u n c t i o n t w ( n ) { c o n s t e = G 2 . e x e c ( n ) ; l e t t = 2 5 5 , i ; i f ( ! e ) r e t u r n ; e [ 5 ] ! = = i & & ( t = e [ 6 ] ? k l ( + e [ 5 ] ) : z i ( + e [ 5 ] ) ) ; c o n s t s = V 0 ( + e [ 2 ] ) , l = + e [ 3 ] / 1 0 0 , r = + e [ 4 ] / 1 0 0 ; r e t u r n e [ 1 ] = = = " h w b " ? i = Q 2 ( s , l , r ) : e [ 1 ] = = = " h s v " ? i = e w ( s , l , r ) : i = Y u ( s , l , r ) , { r : i [ 0 ] , g : i [ 1 ] , b : i [ 2 ] , a : t } } f u n c t i o n n w ( n , e ) { v a r t = U u ( n ) ; t [ 0 ] = V 0 ( t [ 0 ] + e ) , t = Y u ( t ) , n . r = t [ 0 ] , n . g = t [ 1 ] , n . b = t [ 2 ] } f u n c t i o n i w ( n ) { i f ( ! n ) r e t u r n ; c o n s t e = U u ( n ) , t = e [ 0 ] , i = G c ( e [ 1 ] ) , s = G c ( e [ 2 ] ) ; r e t u r n n . a < 2 5 5 ? ` h s l a ( $ { t } , $ { i } % , $ { s } % , $ { v i ( n . a ) } ) ` : ` h s l ( $ { t } , $ { i } % , $ { s } % ) ` } c o n s t Z c = { x : " d a r k " , Z : " l i g h t " , Y : " r e " , X : " b l u " , W : " g r " , V : " m e d i u m " , U : " s l a t e " , A : " e e " , T : " o l " , S : " o r " , B : " r a " , C : " l a t e g " , D : " i g h t s " , R : " i n " , Q : " t u r q u o i s " , E : " h i " , P : " r o " , O : " a l " , N : " l e " , M : " d e " , L : " y e l l o " , F : " e n " , K : " c h " , G : " a r k s " , H : " e a " , I : " i g h t g " , J : " w h " } , x c = { O i c e X e : " f 0 f 8 f f " , a n t i q u e w E t e : " f a e b d 7 " , a q u a : " f f f f " , a q u a m a r R e : " 7 f f f d 4 " , a z u Y : " f 0 f f f f " , b e i g e : " f 5 f 5 d c " , b i s q u e : " f f e 4 c 4 " , b l a c k : " 0 " , b l a n K e d O m o n d : " f f e b c d " , X e : " f f " , X e v i T e t : " 8 a 2 b e 2 " , b P w n : " a 5 2 a 2 a " , b u r l y w o o d : " d e b 8 8 7 " , c a M t X e : " 5 f 9 e a 0 " , K a r t Y u s e : " 7 f f f 0 0 " , K o c T a t e : " d 2 6 9 1 e " , c S O : " f f 7 f 5 0 " , c S n f l o w e r X e : " 6 4 9 5 e d " , c S n s i l k : " f f f 8 d c " , c r i m s o n : " d c 1 4 3 c " , c y a n : " f f f f " , x X e : " 8 b " , x c y a n : " 8 b 8 b " , x g T M n P d : " b 8 8 6 0 b " , x W a y : " a 9 a 9 a 9 " , x g Y F : " 6 4 0 0 " , x g Y y : " a 9 a 9 a 9 " , x k h a k i : " b d b 7 6 b " , x m a g F t a : " 8 b 0 0 8 b " , x T i v e g Y F : " 5 5 6 b 2 f " , x S a n g e : " f f 8 c 0 0 " , x S c E d : " 9 9 3 2 c c " , x Y d : " 8 b 0 0 0 0 " , x s O m o n : " e 9 9 6 7 a " , x s H g Y F : " 8 f b c 8 f " , x U X e : " 4 8 3 d 8 b " , x U W a y : " 2 f 4 f 4 f " , x U g Y y : " 2 f 4 f 4 f " , x Q e : " c e d 1 " , x v i T e t : " 9 4 0 0 d 3 " , d A p p R k : " f f 1 4 9 3 " , d A p s k y X e : " b f f f " , d i m W a y : " 6 9 6 9 6 9 " , d i m g Y y : " 6 9 6 9 6 9 " , d o d g e r X e : " 1 e 9 0 f f " , f i Y b r i c k : " b 2 2 2 2 2 " , f l S O w E t e : " f f f a f 0 " , f o Y s t W A n : " 2 2 8 b 2 2 " , f u K s i a : " f f 0 0 f f " , g a R s b S o : " d c d c d c " , g h o s t w E t e : " f 8 f 8 f f " , g T d : " f f d 7 0 0 " , g T M n P d : " d a a 5 2 0 " , W a y : " 8 0 8 0 8 0 " , g Y F : " 8 0 0 0 " , g Y F L w : " a d f f 2 f " , g Y y : " 8 0 8 0 8 0 " , h o n e y M w : " f 0 f f f 0 " , h o t p R k : " f f 6 9 b 4 " , R d i a n Y d : " c d 5 c 5 c " , R d i g o : " 4 b 0 0 8 2 " , i v S y : " f f f f f 0 " , k h a k i : " f 0 e 6 8 c " , l a v F M r : " e 6 e 6 f a " , l a v F M r X s h : " f f f 0 f 5 " , l a w n g Y F : " 7 c f c 0 0 " , N m o n c E f f o n : " f f f a c d " , Z X e : " a d d 8 e 6 " , Z c S O : " f 0 8 0 8 0 " , Z c y a n : " e 0 f f f f " , Z g T M n P d L w : " f a f a d 2 " , Z W a y : " d 3 d 3 d 3 " , Z g Y F : " 9 0 e e 9 0 " , Z g Y y : " d 3 d 3 d 3 " , Z p R k : " f f b 6 c 1 " , Z s O m o n : " f f a 0 7 a " , Z s H g Y F : " 2 0 b 2 a a " , Z s k y X e : " 8 7 c e f a " , Z U W a y : " 7 7 8 8 9 9 " , Z U g Y y : " 7 7 8 8 9 9 " , Z s t A l X e : " b 0 c 4 d e " , Z L w : " f f f f e 0 " , l i m e : " f f 0 0 " , l i m e g Y F : " 3 2 c d 3 2 " , l R F : " f a f 0 e 6 " , m a g F t a : " f f 0 0 f f " , m a P o n : " 8 0 0 0 0 0 " , V a q u a m a r R e : " 6 6 c d a a " , V X e : " c d " , V S c E d : " b a 5 5 d 3 " , V p u r p N : " 9 3 7 0 d b " , V s H g Y F : " 3 c b 3 7 1 " , V U X e : " 7 b 6 8 e e " , V s p r R g g Y F : " f a 9 a " , V Q e : " 4 8 d 1 c c " , V v i T e t Y d : " c 7 1 5 8 5 " , m i d n i g h t X e : " 1 9 1 9 7 0 " , m R t c Y a m : " f 5 f f f a " , m i s t y P s e : "
* Chart . js v3 . 8.0
* https : //www.chartjs.org
* ( c ) 2022 Chart . js Contributors
* Released under the MIT License
* /class aS{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,i,s){const l=t.listeners[s],r=t.duration;l.forEach(o=>o({chart:e,initial:t.initial,numSteps:r,currentStep:Math.min(i-t.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=F0.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((i,s)=>{if(!i.running||!i.items.length)return;const l=i.items;let r=l.length-1,o=!1,a;for(;r>=0;--r)a=l[r],a._active?(a._total>i.duration&&(i.duration=a._total),a.tick(e),o=!0):(l[r]=l[l.length-1],l.pop());o&&(s.draw(),this._notify(s,i,e,"progress")),l.length||(i.running=!1,this._notify(s,i,e,"complete"),i.initial=!1),t+=l.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){const t=this._charts;let i=t.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,i)),i}listen(e,t,i){this._getAnims(e).listeners[t].push(i)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);!t||(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((i,s)=>Math.max(i,s._duration),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const i=t.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var _i=new aS;const fd="transparent",uS={boolean(n,e,t){return t>.5?e:n},color(n,e,t){const i=Qc(n||fd),s=i.valid&&Qc(e||fd);return s&&s.valid?s.mix(i,t).hexString():e},number(n,e,t){return n+(e-n)*t}};class fS{constructor(e,t,i,s){const l=t[i];s=Mr([e.to,s,l,e.from]);const r=Mr([e.from,l,s]);this._active=!0,this._fn=e.fn||uS[e.type||typeof r],this._easing=Dl[e.easing]||Dl.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=i,this._from=r,this._to=s,this._promises=void 0}active(){return this._active}update(e,t,i){if(this._active){this._notify(!1);const s=this._target[this._prop],l=i-this._start,r=this._duration-l;this._start=i,this._duration=Math.floor(Math.max(r,e.duration)),this._total+=l,this._loop=!!e.loop,this._to=Mr([e.to,t,s,e.from]),this._from=Mr([e.from,s,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,i=this._duration,s=this._prop,l=this._from,r=this._loop,o=this._to;let a;if(this._active=l!==o&&(r||t<i),!this._active){this._target[s]=o,this._notify(!0);return}if(t<0){this._target[s]=l;return}a=t/i % 2 , a = r && a > 1 ? 2 - a : a , a = this . _easing ( Math . min ( 1 , Math . max ( 0 , a ) ) ) , this . _target [ s ] = this . _fn ( l , o , a ) } wait ( ) { const e = this . _promises || ( this . _promises = [ ] ) ; return new Promise ( ( t , i ) => { e . push ( { res : t , rej : i } ) } ) } _notify ( e ) { const t = e ? "res" : "rej" , i = this . _promises || [ ] ; for ( let s = 0 ; s < i . length ; s ++ ) i [ s ] [ t ] ( ) } } const cS = [ "x" , "y" , "borderWidth" , "radius" , "tension" ] , dS = [ "color" , "borderColor" , "backgroundColor" ] ; mt . set ( "animation" , { delay : void 0 , duration : 1e3 , easing : "easeOutQuart" , fn : void 0 , from : void 0 , loop : void 0 , to : void 0 , type : void 0 } ) ; const pS = Object . keys ( mt . animation ) ; mt . describe ( "animation" , { _fallback : ! 1 , _indexable : ! 1 , _scriptable : n => n !== "onProgress" && n !== "onComplete" && n !== "fn" } ) ; mt . set ( "animations" , { colors : { type : "color" , properties : dS } , numbers : { type : "number" , properties : cS } } ) ; mt . describe ( "animations" , { _fallback : "animation" } ) ; mt . set ( "transitions" , { active : { animation : { duration : 400 } } , resize : { animation : { duration : 0 } } , show : { animations : { colors : { from : "transparent" } , visible : { type : "boolean" , duration : 0 } } } , hide : { animations : { colors : { to : "transparent" } , visible : { type : "boolean" , easing : "linear" , fn : n => n | 0 } } } } ) ; class sb { constructor ( e , t ) { this . _chart = e , this . _properties = new Map , this . configure ( t ) } configure ( e ) { if ( ! dt ( e ) ) return ; const t = this . _properties ; Object . getOwnPropertyNames ( e ) . forEach ( i => { const s = e [ i ] ; if ( ! dt ( s ) ) return ; const l = { } ; for ( co
` )>-1?n.split( `
` ):n}function EC(n,e){const{element:t,datasetIndex:i,index:s}=e,l=n.getDatasetMeta(i).controller,{label:r,value:o}=l.getLabelAndValue(s);return{chart:n,label:r,parsed:l.getParsed(s),raw:n.data.datasets[i].data[s],formattedValue:o,dataset:l.getDataset(),dataIndex:s,datasetIndex:i,element:t}}function qd(n,e){const t=n.chart.ctx,{body:i,footer:s,title:l}=n,{boxWidth:r,boxHeight:o}=e,a=On(e.bodyFont),u=On(e.titleFont),f=On(e.footerFont),c=l.length,d=s.length,h=i.length,g=Kn(e.padding);let y=g.height,b=0,v=i.reduce((C,M)=>C+M.before.length+M.lines.length+M.after.length,0);if(v+=n.beforeBody.length+n.afterBody.length,c&&(y+=c*u.lineHeight+(c-1)*e.titleSpacing+e.titleMarginBottom),v){const C=e.displayColors?Math.max(o,a.lineHeight):a.lineHeight;y+=h*C+(v-h)*a.lineHeight+(v-1)*e.bodySpacing}d&&(y+=e.footerMarginTop+d*f.lineHeight+(d-1)*e.footerSpacing);let S=0;const $ =function(C){b=Math.max(b,t.measureText(C).width+S)};return t.save(),t.font=u.string, $ t(n.title, $ ),t.font=a.string, $ t(n.beforeBody.concat(n.afterBody), $ ),S=e.displayColors?r+2+e.boxPadding:0, $ t(i,C=>{ $ t(C.before, $ ), $ t(C.lines, $ ), $ t(C.after, $ )}),S=0,t.font=f.string, $ t(n.footer, $ ),t.restore(),b+=g.width,{width:b,height:y}}function PC(n,e){const{y:t,height:i}=e;return t<i/2?"top":t>n.height-i/2?"bottom":"center"}function LC(n,e,t,i){const{x:s,width:l}=i,r=t.caretSize+t.caretPadding;if(n==="left"&&s+l+r>e.width||n==="right"&&s-l-r<0)return!0}function FC(n,e,t,i){const{x:s,width:l}=t,{width:r,chartArea:{left:o,right:a}}=n;let u="center";return i==="center"?u=s<=(o+a)/2?"left":"right":s<=l/2?u="left":s>=r-l/2&&(u="right"),LC(u,n,e,t)&&(u="center"),u}function Vd(n,e,t){const i=t.yAlign||e.yAlign||PC(n,t);return{xAlign:t.xAlign||e.xAlign||FC(n,e,t,i),yAlign:i}}function IC(n,e){let{x:t,width:i}=n;return e==="right"?t-=i:e==="center"&&(t-=i/2),t}function NC(n,e,t){let{y:i,height:s}=n;return e==="top"?i+=t:e==="bottom"?i-=s+t:i-=s/2,i}function zd(n,e,t,i){const{caretSize:s,caretPadding:l,cornerRadius:r}=n,{xAlign:o,yAlign:a}=t,u=s+l,{topLeft:f,topRight:c,bottomLeft:d,bottomRight:h}=Hs(r);let g=IC(e,o);const y=NC(e,a,u);return a==="center"?o==="left"?g+=u:o==="right"&&(g-=u):o==="left"?g-=Math.max(f,d)+s:o==="right"&&(g+=Math.max(c,h)+s),{x:on(g,0,i.width-e.width),y:on(y,0,i.height-e.height)}}function Lr(n,e,t){const i=Kn(t.padding);return e==="center"?n.x+n.width/2:e==="right"?n.x+n.width-i.right:n.x+i.left}function Bd(n){return li([],bi(n))}function RC(n,e,t){return Yi(n,{tooltip:e,tooltipItems:t,type:"tooltip"})}function Ud(n,e){const t=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return t?n.override(t):n}class fu extends Ti{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this. $ animations=void 0,this. $ context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this. $ context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&t.options.animation&&i.animations,l=new sb(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(l)),l}getContext(){return this. $ context||(this. $ context=RC(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,t){const{callbacks:i}=t,s=i.beforeTitle.apply(this,[e]),l=i.title.apply(this,[e]),r=i.afterTitle.apply(this,[e]);let o=[];return o=li(o,bi(s)),o=li(o,bi(l)),o=li(o,bi(r)),o}getBeforeBody(e,t){return Bd(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const{callbacks:i}=t,s=[];return $ t(e,l=>{const r={before:[],lines:[],after:[]},o=Ud(i,l);li(r.before,bi(o.beforeLabel.call(this,l))
* chartjs - adapter - luxon v1 . 1.0
* https : //www.chartjs.org
* ( c ) 2021 chartjs - adapter - luxon Contributors
* Released under the MIT license
* / c o n s t s 3 = { d a t e t i m e : Q e . D A T E T I M E _ M E D _ W I T H _ S E C O N D S , m i l l i s e c o n d : " h : m m : s s . S S S a " , s e c o n d : Q e . T I M E _ W I T H _ S E C O N D S , m i n u t e : Q e . T I M E _ S I M P L E , h o u r : { h o u r : " n u m e r i c " } , d a y : { d a y : " n u m e r i c " , m o n t h : " s h o r t " } , w e e k : " D D " , m o n t h : { m o n t h : " s h o r t " , y e a r : " n u m e r i c " } , q u a r t e r : " ' Q ' q - y y y y " , y e a r : { y e a r : " n u m e r i c " } } ; a b . _ d a t e . o v e r r i d e ( { _ i d : " l u x o n " , _ c r e a t e : f u n c t i o n ( n ) { r e t u r n Q e . f r o m M i l l i s ( n , t h i s . o p t i o n s ) } , f o r m a t s : f u n c t i o n ( ) { r e t u r n s 3 } , p a r s e : f u n c t i o n ( n , e ) { c o n s t t = t h i s . o p t i o n s ; i f ( n = = = n u l l | | t y p e o f n = = " u n d e f i n e d " ) r e t u r n n u l l ; c o n s t i = t y p e o f n ; r e t u r n i = = = " n u m b e r " ? n = t h i s . _ c r e a t e ( n ) : i = = = " s t r i n g " ? t y p e o f e = = " s t r i n g " ? n = Q e . f r o m F o r m a t ( n , e , t ) : n = Q e . f r o m I S O ( n , t ) : n i n s t a n c e o f D a t e ? n = Q e . f r o m J S D a t e ( n , t ) : i = = = " o b j e c t " & & ! ( n i n s t a n c e o f Q e ) & & ( n = Q e . f r o m O b j e c t ( n ) ) , n . i s V a l i d ? n . v a l u e O f ( ) : n u l l } , f o r m a t : f u n c t i o n ( n , e ) { c o n s t t = t h i s . _ c r e a t e ( n ) ; r e t u r n t y p e o f e = = " s t r i n g " ? t . t o F o r m a t ( e , t h i s . o p t i o n s ) : t . t o L o c a l e S t r i n g ( e ) } , a d d : f u n c t i o n ( n , e , t ) { c o n s t i = { } ; r e t u r n i [ t ] = e , t h i s . _ c r e a t e ( n ) . p l u s ( i ) . v a l u e O f ( ) } , d i f f : f u n c t i o n ( n , e , t ) { r e t u r n t h i s . _ c r e a t e ( n ) . d i f f ( t h i s . _ c r e a t e ( e ) ) . a s ( t ) . v a l u e O f ( ) } , s t a r t O f : f u n c t i o n ( n , e , t ) { i f ( e = = = " i s o W e e k " ) { t = M a t h . t r u n c ( M a t h . m i n ( M a t h . m a x ( 0 , t ) , 6 ) ) ; c o n s t i = t h i s . _ c r e a t e ( n ) ; r e t u r n i . m i n u s ( { d a y s : ( i . w e e k d a y - t + 7 ) % 7 } ) . s t a r t O f ( " d a y " ) . v a l u e O f ( ) } r e t u r n e ? t h i s . _ c r e a t e ( n ) . s t a r t O f ( e ) . v a l u e O f ( ) : n } , e n d O f : f u n c t i o n ( n , e ) { r e t u r n t h i s . _ c r e a t e ( n ) . e n d O f ( e ) . v a l u e O f ( ) } } ) ; f u n c t i o n X d ( n ) { l e t e , t , i ; r e t u r n { c ( ) { e = _ ( " d i v " ) , p ( e , " c l a s s " , " c h a r t - l o a d e r l o a d e r s v e l t e - v h 4 s l 8 " ) } , m ( s , l ) { w ( s , e , l ) , i = ! 0 } , i ( s ) { i | | ( D t ( ( ) = > { t | | ( t = f t ( e , W n , { d u r a t i o n : 1 5 0 } , ! 0 ) ) , t . r u n ( 1 ) } ) , i = ! 0 ) } , o ( s ) { t | | ( t = f t ( e , W n , { d u r a t i o n : 1 5 0 } , ! 1 ) ) , t . r u n ( 0 ) , i = ! 1 } , d ( s ) { s & & k ( e ) , s & & t & & t . e n d ( ) } } } f u n c t i o n l 3 ( n ) { l e t e , t , i = n [ 1 ] = = = 1 ? " l o g " : " l o g s " , s ; r e t u r n { c ( ) { e = H ( n [ 1 ] ) , t = O ( ) , s = H ( i ) } , m ( l , r ) { w ( l , e , r ) , w ( l , t , r ) , w ( l , s , r ) } , p ( l , r ) { r & 2 & & _ e ( e , l [ 1 ] ) , r & 2 & & i ! = = ( i = l [ 1 ] = = = 1 ? " l o g " : " l o g s " ) & & _ e ( s , i ) } , d ( l ) { l & & k ( e ) , l & & k ( t ) , l & & k ( s ) } } } f u n c t i o n r 3 ( n ) { l e t e ; r e t u r n { c ( ) { e = H ( " L o a d i n g . . . " ) } , m ( t , i ) { w ( t , e , i ) } , p : r e , d ( t ) { t & & k ( e ) } } } f u n c t i o n o 3 ( n ) { l e t e , t , i , s , l , r , o = n [ 2 ] & & X d ( ) ; f u n c t i o n a ( c , d ) { r e t u r n c [ 2 ] ? r 3 : l 3 } l e t u = a ( n ) , f = u ( n ) ; r e t u r n { c ( ) { e = _ ( " d i v " ) , o & & o . c ( ) , t = O ( ) , i = _ ( " c a n v a s " ) , s = O ( ) , l = _ ( " d i v " ) , f . c ( ) , p ( i , " c l a s s " , " c h a r t - c a n v a s s v e l t e - v h 4 s l 8 " ) , b f ( i , " h e i g h t " , " 2 5 0 p x " ) , b f ( i , " w i d t h " , " 1 0 0 % " ) , p ( e , " c l a s s " , " c h a r t - w r a p p e r s v e l t e - v h 4 s l 8 " ) , Q ( e , " l o a d i n g " , n [ 2 ] ) , p ( l , " c l a s s " , " t x t - h i n t m - t - x s t x t - r i g h t " ) } , m ( c , d ) { w ( c , e , d ) , o & & o . m ( e , n u l l ) , m ( e , t ) , m ( e , i ) , n [ 8 ] ( i ) , w ( c , s , d ) , w ( c , l , d ) , f . m ( l , n u l l ) , r = ! 0 } , p ( c , [ d ] ) { c [ 2 ] ? o ? d & 4 & & A ( o , 1 ) : ( o = X d ( ) , o . c ( ) , A ( o , 1 ) , o . m ( e , t ) ) : o & & ( O e ( ) , F ( o , 1 , 1 , ( ) = > { o = n u l l } ) , T e ( ) ) , d & 4 & & Q ( e , " l o a d i n g " , c [ 2 ] ) , u = = = ( u = a ( c ) ) & & f ? f . p ( c , d ) : ( f . d ( 1 ) , f = u ( c ) , f & & ( f . c ( ) , f . m ( l , n u l l ) ) ) } , i ( c ) { r | | ( A ( o ) , r = ! 0 ) } , o ( c ) { F ( o ) , r = ! 1 } , d ( c ) { c & & k ( e ) , o & & o . d ( ) , n [ 8 ] ( n u l l ) , c & & k ( s ) , c & & k ( l ) , f . d ( ) } } } f u n c t i o n a 3 ( n , e , t ) { l e t { f i l t e r : i = " " } = e , { p r e s e t s : s = " " } = e , l , r , o = [ ] , a = 0 , u = ! 1 ; a s y n c f u n c t i o n f ( ) { r e t u r n t ( 2 , u = ! 0 ) , w e . L o g s . g e t R e q u e s t s S t a t s ( { f i l t e r : [ s , i ] . f i l t e r ( B o o l e a n ) . j o i n ( " & & " ) } ) . t h e n ( h = > { c ( ) ; f o r ( l e t g o f h ) o . p u s h ( { x : U . g e t D a t e T i m e ( g . d a t e ) . t o L o c a l ( ) . t o J S D a t e ( ) , y : g . t o t a l } ) , t ( 1 , a + = g . t o t a l ) ; o . p u s h ( { x : n e w D a t e , y : v o i d 0 } ) } ) . c a t c h ( h = > { h ! = = n u l l & & ( c ( ) , c o n s o l e . w a r n ( h ) , w e . e r r o r R e s p o n s e H a n d l e r ( h , ! 1 ) ) } ) . f i n a l l y ( ( ) = > { t ( 2 , u = ! 1 ) } ) } f u n c t i o n c ( ) { t ( 1 , a = 0 ) , t ( 7 , o = [ ] ) } p i ( ( ) = > ( b o . r e g i s t e r ( K i , L o , e r , f f , n r , A C , j C ) , t ( 6 , r = n e w b o ( l , { t y p e : " l i n e " , d a t a : { d a t a s e t s : [ { l a b e l : " T o t a l r e q u e s t s " , d a t a : o , b o r d e r C o l o r : " # e f 4 5 6 5 " , p o i n t B a c k g r o u n d C o l o r : " # e f 4 5 6 5 " , b a c k g r o u n d C o l o r : " r g b ( 2 3 9 , 6 9 , 1 0 1 , 0 . 0 5 ) " , b o r d e r W i d t h : 2 , p o i n t B o r d e r W i d t h : 0 , f i l l : ! 0 } ] } , o p t i o n s : { a n i m a t i o n : ! 1 , i n t e r a c t i o n : { i n t e r s e c t : ! 1 , m o d e : " i n d e x " } , s c a l e s : { y : { b e g i n A t Z e r o : ! 0 , g r i d : { c o l o r : " # e d f 0 f 3 " , b o r d e r C o l o r : " # d e e 3 e 8 " } , t i c k s : { p r e c i s i o n : 0 , m a x T i c k s L i m i t : 6 , a u t o S k i p : ! 0 , c o l o r : " # 6 6 6 f 7 5 " } } , x : { t y p e : " t i m e " , t i m e : { u n i t : " h o u r " , t o o l t i p F o r m a t : " D D h a " } , g r i d : { b o r d e r C o l o r : " # d e e 3 e 8 " , c o l o r : h = > h . t i c k . m a j o r ? " # e d f 0 f 3 " : " " } , t i c k s : { m a x T i c k s L i m i t : 1 5 , a u t o S k i p : ! 0 , m a x R o t a t i o n : 0 , m a j o r : { e n a b l e d : ! 0 } , c o l o r : h = > h . t i c k . m a j o r ? " # 1 6 1 6 1 a " : " # 6 6 6 f 7 5 " } } } , p l u g i n s : { l e g e n d : { d i s p l a y : ! 1 } } } } ) ) , ( ) = > r = = n u l l ? v o i d 0 : r . d e s t r o y ( ) ) ) ; f u n c t i o n d ( h ) { h e [ h ? " u n s h i f t " : " p u s h " ] ( ( ) = > { l = h , t ( 0 , l ) } ) } r e t u r n n . $ $ s e t = h = > { " f i l t e r " i n h & & t ( 3 , i = h . f i l t e r ) , " p r e s e t s " i n h & & t ( 4 , s = h . p r e s e t s ) } , n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 2 4 & & ( t y p e o f i ! = " u n d e f i n e d " | | t y p e o f s ! = " u n d e f i n e d " ) & & f ( ) , n . $ $ . d i r t y & 1 9 2 & & t y p e o f o ! = " u n d e f i n e d " & & r & & ( t ( 6 , r . d a t a . d a t a s e t s [
* Prism : Lightweight , robust , elegant syntax highlighting
*
* @ license MIT < https : //opensource.org/licenses/MIT>
* @ author Lea Verou < https : //lea.verou.me>
* @ namespace
* @ public
* /var t=function(i){var s=/ ( ? : ^ | \ s ) lang ( ? : uage ) ? - ( [ \ w - ] + ) ( ? = \ s | $ ) / i , l = 0 , r = { } , o = { manual : i . Prism && i . Prism . manual , disableWorkerMessageHandler : i . Prism && i . Prism . disableWorkerMessageHandler , util : { encode : function S ( $ ) { return $ instanceof a ? new a ( $ . type , S ( $ . content ) , $ . alias ) : Array . isArray ( $ ) ? $ . map ( S ) : $ . replace ( /&/g , "&" ) . replace ( /</g , "<" ) . replace ( /\u00a0/g , " " ) } , type : function ( S ) { return Object . prototype . toString . call ( S ) . slice ( 8 , - 1 ) } , objId : function ( S ) { return S . _ _id || Object . defineProperty ( S , "__id" , { value : ++ l } ) , S . _ _id } , clone : function S ( $ , C ) { C = C || { } ; var M , T ; switch ( o . util . type ( $ ) ) { case "Object" : if ( T = o . util . objId ( $ ) , C [ T ] ) return C [ T ] ; M = { } , C [ T ] = M ; for ( var E in $ ) $ . hasOwnProperty ( E ) && ( M [ E ] = S ( $ [ E ] , C ) ) ; return M ; case "Array" : return T = o . util . objId ( $ ) , C [ T ] ? C [ T ] : ( M = [ ] , C [ T ] = M , $ . forEach ( function ( D , P ) { M [ P ] = S ( D , C ) } ) , M ) ; default : return $ } } , getLanguage : function ( S ) { for ( ; S ; ) { var $ = s . exec ( S . className ) ; if ( $ ) return $ [ 1 ] . toLowerCase ( ) ; S = S . parentElement } return "none" } , setLanguage : function ( S , $ ) { S . className = S . className . replace ( RegExp ( s , "gi" ) , "" ) , S . classList . add ( "language-" + $ ) } , currentScript : function ( ) { if ( typeof document == "undefined" ) return null ; if ( "currentScript" in document && 1 < 2 ) return document . currentScript ; try { throw new Error } catch ( M ) { var S = ( /at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i . exec ( M . stack ) || [ ] ) [ 1 ] ; if ( S ) { var $ = document . getElementsByTagName ( "script" ) ; for ( var C in $ ) if ( $ [ C ] . src == S ) return $ [ C ] } return null } } , isActive : function ( S , $ , C ) { for ( var M = "no-" + $ ; S ; ) { var T = S . classList ; if ( T . contains ( $ ) ) return ! 0 ; if ( T . contains ( M ) ) return ! 1 ; S = S . parentElement } return ! ! C } } , languages : { plain : r , plaintext : r , text : r , txt : r , extend : function ( S , $ ) { var C = o . util . clone ( o . languages [ S ] ) ; for ( var M in $ ) C [ M ] = $ [ M ] ; return C } , insertBefore : function ( S , $ , C , M ) { M = M || o . languages ; var T = M [ S ] , E = { } ; for ( var D in T ) if ( T . hasOwnProperty ( D ) ) { if ( D == $ ) for ( var P in C ) C . hasOwnProperty ( P ) && ( E [ P ] = C [ P ] ) ; C . hasOwnProperty ( D ) || ( E [ D ] = T [ D ] ) } var L = M [ S ] ; return M [ S ] = E , o . languages . DFS ( o . languages , function ( N , R ) { R === L && N != S && ( this [ N ] = E ) } ) , E } , DFS : function S ( $ , C , M , T ) { T = T || { } ; var E = o . util . objId ; for ( var D in $ ) if ( $ . hasOwnProperty ( D ) ) { C . call ( $ , D , $ [ D ] , M || D ) ; var P = $ [ D ] , L = o . util . type ( P ) ; L === "Object" && ! T [ E ( P ) ] ? ( T [ E ( P ) ] = ! 0 , S ( P , C , null , T ) ) : L === "Array" && ! T [ E ( P ) ] && ( T [ E ( P ) ] = ! 0 , S ( P , C , D , T ) ) } } } , plugins : { } , highlightAll : function ( S , $ ) { o . highlightAllUnder ( document , S , $ ) } , highlightAllUnder : function ( S , $ , C ) { var M = { callback : C , container : S , selector : 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code' } ; o . hooks . run ( "before-highlightall" , M ) , M . elements = Array . prototype . slice . apply ( M . container . querySelectorAll ( M . selector ) ) , o . hooks . run ( "before-all-elements-highlight" , M ) ; for ( var T = 0 , E ; E = M . elements [ T ++ ] ; ) o . highlightElement ( E , $ === ! 0 , M . callback ) } , highlightElement : function ( S , $ , C ) { var M = o . util . getLanguage ( S ) , T = o . languages [ M ] ; o . util . setLanguage ( S , M ) ; var E = S . parentElement ; E && E . nodeName . toLowerCase ( ) === "pre" && o . util . setLanguage ( E , M ) ; var D = S . textContent , P = { element : S , language : M , grammar : T , code : D } ; function L ( R ) { P . highlightedCode = R , o . hooks . run ( "before-insert" , P ) , P . element . innerHTML = P . highlightedCode , o . hooks . run ( "after-highlight" , P ) , o . hooks . run ( "complete" , P ) , C && C . call ( P . element ) } if ( o . hooks . run ( "before-sanity-check" , P ) , E = P . element . parentElement , E && E . nodeName . toLowerCase ( ) === "pre" && ! E . hasAttribute ( "tabindex" ) && E . setAttribute ( "tabindex" , "0" ) , ! P . code ) { o . hooks . run ( "complete" , P ) , C && C . call ( P . element ) ; return } if ( o . hooks . run ( "before-highlight" , P ) , ! P . grammar ) { L ( o . util . encode ( P . code ) ) ; return } if ( $ && i . Worker ) { var N = new Worker ( o . filename ) ; N . onmessage = function ( R ) { L ( R . data ) } , N . postMessage ( JSON . stringify ( { language : P . language , code : P . code , immediateClose : ! 0 } ) ) } else L ( o . highlight ( P . code , P . grammar , P . language ) ) } , highlight : function ( S , $ , C ) { var M = { code : S , grammar : $ , language : C } ; if ( o . hooks . run ( "before-tokenize" , M ) , ! M . grammar ) throw new Error ( 'The language "' + M . language + '" has no grammar.' ) ; return M . tokens = o . tokenize ( M . code , M . grammar ) , o . hooks . run ( "after-tokenize" , M ) , a . stringify ( o . util . encode ( M . tokens ) , M . language ) } , tokenize : function ( S , $ ) { var C = $ . rest ; if ( C ) { for ( var M in C ) $ [ M ] = C [ M ] ; delete $ . rest } var T = new c ; return d ( T , T . head , S ) , f ( S , T , $ , T . head , 0 ) , g ( T ) } , hooks : { all : { } , add
` ),b.hasAttribute("data-start")||b.setAttribute("data-start",String(P+1))}v.textContent=T,t.highlightElement(v)},function(T){b.setAttribute(o,f),v.textContent=T})}}),t.plugins.fileHighlight={highlight:function(b){for(var v=(b||document).querySelectorAll(c),S=0, $ ; $ =v[S++];)t.highlightElement( $ )}};var g=!1;t.fileHighlight=function(){g||(console.warn("Prism.fileHighlight is deprecated. Use ` Prism . plugins . fileHighlight . highlight ` instead."),g=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Db);var gl=Db.exports,f3={exports:{}};(function(n){(function(){if(typeof Prism=="undefined")return;var e=Object.assign||function(l,r){for(var o in r)r.hasOwnProperty(o)&&(l[o]=r[o]);return l};function t(l){this.defaults=e({},l)}function i(l){return l.replace(/-( \w )/g,function(r,o){return o.toUpperCase()})}function s(l){for(var r=0,o=0;o<l.length;++o)l.charCodeAt(o)==" ".charCodeAt(0)&&(r+=3);return l.length+r}t.prototype={setDefaults:function(l){this.defaults=e(this.defaults,l)},normalize:function(l,r){r=e(this.defaults,r);for(var o in r){var a=i(o);o!=="normalize"&&a!=="setDefaults"&&r[o]&&this[a]&&(l=this[a].call(this,l,r[o]))}return l},leftTrim:function(l){return l.replace(/^ \s +/,"")},rightTrim:function(l){return l.replace(/ \s + $ /,"")},tabsToSpaces:function(l,r){return r=r|0||4,l.replace(/ \t /g,new Array(++r).join(" "))},spacesToTabs:function(l,r){return r=r|0||4,l.replace(RegExp(" {"+r+"}","g")," ")},removeTrailing:function(l){return l.replace(/ \s *? $ /gm,"")},removeInitialLineFeed:function(l){return l.replace(/^(?: \r ? \n | \r )/,"")},removeIndent:function(l){var r=l.match(/^[^ \S \n \r ]*(?= \S )/gm);return!r||!r[0].length||(r.sort(function(o,a){return o.length-a.length}),!r[0].length)?l:l.replace(RegExp("^"+r[0],"gm"),"")},indent:function(l,r){return l.replace(/^[^ \S \n \r ]*(?= \S )/gm,new Array(++r).join(" ")+" $ &")},breakLines:function(l,r){r=r===!0?80:r|0||80;for(var o=l.split( `
` ),a=0;a<o.length;++a)if(!(s(o[a])<=r)){for(var u=o[a].split(/( \s +)/g),f=0,c=0;c<u.length;++c){var d=s(u[c]);f+=d,f>r&&(u[c]= `
` +u[c],f=d)}o[a]=u.join("")}return o.join( `
` )}},n.exports&&(n.exports=t),Prism.plugins.NormalizeWhitespace=new t({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",function(l){var r=Prism.plugins.NormalizeWhitespace;if(!(l.settings&&l.settings["whitespace-normalization"]===!1)&&!!Prism.util.isActive(l.element,"whitespace-normalization",!0)){if((!l.element||!l.element.parentNode)&&l.code){l.code=r.normalize(l.code,l.settings);return}var o=l.element.parentNode;if(!(!l.code||!o||o.nodeName.toLowerCase()!=="pre")){for(var a=o.childNodes,u="",f="",c=!1,d=0;d<a.length;++d){var h=a[d];h==l.element?c=!0:h.nodeName==="#text"&&(c?f+=h.nodeValue:u+=h.nodeValue,o.removeChild(h),--d)}if(!l.element.children.length||!Prism.plugins.KeepMarkup)l.code=u+l.code+f,l.code=r.normalize(l.code,l.settings);else{var g=u+l.element.innerHTML+f;l.element.innerHTML=r.normalize(g,l.settings),l.code=l.element.textContent}}}})})()})(f3);function c3(n){let e,t;return{c(){e=_("div"),t=_("code"),p(t,"class","svelte-tv7jme"),p(e,"class","code-wrapper prism-light svelte-tv7jme")},m(i,s){w(i,e,s),m(e,t),t.innerHTML=n[0]},p(i,[s]){s&1&&(t.innerHTML=i[0])},i:re,o:re,d(i){i&&k(e)}}}function d3(n,e,t){let{content:i=""}=e,{language:s="javascript"}=e,l="";function r(o){return o=typeof o=="string"?o:"",o=gl.plugins.NormalizeWhitespace.normalize(o,{"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),gl.highlight(o,gl.languages[s]||gl.languages.javascript,s)}return n. $ $ set=o=>{"content"in o&&t(1,i=o.content),"language"in o&&t(2,s=o.language)},n. $ $ .update=()=>{n. $ $ .dirty&2&&typeof gl!="undefined"&&i&&t(0,l=r(i))},[l,i,s]}class en extends Fe{constructor(e){super(),Le(this,e,d3,c3,Ae,{content:1,language:2})}}const p3=n=>({}),ep=n=>({}),h3=n=>({}),tp=n=>({});function np(n){let e,t,i,s,l,r,o,a,u,f,c,d,h,g,y,b,v,S, $ =n[4]&&!n[2]&&ip(n);const C=n[18].header,M=Tn(C,n,n[17],tp);let T=n[4]&&n[2]&&sp(n);const E=n[18].default,D=Tn(E,n,n[17],null),P=n[18].footer,L=Tn(P,n,n[17],ep);return{c(){e=_("div"),t=_("div"),s=O(),l=_("div"),r=_("div"), $ && $ .c(),o=O(),M&&M.c(),a=O(),T&&T.c(),u=O(),f=_("div"),D&&D.c(),c=O(),d=_("div"),L&&L.c(),p(t,"class","overlay"),p(r,"class","overlay-panel-section panel-header"),p(f,"class","overlay-panel-section panel-content"),p(d,"class","overlay-panel-section panel-footer"),p(l,"class",h="overlay-panel "+n[1]+" "+n[8]),Q(l,"popup",n[2]),p(e,"class","overlay-panel-container"),Q(e,"padded",n[2]),Q(e,"active",n[0])},m(N,R){w(N,e,R),m(e,t),m(e,s),m(e,l),m(l,r), $ && $ .m(r,null),m(r,o),M&&M.m(r,null),m(r,a),T&&T.m(r,null),m(l,u),m(l,f),D&&D.m(f,null),n[20](f),m(l,c),m(l,d),L&&L.m(d,null),b=!0,v||(S=[X(t,"click",Kt(n[19])),X(f,"scroll",n[21])],v=!0)},p(N,R){n=N,n[4]&&!n[2]? $ ? $ .p(n,R):( $ =ip(n), $ .c(), $ .m(r,o)): $ &&( $ .d(1), $ =null),M&&M.p&&(!b||R&131072)&&An(M,C,n,n[17],b?Dn(C,n[17],R,h3):En(n[17]),tp),n[4]&&n[2]?T?T.p(n,R):(T=sp(n),T.c(),T.m(r,null)):T&&(T.d(1),T=null),D&&D.p&&(!b||R&131072)&&An(D,E,n,n[17],b?Dn(E,n[17],R,null):En(n[17]),null),L&&L.p&&(!b||R&131072)&&An(L,P,n,n[17],b?Dn(P,n[17],R,p3):En(n[17]),ep),(!b||R&258&&h!==(h="overlay-panel "+n[1]+" "+n[8]))&&p(l,"class",h),R&262&&Q(l,"popup",n[2]),R&4&&Q(e,"padded",n[2]),R&1&&Q(e,"active",n[0])},i(N){b||(Dt(()=>{i||(i=ft(t,ro,{duration:Ps,opacity:0},!0)),i.run(1)}),A(M,N),A(D,N),A(L,N),Dt(()=>{y&&y.end(1),g=vu(l,ni,n[2]?{duration:Ps,y:-10}:{duration:Ps,x:50}),g.start()}),b=!0)},o(N){i||(i=ft(t,ro,{duration:Ps,opacity:0},!1)),i.run(0),F(M,N),F(D,N),F(L,N),g&&g.invalidate(),y=Zg(l,ni,n[2]?{duration:Ps,y:10}:{duration:Ps,x:50}),b=!1},d(N){N&&k(e),N&&i&&i.end(), $ && $ .d(),M&&M.d(N),T&&T.d(),D&&D.d(N),n[20](null),L&&L.d(N),N&&y&&y.end(),v=!1,rt(S)}}}function ip(n){let e,t,i;return{c(){e=_("div"),e.innerHTML='<i class="ri-close-line"></i>',p(e,"class","overlay-close")},m(s,l){w(s,e,l),t||(i=X(e,"click",Kt(n[5])),t=!0)},p:re,d(s){s&&k(e),t=!1,i()}}}function sp(n){let e,t,i;return{c(){e=_("button"),e.innerHTML='<i class="ri-close-line txt-lg"></i>',p(e,"type","button"),p(e,"class","btn btn-sm btn-circle btn-secondary btn-close m-l-auto")},m(s,l){w(s,e,l),t||(i=X(e,"click",Kt(n[5])
This field is disabled if "Only domains" is set . ` ,position:"top"})),d=!0)},p(b,v){(!c||v&16&&l!==(l=b[4]))&&p(e,"for",l);const S={};v&16&&(S.id=b[4]),v&1&&(S.disabled=!U.isEmpty(b[0].onlyDomains)),!a&&v&1&&(a=!0,S.value=b[0].exceptDomains,je(()=>a=!1)),o. $ set(S)},i(b){c||(A(o. $ $ .fragment,b),c=!0)},o(b){F(o. $ $ .fragment,b),c=!1},d(b){b&&k(e),b&&k(r),z(o,b),b&&k(u),b&&k(f),d=!1,h()}}}function v4(n){let e,t,i,s,l,r,o,a,u,f,c,d,h;function g(b){n[3](b)}let y={id:n[4]+".options.onlyDomains",disabled:!U.isEmpty(n[0].exceptDomains)};return n[0].onlyDomains!==void 0&&(y.value=n[0].onlyDomains),o=new ks({props:y}),he.push(()=>Re(o,"value",g)),{c(){e=_("label"),t=_("span"),t.textContent="Only domains",i=O(),s=_("i"),r=O(),B(o. $ $ .fragment),u=O(),f=_("div"),f.textContent="Use comma as separator.",p(t,"class","txt"),p(s,"class","ri-information-line link-hint"),p(e,"for",l=n[4]+".options.onlyDomains"),p(f,"class","help-block")},m(b,v){w(b,e,v),m(e,t),m(e,i),m(e,s),w(b,r,v),V(o,b,v),w(b,u,v),w(b,f,v),c=!0,d||(h=Xe(St.call(null,s,{text: ` Domains that are ONLY allowed as value .
This field is disabled if "Except domains" is set . ` ,position:"top"})),d=!0)},p(b,v){(!c||v&16&&l!==(l=b[4]+".options.onlyDomains"))&&p(e,"for",l);const S={};v&16&&(S.id=b[4]+".options.onlyDomains"),v&1&&(S.disabled=!U.isEmpty(b[0].exceptDomains)),!a&&v&1&&(a=!0,S.value=b[0].onlyDomains,je(()=>a=!1)),o. $ set(S)},i(b){c||(A(o. $ $ .fragment,b),c=!0)},o(b){F(o. $ $ .fragment,b),c=!1},d(b){b&&k(e),b&&k(r),z(o,b),b&&k(u),b&&k(f),d=!1,h()}}}function k4(n){let e,t,i,s,l,r,o;return i=new Ne({props:{class:"form-field",name:"schema."+n[1]+".options.exceptDomains", $ $ slots:{default:[y4,({uniqueId:a})=>({4:a}),({uniqueId:a})=>a?16:0]}, $ $ scope:{ctx:n}}}),r=new Ne({props:{class:"form-field",name:"schema."+n[1]+".options.onlyDomains", $ $ slots:{default:[v4,({uniqueId:a})=>({4:a}),({uniqueId:a})=>a?16:0]}, $ $ scope:{ctx:n}}}),{c(){e=_("div"),t=_("div"),B(i. $ $ .fragment),s=O(),l=_("div"),B(r. $ $ .fragment),p(t,"class","col-sm-6"),p(l,"class","col-sm-6"),p(e,"class","grid")},m(a,u){w(a,e,u),m(e,t),V(i,t,null),m(e,s),m(e,l),V(r,l,null),o=!0},p(a,[u]){const f={};u&2&&(f.name="schema."+a[1]+".options.exceptDomains"),u&49&&(f. $ $ scope={dirty:u,ctx:a}),i. $ set(f);const c={};u&2&&(c.name="schema."+a[1]+".options.onlyDomains"),u&49&&(c. $ $ scope={dirty:u,ctx:a}),r. $ set(c)},i(a){o||(A(i. $ $ .fragment,a),A(r. $ $ .fragment,a),o=!0)},o(a){F(i. $ $ .fragment,a),F(r. $ $ .fragment,a),o=!1},d(a){a&&k(e),z(i),z(r)}}}function w4(n,e,t){let{key:i=""}=e,{options:s={}}=e;function l(o){n. $ $ .not_equal(s.exceptDomains,o)&&(s.exceptDomains=o,t(0,s))}function r(o){n. $ $ .not_equal(s.onlyDomains,o)&&(s.onlyDomains=o,t(0,s))}return n. $ $ set=o=>{"key"in o&&t(1,i=o.key),"options"in o&&t(0,s=o.options)},[s,i,l,r]}class Lb extends Fe{constructor(e){super(),Le(this,e,w4,k4,Ae,{key:1,options:0})}}function S4(n){let e,t,i,s;function l(a){n[2](a)}function r(a){n[3](a)}let o={};return n[0]!==void 0&&(o.key=n[0]),n[1]!==void 0&&(o.options=n[1]),e=new Lb({props:o}),he.push(()=>Re(e,"key",l)),he.push(()=>Re(e,"options",r)),{c(){B(e. $ $ .fragment)},m(a,u){V(e,a,u),s=!0},p(a,[u]){const f={};!t&&u&1&&(t=!0,f.key=a[0],je(()=>t=!1)),!i&&u&2&&(i=!0,f.options=a[1],je(()=>i=!1)),e. $ set(f)},i(a){s||(A(e. $ $ .fragment,a),s=!0)},o(a){F(e. $ $ .fragment,a),s=!1},d(a){z(e,a)}}}function $ 4(n,e,t){let{key:i=""}=e,{options:s={}}=e;function l(o){i=o,t(0,i)}function r(o){s=o,t(1,s)}return n. $ $ set=o=>{"key"in o&&t(0,i=o.key),"options"in o&&t(1,s=o.options)},[i,s,l,r]}class C4 extends Fe{constructor(e){super(),Le(this,e, $ 4,S4,Ae,{key:0,options:1})}}var $ a=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],qs={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(n){return typeof console!="undefined"&&console.warn(n)},getWeek:function(n){var e=new Date(n.getTime());e.setHours(0,0,0,0),e.setDate(e.getDate()+3-(e.getDay()+6)%7);var t=new Date(e.getFullYear(),0,4);return 1+Math.round(((e.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.o
< span class = 'flatpickr-weekday' >
` +j.join("</span><span class='flatpickr-weekday'>")+ `
< / s p a n >
` }}function fe(){t.calendarContainer.classList.add("hasWeeks");var I=wt("div","flatpickr-weekwrapper");I.appendChild(wt("span","flatpickr-weekday",t.l10n.weekAbbreviation));var j=wt("div","flatpickr-weeks");return I.appendChild(j),{weekWrapper:I,weekNumbers:j}}function ye(I,j){j===void 0&&(j=!0);var ee=j?I:I-t.currentMonth;ee<0&&t._hidePrevMonthArrow===!0||ee>0&&t._hideNextMonthArrow===!0||(t.currentMonth+=ee,(t.currentMonth<0||t.currentMonth>11)&&(t.currentYear+=t.currentMonth>11?1:-1,t.currentMonth=(t.currentMonth+12)%12,st("onYearChange"),J()),R(),st("onMonthChange"),xe())}function se(I,j){if(I===void 0&&(I=!0),j===void 0&&(j=!0),t.input.value="",t.altInput!==void 0&&(t.altInput.value=""),t.mobileInput!==void 0&&(t.mobileInput.value=""),t.selectedDates=[],t.latestSelectedDateObj=void 0,j===!0&&(t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth()),t.config.enableTime===!0){var ee=Ta(t.config),de=ee.hours,Pe=ee.minutes,We=ee.seconds;h(de,Pe,We)}t.redraw(),I&&st("onChange")}function Z(){t.isOpen=!1,t.isMobile||(t.calendarContainer!==void 0&&t.calendarContainer.classList.remove("open"),t._input!==void 0&&t._input.classList.remove("active")),st("onClose")}function De(){t.config!==void 0&&st("onDestroy");for(var I=t._handlers.length;I--;)t._handlers[I].remove();if(t._handlers=[],t.mobileInput)t.mobileInput.parentNode&&t.mobileInput.parentNode.removeChild(t.mobileInput),t.mobileInput=void 0;else if(t.calendarContainer&&t.calendarContainer.parentNode)if(t.config.static&&t.calendarContainer.parentNode){var j=t.calendarContainer.parentNode;if(j.lastChild&&j.removeChild(j.lastChild),j.parentNode){for(;j.firstChild;)j.parentNode.insertBefore(j.firstChild,j);j.parentNode.removeChild(j)}}else t.calendarContainer.parentNode.removeChild(t.calendarContainer);t.altInput&&(t.input.type="text",t.altInput.parentNode&&t.altInput.parentNode.removeChild(t.altInput),delete t.altInput),t.input&&(t.input.type=t.input._type,t.input.classList.remove("flatpickr-input"),t.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(ee){try{delete t[ee]}catch{}})}function te(I){return t.calendarContainer.contains(I)}function be(I){if(t.isOpen&&!t.config.inline){var j=Sn(I),ee=te(j),de=j===t.input||j===t.altInput||t.element.contains(j)||I.path&&I.path.indexOf&&(~I.path.indexOf(t.input)||~I.path.indexOf(t.altInput)),Pe=!de&&!ee&&!te(I.relatedTarget),We=!t.config.ignoredFocusElements.some(function(tt){return tt.contains(j)});Pe&&We&&(t.config.allowInput&&t.setDate(t._input.value,!1,t.config.altInput?t.config.altFormat:t.config.dateFormat),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0&&t.input.value!==""&&t.input.value!==void 0&&a(),t.close(),t.config&&t.config.mode==="range"&&t.selectedDates.length===1&&t.clear(!1))}}function ue(I){if(!(!I||t.config.minDate&&I<t.config.minDate.getFullYear()||t.config.maxDate&&I>t.config.maxDate.getFullYear())){var j=I,ee=t.currentYear!==j;t.currentYear=j||t.currentYear,t.config.maxDate&&t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth=Math.min(t.config.maxDate.getMonth(),t.currentMonth):t.config.minDate&&t.currentYear===t.config.minDate.getFullYear()&&(t.currentMonth=Math.max(t.config.minDate.getMonth(),t.currentMonth)),ee&&(t.redraw(),st("onYearChange"),J())}}function ie(I,j){var ee;j===void 0&&(j=!0);var de=t.parseDate(I,void 0,j);if(t.config.minDate&&de&& $ n(de,t.config.minDate,j!==void 0?j:!t.minDateHasTime)<0||t.config.maxDate&&de&& $ n(de,t.config.maxDate,j!==void 0?j:!t.maxDateHasTime)>0)return!1;if(!t.config.enable&&t.config.disable.length===0)retu
` ),d=_("span"),h=_("span"),h.textContent="Choose presets",g=O(),B(y. $ $ .fragment),p(t,"class","txt"),p(s,"class","ri-information-line link-hint"),p(e,"for",l=n[9]),p(h,"class","txt link-primary"),p(d,"class","inline-flex"),p(f,"class","help-block")},m(M,T){w(M,e,T),m(e,t),m(e,i),m(e,s),w(M,r,T),V(o,M,T),w(M,u,T),w(M,f,T),m(f,c),m(f,d),m(d,h),m(d,g),V(y,d,null),b=!0,v||(S=Xe(St.call(null,s,{text: ` Allow uploading files ONLY with the listed mime types .
Leave empty for no restriction . ` ,position:"top"})),v=!0)},p(M,T){(!b||T&512&&l!==(l=M[9]))&&p(e,"for",l);const E={};T&512&&(E.id=M[9]),!a&&T&1&&(a=!0,E.value=M[0].mimeTypes,je(()=>a=!1)),o. $ set(E);const D={};T&1025&&(D. $ $ scope={dirty:T,ctx:M}),y. $ set(D)},i(M){b||(A(o. $ $ .fragment,M),A(y. $ $ .fragment,M),b=!0)},o(M){F(o. $ $ .fragment,M),F(y. $ $ .fragment,M),b=!1},d(M){M&&k(e),M&&k(r),z(o,M),M&&k(u),M&&k(f),z(y),v=!1,S()}}}function X4(n){let e,t,i,s,l,r,o,a,u,f,c,d,h;function g(b){n[8](b)}let y={id:n[9],placeholder:"eg. 50x50, 480x720"};return n[0].thumbs!==void 0&&(y.value=n[0].thumbs),o=new ks({props:y}),he.push(()=>Re(o,"value",g)),{c(){e=_("label"),t=_("span"),t.textContent="Thumb sizes",i=O(),s=_("i"),r=O(),B(o. $ $ .fragment),u=O(),f=_("div"),f.textContent="Use comma as separator.",p(t,"class","txt"),p(s,"class","ri-information-line link-hint"),p(e,"for",l=n[9]),p(f,"class","help-block")},m(b,v){w(b,e,v),m(e,t),m(e,i),m(e,s),w(b,r,v),V(o,b,v),w(b,u,v),w(b,f,v),c=!0,d||(h=Xe(St.call(null,s,{text:"List of thumb sizes for image files. The thumbs will be generated lazily on first access.",position:"top"})),d=!0)},p(b,v){(!c||v&512&&l!==(l=b[9]))&&p(e,"for",l);const S={};v&512&&(S.id=b[9]),!a&&v&1&&(a=!0,S.value=b[0].thumbs,je(()=>a=!1)),o. $ set(S)},i(b){c||(A(o. $ $ .fragment,b),c=!0)},o(b){F(o. $ $ .fragment,b),c=!1},d(b){b&&k(e),b&&k(r),z(o,b),b&&k(u),b&&k(f),d=!1,h()}}}function Q4(n){let e,t,i,s,l,r,o,a,u,f,c,d,h;return i=new Ne({props:{class:"form-field required",name:"schema."+n[1]+".options.maxSize", $ $ slots:{default:[J4,({uniqueId:g})=>({9:g}),({uniqueId:g})=>g?512:0]}, $ $ scope:{ctx:n}}}),r=new Ne({props:{class:"form-field required",name:"schema."+n[1]+".options.maxSelect", $ $ slots:{default:[G4,({uniqueId:g})=>({9:g}),({uniqueId:g})=>g?512:0]}, $ $ scope:{ctx:n}}}),u=new Ne({props:{class:"form-field",name:"schema."+n[1]+".options.mimeTypes", $ $ slots:{default:[x4,({uniqueId:g})=>({9:g}),({uniqueId:g})=>g?512:0]}, $ $ scope:{ctx:n}}}),d=new Ne({props:{class:"form-field",name:"schema."+n[1]+".options.thumbs", $ $ slots:{default:[X4,({uniqueId:g})=>({9:g}),({uniqueId:g})=>g?512:0]}, $ $ scope:{ctx:n}}}),{c(){e=_("div"),t=_("div"),B(i. $ $ .fragment),s=O(),l=_("div"),B(r. $ $ .fragment),o=O(),a=_("div"),B(u. $ $ .fragment),f=O(),c=_("div"),B(d. $ $ .fragment),p(t,"class","col-sm-6"),p(l,"class","col-sm-6"),p(a,"class","col-sm-12"),p(c,"class","col-sm-12"),p(e,"class","grid")},m(g,y){w(g,e,y),m(e,t),V(i,t,null),m(e,s),m(e,l),V(r,l,null),m(e,o),m(e,a),V(u,a,null),m(e,f),m(e,c),V(d,c,null),h=!0},p(g,[y]){const b={};y&2&&(b.name="schema."+g[1]+".options.maxSize"),y&1537&&(b. $ $ scope={dirty:y,ctx:g}),i. $ set(b);const v={};y&2&&(v.name="schema."+g[1]+".options.maxSelect"),y&1537&&(v. $ $ scope={dirty:y,ctx:g}),r. $ set(v);const S={};y&2&&(S.name="schema."+g[1]+".options.mimeTypes"),y&1537&&(S. $ $ scope={dirty:y,ctx:g}),u. $ set(S);const $ ={};y&2&&( $ .name="schema."+g[1]+".options.thumbs"),y&1537&&( $ . $ $ scope={dirty:y,ctx:g}),d. $ set( $ )},i(g){h||(A(i. $ $ .fragment,g),A(r. $ $ .fragment,g),A(u. $ $ .fragment,g),A(d. $ $ .fragment,g),h=!0)},o(g){F(i. $ $ .fragment,g),F(r. $ $ .fragment,g),F(u. $ $ .fragment,g),F(d. $ $ .fragment,g),h=!1},d(g){g&&k(e),z(i),z(r),z(u),z(d)}}}function eM(n,e,t){let{key:i=""}=e,{options:s={}}=e;function l(){s.maxSize=Tt(this.value),t(0,s)}function r(){s.maxSelect=Tt(this.value),t(0,s)}function o(d){n. $ $ .not_equal(s.mimeTypes,d)&&(s.mimeTypes=d,t(0,s))}const a=()=>{t(0,s.mimeTypes=["image/jpg","image/jpeg","image/png","image/svg+xml","image/gif"],s)},u=()=>{t(0,s.mimeTypes=["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],s)},f=()=>{t(0,s.mimeTypes=["application/zip","application/x-7z-compressed","application/x-rar-compressed"],s)};function c(d){n. $ $ .not_equal(s.thumbs,d)&&(s.thumbs=d,t(0,s))}return n. $ $ set=d=>{"key"in d&&t(1,i=d.key),"options"in d&&t(0,s=d.options)},n. $ $ .update=()=>{n. $ $ .dirty&1&&U.isEmpty(s)&&t(0,s={maxSelect:1,maxSize:5242880,thumbs:[],mimeTypes:[]})},[s,i,l,r,o,a,u,f,c]}class tM extends Fe{constructor
< code > @ request . query . * < / c o d e >
< code > @ request . data . * < / c o d e >
< code > @ request . user . * < / c o d e > ` , $ = O ( ) , C = _ ( " h r " ) , M = O ( ) , T = _ ( " p " ) , T . i n n e r H T M L = " Y o u c o u l d a l s o a d d c o n s t r a i n t s a n d q u e r y o t h e r c o l l e c t i o n s u s i n g t h e < e m > @ c o l l e c t i o n < / e m > f i l t e r : " , E = O ( ) , D = _ ( " d i v " ) , D . i n n e r H T M L = " < c o d e > @ c o l l e c t i o n . A N Y _ C O L L E C T I O N _ N A M E . * < / c o d e > " , P = O ( ) , L = _ ( " h r " ) , N = O ( ) , R = _ ( " p " ) , R . i n n e r H T M L = ` E x a m p l e r u l e :
< br / >
< code > @ request . user . id != null & amp ; & amp ; created & gt ; & quot ; 2022 - 01 - 01 00 : 00 : 00 & quot ; < / c o d e > ` , p ( s , " c l a s s " , " m - b - 0 " ) , p ( r , " c l a s s " , " i n l i n e - f l e x f l e x - g a p - 5 " ) , p ( g , " c l a s s " , " m - t - 1 0 m - b - 5 " ) , p ( b , " c l a s s " , " m - b - 0 " ) , p ( S , " c l a s s " , " i n l i n e - f l e x f l e x - g a p - 5 " ) , p ( C , " c l a s s " , " m - t - 1 0 m - b - 5 " ) , p ( T , " c l a s s " , " m - b - 0 " ) , p ( D , " c l a s s " , " i n l i n e - f l e x f l e x - g a p - 5 " ) , p ( L , " c l a s s " , " m - t - 1 0 m - b - 5 " ) , p ( i , " c l a s s " , " c o n t e n t " ) , p ( t , " c l a s s " , " a l e r t a l e r t - w a r n i n g m - 0 " ) } , m ( K , Y ) { w ( K , e , Y ) , m ( e , t ) , m ( t , i ) , m ( i , s ) , m ( i , l ) , m ( i , r ) , m ( r , o ) , m ( r , a ) , m ( r , u ) , m ( r , f ) , m ( r , c ) , m ( r , d ) ; f o r ( l e t n e = 0 ; n e < G . l e n g t h ; n e + = 1 ) G [ n e ] . m ( r , n u l l ) ; m ( i , h ) , m ( i , g ) , m ( i , y ) , m ( i , b ) , m ( i , v ) , m ( i , S ) , m ( i , $ ) , m ( i , C ) , m ( i , M ) , m ( i , T ) , m ( i , E ) , m ( i , D ) , m ( i , P ) , m ( i , L ) , m ( i , N ) , m ( i , R ) , W = ! 0 } , p ( K , Y ) { i f ( Y & 1 ) { q = K [ 0 ] . s c h e m a ; l e t n e ; f o r ( n e = 0 ; n e < q . l e n g t h ; n e + = 1 ) { c o n s t f e = Y p ( K , q , n e ) ; G [ n e ] ? G [ n e ] . p ( f e , Y ) : ( G [ n e ] = J p ( f e ) , G [ n e ] . c ( ) , G [ n e ] . m ( r , n u l l ) ) } f o r ( ; n e < G . l e n g t h ; n e + = 1 ) G [ n e ] . d ( 1 ) ; G . l e n g t h = q . l e n g t h } } , i ( K ) { W | | ( K & & D t ( ( ) = > { J | | ( J = f t ( e , u n , { d u r a t i o n : 1 5 0 } , ! 0 ) ) , J . r u n ( 1 ) } ) , W = ! 0 ) } , o ( K ) { K & & ( J | | ( J = f t ( e , u n , { d u r a t i o n : 1 5 0 } , ! 1 ) ) , J . r u n ( 0 ) ) , W = ! 1 } , d ( K ) { K & & k ( e ) , B n ( G , K ) , K & & J & & J . e n d ( ) } } } f u n c t i o n N M ( n ) { l e t e , t = n [ 1 9 ] . n a m e + " " , i ; r e t u r n { c ( ) { e = _ ( " c o d e " ) , i = H ( t ) } , m ( s , l ) { w ( s , e , l ) , m ( e , i ) } , p ( s , l ) { l & 1 & & t ! = = ( t = s [ 1 9 ] . n a m e + " " ) & & _ e ( i , t ) } , d ( s ) { s & & k ( e ) } } } f u n c t i o n R M ( n ) { l e t e , t = n [ 1 9 ] . n a m e + " " , i , s ; r e t u r n { c ( ) { e = _ ( " c o d e " ) , i = H ( t ) , s = H ( " . * " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , i ) , m ( e , s ) } , p ( l , r ) { r & 1 & & t ! = = ( t = l [ 1 9 ] . n a m e + " " ) & & _ e ( i , t ) } , d ( l ) { l & & k ( e ) } } } f u n c t i o n J p ( n ) { l e t e ; f u n c t i o n t ( l , r ) { r e t u r n l [ 1 9 ] . t y p e = = = " r e l a t i o n " | | l [ 1 9 ] . t y p e = = = " u s e r " ? R M : N M } l e t i = t ( n ) , s = i ( n ) ; r e t u r n { c ( ) { s . c ( ) , e = l t ( ) } , m ( l , r ) { s . m ( l , r ) , w ( l , e , r ) } , p ( l , r ) { i = = = ( i = t ( l ) ) & & s ? s . p ( l , r ) : ( s . d ( 1 ) , s = i ( l ) , s & & ( s . c ( ) , s . m ( e . p a r e n t N o d e , e ) ) ) } , d ( l ) { s . d ( l ) , l & & k ( e ) } } } f u n c t i o n j M ( n ) { l e t e = [ ] , t = n e w M a p , i , s , l = O b j e c t . e n t r i e s ( n [ 6 ] ) ; c o n s t r = o = > o [ 1 4 ] ; f o r ( l e t o = 0 ; o < l . l e n g t h ; o + = 1 ) { l e t a = W p ( n , l , o ) , u = r ( a ) ; t . s e t ( u , e [ o ] = G p ( u , a ) ) } r e t u r n { c ( ) { f o r ( l e t o = 0 ; o < e . l e n g t h ; o + = 1 ) e [ o ] . c ( ) ; i = l t ( ) } , m ( o , a ) { f o r ( l e t u = 0 ; u < e . l e n g t h ; u + = 1 ) e [ u ] . m ( o , a ) ; w ( o , i , a ) , s = ! 0 } , p ( o , a ) { a & 2 6 2 2 3 5 & & ( l = O b j e c t . e n t r i e s ( o [ 6 ] ) , O e ( ) , e = o t ( e , a , r , 1 , o , l , t , i . p a r e n t N o d e , L t , G p , i , W p ) , T e ( ) ) } , i ( o ) { i f ( ! s ) { f o r ( l e t a = 0 ; a < l . l e n g t h ; a + = 1 ) A ( e [ a ] ) ; s = ! 0 } } , o ( o ) { f o r ( l e t a = 0 ; a < e . l e n g t h ; a + = 1 ) F ( e [ a ] ) ; s = ! 1 } , d ( o ) { f o r ( l e t a = 0 ; a < e . l e n g t h ; a + = 1 ) e [ a ] . d ( o ) ; o & & k ( i ) } } } f u n c t i o n H M ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " d i v " ) , e . i n n e r H T M L = ' < s p a n c l a s s = " l o a d e r " > < / s p a n > ' , p ( e , " c l a s s " , " t x t - c e n t e r " ) } , m ( t , i ) { w ( t , e , i ) } , p : r e , i : r e , o : r e , d ( t ) { t & & k ( e ) } } } f u n c t i o n q M ( n ) { l e t e , t , i ; f u n c t i o n s ( ) { r e t u r n n [ 9 ] ( n [ 1 4 ] ) } r e t u r n { c ( ) { e = _ ( " b u t t o n " ) , e . i n n e r H T M L = ' < i c l a s s = " r i - l o c k - l i n e " > < / i > ' , p ( e , " t y p e " , " b u t t o n " ) , p ( e , " c l a s s " , " r u l e - t o g g l e - b t n b t n b t n - c i r c l e b t n - o u t l i n e s v e l t e - f j x z 7 k " ) } , m ( l , r ) { w ( l , e , r ) , t | | ( i = [ X e ( S t . c a l l ( n u l l , e , " L o c k a n d s e t t o A d m i n s o n l y " ) ) , X ( e , " c l i c k " , s ) ] , t = ! 0 ) } , p ( l , r ) { n = l } , d ( l ) { l & & k ( e ) , t = ! 1 , r t ( i ) } } } f u n c t i o n V M ( n ) { l e t e , t , i ; f u n c t i o n s ( ) { r e t u r n n [ 8 ] ( n [ 1 4 ] ) } r e t u r n { c ( ) { e = _ ( " b u t t o n " ) , e . i n n e r H T M L = ' < i c l a s s = " r i - l o c k - u n l o c k - l i n e " > < / i > ' , p ( e , " t y p e " , " b u t t o n " ) , p ( e , " c l a s s " , " r u l e - t o g g l e - b t n b t n b t n - c i r c l e b t n - o u t l i n e b t n - s u c c e s s s v e l t e - f j x z 7 k " ) } , m ( l , r ) { w ( l , e , r ) , t | | ( i = [ X e ( S t . c a l l ( n u l l , e , " U n l o c k a n d s e t c u s t o m r u l e " ) ) , X ( e , " c l i c k " , s ) ] , t = ! 0 ) } , p ( l , r ) { n = l } , d ( l ) { l & & k ( e ) , t = ! 1 , r t ( i ) } } } f u n c t i o n z M ( n ) { l e t e ; r e t u r n { c ( ) { e = H ( " L e a v e e m p t y t o g r a n t e v e r y o n e a c c e s s " ) } , m ( t , i ) { w ( t , e , i ) } , d ( t ) { t & & k ( e ) } } } f u n c t i o n B M ( n ) { l e t e ; r e t u r n { c ( ) { e = H ( " O n l y a d m i n s w i l l b e a b l e t o a c c e s s ( u n l o c k t o c h a n g e ) " ) } , m ( t , i ) { w ( t , e , i ) } , d ( t ) { t & & k ( e ) } } } f u n c t i o n U M ( n ) { l e t e , t = n [ 1 5 ] + " " , i , s , l = R i ( n [ 0 ] [ n [ 1 4 ] ] ) ? " A d m i n s o n l y " : " C u s t o m r u l e " , r , o , a , u , f = n [ 1 4 ] , c , d , h , g , y , b , v ; f u n c t i o n S ( ) { r e t u r n n [ 1 0 ] ( n [ 1 4 ] ) } c o n s t $ = ( ) = > n [ 1 1 ] ( u , f ) , C = ( ) = > n [ 1 1 ] ( n u l l , f ) ; f u n c t i o n M ( N ) { n [ 1 2 ] ( N , n [ 1 4 ] ) } v a r T = n [ 4 ] ; f u n c t i o n E ( N ) { l e t R = { b a s e C o l l e c t i o n : N [ 0 ] , d i s a b l e d : R i ( N [ 0 ] [ N [ 1 4 ] ] ) } ; r e t u r n N [ 0 ] [ N [ 1 4 ] ] ! = = v o i d 0 & & ( R . v a l u e = N [ 0 ] [ N [ 1 4 ] ] ) , { p r o p s : R } } T & & ( u = n e w T ( E ( n ) ) , $ ( ) , h e . p u s h ( ( ) = > R e ( u , " v a l u e " , M ) ) ) ; f u n c t i o n D ( N , R ) { r e t u r n R & 1 & & ( g = n u l l ) , g = = n u l l & & ( g = ! ! R i ( N [ 0 ] [ N [ 1 4 ] ] ) ) , g ? B M : z M } l e t P = D ( n , - 1 ) , L = P ( n ) ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , i = H ( t ) , s = H ( " - " ) , r = H ( l ) , a = O ( ) , u & & B ( u . $ $ . f r a g m e n t ) , d = O ( ) , h = _ ( " d i v " ) , L . c ( ) , p ( e , " f o r " , o = n [ 1 8 ] ) , p ( h , " c l a s s " , " h e l p - b l o c k " ) } , m ( N , R ) { w ( N , e , R ) , m ( e , i ) , m ( e , s ) , m ( e , r ) , w ( N , a , R ) , u & & V ( u , N , R ) , w ( N , d , R ) , w ( N , h , R ) , L . m ( h , n u l l ) , y = ! 0 , b | | ( v = X ( e , " c l i c k " , S ) , b = ! 0 ) } , p ( N , R ) { n = N , ( ! y | | R & 1 ) & & l ! = = ( l =
< a href = "https://pocketbase.io/docs/manage-collections#rules-filters-syntax" target = "_blank" rel = "noopener" > PocketBase filter syntax and operators
2022-07-11 02:14:38 +08:00
< / a > . ` , s = O ( ) , l = _ ( " s p a n " ) , o = H ( r ) , a = O ( ) , b & & b . c ( ) , u = O ( ) , c . c ( ) , d = l t ( ) , p ( l , " c l a s s " , " e x p a n d - h a n d l e t x t - s m t x t - b o l d t x t - n o w r a p l i n k - h i n t " ) , p ( t , " c l a s s " , " f l e x " ) , p ( e , " c l a s s " , " b l o c k m - b - b a s e " ) } , m ( C , M ) { w ( C , e , M ) , m ( e , t ) , m ( t , i ) , m ( t , s ) , m ( t , l ) , m ( l , o ) , m ( e , a ) , b & & b . m ( e , n u l l ) , w ( C , u , M ) , S [ f ] . m ( C , M ) , w ( C , d , M ) , h = ! 0 , g | | ( y = X ( l , " c l i c k " , n [ 7 ] ) , g = ! 0 ) } , p ( C , [ M ] ) { ( ! h | | M & 4 ) & & r ! = = ( r = C [ 2 ] ? " H i d e a v a i l a b l e f i e l d s " : " S h o w a v a i l a b l e f i e l d s " ) & & _ e ( o , r ) , C [ 2 ] ? b ? ( b . p ( C , M ) , M & 4 & & A ( b , 1 ) ) : ( b = K p ( C ) , b . c ( ) , A ( b , 1 ) , b . m ( e , n u l l ) ) : b & & ( O e ( ) , F ( b , 1 , 1 , ( ) = > { b = n u l l } ) , T e ( ) ) ; l e t T = f ; f = $ ( C ) , f = = = T ? S [ f ] . p ( C , M ) : ( O e ( ) , F ( S [ T ] , 1 , 1 , ( ) = > { S [ T ] = n u l l } ) , T e ( ) , c = S [ f ] , c ? c . p ( C , M ) : ( c = S [ f ] = v [ f ] ( C ) , c . c ( ) ) , A ( c , 1 ) , c . m ( d . p a r e n t N o d e , d ) ) } , i ( C ) { h | | ( A ( b ) , A ( c ) , h = ! 0 ) } , o ( C ) { F ( b ) , F ( c ) , h = ! 1 } , d ( C ) { C & & k ( e ) , b & & b . d ( ) , C & & k ( u ) , S [ f ] . d ( C ) , C & & k ( d ) , g = ! 1 , y ( ) } } } f u n c t i o n R i ( n ) { r e t u r n n = = = n u l l } f u n c t i o n Y M ( n , e , t ) { l e t { c o l l e c t i o n : i = n e w L n } = e , s = { } , l = ! 1 , r = { } , o , a = ! 1 ; c o n s t u = { l i s t R u l e : " L i s t A c t i o n " , v i e w R u l e : " V i e w A c t i o n " , c r e a t e R u l e : " C r e a t e A c t i o n " , u p d a t e R u l e : " U p d a t e A c t i o n " , d e l e t e R u l e : " D e l e t e A c t i o n " } ; a s y n c f u n c t i o n f ( ) { t ( 5 , a = ! 0 ) ; t r y { t ( 4 , o = ( a w a i t r s ( ( ) = > i m p o r t ( " . / F i l t e r A u t o c o m p l e t e I n p u t . e 1 8 b 0 8 0 c . j s " ) , [ ] ) ) . d e f a u l t ) } c a t c h ( v ) { c o n s o l e . w a r n ( v ) , t ( 4 , o = n u l l ) } t ( 5 , a = ! 1 ) } p i ( ( ) = > { f ( ) } ) ; c o n s t c = ( ) = > t ( 2 , l = ! l ) , d = a s y n c v = > { v a r S ; t ( 0 , i [ v ] = s [ v ] | | " " , i ) , a w a i t M i ( ) , ( S = r [ v ] ) = = n u l l | | S . f o c u s ( ) } , h = v = > { t ( 1 , s [ v ] = i [ v ] , s ) , t ( 0 , i [ v ] = n u l l , i ) } , g = v = > { v a r S ; r e t u r n ( S = r [ v ] ) = = n u l l ? v o i d 0 : S . f o c u s ( ) } ; f u n c t i o n y ( v , S ) { h e [ v ? " u n s h i f t " : " p u s h " ] ( ( ) = > { r [ S ] = v , t ( 3 , r ) } ) } f u n c t i o n b ( v , S ) { n . $ $ . n o t _ e q u a l ( i [ S ] , v ) & & ( i [ S ] = v , t ( 0 , i ) ) } r e t u r n n . $ $ s e t = v = > { " c o l l e c t i o n " i n v & & t ( 0 , i = v . c o l l e c t i o n ) } , [ i , s , l , r , o , a , u , c , d , h , g , y , b ] } c l a s s K M e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , Y M , W M , A e , { c o l l e c t i o n : 0 } ) } } f u n c t i o n Z p ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 1 4 ] = e [ t ] , i } f u n c t i o n x p ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 1 4 ] = e [ t ] , i } f u n c t i o n X p ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " p " ) , e . t e x t C o n t e n t = " A l l d a t a a s s o c i a t e d w i t h t h e r e m o v e d f i e l d s w i l l b e p e r m a n e n t l y d e l e t e d ! " } , m ( t , i ) { w ( t , e , i ) } , d ( t ) { t & & k ( e ) } } } f u n c t i o n Q p ( n ) { l e t e , t , i , s , l = n [ 1 ] . o r i g i n a l N a m e + " " , r , o , a , u , f , c = n [ 1 ] . n a m e + " " , d ; r e t u r n { c ( ) { e = _ ( " l i " ) , t = _ ( " d i v " ) , i = H ( ` R e n a m e d c o l l e c t i o n
2022-07-10 16:46:21 +08:00
` ),s=_("strong"),r=H(l),o=O(),a=_("i"),u=O(),f=_("strong"),d=H(c),p(s,"class","txt-strikethrough txt-hint"),p(a,"class","ri-arrow-right-line txt-sm"),p(f,"class","txt"),p(t,"class","inline-flex")},m(h,g){w(h,e,g),m(e,t),m(t,i),m(t,s),m(s,r),m(t,o),m(t,a),m(t,u),m(t,f),m(f,d)},p(h,g){g&2&&l!==(l=h[1].originalName+"")&&_e(r,l),g&2&&c!==(c=h[1].name+"")&&_e(d,c)},d(h){h&&k(e)}}}function eh(n){let e,t,i,s,l=n[14].originalName+"",r,o,a,u,f,c=n[14].name+"",d;return{c(){e=_("li"),t=_("div"),i=H( ` Renamed field
` ),s=_("strong"),r=H(l),o=O(),a=_("i"),u=O(),f=_("strong"),d=H(c),p(s,"class","txt-strikethrough txt-hint"),p(a,"class","ri-arrow-right-line txt-sm"),p(f,"class","txt"),p(t,"class","inline-flex")},m(h,g){w(h,e,g),m(e,t),m(t,i),m(t,s),m(s,r),m(t,o),m(t,a),m(t,u),m(t,f),m(f,d)},p(h,g){g&16&&l!==(l=h[14].originalName+"")&&_e(r,l),g&16&&c!==(c=h[14].name+"")&&_e(d,c)},d(h){h&&k(e)}}}function th(n){let e,t,i,s=n[14].name+"",l,r;return{c(){e=_("li"),t=H("Removed field "),i=_("span"),l=H(s),r=O(),p(i,"class","txt-bold"),p(e,"class","txt-danger")},m(o,a){w(o,e,a),m(e,t),m(e,i),m(i,l),m(e,r)},p(o,a){a&8&&s!==(s=o[14].name+"")&&_e(l,s)},d(o){o&&k(e)}}}function JM(n){let e,t,i,s,l,r,o,a,u,f,c,d,h=n[3].length&&Xp(),g=n[5]&&Qp(n),y=n[4],b=[];for(let $ =0; $ <y.length; $ +=1)b[ $ ]=eh(xp(n,y, $ ));let v=n[3],S=[];for(let $ =0; $ <v.length; $ +=1)S[ $ ]=th(Zp(n,v, $ ));return{c(){e=_("div"),t=_("div"),t.innerHTML='<i class="ri-error-warning-line"></i>',i=O(),s=_("div"),l=_("p"),l.textContent= ` If any of the following changes is part of another collection rule or filter , you ' ll have to
update it manually ! ` ,r=O(),h&&h.c(),o=O(),a=_("h6"),a.textContent="Changes:",u=O(),f=_("ul"),g&&g.c(),c=O();for(let $ =0; $ <b.length; $ +=1)b[ $ ].c();d=O();for(let $ =0; $ <S.length; $ +=1)S[ $ ].c();p(t,"class","icon"),p(s,"class","content txt-bold"),p(e,"class","alert alert-warning"),p(f,"class","changes-list svelte-1ghly2p")},m( $ ,C){w( $ ,e,C),m(e,t),m(e,i),m(e,s),m(s,l),m(s,r),h&&h.m(s,null),w( $ ,o,C),w( $ ,a,C),w( $ ,u,C),w( $ ,f,C),g&&g.m(f,null),m(f,c);for(let M=0;M<b.length;M+=1)b[M].m(f,null);m(f,d);for(let M=0;M<S.length;M+=1)S[M].m(f,null)},p( $ ,C){if( $ [3].length?h||(h=Xp(),h.c(),h.m(s,null)):h&&(h.d(1),h=null), $ [5]?g?g.p( $ ,C):(g=Qp( $ ),g.c(),g.m(f,c)):g&&(g.d(1),g=null),C&16){y= $ [4];let M;for(M=0;M<y.length;M+=1){const T=xp( $ ,y,M);b[M]?b[M].p(T,C):(b[M]=eh(T),b[M].c(),b[M].m(f,d))}for(;M<b.length;M+=1)b[M].d(1);b.length=y.length}if(C&8){v= $ [3];let M;for(M=0;M<v.length;M+=1){const T=Zp( $ ,v,M);S[M]?S[M].p(T,C):(S[M]=th(T),S[M].c(),S[M].m(f,null))}for(;M<S.length;M+=1)S[M].d(1);S.length=v.length}},d( $ ){ $ &&k(e),h&&h.d(), $ &&k(o), $ &&k(a), $ &&k(u), $ &&k(f),g&&g.d(),Bn(b, $ ),Bn(S, $ )}}}function GM(n){let e;return{c(){e=_("h4"),e.textContent="Confirm collection changes"},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function ZM(n){let e,t,i,s,l;return{c(){e=_("button"),e.innerHTML='<span class="txt">Cancel</span>',t=O(),i=_("button"),i.innerHTML='<span class="txt">Confirm</span>',e.autofocus=!0,p(e,"type","button"),p(e,"class","btn btn-secondary"),p(i,"type","button"),p(i,"class","btn btn-expanded")},m(r,o){w(r,e,o),w(r,t,o),w(r,i,o),e.focus(),s||(l=[X(e,"click",n[8]),X(i,"click",n[9])],s=!0)},p:re,d(r){r&&k(e),r&&k(t),r&&k(i),s=!1,rt(l)}}}function xM(n){let e,t,i={class:"confirm-changes-panel",popup:!0, $ $ slots:{footer:[ZM],header:[GM],default:[JM]}, $ $ scope:{ctx:n}};return e=new Di({props:i}),n[10](e),e. $ on("hide",n[11]),e. $ on("show",n[12]),{c(){B(e. $ $ .fragment)},m(s,l){V(e,s,l),t=!0},p(s,[l]){const r={};l&524346&&(r. $ $ scope={dirty:l,ctx:s}),e. $ set(r)},i(s){t||(A(e. $ $ .fragment,s),t=!0)},o(s){F(e. $ $ .fragment,s),t=!1},d(s){n[10](null),z(e,s)}}}function XM(n,e,t){let i,s,l;const r=_n();let o,a;async function u(v){t(1,a=v),await Mi(),!i&&!s.length&&!l.length?c():o==null||o.show()}function f(){o==null||o.hide()}function c(){f(),r("confirm")}const d=()=>f(),h=()=>c();function g(v){he[v?"unshift":"push"](()=>{o=v,t(2,o)})}function y(v){ut.call(this,n,v)}function b(v){ut.call(this,n,v)}return n. $ $ .update=()=>{n. $ $ .dirty&2&&t(5,i=(a==null?void 0:a.originalName)!=(a==null?void 0:a.name)),n. $ $ .dirty&2&&t(4,s=(a==null?void 0:a.schema.filter(v=>v.id&&!v.toDelete&&v.originalName!=v.name))||[]),n. $ $ .dirty&2&&t(3,l=(a==null?void 0:a.schema.filter(v=>v.id&&v.toDelete))||[])},[f,a,o,l,s,i,c,u,d,h,g,y,b]}class QM extends Fe{constructor(e){super(),Le(this,e,XM,xM,Ae,{show:7,hide:0})}get show(){return this. $ $ .ctx[7]}get hide(){return this. $ $ .ctx[0]}}function nh(n){let e,t,i,s;function l(o){n[26](o)}let r={};return n[2]!==void 0&&(r.collection=n[2]),t=new KM({props:r}),he.push(()=>Re(t,"collection",l)),{c(){e=_("div"),B(t. $ $ .fragment),p(e,"class","tab-item active")},m(o,a){w(o,e,a),V(t,e,null),s=!0},p(o,a){const u={};!i&&a[0]&4&&(i=!0,u.collection=o[2],je(()=>i=!1)),t. $ set(u)},i(o){s||(A(t. $ $ .fragment,o),s=!0)},o(o){F(t. $ $ .fragment,o),s=!1},d(o){o&&k(e),z(t)}}}function eO(n){let e,t,i,s,l,r;function o(f){n[25](f)}let a={};n[2]!==void 0&&(a.collection=n[2]),i=new IM({props:a}),he.push(()=>Re(i,"collection",o));let u=n[9]===Bl&&nh(n);return{c(){e=_("div"),t=_("div"),B(i. $ $ .fragment),l=O(),u&&u.c(),p(t,"class","tab-item"),Q(t,"active",n[9]===hs),p(e,"class","tabs-content svelte-b10vi")},m(f,c){w(f,e,c),m(e,t),V(i,t,null),m(e,l),u&&u.m(e,null),r=!0},p(f,c){const d={};!s&&c[0]&4&&(s=!0,d.collection=f[2],je(()=>s=!1)),i. $ set(d),c[0]&512&&Q(t,"active",f[9]===hs),f[9]===Bl?u?(u.p(f,c),c[0]&512&&A(u,1)):(u=nh(f),u.c(),A(u,1),u.m(e,null)):u&&(Oe(),F(u,1,1,()=>{u=null}),Te())},i(f){r||(A(i. $ $ .fragment,f),A(u),r=!0)},o(f){F(i. $ $ .fragment,f),F(u),r=!1},d(f){f&&k(e),z(i),u&&u.d()}}}function ih(n){let e,t,i,s,l,r,o;return r=new ys({props:{class:"dropdown dropdown-right m-t
< span class = "txt" > Delete < / s p a n > ` , p ( e , " t y p e " , " b u t t o n " ) , p ( e , " c l a s s " , " d r o p d o w n - i t e m c l o s a b l e " ) } , m ( s , l ) { w ( s , e , l ) , t | | ( i = X ( e , " c l i c k " , n [ 2 0 ] ) , t = ! 0 ) } , p : r e , d ( s ) { s & & k ( e ) , t = ! 1 , i ( ) } } } f u n c t i o n s h ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " d i v " ) , e . t e x t C o n t e n t = " S y s t e m c o l l e c t i o n " , p ( e , " c l a s s " , " h e l p - b l o c k " ) } , m ( t , i ) { w ( t , e , i ) } , d ( t ) { t & & k ( e ) } } } f u n c t i o n n O ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c , d , h = n [ 2 ] . s y s t e m & & s h ( ) ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " N a m e " ) , s = O ( ) , l = _ ( " i n p u t " ) , u = O ( ) , h & & h . c ( ) , f = l t ( ) , p ( e , " f o r " , i = n [ 3 8 ] ) , p ( l , " t y p e " , " t e x t " ) , p ( l , " i d " , r = n [ 3 8 ] ) , l . r e q u i r e d = ! 0 , l . d i s a b l e d = n [ 1 1 ] , p ( l , " s p e l l c h e c k " , " f a l s e " ) , l . a u t o f o c u s = o = n [ 2 ] . i s N e w , p ( l , " p l a c e h o l d e r " , ' e g . " p o s t s " ' ) , l . v a l u e = a = n [ 2 ] . n a m e } , m ( g , y ) { w ( g , e , y ) , m ( e , t ) , w ( g , s , y ) , w ( g , l , y ) , w ( g , u , y ) , h & & h . m ( g , y ) , w ( g , f , y ) , n [ 2 ] . i s N e w & & l . f o c u s ( ) , c | | ( d = X ( l , " i n p u t " , n [ 2 1 ] ) , c = ! 0 ) } , p ( g , y ) { y [ 1 ] & 1 2 8 & & i ! = = ( i = g [ 3 8 ] ) & & p ( e , " f o r " , i ) , y [ 1 ] & 1 2 8 & & r ! = = ( r = g [ 3 8 ] ) & & p ( l , " i d " , r ) , y [ 0 ] & 2 0 4 8 & & ( l . d i s a b l e d = g [ 1 1 ] ) , y [ 0 ] & 4 & & o ! = = ( o = g [ 2 ] . i s N e w ) & & ( l . a u t o f o c u s = o ) , y [ 0 ] & 4 & & a ! = = ( a = g [ 2 ] . n a m e ) & & l . v a l u e ! = = a & & ( l . v a l u e = a ) , g [ 2 ] . s y s t e m ? h | | ( h = s h ( ) , h . c ( ) , h . m ( f . p a r e n t N o d e , f ) ) : h & & ( h . d ( 1 ) , h = n u l l ) } , d ( g ) { g & & k ( e ) , g & & k ( s ) , g & & k ( l ) , g & & k ( u ) , h & & h . d ( g ) , g & & k ( f ) , c = ! 1 , d ( ) } } } f u n c t i o n l h ( n ) { l e t e , t , i , s , l , r ; r e t u r n { c ( ) { e = _ ( " i " ) , p ( e , " c l a s s " , " r i - e r r o r - w a r n i n g - f i l l t x t - d a n g e r " ) } , m ( o , a ) { w ( o , e , a ) , s = ! 0 , l | | ( r = X e ( t = S t . c a l l ( n u l l , e , n [ 1 2 ] ) ) , l = ! 0 ) } , p ( o , a ) { t & & J n ( t . u p d a t e ) & & a [ 0 ] & 4 0 9 6 & & t . u p d a t e . c a l l ( n u l l , o [ 1 2 ] ) } , i ( o ) { s | | ( o & & D t ( ( ) = > { i | | ( i = f t ( e , W n , { d u r a t i o n : 1 5 0 , s t a r t : . 7 } , ! 0 ) ) , i . r u n ( 1 ) } ) , s = ! 0 ) } , o ( o ) { o & & ( i | | ( i = f t ( e , W n , { d u r a t i o n : 1 5 0 , s t a r t : . 7 } , ! 1 ) ) , i . r u n ( 0 ) ) , s = ! 1 } , d ( o ) { o & & k ( e ) , o & & i & & i . e n d ( ) , l = ! 1 , r ( ) } } } f u n c t i o n r h ( n ) { l e t e , t , i , s , l ; r e t u r n { c ( ) { e = _ ( " i " ) , p ( e , " c l a s s " , " r i - e r r o r - w a r n i n g - f i l l t x t - d a n g e r " ) } , m ( r , o ) { w ( r , e , o ) , i = ! 0 , s | | ( l = X e ( S t . c a l l ( n u l l , e , " H a s e r r o r s " ) ) , s = ! 0 ) } , i ( r ) { i | | ( r & & D t ( ( ) = > { t | | ( t = f t ( e , W n , { d u r a t i o n : 1 5 0 , s t a r t : . 7 } , ! 0 ) ) , t . r u n ( 1 ) } ) , i = ! 0 ) } , o ( r ) { r & & ( t | | ( t = f t ( e , W n , { d u r a t i o n : 1 5 0 , s t a r t : . 7 } , ! 1 ) ) , t . r u n ( 0 ) ) , i = ! 1 } , d ( r ) { r & & k ( e ) , r & & t & & t . e n d ( ) , s = ! 1 , l ( ) } } } f u n c t i o n i O ( n ) { v a r N , R , J , W , q , G ; l e t e , t = n [ 2 ] . i s N e w ? " N e w c o l l e c t i o n " : " E d i t c o l l e c t i o n " , i , s , l , r , o , a , u , f , c , d , h , g , y = ! U . i s E m p t y ( ( N = n [ 4 ] ) = = n u l l ? v o i d 0 : N . s c h e m a ) , b , v , S , $ , C = ! U . i s E m p t y ( ( R = n [ 4 ] ) = = n u l l ? v o i d 0 : R . l i s t R u l e ) | | ! U . i s E m p t y ( ( J = n [ 4 ] ) = = n u l l ? v o i d 0 : J . v i e w R u l e ) | | ! U . i s E m p t y ( ( W = n [ 4 ] ) = = n u l l ? v o i d 0 : W . c r e a t e R u l e ) | | ! U . i s E m p t y ( ( q = n [ 4 ] ) = = n u l l ? v o i d 0 : q . u p d a t e R u l e ) | | ! U . i s E m p t y ( ( G = n [ 4 ] ) = = n u l l ? v o i d 0 : G . d e l e t e R u l e ) , M , T , E , D = ! n [ 2 ] . i s N e w & & ! n [ 2 ] . s y s t e m & & i h ( n ) ; o = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d m - b - 0 " + ( n [ 1 1 ] ? " d i s a b l e d " : " " ) , n a m e : " n a m e " , $ $ s l o t s : { d e f a u l t : [ n O , ( { u n i q u e I d : K } ) = > ( { 3 8 : K } ) , ( { u n i q u e I d : K } ) = > [ 0 , K ? 1 2 8 : 0 ] ] } , $ $ s c o p e : { c t x : n } } } ) ; l e t P = y & & l h ( n ) , L = C & & r h ( ) ; r e t u r n { c ( ) { e = _ ( " h 4 " ) , i = H ( t ) , s = O ( ) , D & & D . c ( ) , l = O ( ) , r = _ ( " f o r m " ) , B ( o . $ $ . f r a g m e n t ) , a = O ( ) , u = _ ( " i n p u t " ) , f = O ( ) , c = _ ( " d i v " ) , d = _ ( " b u t t o n " ) , h = _ ( " s p a n " ) , h . t e x t C o n t e n t = " F i e l d s " , g = O ( ) , P & & P . c ( ) , b = O ( ) , v = _ ( " b u t t o n " ) , S = _ ( " s p a n " ) , S . t e x t C o n t e n t = " A P I R u l e s " , $ = O ( ) , L & & L . c ( ) , p ( u , " t y p e " , " s u b m i t " ) , p ( u , " c l a s s " , " h i d d e n " ) , p ( u , " t a b i n d e x " , " - 1 " ) , p ( r , " c l a s s " , " b l o c k " ) , p ( h , " c l a s s " , " t x t " ) , p ( d , " t y p e " , " b u t t o n " ) , p ( d , " c l a s s " , " t a b - i t e m " ) , Q ( d , " a c t i v e " , n [ 9 ] = = = h s ) , p ( S , " c l a s s " , " t x t " ) , p ( v , " t y p e " , " b u t t o n " ) , p ( v , " c l a s s " , " t a b - i t e m " ) , Q ( v , " a c t i v e " , n [ 9 ] = = = B l ) , p ( c , " c l a s s " , " t a b s - h e a d e r s t r e t c h e d " ) } , m ( K , Y ) { w ( K , e , Y ) , m ( e , i ) , w ( K , s , Y ) , D & & D . m ( K , Y ) , w ( K , l , Y ) , w ( K , r , Y ) , V ( o , r , n u l l ) , m ( r , a ) , m ( r , u ) , w ( K , f , Y ) , w ( K , c , Y ) , m ( c , d ) , m ( d , h ) , m ( d , g ) , P & & P . m ( d , n u l l ) , m ( c , b ) , m ( c , v ) , m ( v , S ) , m ( v , $ ) , L & & L . m ( v , n u l l ) , M = ! 0 , T | | ( E = [ X ( r , " s u b m i t " , K t ( n [ 2 2 ] ) ) , X ( d , " c l i c k " , n [ 2 3 ] ) , X ( v , " c l i c k " , n [ 2 4 ] ) ] , T = ! 0 ) } , p ( K , Y ) { v a r f e , y e , s e , Z , D e , t e ; ( ! M | | Y [ 0 ] & 4 ) & & t ! = = ( t = K [ 2 ] . i s N e w ? " N e w c o l l e c t i o n " : " E d i t c o l l e c t i o n " ) & & _ e ( i , t ) , ! K [ 2 ] . i s N e w & & ! K [ 2 ] . s y s t e m ? D ? ( D . p ( K , Y ) , Y [ 0 ] & 4 & & A ( D , 1 ) ) : ( D = i h ( K ) , D . c ( ) , A ( D , 1 ) , D . m ( l . p a r e n t N o d e , l ) ) : D & & ( O e ( ) , F ( D , 1 , 1 , ( ) = > { D = n u l l } ) , T e ( ) ) ; c o n s t n e = { } ; Y [ 0 ] & 2 0 4 8 & & ( n e . c l a s s = " f o r m - f i e l d r e q u i r e d m - b - 0 " + ( K [ 1 1 ] ? " d i s a b l e d " : " " ) ) , Y [ 0 ] & 2 0 5 2 | Y [ 1 ] & 3 8 4 & & ( n e . $ $ s c o p e = { d i r t y : Y , c t x : K } ) , o . $ s e t ( n e ) , Y [ 0 ] & 1 6 & & ( y = ! U . i s E m p t y ( ( f e = K [ 4 ] ) = = n u l l ? v o i d 0 : f e . s c h e m a ) ) , y ? P ? ( P . p ( K , Y ) , Y [ 0 ] & 1 6 & & A ( P , 1 ) ) : ( P = l h ( K ) , P . c ( ) , A ( P , 1 ) , P . m ( d , n u l l ) ) : P & & ( O e ( ) , F ( P , 1 , 1 , ( ) = > { P = n u l l } ) , T e ( ) ) , Y [ 0 ] & 5 1 2 & & Q ( d , " a c t i v e " , K [ 9 ] = = = h s ) , Y [ 0 ] & 1 6 & & ( C = ! U . i s E m p t y ( ( y e = K [ 4 ] ) = = n u l l ? v o i d 0 : y e . l i s t R u l e ) | | ! U . i s E m p t y ( ( s e = K [ 4 ] ) = = n u l l ? v o i d 0 : s e . v i e w R u l e ) | | ! U . i s E m p t y ( ( Z = K [ 4 ] ) = = n u l l ? v o i d 0 : Z . c r e a t e R u l e ) | | ! U .
< span class = "txt" > New collection < /span>`,v=O(),B(S.$$.fragment),p(l,"type","button"),p(l,"class","btn btn-xs btn-secondary btn-circle btn-clear"),Q(l,"hidden",!n[4]),p(s,"class","form-field-addon"),p(o,"type","text"),p(o,"placeholder","Search collections..."),p(i,"class","form-field search"),Q(i,"active",n[4]),p(t,"class","sidebar-header"),p(u,"class","m-t-5 m-b-xs"),p(c,"class","sidebar-content"),p(b,"type","button"),p(b,"class","btn btn-block btn-outline"),p(y,"class","sidebar-footer"),p(e,"class","page-sidebar collection-sidebar")},m(L,N){w(L,e,N),m(e,t),m(t,i),m(i,s),m(s,l),m(i,r),m(i,o),$e(o,n[0]),m(e,a),m(e,u),m(e,f),m(e,c);for(let R=0;R<d.length;R+=1)d[R].m(c,null);D&&D.m(c,null),m(e,g),m(e,y),m(y,b),w(L,v,N),V(S,L,N),$=!0,C||(M=[X(l,"click",n[8]),X(o,"input",n[9]),X(b,"click",n[11])],C=!0)},p(L,[N]){N&16&&Q(l,"hidden",!L[4]),N&1&&o.value!==L[0]&&$e(o,L[0]),N&16&&Q(i,"active",L[4]),N&106&&(T=L[3],d=ot(d,N,E,1,L,T,h,c,an,fh,null,oh),!T.length&&D?D.p(L,N):T.length?D&&(D.d(1),D=null):(D=ah(L),D.c(),D.m(c,null)));const R={};S.$set(R)},i(L){$||(A(S.$$.fragment,L),$=!0)},o(L){F(S.$$.fragment,L),$=!1},d(L){L&&k(e);for(let N=0;N<d.length;N+=1)d[N].d();D&&D.d(),L&&k(v),n[12](null),z(S,L),C=!1,rt(M)}}}function fO(n,e,t){let i,s,l,r,o;hn(n,fi,b=>t(5,r=b)),hn(n,Js,b=>t(7,o=b));let a,u="";function f(b){qg(fi,r=b,r)}const c=()=>t(0,u="");function d(){u=this.value,t(0,u)}const h=b=>f(b),g=()=>a==null?void 0:a.show();function y(b){he[b?"unshift":"push"](()=>{a=b,t(2,a)})}return n.$$.update=()=>{n.$$.dirty&1&&t(1,i=u.replace(/ \ s + /g,"").toLowerCase()),n.$$.dirty&1&&t(4,s=u!==""),n.$$.dirty&131&&t(3,l=o.filter(b=>b.name!="profiles"&&(b.id==u||b.name.replace(/ \ s + / g , " " ) . t o L o w e r C a s e ( ) . i n c l u d e s ( i ) ) ) ) } , [ u , i , a , l , s , r , f , o , c , d , h , g , y ] } c l a s s c O e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , f O , u O , A e , { } ) } } f u n c t i o n d O ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c , d , h , g , y , b , v , S , $ , C , M , T , E , D , P , L , N , R , J , W , q , G , K , Y , n e , f e , y e , s e , Z , D e , t e , b e , u e , i e , v e , H e , I e , q e , o e , l e , k e , V e ; r e t u r n { c ( ) { e = _ ( " p " ) , e . i n n e r H T M L = ` T h e s y n t a x b a s i c a l l y f o l l o w s t h e f o r m a t
< code > < span class = "txt-success" > OPERAND < / s p a n >
< span class = "txt-danger" > OPERATOR < / s p a n >
< span class = "txt-success" > OPERAND < / s p a n > < / c o d e > , w h e r e : ` , t = O ( ) , i = _ ( " u l " ) , s = _ ( " l i " ) , s . i n n e r H T M L = ` < c o d e c l a s s = " t x t - s u c c e s s " > O P E R A N D < / c o d e > - c o u l d b e a n y o f t h e a b o v e f i e l d l i t e r a l , s t r i n g ( s i n g l e o r d o u b l e
quoted ) , number , null , true , false ` ,l=O(),r=_("li"),o=_("code"),o.textContent="OPERATOR",a=H( ` - is one of :
` ),u=_("br"),f=O(),c=_("ul"),d=_("li"),h=_("code"),h.textContent="=",g=O(),y=_("span"),y.textContent="Equal",b=O(),v=_("li"),S=_("code"),S.textContent="!=", $ =O(),C=_("span"),C.textContent="NOT equal",M=O(),T=_("li"),E=_("code"),E.textContent=">",D=O(),P=_("span"),P.textContent="Greater than",L=O(),N=_("li"),R=_("code"),R.textContent=">=",J=O(),W=_("span"),W.textContent="Greater than or equal",q=O(),G=_("li"),K=_("code"),K.textContent="<",Y=O(),ne=_("span"),ne.textContent="Less than or equal",fe=O(),ye=_("li"),se=_("code"),se.textContent="<=",Z=O(),De=_("span"),De.textContent="Less than or equal",te=O(),be=_("li"),ue=_("code"),ue.textContent="~",ie=O(),ve=_("span"),ve.textContent= ` Like / Contains ( if not specified auto wraps the right string OPERAND in a "%" for wildcard
match ) ` ,He=O(),Ie=_("li"),qe=_("code"),qe.textContent="!~",oe=O(),le=_("span"),le.textContent= ` NOT Like / Contains ( if not specified auto wraps the right string OPERAND in a "%" for
wildcard match ) ` ,ke=O(),Ve=_("p"),Ve.innerHTML= ` To group and combine several expressions you could use brackets
< code > ( ... ) < / c o d e > , < c o d e > & a m p ; & a m p ; < / c o d e > ( A N D ) a n d < c o d e > | | < / c o d e > ( O R ) t o k e n s . ` , p ( o , " c l a s s " , " t x t - d a n g e r " ) , p ( h , " c l a s s " , " f i l t e r - o p s v e l t e - 1 w 7 s 5 n w " ) , p ( y , " c l a s s " , " t x t - h i n t " ) , p ( S , " c l a s s " , " f i l t e r - o p s v e l t e - 1 w 7 s 5 n w " ) , p ( C , " c l a s s " , " t x t - h i n t " ) , p ( E , " c l a s s " , " f i l t e r - o p s v e l t e - 1 w 7 s 5 n w " ) , p ( P , " c l a s s " , " t x t - h i n t " ) , p ( R , " c l a s s " , " f i l t e r - o p s v e l t e - 1 w 7 s 5 n w " ) , p ( W , " c l a s s " , " t x t - h i n t " ) , p ( K , " c l a s s " , " f i l t e r - o p s v e l t e - 1 w 7 s 5 n w " ) , p ( n e , " c l a s s " , " t x t - h i n t " ) , p ( s e , " c l a s s " , " f i l t e r - o p s v e l t e - 1 w 7 s 5 n w " ) , p ( D e , " c l a s s " , " t x t - h i n t " ) , p ( u e , " c l a s s " , " f i l t e r - o p s v e l t e - 1 w 7 s 5 n w " ) , p ( v e , " c l a s s " , " t x t - h i n t " ) , p ( q e , " c l a s s " , " f i l t e r - o p s v e l t e - 1 w 7 s 5 n w " ) , p ( l e , " c l a s s " , " t x t - h i n t " ) } , m ( z e , Z e ) { w ( z e , e , Z e ) , w ( z e , t , Z e ) , w ( z e , i , Z e ) , m ( i , s ) , m ( i , l ) , m ( i , r ) , m ( r , o ) , m ( r , a ) , m ( r , u ) , m ( r , f ) , m ( r , c ) , m ( c , d ) , m ( d , h ) , m ( d , g ) , m ( d , y ) , m ( c , b ) , m ( c , v ) , m ( v , S ) , m ( v , $ ) , m ( v , C ) , m ( c , M ) , m ( c , T ) , m ( T , E ) , m ( T , D ) , m ( T , P ) , m ( c , L ) , m ( c , N ) , m ( N , R ) , m ( N , J ) , m ( N , W ) , m ( c , q ) , m ( c , G ) , m ( G , K ) , m ( G , Y ) , m ( G , n e ) , m ( c , f e ) , m ( c , y e ) , m ( y e , s e ) , m ( y e , Z ) , m ( y e , D e ) , m ( c , t e ) , m ( c , b e ) , m ( b e , u e ) , m ( b e , i e ) , m ( b e , v e ) , m ( c , H e ) , m ( c , I e ) , m ( I e , q e ) , m ( I e , o e ) , m ( I e , l e ) , w ( z e , k e , Z e ) , w ( z e , V e , Z e ) } , p : r e , i : r e , o : r e , d ( z e ) { z e & & k ( e ) , z e & & k ( t ) , z e & & k ( i ) , z e & & k ( k e ) , z e & & k ( V e ) } } } c l a s s p O e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , n u l l , d O , A e , { } ) } } f u n c t i o n c h ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 8 ] = e [ t ] , i } f u n c t i o n d h ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 8 ] = e [ t ] , i } f u n c t i o n p h ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 1 3 ] = e [ t ] , i } f u n c t i o n h h ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 1 3 ] = e [ t ] , i } f u n c t i o n m h ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " p " ) , e . i n n e r H T M L = " R e q u i r e s < c o d e > A u t h o r i z a t i o n : A d m i n T O K E N < / c o d e > h e a d e r " , p ( e , " c l a s s " , " t x t - h i n t t x t - s m t x t - r i g h t " ) } , m ( t , i ) { w ( t , e , i ) } , d ( t ) { t & & k ( e ) } } } f u n c t i o n g h ( n , e ) { l e t t , i = e [ 1 3 ] . l a n g + " " , s , l , r , o ; f u n c t i o n a ( ) { r e t u r n e [ 6 ] ( e [ 1 3 ] ) } r e t u r n { k e y : n , f i r s t : n u l l , c ( ) { t = _ ( " b u t t o n " ) , s = H ( i ) , l = O ( ) , p ( t , " c l a s s " , " t a b - i t e m " ) , Q ( t , " a c t i v e " , e [ 3 ] = = = e [ 1 3 ] . l a n g ) , t h i s . f i r s t = t } , m ( u , f ) { w ( u , t , f ) , m ( t , s ) , m ( t , l ) , r | | ( o = X ( t , " c l i c k " , a ) , r = ! 0 ) } , p ( u , f ) { e = u , f & 1 6 & & i ! = = ( i = e [ 1 3 ] . l a n g + " " ) & & _ e ( s , i ) , f & 2 4 & & Q ( t , " a c t i v e " , e [ 3 ] = = = e [ 1 3 ] . l a n g ) } , d ( u ) { u & & k ( t ) , r = ! 1 , o ( ) } } } f u n c t i o n _ h ( n , e ) { l e t t , i , s , l ; r e t u r n i = n e w e n ( { p r o p s : { c o n t e n t : e [ 1 3 ] . c o d e } } ) , { k e y : n , f i r s t : n u l l , c ( ) { t = _ ( " d i v " ) , B ( i . $ $ . f r a g m e n t ) , s = O ( ) , p ( t , " c l a s s " , " t a b - i t e m " ) , Q ( t , " a c t i v e " , e [ 3 ] = = = e [ 1 3 ] . l a n g ) , t h i s . f i r s t = t } , m ( r , o ) { w ( r , t , o ) , V ( i , t , n u l l ) , m ( t , s ) , l = ! 0 } , p ( r , o ) { e = r ; c o n s t a = { } ; o & 1 6 & & ( a . c o n t e n t = e [ 1 3 ] . c o d e ) , i . $ s e t ( a ) , o & 2 4 & & Q ( t , " a c t i v e " , e [ 3 ] = = = e [ 1 3 ] . l a n g ) } , i ( r ) { l | | ( A ( i . $ $ . f r a g m e n t , r ) , l = ! 0 ) } , o ( r ) { F ( i . $ $ . f r a g m e n t , r ) , l = ! 1 } , d ( r ) { r & & k ( t ) , z ( i ) } } } f u n c t i o n b h ( n , e ) { l e t t , i = e [ 8 ] . c o d e + " " , s , l , r , o ; f u n c t i o n a ( ) { r e t u r n e [ 7 ] ( e [ 8 ] ) } r e t u r n { k e y : n , f i r s t : n u l l , c ( ) { t = _ ( " d i v " ) , s = H ( i ) , l = O ( ) , p ( t , " c l a s s " , " t a b - i t e m " ) , Q ( t , " a c t i v e " , e [ 2 ] = = = e [ 8 ] . c o d e ) , t h i s . f i r s t = t } , m ( u , f ) { w ( u , t , f ) , m ( t , s ) , m ( t , l ) , r | | ( o = X ( t , " c l i c k " , a ) , r = ! 0 ) } , p ( u , f ) { e = u , f & 3 6 & & Q ( t , " a c t i v e " , e [ 2 ] = = = e [ 8 ] . c o d e ) } , d ( u ) { u & & k ( t ) , r = ! 1 , o ( ) } } } f u n c t i o n y h ( n , e ) { l e t t , i , s , l ; r e t u r n i = n e w e n ( { p r o p s : { c o n t e n t : e [ 8 ] . b o d y } } ) , { k e y : n , f i r s t : n u l l , c ( ) { t = _ ( " d i v " ) , B ( i . $ $ . f r a g m e n t ) , s = O ( ) , p ( t , " c l a s s " , " t a b - i t e m " ) , Q ( t , " a c t i v e " , e [ 2 ] = = = e [ 8 ] . c o d e ) , t h i s . f i r s t = t } , m ( r , o ) { w ( r , t , o ) , V ( i , t , n u l l ) , m ( t , s ) , l = ! 0 } , p ( r , o ) { e = r , o & 3 6 & & Q ( t , " a c t i v e " , e [ 2 ] = = = e [ 8 ] . c o d e ) } , i ( r ) { l | | ( A ( i . $ $ . f r a g m e n t , r ) , l = ! 0 ) } , o ( r ) { F ( i . $ $ . f r a g m e n t , r ) , l = ! 1 } , d ( r ) { r & & k ( t ) , z ( i ) } } } f u n c t i o n h O ( n ) { l e t e , t , i , s , l , r , o , a = n [ 0 ] . n a m e + " " , u , f , c , d , h , g , y , b , v = n [ 0 ] . n a m e + " " , S , $ , C , M , T , E , D , P = [ ] , L = n e w M a p , N , R , J = [ ] , W = n e w M a p , q , G , K , Y , n e , f e , y e , s e , Z , D e , t e , b e , u e , i e , v e , H e , I e , q e , o e , l e , k e , V e , z e , Z e , g e , E e , x , a e , B e , v t , i t , g t , a t , y t , z t , M t , O t , m e , C e , K e , s t , f n , c e , S e , x e , G t , q t , i i , p e , I , j , e e , d e , P e , W e , t t , J e , n t = [ ] , G e = n e w M a p , e t , _ t , F t = [ ] , t n = n e w M a p , I n , B t = n [ 1 ] & & m h ( ) , w s = n [ 4 ] ; c o n s t S s = M e = > M e [ 1 3 ] . l a n g ; f o r ( l e t M e = 0 ; M e < w s . l e n g t h ; M e + = 1 ) { l e t Y e = h h ( n , w s , M e ) , A t = S s ( Y e ) ; L . s e t ( A t , P [ M e ] = g h ( A t , Y e ) ) } l e t J i = n [ 4 ] ; c o n s t i r = M e = > M e [ 1 3 ] . l a n g ; f o r ( l e t M e = 0 ; M e < J i . l e n g t h ; M e + = 1 ) { l e t Y e = p h ( n , J i , M e ) , A t = i r ( Y e ) ; W . s e t ( A t , J [ M e ] = _ h ( A t , Y e ) ) } g e = n e w e n ( { p r o p s : { c o n t e n t : `
// DESC by created and ASC by id
? sort = - created , id
` }}),yt=new en({props:{content: `
? filter = ( id = 'abc' && created > '2022-01-01' )
` }}),Mt=new pO({}),xe=new en({props:{content: `
? expand = rel1 , rel2 . subrel21 . subrel22
` }});let $ s=n[5];const sr=Me=>Me[8].code;for(let Me=0;Me< $ s.length;Me+=1){let Ye=dh(n, $ s,Me),At=sr(Ye);Ge.set(At,nt[Me]=bh(At,Ye))}let Gi=n[5];const lr=Me=>Me[8].code;for(let Me=0;Me<Gi.length;Me+=1){let Ye=ch(n,Gi,Me),At=lr(Ye);tn.set(At,Ft[Me]=yh(At,Ye))}return{c(){e=_("div"),t=_("strong"),t.textContent="GET",i=O(),s=_("div"),l=_("p"),r=H("/api/collections/"),o=_("strong"),u=H(a),f=H("/records"),c=O(),Bt&&Bt.c(),d=O(),h=_("div"),g=_("p"),y=H("Fetch a paginated "),b=_("strong"),S=H(v), $ =H(" records list."),C=O(),M=_("div"),M.textContent="Client SDKs example",T=O(),E=_("div"),D=_("div");for(let Me=0;Me<P.length;Me+=1)P[Me].c();N=O(),R=_("div");for(let Me=0;Me<J.length;Me+=1)J[Me].c();q=O(),G=_("div"),G.textContent="Query parameters",K=O(),Y=_("table"),ne=_("thead"),ne.innerHTML= ` < tr > < th > Param < / t h >
< th > Type < / t h >
< th width = "60%" > Description < / t h > < / t r > ` , f e = O ( ) , y e = _ ( " t b o d y " ) , s e = _ ( " t r " ) , s e . i n n e r H T M L = ` < t d > p a g e < / t d >
< td > < span class = "label" > Number < / s p a n > < / t d >
< td > The page ( aka . offset ) of the paginated list ( default to 1 ) . < / t d > ` , Z = O ( ) , D e = _ ( " t r " ) , D e . i n n e r H T M L = ` < t d > p e r P a g e < / t d >
< td > < span class = "label" > Number < / s p a n > < / t d >
< td > Specify the max returned records per page ( default to 30 ) . < / t d > ` , t e = O ( ) , b e = _ ( " t r " ) , u e = _ ( " t d " ) , u e . t e x t C o n t e n t = " s o r t " , i e = O ( ) , v e = _ ( " t d " ) , v e . i n n e r H T M L = ' < s p a n c l a s s = " l a b e l " > S t r i n g < / s p a n > ' , H e = O ( ) , I e = _ ( " t d " ) , q e = H ( " S p e c i f y t h e r e c o r d s o r d e r a t t r i b u t e ( s ) . " ) , o e = _ ( " b r " ) , l e = H ( `
Add ` ),ke=_("code"),ke.textContent="-",Ve=H(" / "),ze=_("code"),ze.textContent="+",Ze=H( ` ( default ) in front of the attribute for DESC / ASC order .
Ex . :
` ),B(ge. $ $ .fragment),Ee=O(),x=_("tr"),ae=_("td"),ae.textContent="filter",Be=O(),vt=_("td"),vt.innerHTML='<span class="label">String</span>',it=O(),gt=_("td"),at=H( ` Filter the returned records . Ex . :
` ),B(yt. $ $ .fragment),zt=O(),B(Mt. $ $ .fragment),Ot=O(),me=_("tr"),Ce=_("td"),Ce.textContent="expand",Ke=O(),st=_("td"),st.innerHTML='<span class="label">String</span>',fn=O(),ce=_("td"),Se=H( ` Auto expand nested record relations . Ex . :
` ),B(xe. $ $ .fragment),Gt=H( `
Supports up to 6 - levels depth nested relations expansion . ` ),qt=_("br"),ii=H( `
The expanded relations will be appended to each individual record under the
` ),pe=_("code"),pe.textContent="@expand",I=H(" property (eg. "),j=_("code"),j.textContent='"@expand": {"rel1": {...}, ...}',ee=H(")."),de=O(),Pe=_("div"),Pe.textContent="Responses",We=O(),tt=_("div"),Je=_("div");for(let Me=0;Me<nt.length;Me+=1)nt[Me].c();et=O(),_t=_("div");for(let Me=0;Me<Ft.length;Me+=1)Ft[Me].c();p(t,"class","label label-primary"),p(s,"class","content"),p(e,"class","alert alert-info"),p(h,"class","content m-b-base"),p(M,"class","section-title"),p(D,"class","tabs-header compact left"),p(R,"class","tabs-content"),p(E,"class","tabs m-b-lg"),p(G,"class","section-title"),p(Y,"class","table-compact table-border m-b-lg"),p(Pe,"class","section-title"),p(Je,"class","tabs-header compact left"),p(_t,"class","tabs-content"),p(tt,"class","tabs")},m(Me,Ye){w(Me,e,Ye),m(e,t),m(e,i),m(e,s),m(s,l),m(l,r),m(l,o),m(o,u),m(l,f),m(e,c),Bt&&Bt.m(e,null),w(Me,d,Ye),w(Me,h,Ye),m(h,g),m(g,y),m(g,b),m(b,S),m(g, $ ),w(Me,C,Ye),w(Me,M,Ye),w(Me,T,Ye),w(Me,E,Ye),m(E,D);for(let At=0;At<P.length;At+=1)P[At].m(D,null);m(E,N),m(E,R);for(let At=0;At<J.length;At+=1)J[At].m(R,null);w(Me,q,Ye),w(Me,G,Ye),w(Me,K,Ye),w(Me,Y,Ye),m(Y,ne),m(Y,fe),m(Y,ye),m(ye,se),m(ye,Z),m(ye,De),m(ye,te),m(ye,be),m(be,ue),m(be,ie),m(be,ve),m(be,He),m(be,Ie),m(Ie,qe),m(Ie,oe),m(Ie,le),m(Ie,ke),m(Ie,Ve),m(Ie,ze),m(Ie,Ze),V(ge,Ie,null),m(ye,Ee),m(ye,x),m(x,ae),m(x,Be),m(x,vt),m(x,it),m(x,gt),m(gt,at),V(yt,gt,null),m(gt,zt),V(Mt,gt,null),m(ye,Ot),m(ye,me),m(me,Ce),m(me,Ke),m(me,st),m(me,fn),m(me,ce),m(ce,Se),V(xe,ce,null),m(ce,Gt),m(ce,qt),m(ce,ii),m(ce,pe),m(ce,I),m(ce,j),m(ce,ee),w(Me,de,Ye),w(Me,Pe,Ye),w(Me,We,Ye),w(Me,tt,Ye),m(tt,Je);for(let At=0;At<nt.length;At+=1)nt[At].m(Je,null);m(tt,et),m(tt,_t);for(let At=0;At<Ft.length;At+=1)Ft[At].m(_t,null);In=!0},p(Me,[Ye]){(!In||Ye&1)&&a!==(a=Me[0].name+"")&&_e(u,a),Me[1]?Bt||(Bt=mh(),Bt.c(),Bt.m(e,null)):Bt&&(Bt.d(1),Bt=null),(!In||Ye&1)&&v!==(v=Me[0].name+"")&&_e(S,v),Ye&24&&(ws=Me[4],P=ot(P,Ye,Ss,1,Me,ws,L,D,an,gh,null,hh)),Ye&24&&(Ji=Me[4],Oe(),J=ot(J,Ye,ir,1,Me,Ji,W,R,Lt,_h,null,ph),Te()),Ye&36&&( $ s=Me[5],nt=ot(nt,Ye,sr,1,Me, $ s,Ge,Je,an,bh,null,dh)),Ye&36&&(Gi=Me[5],Oe(),Ft=ot(Ft,Ye,lr,1,Me,Gi,tn,_t,Lt,yh,null,ch),Te())},i(Me){if(!In){for(let Ye=0;Ye<Ji.length;Ye+=1)A(J[Ye]);A(ge. $ $ .fragment,Me),A(yt. $ $ .fragment,Me),A(Mt. $ $ .fragment,Me),A(xe. $ $ .fragment,Me);for(let Ye=0;Ye<Gi.length;Ye+=1)A(Ft[Ye]);In=!0}},o(Me){for(let Ye=0;Ye<J.length;Ye+=1)F(J[Ye]);F(ge. $ $ .fragment,Me),F(yt. $ $ .fragment,Me),F(Mt. $ $ .fragment,Me),F(xe. $ $ .fragment,Me);for(let Ye=0;Ye<Ft.length;Ye+=1)F(Ft[Ye]);In=!1},d(Me){Me&&k(e),Bt&&Bt.d(),Me&&k(d),Me&&k(h),Me&&k(C),Me&&k(M),Me&&k(T),Me&&k(E);for(let Ye=0;Ye<P.length;Ye+=1)P[Ye].d();for(let Ye=0;Ye<J.length;Ye+=1)J[Ye].d();Me&&k(q),Me&&k(G),Me&&k(K),Me&&k(Y),z(ge),z(yt),z(Mt),z(xe),Me&&k(de),Me&&k(Pe),Me&&k(We),Me&&k(tt);for(let Ye=0;Ye<nt.length;Ye+=1)nt[Ye].d();for(let Ye=0;Ye<Ft.length;Ye+=1)Ft[Ye].d()}}}function mO(n,e,t){let i,{collection:s=new Ln}=e,l=200,r="JavaScript",o=[],a=[];const u=c=>t(3,r=c.lang),f=c=>t(2,l=c.code);return n. $ $ set=c=>{"collection"in c&&t(0,s=c.collection)},n. $ $ .update=()=>{n. $ $ .dirty&1&&t(1,i=(s==null?void 0:s.listRule)===null),n. $ $ .dirty&3&&s!=null&&s.id&&(o.push({code:200,body:JSON.stringify({page:1,perPage:30,totalItems:2,items:[U.dummyCollectionRecord(s),U.dummyCollectionRecord(s)]},null,2)}),o.push({code:400,body: `
{
"code" : 400 ,
"message" : "Something went wrong while processing your request. Invalid filter." ,
"data" : { }
}
` }),i&&o.push({code:403,body: `
{
"code" : 403 ,
"message" : "Only admins can access this action." ,
"data" : { }
}
` }),o.push({code:404,body: `
{
"code" : 404 ,
"message" : "The requested resource wasn't found." ,
"data" : { }
}
` })),n. $ $ .dirty&1&&t(4,a=[{lang:"JavaScript",code: `
import PocketBase from 'pocketbase' ;
const client = new PocketBase ( "${we.baseUrl}" ) ;
client . Records . getList ( "${s==null?void 0:s.name}" , { page : 2 } )
. then ( function ( list ) {
// success...
} ) . catch ( function ( error ) {
// error...
} ) ;
// alternatively you can also fetch all records at once via getFullList:
2022-07-11 02:14:38 +08:00
client . Records . getFullList ( "${s==null?void 0:s.name}" , 200 /* batch size */ )
2022-07-10 16:46:21 +08:00
. then ( function ( records ) {
// success...
} ) . catch ( function ( error ) {
// error...
} ) ;
` }])},[s,i,l,r,a,o,u,f]}class gO extends Fe{constructor(e){super(),Le(this,e,mO,hO,Ae,{collection:0})}}function vh(n,e,t){const i=n.slice();return i[8]=e[t],i}function kh(n,e,t){const i=n.slice();return i[8]=e[t],i}function wh(n,e,t){const i=n.slice();return i[13]=e[t],i}function Sh(n,e,t){const i=n.slice();return i[13]=e[t],i}function $ h(n){let e;return{c(){e=_("p"),e.innerHTML="Requires <code>Authorization: Admin TOKEN</code> header",p(e,"class","txt-hint txt-sm txt-right")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function Ch(n,e){let t,i=e[13].lang+"",s,l,r,o;function a(){return e[6](e[13])}return{key:n,first:null,c(){t=_("button"),s=H(i),l=O(),p(t,"class","tab-item"),Q(t,"active",e[3]===e[13].lang),this.first=t},m(u,f){w(u,t,f),m(t,s),m(t,l),r||(o=X(t,"click",a),r=!0)},p(u,f){e=u,f&16&&i!==(i=e[13].lang+"")&&_e(s,i),f&24&&Q(t,"active",e[3]===e[13].lang)},d(u){u&&k(t),r=!1,o()}}}function Mh(n,e){let t,i,s,l;return i=new en({props:{content:e[13].code}}),{key:n,first:null,c(){t=_("div"),B(i. $ $ .fragment),s=O(),p(t,"class","tab-item"),Q(t,"active",e[3]===e[13].lang),this.first=t},m(r,o){w(r,t,o),V(i,t,null),m(t,s),l=!0},p(r,o){e=r;const a={};o&16&&(a.content=e[13].code),i. $ set(a),o&24&&Q(t,"active",e[3]===e[13].lang)},i(r){l||(A(i. $ $ .fragment,r),l=!0)},o(r){F(i. $ $ .fragment,r),l=!1},d(r){r&&k(t),z(i)}}}function Oh(n,e){let t,i=e[8].code+"",s,l,r,o;function a(){return e[7](e[8])}return{key:n,first:null,c(){t=_("button"),s=H(i),l=O(),p(t,"class","tab-item"),Q(t,"active",e[2]===e[8].code),this.first=t},m(u,f){w(u,t,f),m(t,s),m(t,l),r||(o=X(t,"click",a),r=!0)},p(u,f){e=u,f&36&&Q(t,"active",e[2]===e[8].code)},d(u){u&&k(t),r=!1,o()}}}function Th(n,e){let t,i,s,l;return i=new en({props:{content:e[8].body}}),{key:n,first:null,c(){t=_("div"),B(i. $ $ .fragment),s=O(),p(t,"class","tab-item"),Q(t,"active",e[2]===e[8].code),this.first=t},m(r,o){w(r,t,o),V(i,t,null),m(t,s),l=!0},p(r,o){e=r,o&36&&Q(t,"active",e[2]===e[8].code)},i(r){l||(A(i. $ $ .fragment,r),l=!0)},o(r){F(i. $ $ .fragment,r),l=!1},d(r){r&&k(t),z(i)}}}function _O(n){let e,t,i,s,l,r,o,a=n[0].name+"",u,f,c,d,h,g,y,b,v,S=n[0].name+"", $ ,C,M,T,E,D,P,L=[],N=new Map,R,J,W=[],q=new Map,G,K,Y,ne,fe,ye,se,Z,De,te,be,ue,ie,ve,He,Ie,qe,oe,le,ke,Ve,ze,Ze,ge,Ee,x,ae,Be,vt,it,gt,at=[],yt=new Map,zt,Mt,Ot=[],me=new Map,Ce,Ke=n[1]&& $ h(),st=n[4];const fn=pe=>pe[13].lang;for(let pe=0;pe<st.length;pe+=1){let I=Sh(n,st,pe),j=fn(I);N.set(j,L[pe]=Ch(j,I))}let ce=n[4];const Se=pe=>pe[13].lang;for(let pe=0;pe<ce.length;pe+=1){let I=wh(n,ce,pe),j=Se(I);q.set(j,W[pe]=Mh(j,I))}le=new en({props:{content: `
? expand = rel1 , rel2 . subrel21 . subrel22
` }});let xe=n[5];const Gt=pe=>pe[8].code;for(let pe=0;pe<xe.length;pe+=1){let I=kh(n,xe,pe),j=Gt(I);yt.set(j,at[pe]=Oh(j,I))}let qt=n[5];const ii=pe=>pe[8].code;for(let pe=0;pe<qt.length;pe+=1){let I=vh(n,qt,pe),j=ii(I);me.set(j,Ot[pe]=Th(j,I))}return{c(){e=_("div"),t=_("strong"),t.textContent="GET",i=O(),s=_("div"),l=_("p"),r=H("/api/collections/"),o=_("strong"),u=H(a),f=H("/records/"),c=_("strong"),c.textContent=":id",d=O(),Ke&&Ke.c(),h=O(),g=_("div"),y=_("p"),b=H("Fetch a single "),v=_("strong"), $ =H(S),C=H(" record."),M=O(),T=_("div"),T.textContent="Client SDKs example",E=O(),D=_("div"),P=_("div");for(let pe=0;pe<L.length;pe+=1)L[pe].c();R=O(),J=_("div");for(let pe=0;pe<W.length;pe+=1)W[pe].c();G=O(),K=_("div"),K.textContent="Path Parameters",Y=O(),ne=_("table"),ne.innerHTML= ` < thead > < tr > < th > Param < / t h >
< th > Type < / t h >
< th width = "60%" > Description < / t h > < / t r > < / t h e a d >
< tbody > < tr > < td > id < / t d >
< td > < span class = "label" > String < / s p a n > < / t d >
< td > ID of the record to view . < / t d > < / t r > < / t b o d y > ` , f e = O ( ) , y e = _ ( " d i v " ) , y e . t e x t C o n t e n t = " Q u e r y p a r a m e t e r s " , s e = O ( ) , Z = _ ( " t a b l e " ) , D e = _ ( " t h e a d " ) , D e . i n n e r H T M L = ` < t r > < t h > P a r a m < / t h >
< th > Type < / t h >
< th width = "60%" > Description < / t h > < / t r > ` , t e = O ( ) , b e = _ ( " t b o d y " ) , u e = _ ( " t r " ) , i e = _ ( " t d " ) , i e . t e x t C o n t e n t = " e x p a n d " , v e = O ( ) , H e = _ ( " t d " ) , H e . i n n e r H T M L = ' < s p a n c l a s s = " l a b e l " > S t r i n g < / s p a n > ' , I e = O ( ) , q e = _ ( " t d " ) , o e = H ( ` A u t o e x p a n d n e s t e d r e c o r d r e l a t i o n s . E x . :
` ),B(le. $ $ .fragment),ke=H( `
Supports up to 6 - levels depth nested relations expansion . ` ),Ve=_("br"),ze=H( `
The expanded relations will be appended to the record under the
` ),Ze=_("code"),Ze.textContent="@expand",ge=H(" property (eg. "),Ee=_("code"),Ee.textContent='"@expand": {"rel1": {...}, ...}',x=H(")."),ae=O(),Be=_("div"),Be.textContent="Responses",vt=O(),it=_("div"),gt=_("div");for(let pe=0;pe<at.length;pe+=1)at[pe].c();zt=O(),Mt=_("div");for(let pe=0;pe<Ot.length;pe+=1)Ot[pe].c();p(t,"class","label label-primary"),p(s,"class","content"),p(e,"class","alert alert-info"),p(g,"class","content m-b-base"),p(T,"class","section-title"),p(P,"class","tabs-header compact left"),p(J,"class","tabs-content"),p(D,"class","tabs m-b-lg"),p(K,"class","section-title"),p(ne,"class","table-compact table-border m-b-lg"),p(ye,"class","section-title"),p(Z,"class","table-compact table-border m-b-lg"),p(Be,"class","section-title"),p(gt,"class","tabs-header compact left"),p(Mt,"class","tabs-content"),p(it,"class","tabs")},m(pe,I){w(pe,e,I),m(e,t),m(e,i),m(e,s),m(s,l),m(l,r),m(l,o),m(o,u),m(l,f),m(l,c),m(e,d),Ke&&Ke.m(e,null),w(pe,h,I),w(pe,g,I),m(g,y),m(y,b),m(y,v),m(v, $ ),m(y,C),w(pe,M,I),w(pe,T,I),w(pe,E,I),w(pe,D,I),m(D,P);for(let j=0;j<L.length;j+=1)L[j].m(P,null);m(D,R),m(D,J);for(let j=0;j<W.length;j+=1)W[j].m(J,null);w(pe,G,I),w(pe,K,I),w(pe,Y,I),w(pe,ne,I),w(pe,fe,I),w(pe,ye,I),w(pe,se,I),w(pe,Z,I),m(Z,De),m(Z,te),m(Z,be),m(be,ue),m(ue,ie),m(ue,ve),m(ue,He),m(ue,Ie),m(ue,qe),m(qe,oe),V(le,qe,null),m(qe,ke),m(qe,Ve),m(qe,ze),m(qe,Ze),m(qe,ge),m(qe,Ee),m(qe,x),w(pe,ae,I),w(pe,Be,I),w(pe,vt,I),w(pe,it,I),m(it,gt);for(let j=0;j<at.length;j+=1)at[j].m(gt,null);m(it,zt),m(it,Mt);for(let j=0;j<Ot.length;j+=1)Ot[j].m(Mt,null);Ce=!0},p(pe,[I]){(!Ce||I&1)&&a!==(a=pe[0].name+"")&&_e(u,a),pe[1]?Ke||(Ke= $ h(),Ke.c(),Ke.m(e,null)):Ke&&(Ke.d(1),Ke=null),(!Ce||I&1)&&S!==(S=pe[0].name+"")&&_e( $ ,S),I&24&&(st=pe[4],L=ot(L,I,fn,1,pe,st,N,P,an,Ch,null,Sh)),I&24&&(ce=pe[4],Oe(),W=ot(W,I,Se,1,pe,ce,q,J,Lt,Mh,null,wh),Te()),I&36&&(xe=pe[5],at=ot(at,I,Gt,1,pe,xe,yt,gt,an,Oh,null,kh)),I&36&&(qt=pe[5],Oe(),Ot=ot(Ot,I,ii,1,pe,qt,me,Mt,Lt,Th,null,vh),Te())},i(pe){if(!Ce){for(let I=0;I<ce.length;I+=1)A(W[I]);A(le. $ $ .fragment,pe);for(let I=0;I<qt.length;I+=1)A(Ot[I]);Ce=!0}},o(pe){for(let I=0;I<W.length;I+=1)F(W[I]);F(le. $ $ .fragment,pe);for(let I=0;I<Ot.length;I+=1)F(Ot[I]);Ce=!1},d(pe){pe&&k(e),Ke&&Ke.d(),pe&&k(h),pe&&k(g),pe&&k(M),pe&&k(T),pe&&k(E),pe&&k(D);for(let I=0;I<L.length;I+=1)L[I].d();for(let I=0;I<W.length;I+=1)W[I].d();pe&&k(G),pe&&k(K),pe&&k(Y),pe&&k(ne),pe&&k(fe),pe&&k(ye),pe&&k(se),pe&&k(Z),z(le),pe&&k(ae),pe&&k(Be),pe&&k(vt),pe&&k(it);for(let I=0;I<at.length;I+=1)at[I].d();for(let I=0;I<Ot.length;I+=1)Ot[I].d()}}}function bO(n,e,t){let i,{collection:s=new Ln}=e,l=200,r="JavaScript",o=[],a=[];const u=c=>t(3,r=c.lang),f=c=>t(2,l=c.code);return n. $ $ set=c=>{"collection"in c&&t(0,s=c.collection)},n. $ $ .update=()=>{n. $ $ .dirty&1&&t(1,i=(s==null?void 0:s.viewRule)===null),n. $ $ .dirty&3&&s!=null&&s.id&&(o.push({code:200,body:JSON.stringify(U.dummyCollectionRecord(s),null,2)}),i&&o.push({code:403,body: `
{
"code" : 403 ,
"message" : "Only admins can access this action." ,
"data" : { }
}
` }),o.push({code:404,body: `
{
"code" : 404 ,
"message" : "The requested resource wasn't found." ,
"data" : { }
}
` })),n. $ $ .dirty&1&&t(4,a=[{lang:"JavaScript",code: `
import PocketBase from 'pocketbase' ;
const client = new PocketBase ( "${we.baseUrl}" ) ;
client . Records . getOne ( "${s==null?void 0:s.name}" , "RECORD_ID" )
. then ( function ( record ) {
// success...
} ) . catch ( function ( error ) {
// error...
} ) ;
` }])},[s,i,l,r,a,o,u,f]}class yO extends Fe{constructor(e){super(),Le(this,e,bO,_O,Ae,{collection:0})}}function Dh(n,e,t){const i=n.slice();return i[8]=e[t],i}function Ah(n,e,t){const i=n.slice();return i[8]=e[t],i}function Eh(n,e,t){const i=n.slice();return i[13]=e[t],i}function Ph(n,e,t){const i=n.slice();return i[16]=e[t],i}function Lh(n,e,t){const i=n.slice();return i[16]=e[t],i}function Fh(n){let e;return{c(){e=_("p"),e.innerHTML="Requires <code>Authorization: Admin TOKEN</code> header",p(e,"class","txt-hint txt-sm txt-right")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function Ih(n,e){let t,i=e[16].lang+"",s,l,r,o;function a(){return e[6](e[16])}return{key:n,first:null,c(){t=_("button"),s=H(i),l=O(),p(t,"class","tab-item"),Q(t,"active",e[2]===e[16].lang),this.first=t},m(u,f){w(u,t,f),m(t,s),m(t,l),r||(o=X(t,"click",a),r=!0)},p(u,f){e=u,f&16&&i!==(i=e[16].lang+"")&&_e(s,i),f&20&&Q(t,"active",e[2]===e[16].lang)},d(u){u&&k(t),r=!1,o()}}}function Nh(n,e){let t,i,s,l;return i=new en({props:{content:e[16].code}}),{key:n,first:null,c(){t=_("div"),B(i. $ $ .fragment),s=O(),p(t,"class","tab-item"),Q(t,"active",e[2]===e[16].lang),this.first=t},m(r,o){w(r,t,o),V(i,t,null),m(t,s),l=!0},p(r,o){e=r;const a={};o&16&&(a.content=e[16].code),i. $ set(a),o&20&&Q(t,"active",e[2]===e[16].lang)},i(r){l||(A(i. $ $ .fragment,r),l=!0)},o(r){F(i. $ $ .fragment,r),l=!1},d(r){r&&k(t),z(i)}}}function vO(n){let e;return{c(){e=_("span"),e.textContent="Optional",p(e,"class","label label-warning")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function kO(n){let e;return{c(){e=_("span"),e.textContent="Required",p(e,"class","label label-success")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function wO(n){var l;let e,t=((l=n[13].options)==null?void 0:l.maxSelect)>1?"ids":"id",i,s;return{c(){e=H("User "),i=H(t),s=H(".")},m(r,o){w(r,e,o),w(r,i,o),w(r,s,o)},p(r,o){var a;o&1&&t!==(t=((a=r[13].options)==null?void 0:a.maxSelect)>1?"ids":"id")&&_e(i,t)},d(r){r&&k(e),r&&k(i),r&&k(s)}}}function SO(n){var l;let e,t=((l=n[13].options)==null?void 0:l.maxSelect)>1?"ids":"id",i,s;return{c(){e=H("Relation record "),i=H(t),s=H(".")},m(r,o){w(r,e,o),w(r,i,o),w(r,s,o)},p(r,o){var a;o&1&&t!==(t=((a=r[13].options)==null?void 0:a.maxSelect)>1?"ids":"id")&&_e(i,t)},d(r){r&&k(e),r&&k(i),r&&k(s)}}}function $ O(n){let e,t,i,s,l;return{c(){e=H("FormData object."),t=_("br"),i=H( `
Set to ` ),s=_("code"),s.textContent="null",l=H(" to delete already uploaded file(s).")},m(r,o){w(r,e,o),w(r,t,o),w(r,i,o),w(r,s,o),w(r,l,o)},p:re,d(r){r&&k(e),r&&k(t),r&&k(i),r&&k(s),r&&k(l)}}}function CO(n){let e;return{c(){e=H("URL address.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function MO(n){let e;return{c(){e=H("Email address.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function OO(n){let e;return{c(){e=H("JSON array or object.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function TO(n){let e;return{c(){e=H("Number value.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function DO(n){let e;return{c(){e=H("Plain text value.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function Rh(n,e){let t,i,s,l,r,o=e[13].name+"",a,u,f,c,d=U.getFieldValueType(e[13])+"",h,g,y,b;function v(E,D){return E[13].required?kO:vO}let S=v(e), $ =S(e);function C(E,D){if(E[13].type==="text")return DO;if(E[13].type==="number")return TO;if(E[13].type==="json")return OO;if(E[13].type==="email")return MO;if(E[13].type==="url")return CO;if(E[13].type==="file")return $ O;if(E[13].type==="relation")return SO;if(E[13].type==="user")return wO}let M=C(e),T=M&&M(e);return{key:n,first:null,c(){t=_("tr"),i=_("td"),s=_("div"), $ .c(),l=O(),r=_("span"),a=H(o),u=O(),f=_("td"),c=_("span"),h=H(d),g=O(),y=_("td"),T&&T.c(),b=O(),p(s,"class","inline-flex"),p(c,"class","label"),this.first=t},m(E,D){w(E,t,D),m(t,i),m(i,s), $ .m(s,null),m(s,l),m(s,r),m(r,a),m(t,u),m(t,f),m(f,c),m(c,h),m(t,g),m(t,y),T&&T.m(y,null),m(t,b)},p(E,D){e=E,S!==(S=v(e))&&( $ .d(1), $ =S(e), $ &&( $ .c(), $ .m(s,l))),D&1&&o!==(o=e[13].name+"")&&_e(a,o),D&1&&d!==(d=U.getFieldValueType(e[13])+"")&&_e(h,d),M===(M=C(e))&&T?T.p(e,D):(T&&T.d(1),T=M&&M(e),T&&(T.c(),T.m(y,null)))},d(E){E&&k(t), $ .d(),T&&T.d()}}}function jh(n,e){let t,i=e[8].code+"",s,l,r,o;function a(){return e[7](e[8])}return{key:n,first:null,c(){t=_("button"),s=H(i),l=O(),p(t,"class","tab-item"),Q(t,"active",e[1]===e[8].code),this.first=t},m(u,f){w(u,t,f),m(t,s),m(t,l),r||(o=X(t,"click",a),r=!0)},p(u,f){e=u,f&8&&i!==(i=e[8].code+"")&&_e(s,i),f&10&&Q(t,"active",e[1]===e[8].code)},d(u){u&&k(t),r=!1,o()}}}function Hh(n,e){let t,i,s,l;return i=new en({props:{content:e[8].body}}),{key:n,first:null,c(){t=_("div"),B(i. $ $ .fragment),s=O(),p(t,"class","tab-item"),Q(t,"active",e[1]===e[8].code),this.first=t},m(r,o){w(r,t,o),V(i,t,null),m(t,s),l=!0},p(r,o){e=r;const a={};o&8&&(a.content=e[8].body),i. $ set(a),o&10&&Q(t,"active",e[1]===e[8].code)},i(r){l||(A(i. $ $ .fragment,r),l=!0)},o(r){F(i. $ $ .fragment,r),l=!1},d(r){r&&k(t),z(i)}}}function AO(n){var Ot;let e,t,i,s,l,r,o,a=n[0].name+"",u,f,c,d,h,g,y,b,v=n[0].name+"",S, $ ,C,M,T,E,D,P,L,N,R,J=[],W=new Map,q,G,K=[],Y=new Map,ne,fe,ye,se,Z,De,te,be=[],ue=new Map,ie,ve,He,Ie,qe,oe=[],le=new Map,ke,Ve,ze=[],Ze=new Map,ge,Ee=n[5]&&Fh(),x=n[4];const ae=me=>me[16].lang;for(let me=0;me<x.length;me+=1){let Ce=Lh(n,x,me),Ke=ae(Ce);W.set(Ke,J[me]=Ih(Ke,Ce))}let Be=n[4];const vt=me=>me[16].lang;for(let me=0;me<Be.length;me+=1){let Ce=Ph(n,Be,me),Ke=vt(Ce);Y.set(Ke,K[me]=Nh(Ke,Ce))}let it=(Ot=n[0])==null?void 0:Ot.schema;const gt=me=>me[13].name;for(let me=0;me<it.length;me+=1){let Ce=Eh(n,it,me),Ke=gt(Ce);ue.set(Ke,be[me]=Rh(Ke,Ce))}let at=n[3];const yt=me=>me[8].code;for(let me=0;me<at.length;me+=1){let Ce=Ah(n,at,me),Ke=yt(Ce);le.set(Ke,oe[me]=jh(Ke,Ce))}let zt=n[3];const Mt=me=>me[8].code;for(let me=0;me<zt.length;me+=1){let Ce=Dh(n,zt,me),Ke=Mt(Ce);Ze.set(Ke,ze[me]=Hh(Ke,Ce))}return{c(){e=_("div"),t=_("strong"),t.textContent="POST",i=O(),s=_("div"),l=_("p"),r=H("/api/collections/"),o=_("strong"),u=H(a),f=H("/records"),c=O(),Ee&&Ee.c(),d=O(),h=_("div"),g=_("p"),y=H("Create a new "),b=_("strong"),S=H(v), $ =H(" record."),C=O(),M=_("p"),M.innerHTML= ` Body parameters could be sent as < code > application / json < / c o d e > o r
< code > multipart / form - data < / c o d e > . ` , T = O ( ) , E = _ ( " p " ) , E . i n n e r H T M L = " F i l e u p l o a d i s s u p p o r t e d o n l y v i a < c o d e > m u l t i p a r t / f o r m - d a t a < / c o d e > . " , D = O ( ) , P = _ ( " d i v " ) , P . t e x t C o n t e n t = " C l i e n t S D K s e x a m p l e " , L = O ( ) , N = _ ( " d i v " ) , R = _ ( " d i v " ) ; f o r ( l e t m e = 0 ; m e < J . l e n g t h ; m e + = 1 ) J [ m e ] . c ( ) ; q = O ( ) , G = _ ( " d i v " ) ; f o r ( l e t m e = 0 ; m e < K . l e n g t h ; m e + = 1 ) K [ m e ] . c ( ) ; n e = O ( ) , f e = _ ( " d i v " ) , f e . t e x t C o n t e n t = " B o d y P a r a m e t e r s " , y e = O ( ) , s e = _ ( " t a b l e " ) , Z = _ ( " t h e a d " ) , Z . i n n e r H T M L = ` < t r > < t h > P a r a m < / t h >
< th > Type < / t h >
< th width = "50%" > Description < / t h > < / t r > ` , D e = O ( ) , t e = _ ( " t b o d y " ) ; f o r ( l e t m e = 0 ; m e < b e . l e n g t h ; m e + = 1 ) b e [ m e ] . c ( ) ; i e = O ( ) , v e = _ ( " d i v " ) , v e . t e x t C o n t e n t = " R e s p o n s e s " , H e = O ( ) , I e = _ ( " d i v " ) , q e = _ ( " d i v " ) ; f o r ( l e t m e = 0 ; m e < o e . l e n g t h ; m e + = 1 ) o e [ m e ] . c ( ) ; k e = O ( ) , V e = _ ( " d i v " ) ; f o r ( l e t m e = 0 ; m e < z e . l e n g t h ; m e + = 1 ) z e [ m e ] . c ( ) ; p ( t , " c l a s s " , " l a b e l l a b e l - p r i m a r y " ) , p ( s , " c l a s s " , " c o n t e n t " ) , p ( e , " c l a s s " , " a l e r t a l e r t - s u c c e s s " ) , p ( h , " c l a s s " , " c o n t e n t m - b - b a s e " ) , p ( P , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( R , " c l a s s " , " t a b s - h e a d e r c o m p a c t l e f t " ) , p ( G , " c l a s s " , " t a b s - c o n t e n t " ) , p ( N , " c l a s s " , " t a b s m - b - l g " ) , p ( f e , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( s e , " c l a s s " , " t a b l e - c o m p a c t t a b l e - b o r d e r m - b - l g " ) , p ( v e , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( q e , " c l a s s " , " t a b s - h e a d e r c o m p a c t l e f t " ) , p ( V e , " c l a s s " , " t a b s - c o n t e n t " ) , p ( I e , " c l a s s " , " t a b s " ) } , m ( m e , C e ) { w ( m e , e , C e ) , m ( e , t ) , m ( e , i ) , m ( e , s ) , m ( s , l ) , m ( l , r ) , m ( l , o ) , m ( o , u ) , m ( l , f ) , m ( e , c ) , E e & & E e . m ( e , n u l l ) , w ( m e , d , C e ) , w ( m e , h , C e ) , m ( h , g ) , m ( g , y ) , m ( g , b ) , m ( b , S ) , m ( g , $ ) , m ( h , C ) , m ( h , M ) , m ( h , T ) , m ( h , E ) , w ( m e , D , C e ) , w ( m e , P , C e ) , w ( m e , L , C e ) , w ( m e , N , C e ) , m ( N , R ) ; f o r ( l e t K e = 0 ; K e < J . l e n g t h ; K e + = 1 ) J [ K e ] . m ( R , n u l l ) ; m ( N , q ) , m ( N , G ) ; f o r ( l e t K e = 0 ; K e < K . l e n g t h ; K e + = 1 ) K [ K e ] . m ( G , n u l l ) ; w ( m e , n e , C e ) , w ( m e , f e , C e ) , w ( m e , y e , C e ) , w ( m e , s e , C e ) , m ( s e , Z ) , m ( s e , D e ) , m ( s e , t e ) ; f o r ( l e t K e = 0 ; K e < b e . l e n g t h ; K e + = 1 ) b e [ K e ] . m ( t e , n u l l ) ; w ( m e , i e , C e ) , w ( m e , v e , C e ) , w ( m e , H e , C e ) , w ( m e , I e , C e ) , m ( I e , q e ) ; f o r ( l e t K e = 0 ; K e < o e . l e n g t h ; K e + = 1 ) o e [ K e ] . m ( q e , n u l l ) ; m ( I e , k e ) , m ( I e , V e ) ; f o r ( l e t K e = 0 ; K e < z e . l e n g t h ; K e + = 1 ) z e [ K e ] . m ( V e , n u l l ) ; g e = ! 0 } , p ( m e , [ C e ] ) { v a r K e ; ( ! g e | | C e & 1 ) & & a ! = = ( a = m e [ 0 ] . n a m e + " " ) & & _ e ( u , a ) , m e [ 5 ] ? E e | | ( E e = F h ( ) , E e . c ( ) , E e . m ( e , n u l l ) ) : E e & & ( E e . d ( 1 ) , E e = n u l l ) , ( ! g e | | C e & 1 ) & & v ! = = ( v = m e [ 0 ] . n a m e + " " ) & & _ e ( S , v ) , C e & 2 0 & & ( x = m e [ 4 ] , J = o t ( J , C e , a e , 1 , m e , x , W , R , a n , I h , n u l l , L h ) ) , C e & 2 0 & & ( B e = m e [ 4 ] , O e ( ) , K = o t ( K , C e , v t , 1 , m e , B e , Y , G , L t , N h , n u l l , P h ) , T e ( ) ) , C e & 1 & & ( i t = ( K e = m e [ 0 ] ) = = n u l l ? v o i d 0 : K e . s c h e m a , b e = o t ( b e , C e , g t , 1 , m e , i t , u e , t e , a n , R h , n u l l , E h ) ) , C e & 1 0 & & ( a t = m e [ 3 ] , o e = o t ( o e , C e , y t , 1 , m e , a t , l e , q e , a n , j h , n u l l , A h ) ) , C e & 1 0 & & ( z t = m e [ 3 ] , O e ( ) , z e = o t ( z e , C e , M t , 1 , m e , z t , Z e , V e , L t , H h , n u l l , D h ) , T e ( ) ) } , i ( m e ) { i f ( ! g e ) { f o r ( l e t C e = 0 ; C e < B e . l e n g t h ; C e + = 1 ) A ( K [ C e ] ) ; f o r ( l e t C e = 0 ; C e < z t . l e n g t h ; C e + = 1 ) A ( z e [ C e ] ) ; g e = ! 0 } } , o ( m e ) { f o r ( l e t C e = 0 ; C e < K . l e n g t h ; C e + = 1 ) F ( K [ C e ] ) ; f o r ( l e t C e = 0 ; C e < z e . l e n g t h ; C e + = 1 ) F ( z e [ C e ] ) ; g e = ! 1 } , d ( m e ) { m e & & k ( e ) , E e & & E e . d ( ) , m e & & k ( d ) , m e & & k ( h ) , m e & & k ( D ) , m e & & k ( P ) , m e & & k ( L ) , m e & & k ( N ) ; f o r ( l e t C e = 0 ; C e < J . l e n g t h ; C e + = 1 ) J [ C e ] . d ( ) ; f o r ( l e t C e = 0 ; C e < K . l e n g t h ; C e + = 1 ) K [ C e ] . d ( ) ; m e & & k ( n e ) , m e & & k ( f e ) , m e & & k ( y e ) , m e & & k ( s e ) ; f o r ( l e t C e = 0 ; C e < b e . l e n g t h ; C e + = 1 ) b e [ C e ] . d ( ) ; m e & & k ( i e ) , m e & & k ( v e ) , m e & & k ( H e ) , m e & & k ( I e ) ; f o r ( l e t C e = 0 ; C e < o e . l e n g t h ; C e + = 1 ) o e [ C e ] . d ( ) ; f o r ( l e t C e = 0 ; C e < z e . l e n g t h ; C e + = 1 ) z e [ C e ] . d ( ) } } } f u n c t i o n E O ( n , e , t ) { l e t i , { c o l l e c t i o n : s = n e w L n } = e , l = 2 0 0 , r = " J a v a S c r i p t " , o = [ ] , a = [ ] ; c o n s t u = c = > t ( 2 , r = c . l a n g ) , f = c = > t ( 1 , l = c . c o d e ) ; r e t u r n n . $ $ s e t = c = > { " c o l l e c t i o n " i n c & & t ( 0 , s = c . c o l l e c t i o n ) } , n . $ $ . u p d a t e = ( ) = > { v a r c , d ; n . $ $ . d i r t y & 1 & & t ( 5 , i = ( s = = n u l l ? v o i d 0 : s . c r e a t e R u l e ) = = = n u l l ) , n . $ $ . d i r t y & 1 & & t ( 3 , o = [ { c o d e : 2 0 0 , b o d y : J S O N . s t r i n g i f y ( U . d u m m y C o l l e c t i o n R e c o r d ( s ) , n u l l , 2 ) } , { c o d e : 4 0 0 , b o d y : `
{
"code" : 400 ,
"message" : "Failed to create record." ,
"data" : {
"${(d=(c=s==null?void 0:s.schema)==null?void 0:c[0])==null?void 0:d.name}" : {
"code" : "validation_required" ,
"message" : "Missing required value."
}
}
}
` },{code:403,body: `
{
"code" : 403 ,
"message" : "You are not allowed to perform this request." ,
"data" : { }
}
` }]),n. $ $ .dirty&1&&t(4,a=[{lang:"JavaScript",code: `
import PocketBase from 'pocketbase' ;
const client = new PocketBase ( "${we.baseUrl}" ) ;
const data = { ... } ;
client . Records . create ( "${s==null?void 0:s.name}" , data )
. then ( function ( record ) {
// success...
} ) . catch ( function ( error ) {
// error...
} ) ;
` }])},[s,l,r,o,a,i,u,f]}class PO extends Fe{constructor(e){super(),Le(this,e,EO,AO,Ae,{collection:0})}}function qh(n,e,t){const i=n.slice();return i[8]=e[t],i}function Vh(n,e,t){const i=n.slice();return i[8]=e[t],i}function zh(n,e,t){const i=n.slice();return i[13]=e[t],i}function Bh(n,e,t){const i=n.slice();return i[16]=e[t],i}function Uh(n,e,t){const i=n.slice();return i[16]=e[t],i}function Wh(n){let e;return{c(){e=_("p"),e.innerHTML="Requires <code>Authorization: Admin TOKEN</code> header",p(e,"class","txt-hint txt-sm txt-right")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function Yh(n,e){let t,i=e[16].lang+"",s,l,r,o;function a(){return e[6](e[16])}return{key:n,first:null,c(){t=_("button"),s=H(i),l=O(),p(t,"class","tab-item"),Q(t,"active",e[2]===e[16].lang),this.first=t},m(u,f){w(u,t,f),m(t,s),m(t,l),r||(o=X(t,"click",a),r=!0)},p(u,f){e=u,f&16&&i!==(i=e[16].lang+"")&&_e(s,i),f&20&&Q(t,"active",e[2]===e[16].lang)},d(u){u&&k(t),r=!1,o()}}}function Kh(n,e){let t,i,s,l;return i=new en({props:{content:e[16].code}}),{key:n,first:null,c(){t=_("div"),B(i. $ $ .fragment),s=O(),p(t,"class","tab-item"),Q(t,"active",e[2]===e[16].lang),this.first=t},m(r,o){w(r,t,o),V(i,t,null),m(t,s),l=!0},p(r,o){e=r;const a={};o&16&&(a.content=e[16].code),i. $ set(a),o&20&&Q(t,"active",e[2]===e[16].lang)},i(r){l||(A(i. $ $ .fragment,r),l=!0)},o(r){F(i. $ $ .fragment,r),l=!1},d(r){r&&k(t),z(i)}}}function LO(n){let e;return{c(){e=_("span"),e.textContent="Optional",p(e,"class","label label-warning")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function FO(n){let e;return{c(){e=_("span"),e.textContent="Required",p(e,"class","label label-success")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function IO(n){var l;let e,t=((l=n[13].options)==null?void 0:l.maxSelect)>1?"ids":"id",i,s;return{c(){e=H("User "),i=H(t),s=H(".")},m(r,o){w(r,e,o),w(r,i,o),w(r,s,o)},p(r,o){var a;o&1&&t!==(t=((a=r[13].options)==null?void 0:a.maxSelect)>1?"ids":"id")&&_e(i,t)},d(r){r&&k(e),r&&k(i),r&&k(s)}}}function NO(n){var l;let e,t=((l=n[13].options)==null?void 0:l.maxSelect)>1?"ids":"id",i,s;return{c(){e=H("Relation record "),i=H(t),s=H(".")},m(r,o){w(r,e,o),w(r,i,o),w(r,s,o)},p(r,o){var a;o&1&&t!==(t=((a=r[13].options)==null?void 0:a.maxSelect)>1?"ids":"id")&&_e(i,t)},d(r){r&&k(e),r&&k(i),r&&k(s)}}}function RO(n){let e,t,i,s,l;return{c(){e=H("FormData object."),t=_("br"),i=H( `
Set to ` ),s=_("code"),s.textContent="null",l=H(" to delete already uploaded file(s).")},m(r,o){w(r,e,o),w(r,t,o),w(r,i,o),w(r,s,o),w(r,l,o)},p:re,d(r){r&&k(e),r&&k(t),r&&k(i),r&&k(s),r&&k(l)}}}function jO(n){let e;return{c(){e=H("URL address.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function HO(n){let e;return{c(){e=H("Email address.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function qO(n){let e;return{c(){e=H("JSON array or object.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function VO(n){let e;return{c(){e=H("Number value.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function zO(n){let e;return{c(){e=H("Plain text value.")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function Jh(n,e){let t,i,s,l,r,o=e[13].name+"",a,u,f,c,d=U.getFieldValueType(e[13])+"",h,g,y,b;function v(E,D){return E[13].required?FO:LO}let S=v(e), $ =S(e);function C(E,D){if(E[13].type==="text")return zO;if(E[13].type==="number")return VO;if(E[13].type==="json")return qO;if(E[13].type==="email")return HO;if(E[13].type==="url")return jO;if(E[13].type==="file")return RO;if(E[13].type==="relation")return NO;if(E[13].type==="user")return IO}let M=C(e),T=M&&M(e);return{key:n,first:null,c(){t=_("tr"),i=_("td"),s=_("div"), $ .c(),l=O(),r=_("span"),a=H(o),u=O(),f=_("td"),c=_("span"),h=H(d),g=O(),y=_("td"),T&&T.c(),b=O(),p(s,"class","inline-flex"),p(c,"class","label"),this.first=t},m(E,D){w(E,t,D),m(t,i),m(i,s), $ .m(s,null),m(s,l),m(s,r),m(r,a),m(t,u),m(t,f),m(f,c),m(c,h),m(t,g),m(t,y),T&&T.m(y,null),m(t,b)},p(E,D){e=E,S!==(S=v(e))&&( $ .d(1), $ =S(e), $ &&( $ .c(), $ .m(s,l))),D&1&&o!==(o=e[13].name+"")&&_e(a,o),D&1&&d!==(d=U.getFieldValueType(e[13])+"")&&_e(h,d),M===(M=C(e))&&T?T.p(e,D):(T&&T.d(1),T=M&&M(e),T&&(T.c(),T.m(y,null)))},d(E){E&&k(t), $ .d(),T&&T.d()}}}function Gh(n,e){let t,i=e[8].code+"",s,l,r,o;function a(){return e[7](e[8])}return{key:n,first:null,c(){t=_("button"),s=H(i),l=O(),p(t,"class","tab-item"),Q(t,"active",e[1]===e[8].code),this.first=t},m(u,f){w(u,t,f),m(t,s),m(t,l),r||(o=X(t,"click",a),r=!0)},p(u,f){e=u,f&8&&i!==(i=e[8].code+"")&&_e(s,i),f&10&&Q(t,"active",e[1]===e[8].code)},d(u){u&&k(t),r=!1,o()}}}function Zh(n,e){let t,i,s,l;return i=new en({props:{content:e[8].body}}),{key:n,first:null,c(){t=_("div"),B(i. $ $ .fragment),s=O(),p(t,"class","tab-item"),Q(t,"active",e[1]===e[8].code),this.first=t},m(r,o){w(r,t,o),V(i,t,null),m(t,s),l=!0},p(r,o){e=r;const a={};o&8&&(a.content=e[8].body),i. $ set(a),o&10&&Q(t,"active",e[1]===e[8].code)},i(r){l||(A(i. $ $ .fragment,r),l=!0)},o(r){F(i. $ $ .fragment,r),l=!1},d(r){r&&k(t),z(i)}}}function BO(n){var fn;let e,t,i,s,l,r,o,a=n[0].name+"",u,f,c,d,h,g,y,b,v,S=n[0].name+"", $ ,C,M,T,E,D,P,L,N,R,J,W=[],q=new Map,G,K,Y=[],ne=new Map,fe,ye,se,Z,De,te,be,ue,ie,ve,He,Ie=[],qe=new Map,oe,le,ke,Ve,ze,Ze=[],ge=new Map,Ee,x,ae=[],Be=new Map,vt,it=n[5]&&Wh(),gt=n[4];const at=ce=>ce[16].lang;for(let ce=0;ce<gt.length;ce+=1){let Se=Uh(n,gt,ce),xe=at(Se);q.set(xe,W[ce]=Yh(xe,Se))}let yt=n[4];const zt=ce=>ce[16].lang;for(let ce=0;ce<yt.length;ce+=1){let Se=Bh(n,yt,ce),xe=zt(Se);ne.set(xe,Y[ce]=Kh(xe,Se))}let Mt=(fn=n[0])==null?void 0:fn.schema;const Ot=ce=>ce[13].name;for(let ce=0;ce<Mt.length;ce+=1){let Se=zh(n,Mt,ce),xe=Ot(Se);qe.set(xe,Ie[ce]=Jh(xe,Se))}let me=n[3];const Ce=ce=>ce[8].code;for(let ce=0;ce<me.length;ce+=1){let Se=Vh(n,me,ce),xe=Ce(Se);ge.set(xe,Ze[ce]=Gh(xe,Se))}let Ke=n[3];const st=ce=>ce[8].code;for(let ce=0;ce<Ke.length;ce+=1){let Se=qh(n,Ke,ce),xe=st(Se);Be.set(xe,ae[ce]=Zh(xe,Se))}return{c(){e=_("div"),t=_("strong"),t.textContent="PATCH",i=O(),s=_("div"),l=_("p"),r=H("/api/collections/"),o=_("strong"),u=H(a),f=H("/records/"),c=_("strong"),c.textContent=":id",d=O(),it&&it.c(),h=O(),g=_("div"),y=_("p"),b=H("Update a single "),v=_("strong"), $ =H(S),C=H(" record."),M=O(),T=_("p"),T.innerHTML= ` Body parameters could be sent as < code > application / json < / c o d e > o r
< code > multipart / form - data < / c o d e > . ` , E = O ( ) , D = _ ( " p " ) , D . i n n e r H T M L = " F i l e u p l o a d i s s u p p o r t e d o n l y v i a < c o d e > m u l t i p a r t / f o r m - d a t a < / c o d e > . " , P = O ( ) , L = _ ( " d i v " ) , L . t e x t C o n t e n t = " C l i e n t S D K s e x a m p l e " , N = O ( ) , R = _ ( " d i v " ) , J = _ ( " d i v " ) ; f o r ( l e t c e = 0 ; c e < W . l e n g t h ; c e + = 1 ) W [ c e ] . c ( ) ; G = O ( ) , K = _ ( " d i v " ) ; f o r ( l e t c e = 0 ; c e < Y . l e n g t h ; c e + = 1 ) Y [ c e ] . c ( ) ; f e = O ( ) , y e = _ ( " d i v " ) , y e . t e x t C o n t e n t = " P a t h p a r a m e t e r s " , s e = O ( ) , Z = _ ( " t a b l e " ) , Z . i n n e r H T M L = ` < t h e a d > < t r > < t h > P a r a m < / t h >
< th > Type < / t h >
< th width = "60%" > Description < / t h > < / t r > < / t h e a d >
< tbody > < tr > < td > id < / t d >
< td > < span class = "label" > String < / s p a n > < / t d >
< td > ID of the record to update . < / t d > < / t r > < / t b o d y > ` , D e = O ( ) , t e = _ ( " d i v " ) , t e . t e x t C o n t e n t = " B o d y P a r a m e t e r s " , b e = O ( ) , u e = _ ( " t a b l e " ) , i e = _ ( " t h e a d " ) , i e . i n n e r H T M L = ` < t r > < t h > P a r a m < / t h >
< th width = "60%" > Type < / t h >
< th width = "50%" > Description < / t h > < / t r > ` , v e = O ( ) , H e = _ ( " t b o d y " ) ; f o r ( l e t c e = 0 ; c e < I e . l e n g t h ; c e + = 1 ) I e [ c e ] . c ( ) ; o e = O ( ) , l e = _ ( " d i v " ) , l e . t e x t C o n t e n t = " R e s p o n s e s " , k e = O ( ) , V e = _ ( " d i v " ) , z e = _ ( " d i v " ) ; f o r ( l e t c e = 0 ; c e < Z e . l e n g t h ; c e + = 1 ) Z e [ c e ] . c ( ) ; E e = O ( ) , x = _ ( " d i v " ) ; f o r ( l e t c e = 0 ; c e < a e . l e n g t h ; c e + = 1 ) a e [ c e ] . c ( ) ; p ( t , " c l a s s " , " l a b e l l a b e l - p r i m a r y " ) , p ( s , " c l a s s " , " c o n t e n t " ) , p ( e , " c l a s s " , " a l e r t a l e r t - w a r n i n g " ) , p ( g , " c l a s s " , " c o n t e n t m - b - b a s e " ) , p ( L , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( J , " c l a s s " , " t a b s - h e a d e r c o m p a c t l e f t " ) , p ( K , " c l a s s " , " t a b s - c o n t e n t " ) , p ( R , " c l a s s " , " t a b s m - b - l g " ) , p ( y e , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( Z , " c l a s s " , " t a b l e - c o m p a c t t a b l e - b o r d e r m - b - l g " ) , p ( t e , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( u e , " c l a s s " , " t a b l e - c o m p a c t t a b l e - b o r d e r m - b - l g " ) , p ( l e , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( z e , " c l a s s " , " t a b s - h e a d e r c o m p a c t l e f t " ) , p ( x , " c l a s s " , " t a b s - c o n t e n t " ) , p ( V e , " c l a s s " , " t a b s " ) } , m ( c e , S e ) { w ( c e , e , S e ) , m ( e , t ) , m ( e , i ) , m ( e , s ) , m ( s , l ) , m ( l , r ) , m ( l , o ) , m ( o , u ) , m ( l , f ) , m ( l , c ) , m ( e , d ) , i t & & i t . m ( e , n u l l ) , w ( c e , h , S e ) , w ( c e , g , S e ) , m ( g , y ) , m ( y , b ) , m ( y , v ) , m ( v , $ ) , m ( y , C ) , m ( g , M ) , m ( g , T ) , m ( g , E ) , m ( g , D ) , w ( c e , P , S e ) , w ( c e , L , S e ) , w ( c e , N , S e ) , w ( c e , R , S e ) , m ( R , J ) ; f o r ( l e t x e = 0 ; x e < W . l e n g t h ; x e + = 1 ) W [ x e ] . m ( J , n u l l ) ; m ( R , G ) , m ( R , K ) ; f o r ( l e t x e = 0 ; x e < Y . l e n g t h ; x e + = 1 ) Y [ x e ] . m ( K , n u l l ) ; w ( c e , f e , S e ) , w ( c e , y e , S e ) , w ( c e , s e , S e ) , w ( c e , Z , S e ) , w ( c e , D e , S e ) , w ( c e , t e , S e ) , w ( c e , b e , S e ) , w ( c e , u e , S e ) , m ( u e , i e ) , m ( u e , v e ) , m ( u e , H e ) ; f o r ( l e t x e = 0 ; x e < I e . l e n g t h ; x e + = 1 ) I e [ x e ] . m ( H e , n u l l ) ; w ( c e , o e , S e ) , w ( c e , l e , S e ) , w ( c e , k e , S e ) , w ( c e , V e , S e ) , m ( V e , z e ) ; f o r ( l e t x e = 0 ; x e < Z e . l e n g t h ; x e + = 1 ) Z e [ x e ] . m ( z e , n u l l ) ; m ( V e , E e ) , m ( V e , x ) ; f o r ( l e t x e = 0 ; x e < a e . l e n g t h ; x e + = 1 ) a e [ x e ] . m ( x , n u l l ) ; v t = ! 0 } , p ( c e , [ S e ] ) { v a r x e ; ( ! v t | | S e & 1 ) & & a ! = = ( a = c e [ 0 ] . n a m e + " " ) & & _ e ( u , a ) , c e [ 5 ] ? i t | | ( i t = W h ( ) , i t . c ( ) , i t . m ( e , n u l l ) ) : i t & & ( i t . d ( 1 ) , i t = n u l l ) , ( ! v t | | S e & 1 ) & & S ! = = ( S = c e [ 0 ] . n a m e + " " ) & & _ e ( $ , S ) , S e & 2 0 & & ( g t = c e [ 4 ] , W = o t ( W , S e , a t , 1 , c e , g t , q , J , a n , Y h , n u l l , U h ) ) , S e & 2 0 & & ( y t = c e [ 4 ] , O e ( ) , Y = o t ( Y , S e , z t , 1 , c e , y t , n e , K , L t , K h , n u l l , B h ) , T e ( ) ) , S e & 1 & & ( M t = ( x e = c e [ 0 ] ) = = n u l l ? v o i d 0 : x e . s c h e m a , I e = o t ( I e , S e , O t , 1 , c e , M t , q e , H e , a n , J h , n u l l , z h ) ) , S e & 1 0 & & ( m e = c e [ 3 ] , Z e = o t ( Z e , S e , C e , 1 , c e , m e , g e , z e , a n , G h , n u l l , V h ) ) , S e & 1 0 & & ( K e = c e [ 3 ] , O e ( ) , a e = o t ( a e , S e , s t , 1 , c e , K e , B e , x , L t , Z h , n u l l , q h ) , T e ( ) ) } , i ( c e ) { i f ( ! v t ) { f o r ( l e t S e = 0 ; S e < y t . l e n g t h ; S e + = 1 ) A ( Y [ S e ] ) ; f o r ( l e t S e = 0 ; S e < K e . l e n g t h ; S e + = 1 ) A ( a e [ S e ] ) ; v t = ! 0 } } , o ( c e ) { f o r ( l e t S e = 0 ; S e < Y . l e n g t h ; S e + = 1 ) F ( Y [ S e ] ) ; f o r ( l e t S e = 0 ; S e < a e . l e n g t h ; S e + = 1 ) F ( a e [ S e ] ) ; v t = ! 1 } , d ( c e ) { c e & & k ( e ) , i t & & i t . d ( ) , c e & & k ( h ) , c e & & k ( g ) , c e & & k ( P ) , c e & & k ( L ) , c e & & k ( N ) , c e & & k ( R ) ; f o r ( l e t S e = 0 ; S e < W . l e n g t h ; S e + = 1 ) W [ S e ] . d ( ) ; f o r ( l e t S e = 0 ; S e < Y . l e n g t h ; S e + = 1 ) Y [ S e ] . d ( ) ; c e & & k ( f e ) , c e & & k ( y e ) , c e & & k ( s e ) , c e & & k ( Z ) , c e & & k ( D e ) , c e & & k ( t e ) , c e & & k ( b e ) , c e & & k ( u e ) ; f o r ( l e t S e = 0 ; S e < I e . l e n g t h ; S e + = 1 ) I e [ S e ] . d ( ) ; c e & & k ( o e ) , c e & & k ( l e ) , c e & & k ( k e ) , c e & & k ( V e ) ; f o r ( l e t S e = 0 ; S e < Z e . l e n g t h ; S e + = 1 ) Z e [ S e ] . d ( ) ; f o r ( l e t S e = 0 ; S e < a e . l e n g t h ; S e + = 1 ) a e [ S e ] . d ( ) } } } f u n c t i o n U O ( n , e , t ) { l e t i , { c o l l e c t i o n : s = n e w L n } = e , l = 2 0 0 , r = " J a v a S c r i p t " , o = [ ] , a = [ ] ; c o n s t u = c = > t ( 2 , r = c . l a n g ) , f = c = > t ( 1 , l = c . c o d e ) ; r e t u r n n . $ $ s e t = c = > { " c o l l e c t i o n " i n c & & t ( 0 , s = c . c o l l e c t i o n ) } , n . $ $ . u p d a t e = ( ) = > { v a r c , d ; n . $ $ . d i r t y & 1 & & t ( 5 , i = ( s = = n u l l ? v o i d 0 : s . u p d a t e R u l e ) = = = n u l l ) , n . $ $ . d i r t y & 1 & & t ( 3 , o = [ { c o d e : 2 0 0 , b o d y : J S O N . s t r i n g i f y ( U . d u m m y C o l l e c t i o n R e c o r d ( s ) , n u l l , 2 ) } , { c o d e : 4 0 0 , b o d y : `
{
"code" : 400 ,
"message" : "Failed to update record." ,
"data" : {
"${(d=(c=s==null?void 0:s.schema)==null?void 0:c[0])==null?void 0:d.name}" : {
"code" : "validation_required" ,
"message" : "Missing required value."
}
}
}
` },{code:403,body: `
{
"code" : 403 ,
"message" : "You are not allowed to perform this request." ,
"data" : { }
}
` },{code:404,body: `
{
"code" : 404 ,
"message" : "The requested resource wasn't found." ,
"data" : { }
}
` }]),n. $ $ .dirty&1&&t(4,a=[{lang:"JavaScript",code: `
import PocketBase from 'pocketbase' ;
const client = new PocketBase ( "${we.baseUrl}" ) ;
const data = { ... } ;
client . Records . update ( "${s==null?void 0:s.name}" , "RECORD_ID" , data )
. then ( function ( record ) {
// success...
} ) . catch ( function ( error ) {
// error...
} ) ;
` }])},[s,l,r,o,a,i,u,f]}class WO extends Fe{constructor(e){super(),Le(this,e,UO,BO,Ae,{collection:0})}}function xh(n,e,t){const i=n.slice();return i[8]=e[t],i}function Xh(n,e,t){const i=n.slice();return i[8]=e[t],i}function Qh(n,e,t){const i=n.slice();return i[13]=e[t],i}function em(n,e,t){const i=n.slice();return i[13]=e[t],i}function tm(n){let e;return{c(){e=_("p"),e.innerHTML="Requires <code>Authorization: Admin TOKEN</code> header",p(e,"class","txt-hint txt-sm txt-right")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function nm(n,e){let t,i=e[13].lang+"",s,l,r,o;function a(){return e[6](e[13])}return{key:n,first:null,c(){t=_("button"),s=H(i),l=O(),p(t,"class","tab-item"),Q(t,"active",e[3]===e[13].lang),this.first=t},m(u,f){w(u,t,f),m(t,s),m(t,l),r||(o=X(t,"click",a),r=!0)},p(u,f){e=u,f&16&&i!==(i=e[13].lang+"")&&_e(s,i),f&24&&Q(t,"active",e[3]===e[13].lang)},d(u){u&&k(t),r=!1,o()}}}function im(n,e){let t,i,s,l;return i=new en({props:{content:e[13].code}}),{key:n,first:null,c(){t=_("div"),B(i. $ $ .fragment),s=O(),p(t,"class","tab-item"),Q(t,"active",e[3]===e[13].lang),this.first=t},m(r,o){w(r,t,o),V(i,t,null),m(t,s),l=!0},p(r,o){e=r;const a={};o&16&&(a.content=e[13].code),i. $ set(a),o&24&&Q(t,"active",e[3]===e[13].lang)},i(r){l||(A(i. $ $ .fragment,r),l=!0)},o(r){F(i. $ $ .fragment,r),l=!1},d(r){r&&k(t),z(i)}}}function sm(n,e){let t,i=e[8].code+"",s,l,r,o;function a(){return e[7](e[8])}return{key:n,first:null,c(){t=_("button"),s=H(i),l=O(),p(t,"class","tab-item"),Q(t,"active",e[2]===e[8].code),this.first=t},m(u,f){w(u,t,f),m(t,s),m(t,l),r||(o=X(t,"click",a),r=!0)},p(u,f){e=u,f&36&&Q(t,"active",e[2]===e[8].code)},d(u){u&&k(t),r=!1,o()}}}function lm(n,e){let t,i,s,l;return i=new en({props:{content:e[8].body}}),{key:n,first:null,c(){t=_("div"),B(i. $ $ .fragment),s=O(),p(t,"class","tab-item"),Q(t,"active",e[2]===e[8].code),this.first=t},m(r,o){w(r,t,o),V(i,t,null),m(t,s),l=!0},p(r,o){e=r,o&36&&Q(t,"active",e[2]===e[8].code)},i(r){l||(A(i. $ $ .fragment,r),l=!0)},o(r){F(i. $ $ .fragment,r),l=!1},d(r){r&&k(t),z(i)}}}function YO(n){let e,t,i,s,l,r,o,a=n[0].name+"",u,f,c,d,h,g,y,b,v,S=n[0].name+"", $ ,C,M,T,E,D,P,L=[],N=new Map,R,J,W=[],q=new Map,G,K,Y,ne,fe,ye,se,Z,De,te=[],be=new Map,ue,ie,ve=[],He=new Map,Ie,qe=n[1]&&tm(),oe=n[4];const le=x=>x[13].lang;for(let x=0;x<oe.length;x+=1){let ae=em(n,oe,x),Be=le(ae);N.set(Be,L[x]=nm(Be,ae))}let ke=n[4];const Ve=x=>x[13].lang;for(let x=0;x<ke.length;x+=1){let ae=Qh(n,ke,x),Be=Ve(ae);q.set(Be,W[x]=im(Be,ae))}let ze=n[5];const Ze=x=>x[8].code;for(let x=0;x<ze.length;x+=1){let ae=Xh(n,ze,x),Be=Ze(ae);be.set(Be,te[x]=sm(Be,ae))}let ge=n[5];const Ee=x=>x[8].code;for(let x=0;x<ge.length;x+=1){let ae=xh(n,ge,x),Be=Ee(ae);He.set(Be,ve[x]=lm(Be,ae))}return{c(){e=_("div"),t=_("strong"),t.textContent="DELETE",i=O(),s=_("div"),l=_("p"),r=H("/api/collections/"),o=_("strong"),u=H(a),f=H("/records/"),c=_("strong"),c.textContent=":id",d=O(),qe&&qe.c(),h=O(),g=_("div"),y=_("p"),b=H("Delete a single "),v=_("strong"), $ =H(S),C=H(" record."),M=O(),T=_("div"),T.textContent="Client SDKs example",E=O(),D=_("div"),P=_("div");for(let x=0;x<L.length;x+=1)L[x].c();R=O(),J=_("div");for(let x=0;x<W.length;x+=1)W[x].c();G=O(),K=_("div"),K.textContent="Path parameters",Y=O(),ne=_("table"),ne.innerHTML= ` < thead > < tr > < th > Param < / t h >
< th > Type < / t h >
< th width = "60%" > Description < / t h > < / t r > < / t h e a d >
< tbody > < tr > < td > id < / t d >
< td > < span class = "label" > String < / s p a n > < / t d >
< td > ID of the record to delete . < / t d > < / t r > < / t b o d y > ` , f e = O ( ) , y e = _ ( " d i v " ) , y e . t e x t C o n t e n t = " R e s p o n s e s " , s e = O ( ) , Z = _ ( " d i v " ) , D e = _ ( " d i v " ) ; f o r ( l e t x = 0 ; x < t e . l e n g t h ; x + = 1 ) t e [ x ] . c ( ) ; u e = O ( ) , i e = _ ( " d i v " ) ; f o r ( l e t x = 0 ; x < v e . l e n g t h ; x + = 1 ) v e [ x ] . c ( ) ; p ( t , " c l a s s " , " l a b e l l a b e l - p r i m a r y " ) , p ( s , " c l a s s " , " c o n t e n t " ) , p ( e , " c l a s s " , " a l e r t a l e r t - d a n g e r " ) , p ( g , " c l a s s " , " c o n t e n t m - b - b a s e " ) , p ( T , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( P , " c l a s s " , " t a b s - h e a d e r c o m p a c t l e f t " ) , p ( J , " c l a s s " , " t a b s - c o n t e n t " ) , p ( D , " c l a s s " , " t a b s m - b - l g " ) , p ( K , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( n e , " c l a s s " , " t a b l e - c o m p a c t t a b l e - b o r d e r m - b - l g " ) , p ( y e , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( D e , " c l a s s " , " t a b s - h e a d e r c o m p a c t l e f t " ) , p ( i e , " c l a s s " , " t a b s - c o n t e n t " ) , p ( Z , " c l a s s " , " t a b s " ) } , m ( x , a e ) { w ( x , e , a e ) , m ( e , t ) , m ( e , i ) , m ( e , s ) , m ( s , l ) , m ( l , r ) , m ( l , o ) , m ( o , u ) , m ( l , f ) , m ( l , c ) , m ( e , d ) , q e & & q e . m ( e , n u l l ) , w ( x , h , a e ) , w ( x , g , a e ) , m ( g , y ) , m ( y , b ) , m ( y , v ) , m ( v , $ ) , m ( y , C ) , w ( x , M , a e ) , w ( x , T , a e ) , w ( x , E , a e ) , w ( x , D , a e ) , m ( D , P ) ; f o r ( l e t B e = 0 ; B e < L . l e n g t h ; B e + = 1 ) L [ B e ] . m ( P , n u l l ) ; m ( D , R ) , m ( D , J ) ; f o r ( l e t B e = 0 ; B e < W . l e n g t h ; B e + = 1 ) W [ B e ] . m ( J , n u l l ) ; w ( x , G , a e ) , w ( x , K , a e ) , w ( x , Y , a e ) , w ( x , n e , a e ) , w ( x , f e , a e ) , w ( x , y e , a e ) , w ( x , s e , a e ) , w ( x , Z , a e ) , m ( Z , D e ) ; f o r ( l e t B e = 0 ; B e < t e . l e n g t h ; B e + = 1 ) t e [ B e ] . m ( D e , n u l l ) ; m ( Z , u e ) , m ( Z , i e ) ; f o r ( l e t B e = 0 ; B e < v e . l e n g t h ; B e + = 1 ) v e [ B e ] . m ( i e , n u l l ) ; I e = ! 0 } , p ( x , [ a e ] ) { ( ! I e | | a e & 1 ) & & a ! = = ( a = x [ 0 ] . n a m e + " " ) & & _ e ( u , a ) , x [ 1 ] ? q e | | ( q e = t m ( ) , q e . c ( ) , q e . m ( e , n u l l ) ) : q e & & ( q e . d ( 1 ) , q e = n u l l ) , ( ! I e | | a e & 1 ) & & S ! = = ( S = x [ 0 ] . n a m e + " " ) & & _ e ( $ , S ) , a e & 2 4 & & ( o e = x [ 4 ] , L = o t ( L , a e , l e , 1 , x , o e , N , P , a n , n m , n u l l , e m ) ) , a e & 2 4 & & ( k e = x [ 4 ] , O e ( ) , W = o t ( W , a e , V e , 1 , x , k e , q , J , L t , i m , n u l l , Q h ) , T e ( ) ) , a e & 3 6 & & ( z e = x [ 5 ] , t e = o t ( t e , a e , Z e , 1 , x , z e , b e , D e , a n , s m , n u l l , X h ) ) , a e & 3 6 & & ( g e = x [ 5 ] , O e ( ) , v e = o t ( v e , a e , E e , 1 , x , g e , H e , i e , L t , l m , n u l l , x h ) , T e ( ) ) } , i ( x ) { i f ( ! I e ) { f o r ( l e t a e = 0 ; a e < k e . l e n g t h ; a e + = 1 ) A ( W [ a e ] ) ; f o r ( l e t a e = 0 ; a e < g e . l e n g t h ; a e + = 1 ) A ( v e [ a e ] ) ; I e = ! 0 } } , o ( x ) { f o r ( l e t a e = 0 ; a e < W . l e n g t h ; a e + = 1 ) F ( W [ a e ] ) ; f o r ( l e t a e = 0 ; a e < v e . l e n g t h ; a e + = 1 ) F ( v e [ a e ] ) ; I e = ! 1 } , d ( x ) { x & & k ( e ) , q e & & q e . d ( ) , x & & k ( h ) , x & & k ( g ) , x & & k ( M ) , x & & k ( T ) , x & & k ( E ) , x & & k ( D ) ; f o r ( l e t a e = 0 ; a e < L . l e n g t h ; a e + = 1 ) L [ a e ] . d ( ) ; f o r ( l e t a e = 0 ; a e < W . l e n g t h ; a e + = 1 ) W [ a e ] . d ( ) ; x & & k ( G ) , x & & k ( K ) , x & & k ( Y ) , x & & k ( n e ) , x & & k ( f e ) , x & & k ( y e ) , x & & k ( s e ) , x & & k ( Z ) ; f o r ( l e t a e = 0 ; a e < t e . l e n g t h ; a e + = 1 ) t e [ a e ] . d ( ) ; f o r ( l e t a e = 0 ; a e < v e . l e n g t h ; a e + = 1 ) v e [ a e ] . d ( ) } } } f u n c t i o n K O ( n , e , t ) { l e t i , { c o l l e c t i o n : s = n e w L n } = e , l = 2 0 4 , r = " J a v a S c r i p t " , o = [ ] , a = [ ] ; c o n s t u = c = > t ( 3 , r = c . l a n g ) , f = c = > t ( 2 , l = c . c o d e ) ; r e t u r n n . $ $ s e t = c = > { " c o l l e c t i o n " i n c & & t ( 0 , s = c . c o l l e c t i o n ) } , n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 1 & & t ( 1 , i = ( s = = n u l l ? v o i d 0 : s . d e l e t e R u l e ) = = = n u l l ) , n . $ $ . d i r t y & 3 & & s ! = n u l l & & s . i d & & ( o . p u s h ( { c o d e : 2 0 4 , b o d y : `
null
` }),o.push({code:400,body: `
{
"code" : 400 ,
"message" : "Failed to delete record. Make sure that the record is not part of a required relation reference." ,
"data" : { }
}
` }),i&&o.push({code:403,body: `
{
"code" : 403 ,
"message" : "Only admins can access this action." ,
"data" : { }
}
` }),o.push({code:404,body: `
{
"code" : 404 ,
"message" : "The requested resource wasn't found." ,
"data" : { }
}
` })),n. $ $ .dirty&1&&t(4,a=[{lang:"JavaScript",code: `
import PocketBase from 'pocketbase' ;
const client = new PocketBase ( "${we.baseUrl}" ) ;
client . Records . delete ( "${s==null?void 0:s.name}" , "RECORD_ID" )
. then ( function ( ) {
// success...
} ) . catch ( function ( error ) {
// error...
} ) ;
` }])},[s,i,l,r,a,o,u,f]}class JO extends Fe{constructor(e){super(),Le(this,e,KO,YO,Ae,{collection:0})}}function rm(n,e,t){const i=n.slice();return i[4]=e[t],i}function om(n,e,t){const i=n.slice();return i[4]=e[t],i}function am(n,e){let t,i=e[4].lang+"",s,l,r,o;function a(){return e[3](e[4])}return{key:n,first:null,c(){t=_("button"),s=H(i),l=O(),p(t,"class","tab-item"),Q(t,"active",e[1]===e[4].lang),this.first=t},m(u,f){w(u,t,f),m(t,s),m(t,l),r||(o=X(t,"click",a),r=!0)},p(u,f){e=u,f&4&&i!==(i=e[4].lang+"")&&_e(s,i),f&6&&Q(t,"active",e[1]===e[4].lang)},d(u){u&&k(t),r=!1,o()}}}function um(n,e){let t,i,s,l;return i=new en({props:{content:e[4].code}}),{key:n,first:null,c(){t=_("div"),B(i. $ $ .fragment),s=O(),p(t,"class","tab-item"),Q(t,"active",e[1]===e[4].lang),this.first=t},m(r,o){w(r,t,o),V(i,t,null),m(t,s),l=!0},p(r,o){e=r;const a={};o&4&&(a.content=e[4].code),i. $ set(a),o&6&&Q(t,"active",e[1]===e[4].lang)},i(r){l||(A(i. $ $ .fragment,r),l=!0)},o(r){F(i. $ $ .fragment,r),l=!1},d(r){r&&k(t),z(i)}}}function GO(n){let e,t,i,s,l,r,o,a,u=[],f=new Map,c,d,h=[],g=new Map,y,b,v,S, $ ,C=n[2];const M=D=>D[4].lang;for(let D=0;D<C.length;D+=1){let P=om(n,C,D),L=M(P);f.set(L,u[D]=am(L,P))}let T=n[2];const E=D=>D[4].lang;for(let D=0;D<T.length;D+=1){let P=rm(n,T,D),L=E(P);g.set(L,h[D]=um(L,P))}return S=new en({props:{content:JSON.stringify({action:"create",record:U.dummyCollectionRecord(n[0])},null,2).replace('"action": "create"','"action": "create" // create, update or delete')}}),{c(){e=_("div"),e.innerHTML= ` < strong class = "label label-primary" > SSE < / s t r o n g >
< div class = "content" > < p > / a p i / r e a l t i m e < / p > < / d i v > ` , t = O ( ) , i = _ ( " d i v " ) , i . i n n e r H T M L = ` < p > S u b s c r i b e t o r e a l t i m e c h a n g e s v i a S e r v e r - S e n t E v e n t s ( S S E ) . < / p >
< p > Events are send for < strong > create < / s t r o n g > , < s t r o n g > u p d a t e < / s t r o n g >
and < strong > delete < / s t r o n g > r e c o r d o p e r a t i o n s ( s e e & q u o t ; E v e n t d a t a f o r m a t & q u o t ; s e c t i o n b e l o w ) . < / p >
< div class = "alert alert-info m-t-10" > < div class = "icon" > < i class = "ri-information-line" > < / i > < / d i v >
< div class = "contet" > < p > < strong > You could subscribe to a single record or to an entire collection . < / s t r o n g > < / p >
< p > When you subscribe to a < strong > single record < / s t r o n g > , t h e c o l l e c t i o n & # 3 9 ; s
< strong > ViewRule < / s t r o n g > w i l l b e u s e d t o d e t e r m i n e w h e t h e r t h e s u b s c r i b e r h a s a c c e s s t o r e c e i v e
the event message . < / p >
< p > When you subscribe to an < strong > entire collection < / s t r o n g > , t h e c o l l e c t i o n & # 3 9 ; s
< strong > ListRule < / s t r o n g > w i l l b e u s e d t o d e t e r m i n e w h e t h e r t h e s u b s c r i b e r h a s a c c e s s t o r e c e i v e
the event message . < / p > < / d i v > < / d i v > ` , s = O ( ) , l = _ ( " d i v " ) , l . t e x t C o n t e n t = " C l i e n t S D K s e x a m p l e " , r = O ( ) , o = _ ( " d i v " ) , a = _ ( " d i v " ) ; f o r ( l e t D = 0 ; D < u . l e n g t h ; D + = 1 ) u [ D ] . c ( ) ; c = O ( ) , d = _ ( " d i v " ) ; f o r ( l e t D = 0 ; D < h . l e n g t h ; D + = 1 ) h [ D ] . c ( ) ; y = O ( ) , b = _ ( " d i v " ) , b . t e x t C o n t e n t = " E v e n t d a t a f o r m a t " , v = O ( ) , B ( S . $ $ . f r a g m e n t ) , p ( e , " c l a s s " , " a l e r t " ) , p ( i , " c l a s s " , " c o n t e n t m - b - b a s e " ) , p ( l , " c l a s s " , " s e c t i o n - t i t l e " ) , p ( a , " c l a s s " , " t a b s - h e a d e r c o m p a c t l e f t " ) , p ( d , " c l a s s " , " t a b s - c o n t e n t " ) , p ( o , " c l a s s " , " t a b s m - b - b a s e " ) , p ( b , " c l a s s " , " s e c t i o n - t i t l e " ) } , m ( D , P ) { w ( D , e , P ) , w ( D , t , P ) , w ( D , i , P ) , w ( D , s , P ) , w ( D , l , P ) , w ( D , r , P ) , w ( D , o , P ) , m ( o , a ) ; f o r ( l e t L = 0 ; L < u . l e n g t h ; L + = 1 ) u [ L ] . m ( a , n u l l ) ; m ( o , c ) , m ( o , d ) ; f o r ( l e t L = 0 ; L < h . l e n g t h ; L + = 1 ) h [ L ] . m ( d , n u l l ) ; w ( D , y , P ) , w ( D , b , P ) , w ( D , v , P ) , V ( S , D , P ) , $ = ! 0 } , p ( D , [ P ] ) { P & 6 & & ( C = D [ 2 ] , u = o t ( u , P , M , 1 , D , C , f , a , a n , a m , n u l l , o m ) ) , P & 6 & & ( T = D [ 2 ] , O e ( ) , h = o t ( h , P , E , 1 , D , T , g , d , L t , u m , n u l l , r m ) , T e ( ) ) ; c o n s t L = { } ; P & 1 & & ( L . c o n t e n t = J S O N . s t r i n g i f y ( { a c t i o n : " c r e a t e " , r e c o r d : U . d u m m y C o l l e c t i o n R e c o r d ( D [ 0 ] ) } , n u l l , 2 ) . r e p l a c e ( ' " a c t i o n " : " c r e a t e " ' , ' " a c t i o n " : " c r e a t e " / / c r e a t e , u p d a t e o r d e l e t e ' ) ) , S . $ s e t ( L ) } , i ( D ) { i f ( ! $ ) { f o r ( l e t P = 0 ; P < T . l e n g t h ; P + = 1 ) A ( h [ P ] ) ; A ( S . $ $ . f r a g m e n t , D ) , $ = ! 0 } } , o ( D ) { f o r ( l e t P = 0 ; P < h . l e n g t h ; P + = 1 ) F ( h [ P ] ) ; F ( S . $ $ . f r a g m e n t , D ) , $ = ! 1 } , d ( D ) { D & & k ( e ) , D & & k ( t ) , D & & k ( i ) , D & & k ( s ) , D & & k ( l ) , D & & k ( r ) , D & & k ( o ) ; f o r ( l e t P = 0 ; P < u . l e n g t h ; P + = 1 ) u [ P ] . d ( ) ; f o r ( l e t P = 0 ; P < h . l e n g t h ; P + = 1 ) h [ P ] . d ( ) ; D & & k ( y ) , D & & k ( b ) , D & & k ( v ) , z ( S , D ) } } } f u n c t i o n Z O ( n , e , t ) { l e t { c o l l e c t i o n : i = n e w L n } = e , s = " J a v a S c r i p t " , l = [ ] ; c o n s t r = o = > t ( 1 , s = o . l a n g ) ; r e t u r n n . $ $ s e t = o = > { " c o l l e c t i o n " i n o & & t ( 0 , i = o . c o l l e c t i o n ) } , n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 1 & & t ( 2 , l = [ { l a n g : " J a v a S c r i p t " , c o d e : `
import PocketBase from 'pocketbase' ;
const client = new PocketBase ( "${we.baseUrl}" ) ;
// (Optionally) authenticate
client . Users . authViaEmail ( "test@example.com" , "123456" ) ;
// Subscribe to changes in any record from the collection
client . Realtime . subscribe ( "${i==null?void 0:i.name}" , function ( e ) {
console . log ( e . record ) ;
} ) ;
// Subscribe to changes in a single record
client . Realtime . subscribe ( "${i==null?void 0:i.name}/RECORD_ID" , function ( e ) {
console . log ( e . record ) ;
} ) ;
// Unsubscribe
client . Realtime . unsubscribe ( ) // remove all subscriptions
client . Realtime . unsubscribe ( "${i==null?void 0:i.name}" ) // remove the collection subscription
client . Realtime . unsubscribe ( "${i==null?void 0:i.name}/RECORD_ID" ) // remove the record subscription
` }])},[i,s,l,r]}class xO extends Fe{constructor(e){super(),Le(this,e,ZO,GO,Ae,{collection:0})}}function fm(n,e,t){const i=n.slice();return i[14]=e[t],i}function cm(n,e,t){const i=n.slice();return i[14]=e[t],i}function dm(n){let e,t,i,s;var l=n[14].component;function r(o){return{props:{collection:o[3]}}}return l&&(t=new l(r(n))),{c(){e=_("div"),t&&B(t. $ $ .fragment),i=O(),p(e,"class","tab-item active")},m(o,a){w(o,e,a),t&&V(t,e,null),m(e,i),s=!0},p(o,a){const u={};if(a&8&&(u.collection=o[3]),l!==(l=o[14].component)){if(t){Oe();const f=t;F(f. $ $ .fragment,1,0,()=>{z(f,1)}),Te()}l?(t=new l(r(o)),B(t. $ $ .fragment),A(t. $ $ .fragment,1),V(t,e,i)):t=null}else l&&t. $ set(u)},i(o){s||(t&&A(t. $ $ .fragment,o),s=!0)},o(o){t&&F(t. $ $ .fragment,o),s=!1},d(o){o&&k(e),t&&z(t)}}}function pm(n,e){let t,i,s,l=e[4]===e[14].id&&dm(e);return{key:n,first:null,c(){t=lt(),l&&l.c(),i=lt(),this.first=t},m(r,o){w(r,t,o),l&&l.m(r,o),w(r,i,o),s=!0},p(r,o){e=r,e[4]===e[14].id?l?(l.p(e,o),o&16&&A(l,1)):(l=dm(e),l.c(),A(l,1),l.m(i.parentNode,i)):l&&(Oe(),F(l,1,1,()=>{l=null}),Te())},i(r){s||(A(l),s=!0)},o(r){F(l),s=!1},d(r){r&&k(t),l&&l.d(r),r&&k(i)}}}function XO(n){let e,t=[],i=new Map,s,l=n[5];const r=o=>o[14].id;for(let o=0;o<l.length;o+=1){let a=fm(n,l,o),u=r(a);i.set(u,t[o]=pm(u,a))}return{c(){e=_("div");for(let o=0;o<t.length;o+=1)t[o].c();p(e,"class","tabs-content")},m(o,a){w(o,e,a);for(let u=0;u<t.length;u+=1)t[u].m(e,null);s=!0},p(o,a){a&56&&(l=o[5],Oe(),t=ot(t,a,r,1,o,l,i,e,Lt,pm,null,fm),Te())},i(o){if(!s){for(let a=0;a<l.length;a+=1)A(t[a]);s=!0}},o(o){for(let a=0;a<t.length;a+=1)F(t[a]);s=!1},d(o){o&&k(e);for(let a=0;a<t.length;a+=1)t[a].d()}}}function hm(n,e){let t,i,s=e[14].label+"",l,r,o,a;function u(){return e[9](e[14])}function f(...c){return e[10](e[14],...c)}return{key:n,first:null,c(){t=_("button"),i=_("span"),l=H(s),r=O(),p(i,"class","txt"),p(t,"tabindex","0"),p(t,"class","tab-item"),Q(t,"active",e[4]===e[14].id),this.first=t},m(c,d){w(c,t,d),m(t,i),m(i,l),m(t,r),o||(a=[X(t,"click",u),X(t,"keydown",Ug(f))],o=!0)},p(c,d){e=c,d&48&&Q(t,"active",e[4]===e[14].id)},d(c){c&&k(t),o=!1,rt(a)}}}function QO(n){let e,t,i=n[3].name+"",s,l,r,o,a=[],u=new Map,f=n[5];const c=d=>d[14].id;for(let d=0;d<f.length;d+=1){let h=cm(n,f,d),g=c(h);u.set(g,a[d]=hm(g,h))}return{c(){e=_("h4"),t=_("strong"),s=H(i),l=H(" records API"),r=O(),o=_("div");for(let d=0;d<a.length;d+=1)a[d].c();p(o,"class","tabs-header stretched")},m(d,h){w(d,e,h),m(e,t),m(t,s),m(e,l),w(d,r,h),w(d,o,h);for(let g=0;g<a.length;g+=1)a[g].m(o,null)},p(d,h){h&8&&i!==(i=d[3].name+"")&&_e(s,i),h&114&&(f=d[5],a=ot(a,h,c,1,d,f,u,o,an,hm,null,cm))},d(d){d&&k(e),d&&k(r),d&&k(o);for(let h=0;h<a.length;h+=1)a[h].d()}}}function eT(n){let e,t,i;return{c(){e=_("button"),e.innerHTML='<span class="txt">Close</span>',p(e,"type","button"),p(e,"class","btn btn-secondary")},m(s,l){w(s,e,l),t||(i=X(e,"click",n[8]),t=!0)},p:re,d(s){s&&k(e),t=!1,i()}}}function tT(n){let e,t,i={class:"overlay-panel-xl colored-header collection-panel", $ $ slots:{footer:[eT],header:[QO],default:[XO]}, $ $ scope:{ctx:n}};return e=new Di({props:i}),n[11](e),e. $ on("hide",n[12]),e. $ on("show",n[13]),{c(){B(e. $ $ .fragment)},m(s,l){V(e,s,l),t=!0},p(s,[l]){const r={};l&524312&&(r. $ $ scope={dirty:l,ctx:s}),e. $ set(r)},i(s){t||(A(e. $ $ .fragment,s),t=!0)},o(s){F(e. $ $ .fragment,s),t=!1},d(s){n[11](null),z(e,s)}}}function nT(n,e,t){const i=[{id:"list",label:"List",component:gO},{id:"view",label:"View",component:yO},{id:"create",label:"Create",component:PO},{id:"update",label:"Update",component:WO},{id:"delete",label:"Delete",component:JO},{id:"realtime",label:"Realtime",component:xO}];let s,l=new Ln,r=i[0].id;function o(v){return t(3,l=v),u(i[0].id),s==null?void 0:s.show()}function a(){return s==null?void 0:s.hide()}function u(v){t(4,r=v)}function f(v,S){(v.code==="Enter"||v.code==="Space")&&(v.preventDefault(),u(S))}const c=()=>a(),d=v=>u(v.id),h=(v,S)=>f(S,v.id);function g(v){he[v?"unshift":"push"](()=>{s=v,t(2,s)})}function y(v){ut.call(this,n,v)}function b(v){ut.call(this,n,v)}return[a,u,s,l,r,i,f,o,c,d,h,g,y,b]}class iT extends Fe{constructor(e
< span class = "txt" > Upload new file < / s p a n > ` , p ( t , " t y p e " , " f i l e " ) , p ( t , " c l a s s " , " h i d d e n " ) , t . m u l t i p l e = n [ 5 ] , p ( s , " t y p e " , " b u t t o n " ) , p ( s , " c l a s s " , " b t n b t n - s e c o n d a r y b t n - s m b t n - b l o c k " ) , p ( e , " c l a s s " , " l i s t - i t e m b t n - l i s t - i t e m " ) } , m ( o , a ) { w ( o , e , a ) , m ( e , t ) , n [ 1 8 ] ( t ) , m ( e , i ) , m ( e , s ) , l | | ( r = [ X ( t , " c h a n g e " , n [ 1 9 ] ) , X ( s , " c l i c k " , n [ 2 0 ] ) ] , l = ! 0 ) } , p ( o , a ) { a & 3 2 & & ( t . m u l t i p l e = o [ 5 ] ) } , d ( o ) { o & & k ( e ) , n [ 1 8 ] ( n u l l ) , l = ! 1 , r t ( r ) } } } f u n c t i o n t D ( n ) { l e t e , t , i , s , l , r = n [ 3 ] . n a m e + " " , o , a , u , f , c = [ ] , d = n e w M a p , h , g , y , b = n [ 4 ] ; c o n s t v = T = > T [ 2 8 ] ; f o r ( l e t T = 0 ; T < b . l e n g t h ; T + = 1 ) { l e t E = _ m ( n , b , T ) , D = v ( E ) ; d . s e t ( D , c [ T ] = b m ( D , E ) ) } l e t S = n [ 0 ] , $ = [ ] ; f o r ( l e t T = 0 ; T < S . l e n g t h ; T + = 1 ) $ [ T ] = y m ( g m ( n , S , T ) ) ; c o n s t C = T = > F ( $ [ T ] , 1 , 1 , ( ) = > { $ [ T ] = n u l l } ) ; l e t M = ! n [ 9 ] & & v m ( n ) ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = _ ( " i " ) , s = O ( ) , l = _ ( " s p a n " ) , o = H ( r ) , u = O ( ) , f = _ ( " d i v " ) ; f o r ( l e t T = 0 ; T < c . l e n g t h ; T + = 1 ) c [ T ] . c ( ) ; h = O ( ) ; f o r ( l e t T = 0 ; T < $ . l e n g t h ; T + = 1 ) $ [ T ] . c ( ) ; g = O ( ) , M & & M . c ( ) , p ( t , " c l a s s " , i = U . g e t F i e l d T y p e I c o n ( n [ 3 ] . t y p e ) ) , p ( l , " c l a s s " , " t x t " ) , p ( e , " f o r " , a = n [ 2 4 ] ) , p ( f , " c l a s s " , " f i l e s - l i s t " ) } , m ( T , E ) { w ( T , e , E ) , m ( e , t ) , m ( e , s ) , m ( e , l ) , m ( l , o ) , w ( T , u , E ) , w ( T , f , E ) ; f o r ( l e t D = 0 ; D < c . l e n g t h ; D + = 1 ) c [ D ] . m ( f , n u l l ) ; m ( f , h ) ; f o r ( l e t D = 0 ; D < $ . l e n g t h ; D + = 1 ) $ [ D ] . m ( f , n u l l ) ; m ( f , g ) , M & & M . m ( f , n u l l ) , n [ 2 1 ] ( f ) , y = ! 0 } , p ( T , E ) { i f ( ( ! y | | E & 8 & & i ! = = ( i = U . g e t F i e l d T y p e I c o n ( T [ 3 ] . t y p e ) ) ) & & p ( t , " c l a s s " , i ) , ( ! y | | E & 8 ) & & r ! = = ( r = T [ 3 ] . n a m e + " " ) & & _ e ( o , r ) , ( ! y | | E & 1 6 7 7 7 2 1 6 & & a ! = = ( a = T [ 2 4 ] ) ) & & p ( e , " f o r " , a ) , E & 3 2 2 2 & & ( b = T [ 4 ] , O e ( ) , c = o t ( c , E , v , 1 , T , b , d , f , L t , b m , h , _ m ) , T e ( ) ) , E & 4 0 9 7 ) { S = T [ 0 ] ; l e t D ; f o r ( D = 0 ; D < S . l e n g t h ; D + = 1 ) { c o n s t P = g m ( T , S , D ) ; $ [ D ] ? ( $ [ D ] . p ( P , E ) , A ( $ [ D ] , 1 ) ) : ( $ [ D ] = y m ( P ) , $ [ D ] . c ( ) , A ( $ [ D ] , 1 ) , $ [ D ] . m ( f , g ) ) } f o r ( O e ( ) , D = S . l e n g t h ; D < $ . l e n g t h ; D + = 1 ) C ( D ) ; T e ( ) } T [ 9 ] ? M & & ( M . d ( 1 ) , M = n u l l ) : M ? M . p ( T , E ) : ( M = v m ( T ) , M . c ( ) , M . m ( f , n u l l ) ) } , i ( T ) { i f ( ! y ) { f o r ( l e t E = 0 ; E < b . l e n g t h ; E + = 1 ) A ( c [ E ] ) ; f o r ( l e t E = 0 ; E < S . l e n g t h ; E + = 1 ) A ( $ [ E ] ) ; y = ! 0 } } , o ( T ) { f o r ( l e t E = 0 ; E < c . l e n g t h ; E + = 1 ) F ( c [ E ] ) ; $ = $ . f i l t e r ( B o o l e a n ) ; f o r ( l e t E = 0 ; E < $ . l e n g t h ; E + = 1 ) F ( $ [ E ] ) ; y = ! 1 } , d ( T ) { T & & k ( e ) , T & & k ( u ) , T & & k ( f ) ; f o r ( l e t E = 0 ; E < c . l e n g t h ; E + = 1 ) c [ E ] . d ( ) ; B n ( $ , T ) , M & & M . d ( ) , n [ 2 1 ] ( n u l l ) } } } f u n c t i o n n D ( n ) { l e t e , t , i , s ; e = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d f o r m - f i e l d - f i l e " + ( n [ 3 ] . r e q u i r e d ? " r e q u i r e d " : " " ) , n a m e : n [ 3 ] . n a m e , $ $ s l o t s : { d e f a u l t : [ t D , ( { u n i q u e I d : r } ) = > ( { 2 4 : r } ) , ( { u n i q u e I d : r } ) = > r ? 1 6 7 7 7 2 1 6 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) ; l e t l = { } ; r e t u r n i = n e w J T ( { p r o p s : l } ) , n [ 2 2 ] ( i ) , { c ( ) { B ( e . $ $ . f r a g m e n t ) , t = O ( ) , B ( i . $ $ . f r a g m e n t ) } , m ( r , o ) { V ( e , r , o ) , w ( r , t , o ) , V ( i , r , o ) , s = ! 0 } , p ( r , [ o ] ) { c o n s t a = { } ; o & 8 & & ( a . c l a s s = " f o r m - f i e l d f o r m - f i e l d - f i l e " + ( r [ 3 ] . r e q u i r e d ? " r e q u i r e d " : " " ) ) , o & 8 & & ( a . n a m e = r [ 3 ] . n a m e ) , o & 1 0 9 0 5 2 0 0 6 3 & & ( a . $ $ s c o p e = { d i r t y : o , c t x : r } ) , e . $ s e t ( a ) ; c o n s t u = { } ; i . $ s e t ( u ) } , i ( r ) { s | | ( A ( e . $ $ . f r a g m e n t , r ) , A ( i . $ $ . f r a g m e n t , r ) , s = ! 0 ) } , o ( r ) { F ( e . $ $ . f r a g m e n t , r ) , F ( i . $ $ . f r a g m e n t , r ) , s = ! 1 } , d ( r ) { z ( e , r ) , r & & k ( t ) , n [ 2 2 ] ( n u l l ) , z ( i , r ) } } } f u n c t i o n i D ( n , e , t ) { l e t i , s , l , { r e c o r d : r } = e , { v a l u e : o = n u l l } = e , { u p l o a d e d F i l e s : a = [ ] } = e , { d e l e t e d F i l e I n d e x e s : u = [ ] } = e , { f i e l d : f = n e w w n } = e , c , d , h ; f u n c t i o n g ( N ) { U . r e m o v e B y V a l u e ( u , N ) , t ( 1 , u ) } f u n c t i o n y ( N ) { U . p u s h U n i q u e ( u , N ) , t ( 1 , u ) } f u n c t i o n b ( N ) { U . i s E m p t y ( a [ N ] ) | | a . s p l i c e ( N , 1 ) , t ( 0 , a ) } f u n c t i o n v ( ) { h = = n u l l | | h . d i s p a t c h E v e n t ( n e w C u s t o m E v e n t ( " c h a n g e " , { d e t a i l : { v a l u e : o , u p l o a d e d F i l e s : a , d e l e t e d F i l e I n d e x e s : u } , b u b b l e s : ! 0 } ) ) } c o n s t S = N = > U . h a s I m a g e E x t e n s i o n ( N ) ? d = = n u l l ? v o i d 0 : d . s h o w ( w e . R e c o r d s . g e t F i l e U r l ( r , N ) ) : ! 1 , $ = N = > g ( N ) , C = N = > y ( N ) , M = N = > b ( N ) ; f u n c t i o n T ( N ) { h e [ N ? " u n s h i f t " : " p u s h " ] ( ( ) = > { c = N , t ( 6 , c ) } ) } c o n s t E = ( ) = > { f o r ( l e t N o f c . f i l e s ) a . p u s h ( N ) ; t ( 0 , a ) , t ( 6 , c . v a l u e = n u l l , c ) } , D = ( ) = > c = = n u l l ? v o i d 0 : c . c l i c k ( ) ; f u n c t i o n P ( N ) { h e [ N ? " u n s h i f t " : " p u s h " ] ( ( ) = > { h = N , t ( 8 , h ) } ) } f u n c t i o n L ( N ) { h e [ N ? " u n s h i f t " : " p u s h " ] ( ( ) = > { d = N , t ( 7 , d ) } ) } r e t u r n n . $ $ s e t = N = > { " r e c o r d " i n N & & t ( 2 , r = N . r e c o r d ) , " v a l u e " i n N & & t ( 1 3 , o = N . v a l u e ) , " u p l o a d e d F i l e s " i n N & & t ( 0 , a = N . u p l o a d e d F i l e s ) , " d e l e t e d F i l e I n d e x e s " i n N & & t ( 1 , u = N . d e l e t e d F i l e I n d e x e s ) , " f i e l d " i n N & & t ( 3 , f = N . f i e l d ) } , n . $ $ . u p d a t e = ( ) = > { v a r N , R ; n . $ $ . d i r t y & 1 & & ( A r r a y . i s A r r a y ( a ) | | t ( 0 , a = U . t o A r r a y ( a ) ) ) , n . $ $ . d i r t y & 2 & & ( A r r a y . i s A r r a y ( u ) | | t ( 1 , u = U . t o A r r a y ( u ) ) ) , n . $ $ . d i r t y & 8 & & t ( 5 , i = ( ( N = f . o p t i o n s ) = = n u l l ? v o i d 0 : N . m a x S e l e c t ) > 1 ) , n . $ $ . d i r t y & 8 2 2 4 & & ( t y p e o f o = = " u n d e f i n e d " | | o = = = n u l l ) & & t ( 1 3 , o = i ? [ ] : n u l l ) , n . $ $ . d i r t y & 8 1 9 2 & & t ( 4 , s = U . t o A r r a y ( o ) ) , n . $ $ . d i r t y & 2 7 & & t ( 9 , l = ( s . l e n g t h | | a . l e n g t h ) & & ( ( R = f . o p t i o n s ) = = n u l l ? v o i d 0 : R . m a x S e l e c t ) < = s . l e n g t h + a . l e n g t h - u . l e n g t h ) , n . $ $ . d i r t y & 3 & & ( a ! = = - 1 | | u ! = = - 1 ) & & v ( ) } , [ a , u , r , f , s , i , c , d , h , l , g , y , b , o , S , $ , C , M , T
` ,p(e,"class","block txt-center txt-disabled")},m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function OD(n){let e,t,i;function s(r){n[31](r,n[40])}let l={field:n[40]};return n[2][n[40].name]!==void 0&&(l.value=n[2][n[40].name]),e=new CD({props:l}),he.push(()=>Re(e,"value",s)),{c(){B(e. $ $ .fragment)},m(r,o){V(e,r,o),i=!0},p(r,o){n=r;const a={};o[0]&1&&(a.field=n[40]),!t&&o[0]&5&&(t=!0,a.value=n[2][n[40].name],je(()=>t=!1)),e. $ set(a)},i(r){i||(A(e. $ $ .fragment,r),i=!0)},o(r){F(e. $ $ .fragment,r),i=!1},d(r){z(e,r)}}}function TD(n){let e,t,i;function s(r){n[30](r,n[40])}let l={field:n[40]};return n[2][n[40].name]!==void 0&&(l.value=n[2][n[40].name]),e=new mD({props:l}),he.push(()=>Re(e,"value",s)),{c(){B(e. $ $ .fragment)},m(r,o){V(e,r,o),i=!0},p(r,o){n=r;const a={};o[0]&1&&(a.field=n[40]),!t&&o[0]&5&&(t=!0,a.value=n[2][n[40].name],je(()=>t=!1)),e. $ set(a)},i(r){i||(A(e. $ $ .fragment,r),i=!0)},o(r){F(e. $ $ .fragment,r),i=!1},d(r){z(e,r)}}}function DD(n){let e,t,i,s,l;function r(f){n[27](f,n[40])}function o(f){n[28](f,n[40])}function a(f){n[29](f,n[40])}let u={field:n[40],record:n[2]};return n[2][n[40].name]!==void 0&&(u.value=n[2][n[40].name]),n[3][n[40].name]!==void 0&&(u.uploadedFiles=n[3][n[40].name]),n[4][n[40].name]!==void 0&&(u.deletedFileIndexes=n[4][n[40].name]),e=new sD({props:u}),he.push(()=>Re(e,"value",r)),he.push(()=>Re(e,"uploadedFiles",o)),he.push(()=>Re(e,"deletedFileIndexes",a)),{c(){B(e. $ $ .fragment)},m(f,c){V(e,f,c),l=!0},p(f,c){n=f;const d={};c[0]&1&&(d.field=n[40]),c[0]&4&&(d.record=n[2]),!t&&c[0]&5&&(t=!0,d.value=n[2][n[40].name],je(()=>t=!1)),!i&&c[0]&9&&(i=!0,d.uploadedFiles=n[3][n[40].name],je(()=>i=!1)),!s&&c[0]&17&&(s=!0,d.deletedFileIndexes=n[4][n[40].name],je(()=>s=!1)),e. $ set(d)},i(f){l||(A(e. $ $ .fragment,f),l=!0)},o(f){F(e. $ $ .fragment,f),l=!1},d(f){z(e,f)}}}function AD(n){let e,t,i;function s(r){n[26](r,n[40])}let l={field:n[40]};return n[2][n[40].name]!==void 0&&(l.value=n[2][n[40].name]),e=new jT({props:l}),he.push(()=>Re(e,"value",s)),{c(){B(e. $ $ .fragment)},m(r,o){V(e,r,o),i=!0},p(r,o){n=r;const a={};o[0]&1&&(a.field=n[40]),!t&&o[0]&5&&(t=!0,a.value=n[2][n[40].name],je(()=>t=!1)),e. $ set(a)},i(r){i||(A(e. $ $ .fragment,r),i=!0)},o(r){F(e. $ $ .fragment,r),i=!1},d(r){z(e,r)}}}function ED(n){let e,t,i;function s(r){n[25](r,n[40])}let l={field:n[40]};return n[2][n[40].name]!==void 0&&(l.value=n[2][n[40].name]),e=new FT({props:l}),he.push(()=>Re(e,"value",s)),{c(){B(e. $ $ .fragment)},m(r,o){V(e,r,o),i=!0},p(r,o){n=r;const a={};o[0]&1&&(a.field=n[40]),!t&&o[0]&5&&(t=!0,a.value=n[2][n[40].name],je(()=>t=!1)),e. $ set(a)},i(r){i||(A(e. $ $ .fragment,r),i=!0)},o(r){F(e. $ $ .fragment,r),i=!1},d(r){z(e,r)}}}function PD(n){let e,t,i;function s(r){n[24](r,n[40])}let l={field:n[40]};return n[2][n[40].name]!==void 0&&(l.value=n[2][n[40].name]),e=new AT({props:l}),he.push(()=>Re(e,"value",s)),{c(){B(e. $ $ .fragment)},m(r,o){V(e,r,o),i=!0},p(r,o){n=r;const a={};o[0]&1&&(a.field=n[40]),!t&&o[0]&5&&(t=!0,a.value=n[2][n[40].name],je(()=>t=!1)),e. $ set(a)},i(r){i||(A(e. $ $ .fragment,r),i=!0)},o(r){F(e. $ $ .fragment,r),i=!1},d(r){z(e,r)}}}function LD(n){let e,t,i;function s(r){n[23](r,n[40])}let l={field:n[40]};return n[2][n[40].name]!==void 0&&(l.value=n[2][n[40].name]),e=new MT({props:l}),he.push(()=>Re(e,"value",s)),{c(){B(e. $ $ .fragment)},m(r,o){V(e,r,o),i=!0},p(r,o){n=r;const a={};o[0]&1&&(a.field=n[40]),!t&&o[0]&5&&(t=!0,a.value=n[2][n[40].name],je(()=>t=!1)),e. $ set(a)},i(r){i||(A(e. $ $ .fragment,r),i=!0)},o(r){F(e. $ $ .fragment,r),i=!1},d(r){z(e,r)}}}function FD(n){let e,t,i;function s(r){n[22](r,n[40])}let l={field:n[40]};return n[2][n[40].name]!==void 0&&(l.value=n[2][n[40].name]),e=new wT({props:l}),he.push(()=>Re(e,"value",s)),{c(){B(e. $ $ .fragment)},m(r,o){V(e,r,o),i=!0},p(r,o){n=r;const a={};o[0]&1&&(a.field=n[40]),!t&&o[0]&5&&(t=!0,a.value=n[2][n[40].name],je(()=>t=!1)),e. $ set(a)},i(r){i||(A(e. $ $ .fragment,r),i=!0)},o(r){F(e. $ $ .fragment,r),i=!1},d(r){z(e,r)}}}function ID(n){let e,t,i;function s(r){n[21](r,n[40])}let l={field:n[40]};return n[2][n[40].name]!==void 0&&(l.value=n[2][n[40].name]),e=new bT({props:l}),he.push(()=>Re(e,"value",
< span class = "txt" > Delete < / s p a n > ` , p ( e , " t a b i n d e x " , " 0 " ) , p ( e , " c l a s s " , " d r o p d o w n - i t e m c l o s a b l e " ) } , m ( s , l ) { w ( s , e , l ) , t | | ( i = X ( e , " c l i c k " , n [ 1 8 ] ) , t = ! 0 ) } , p : r e , d ( s ) { s & & k ( e ) , t = ! 1 , i ( ) } } } f u n c t i o n q D ( n ) { l e t e , t = n [ 2 ] . i s N e w ? " N e w " : " E d i t " , i , s , l = n [ 0 ] . n a m e + " " , r , o , a , u , f , c = ! n [ 2 ] . i s N e w & & n [ 9 ] & & A m ( n ) ; r e t u r n { c ( ) { e = _ ( " h 4 " ) , i = H ( t ) , s = O ( ) , r = H ( l ) , o = H ( " r e c o r d " ) , a = O ( ) , c & & c . c ( ) , u = l t ( ) } , m ( d , h ) { w ( d , e , h ) , m ( e , i ) , m ( e , s ) , m ( e , r ) , m ( e , o ) , w ( d , a , h ) , c & & c . m ( d , h ) , w ( d , u , h ) , f = ! 0 } , p ( d , h ) { ( ! f | | h [ 0 ] & 4 ) & & t ! = = ( t = d [ 2 ] . i s N e w ? " N e w " : " E d i t " ) & & _ e ( i , t ) , ( ! f | | h [ 0 ] & 1 ) & & l ! = = ( l = d [ 0 ] . n a m e + " " ) & & _ e ( r , l ) , ! d [ 2 ] . i s N e w & & d [ 9 ] ? c ? ( c . p ( d , h ) , h [ 0 ] & 5 1 6 & & A ( c , 1 ) ) : ( c = A m ( d ) , c . c ( ) , A ( c , 1 ) , c . m ( u . p a r e n t N o d e , u ) ) : c & & ( O e ( ) , F ( c , 1 , 1 , ( ) = > { c = n u l l } ) , T e ( ) ) } , i ( d ) { f | | ( A ( c ) , f = ! 0 ) } , o ( d ) { F ( c ) , f = ! 1 } , d ( d ) { d & & k ( e ) , d & & k ( a ) , c & & c . d ( d ) , d & & k ( u ) } } } f u n c t i o n V D ( n ) { l e t e , t , i , s , l , r = n [ 2 ] . i s N e w ? " C r e a t e " : " S a v e c h a n g e s " , o , a , u , f ; r e t u r n { c ( ) { e = _ ( " b u t t o n " ) , t = _ ( " s p a n " ) , t . t e x t C o n t e n t = " C a n c e l " , i = O ( ) , s = _ ( " b u t t o n " ) , l = _ ( " s p a n " ) , o = H ( r ) , p ( t , " c l a s s " , " t x t " ) , p ( e , " t y p e " , " b u t t o n " ) , p ( e , " c l a s s " , " b t n b t n - s e c o n d a r y " ) , e . d i s a b l e d = n [ 7 ] , p ( l , " c l a s s " , " t x t " ) , p ( s , " t y p e " , " s u b m i t " ) , p ( s , " f o r m " , n [ 1 1 ] ) , p ( s , " c l a s s " , " b t n b t n - e x p a n d e d " ) , s . d i s a b l e d = a = ! n [ 1 0 ] | | n [ 7 ] , Q ( s , " b t n - l o a d i n g " , n [ 7 ] ) } , m ( c , d ) { w ( c , e , d ) , m ( e , t ) , w ( c , i , d ) , w ( c , s , d ) , m ( s , l ) , m ( l , o ) , u | | ( f = X ( e , " c l i c k " , n [ 1 7 ] ) , u = ! 0 ) } , p ( c , d ) { d [ 0 ] & 1 2 8 & & ( e . d i s a b l e d = c [ 7 ] ) , d [ 0 ] & 4 & & r ! = = ( r = c [ 2 ] . i s N e w ? " C r e a t e " : " S a v e c h a n g e s " ) & & _ e ( o , r ) , d [ 0 ] & 1 1 5 2 & & a ! = = ( a = ! c [ 1 0 ] | | c [ 7 ] ) & & ( s . d i s a b l e d = a ) , d [ 0 ] & 1 2 8 & & Q ( s , " b t n - l o a d i n g " , c [ 7 ] ) } , d ( c ) { c & & k ( e ) , c & & k ( i ) , c & & k ( s ) , u = ! 1 , f ( ) } } } f u n c t i o n z D ( n ) { l e t e , t , i = { c l a s s : " o v e r l a y - p a n e l - l g r e c o r d - p a n e l " , b e f o r e H i d e : n [ 3 2 ] , $ $ s l o t s : { f o o t e r : [ V D ] , h e a d e r : [ q D ] , d e f a u l t : [ j D ] } , $ $ s c o p e : { c t x : n } } ; r e t u r n e = n e w D i ( { p r o p s : i } ) , n [ 3 3 ] ( e ) , e . $ o n ( " h i d e " , n [ 3 4 ] ) , e . $ o n ( " s h o w " , n [ 3 5 ] ) , { c ( ) { B ( e . $ $ . f r a g m e n t ) } , m ( s , l ) { V ( e , s , l ) , t = ! 0 } , p ( s , l ) { c o n s t r = { } ; l [ 0 ] & 2 8 8 & & ( r . b e f o r e H i d e = s [ 3 2 ] ) , l [ 0 ] & 1 6 9 3 | l [ 1 ] & 8 1 9 2 & & ( r . $ $ s c o p e = { d i r t y : l , c t x : s } ) , e . $ s e t ( r ) } , i ( s ) { t | | ( A ( e . $ $ . f r a g m e n t , s ) , t = ! 0 ) } , o ( s ) { F ( e . $ $ . f r a g m e n t , s ) , t = ! 1 } , d ( s ) { n [ 3 3 ] ( n u l l ) , z ( e , s ) } } } f u n c t i o n E m ( n ) { r e t u r n J S O N . s t r i n g i f y ( n ) } f u n c t i o n B D ( n , e , t ) { l e t i , s , l , r ; c o n s t o = _ n ( ) , a = " r e c o r d _ " + U . r a n d o m S t r i n g ( 5 ) ; l e t { c o l l e c t i o n : u } = e , f , c = n u l l , d = n e w e o , h = ! 1 , g = ! 1 , y = { } , b = { } , v = " " ; f u n c t i o n S ( u e ) { r e t u r n C ( u e ) , t ( 8 , g = ! 0 ) , f = = n u l l ? v o i d 0 : f . s h o w ( ) } f u n c t i o n $ ( ) { r e t u r n f = = n u l l ? v o i d 0 : f . h i d e ( ) } f u n c t i o n C ( u e ) { W i ( { } ) , c = u e | | { } , t ( 2 , d = u e ! = n u l l & & u e . c l o n e ? u e . c l o n e ( ) : n e w e o ) , t ( 3 , y = { } ) , t ( 4 , b = { } ) , t ( 1 5 , v = E m ( d ) ) } f u n c t i o n M ( ) { i f ( h | | ! s ) r e t u r n ; t ( 7 , h = ! 0 ) ; c o n s t u e = E ( ) ; l e t i e ; d . i s N e w ? i e = w e . R e c o r d s . c r e a t e ( u = = n u l l ? v o i d 0 : u . i d , u e ) : i e = w e . R e c o r d s . u p d a t e ( u = = n u l l ? v o i d 0 : u . i d , d . i d , u e ) , i e . t h e n ( a s y n c v e = > { m n ( d . i s N e w ? " S u c c e s s f u l l y c r e a t e d r e c o r d . " : " S u c c e s s f u l l y u p d a t e d r e c o r d . " ) , t ( 8 , g = ! 1 ) , $ ( ) , o ( " s a v e " , v e ) } ) . c a t c h ( v e = > { w e . e r r o r R e s p o n s e H a n d l e r ( v e ) } ) . f i n a l l y ( ( ) = > { t ( 7 , h = ! 1 ) } ) } f u n c t i o n T ( ) { ! ( c ! = n u l l & & c . i d ) | | C i ( " D o y o u r e a l l y w a n t t o d e l e t e t h e s e l e c t e d r e c o r d ? " , ( ) = > w e . R e c o r d s . d e l e t e ( c [ " @ c o l l e c t i o n I d " ] , c . i d ) . t h e n ( ( ) = > { $ ( ) , m n ( " S u c c e s s f u l l y d e l e t e d r e c o r d . " ) , o ( " d e l e t e " , c ) } ) . c a t c h ( u e = > { w e . e r r o r R e s p o n s e H a n d l e r ( u e ) } ) ) } f u n c t i o n E ( ) { c o n s t u e = ( d = = n u l l ? v o i d 0 : d . e x p o r t ( ) ) | | { } , i e = n e w F o r m D a t a , v e = { } ; f o r ( c o n s t H e o f ( u = = n u l l ? v o i d 0 : u . s c h e m a ) | | [ ] ) v e [ H e . n a m e ] = H e ; f o r ( c o n s t H e i n u e ) ! v e [ H e ] | | ( t y p e o f u e [ H e ] = = " u n d e f i n e d " & & ( u e [ H e ] = n u l l ) , U . a d d V a l u e T o F o r m D a t a ( i e , H e , u e [ H e ] ) ) ; f o r ( c o n s t H e i n y ) { c o n s t I e = U . t o A r r a y ( y [ H e ] ) ; f o r ( c o n s t q e o f I e ) i e . a p p e n d ( H e , q e ) } f o r ( c o n s t H e i n b ) { c o n s t I e = U . t o A r r a y ( b [ H e ] ) ; f o r ( c o n s t q e o f I e ) i e . a p p e n d ( H e + " . " + q e , " " ) } r e t u r n i e } c o n s t D = ( ) = > $ ( ) , P = ( ) = > T ( ) ; f u n c t i o n L ( u e , i e ) { n . $ $ . n o t _ e q u a l ( d [ i e . n a m e ] , u e ) & & ( d [ i e . n a m e ] = u e , t ( 2 , d ) ) } f u n c t i o n N ( u e , i e ) { n . $ $ . n o t _ e q u a l ( d [ i e . n a m e ] , u e ) & & ( d [ i e . n a m e ] = u e , t ( 2 , d ) ) } f u n c t i o n R ( u e , i e ) { n . $ $ . n o t _ e q u a l ( d [ i e . n a m e ] , u e ) & & ( d [ i e . n a m e ] = u e , t ( 2 , d ) ) } f u n c t i o n J ( u e , i e ) { n . $ $ . n o t _ e q u a l ( d [ i e . n a m e ] , u e ) & & ( d [ i e . n a m e ] = u e , t ( 2 , d ) ) } f u n c t i o n W ( u e , i e ) { n . $ $ . n o t _ e q u a l ( d [ i e . n a m e ] , u e ) & & ( d [ i e . n a m e ] = u e , t ( 2 , d ) ) } f u n c t i o n q ( u e , i e ) { n . $ $ . n o t _ e q u a l ( d [ i e . n a m e ] , u e ) & & ( d [ i e . n a m e ] = u e , t ( 2 , d ) ) } f u n c t i o n G ( u e , i e ) { n . $ $ . n o t _ e q u a l ( d [ i e . n a m e ] , u e ) & & ( d [ i e . n a m e ] = u e , t ( 2 , d ) ) } f u n c t i o n K ( u e , i e ) { n . $ $ . n o t _ e q u a l ( d [ i e . n a m e ] , u e ) & & ( d [ i e . n a m e ] = u e , t ( 2 , d ) ) } f u n c t i o n Y ( u e , i e ) { n . $ $ . n o t _ e q u a l ( d [ i e . n a m e ] , u e ) & & ( d [ i e . n a m e ] = u e , t ( 2 , d ) ) } f u n c t i o n n e ( u e , i e ) { n . $ $ . n o t _ e q u a l ( y [ i e . n a m e ] , u e ) & & ( y [ i e . n a m e ] = u e , t ( 3 , y )
` },m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function Bm(n){let e,t,i;return{c(){e=_("button"),e.innerHTML='<span class="txt">Clear filters</span>',p(e,"type","button"),p(e,"class","btn btn-hint btn-expanded m-t-sm")},m(s,l){w(s,e,l),t||(i=X(e,"click",n[28]),t=!0)},p:re,d(s){s&&k(e),t=!1,i()}}}function Um(n,e){let t,i,s;return i=new jb({props:{record:e[35],field:e[38]}}),{key:n,first:null,c(){t=lt(),B(i. $ $ .fragment),this.first=t},m(l,r){w(l,t,r),V(i,l,r),s=!0},p(l,r){e=l;const o={};r[0]&8&&(o.record=e[35]),r[0]&2048&&(o.field=e[38]),i. $ set(o)},i(l){s||(A(i. $ $ .fragment,l),s=!0)},o(l){F(i. $ $ .fragment,l),s=!1},d(l){l&&k(t),z(i,l)}}}function Wm(n,e){let t,i,s,l,r,o,a,u,f,c,d,h,g,y=[],b=new Map,v,S, $ ,C,M,T,E,D,P,L,N,R;function J(){return e[25](e[35])}h=new No({props:{id:e[35].id}});let W=e[11];const q=Y=>Y[38].name;for(let Y=0;Y<W.length;Y+=1){let ne=Hm(e,W,Y),fe=q(ne);b.set(fe,y[Y]=Um(fe,ne))} $ =new $ i({props:{date:e[35].created}}),T=new $ i({props:{date:e[35].updated}});function G(){return e[26](e[35])}function K(...Y){return e[27](e[35],...Y)}return{key:n,first:null,c(){t=_("tr"),i=_("td"),s=_("div"),l=_("input"),a=O(),u=_("label"),c=O(),d=_("td"),B(h. $ $ .fragment),g=O();for(let Y=0;Y<y.length;Y+=1)y[Y].c();v=O(),S=_("td"),B( $ . $ $ .fragment),C=O(),M=_("td"),B(T. $ $ .fragment),E=O(),D=_("td"),D.innerHTML='<i class="ri-arrow-right-line"></i>',P=O(),p(l,"type","checkbox"),p(l,"id",r="checkbox_"+e[35].id),l.checked=o=e[5][e[35].id],p(u,"for",f="checkbox_"+e[35].id),p(s,"class","form-field"),p(i,"class","bulk-select-col min-width"),p(d,"class","col-type-text col-field-id"),p(S,"class","col-type-date col-field-created"),p(M,"class","col-type-date col-field-updated"),p(D,"class","col-type-action min-width"),p(t,"tabindex","0"),p(t,"class","row-handle"),this.first=t},m(Y,ne){w(Y,t,ne),m(t,i),m(i,s),m(s,l),m(s,a),m(s,u),m(t,c),m(t,d),V(h,d,null),m(t,g);for(let fe=0;fe<y.length;fe+=1)y[fe].m(t,null);m(t,v),m(t,S),V( $ ,S,null),m(t,C),m(t,M),V(T,M,null),m(t,E),m(t,D),m(t,P),L=!0,N||(R=[X(l,"change",J),X(s,"click",Un(e[19])),X(t,"click",G),X(t,"keydown",K)],N=!0)},p(Y,ne){e=Y,(!L||ne[0]&8&&r!==(r="checkbox_"+e[35].id))&&p(l,"id",r),(!L||ne[0]&40&&o!==(o=e[5][e[35].id]))&&(l.checked=o),(!L||ne[0]&8&&f!==(f="checkbox_"+e[35].id))&&p(u,"for",f);const fe={};ne[0]&8&&(fe.id=e[35].id),h. $ set(fe),ne[0]&2056&&(W=e[11],Oe(),y=ot(y,ne,q,1,e,W,b,t,Lt,Um,v,Hm),Te());const ye={};ne[0]&8&&(ye.date=e[35].created), $ . $ set(ye);const se={};ne[0]&8&&(se.date=e[35].updated),T. $ set(se)},i(Y){if(!L){A(h. $ $ .fragment,Y);for(let ne=0;ne<W.length;ne+=1)A(y[ne]);A( $ . $ $ .fragment,Y),A(T. $ $ .fragment,Y),L=!0}},o(Y){F(h. $ $ .fragment,Y);for(let ne=0;ne<y.length;ne+=1)F(y[ne]);F( $ . $ $ .fragment,Y),F(T. $ $ .fragment,Y),L=!1},d(Y){Y&&k(t),z(h);for(let ne=0;ne<y.length;ne+=1)y[ne].d();z( $ ),z(T),N=!1,rt(R)}}}function Ym(n){let e,t,i=n[3].length+"",s,l,r;return{c(){e=_("small"),t=H("Showing "),s=H(i),l=H(" of "),r=H(n[4]),p(e,"class","block txt-hint txt-right m-t-sm")},m(o,a){w(o,e,a),m(e,t),m(e,s),m(e,l),m(e,r)},p(o,a){a[0]&8&&i!==(i=o[3].length+"")&&_e(s,i),a[0]&16&&_e(r,o[4])},d(o){o&&k(e)}}}function Km(n){let e,t,i,s,l=n[4]-n[3].length+"",r,o,a,u;return{c(){e=_("div"),t=_("button"),i=_("span"),s=H("Load more ("),r=H(l),o=H(")"),p(i,"class","txt"),p(t,"type","button"),p(t,"class","btn btn-lg btn-secondary btn-expanded"),Q(t,"btn-loading",n[8]),Q(t,"btn-disabled",n[8]),p(e,"class","block txt-center m-t-xs")},m(f,c){w(f,e,c),m(e,t),m(t,i),m(i,s),m(i,r),m(i,o),a||(u=X(t,"click",n[29]),a=!0)},p(f,c){c[0]&24&&l!==(l=f[4]-f[3].length+"")&&_e(r,l),c[0]&256&&Q(t,"btn-loading",f[8]),c[0]&256&&Q(t,"btn-disabled",f[8])},d(f){f&&k(e),a=!1,u()}}}function Jm(n){let e,t,i,s,l,r,o=n[6]===1?"record":"records",a,u,f,c,d,h,g,y,b,v,S;return{c(){e=_("div"),t=_("div"),i=H("Selected "),s=_("strong"),l=H(n[6]),r=O(),a=H(o),u=O(),f=_("button"),f.innerHTML='<span class="txt">Reset</span>',c=O(),d=_("div"),h=O(),g=_("button"),g.innerHTML='<span class="txt">Delete selected</span>',p(t,"class","txt"),p(f,"type","button"),p(f,"class","btn btn-xs btn-secondary btn-outline p-l-5 p-r-5"),Q(f,"btn-disa
< span class = "txt" > API Preview < /span>`,b=O(),v=_("button"),v.innerHTML=`<i class="ri-add-line"></i >
< span class = "txt" > New record < /span>`,S=O(),B($.$$.fragment),C=O(),B(M.$$.fragment),p(r,"class","breadcrumb-item"),p(a,"class","breadcrumb-item"),p(l,"class","breadcrumbs"),p(d,"type","button"),p(d,"class","btn btn-secondary btn-circle"),p(y,"type","button"),p(y,"class","btn btn-outline"),p(v,"type","button"),p(v,"class","btn btn-expanded"),p(g,"class","btns-group"),p(s,"class","page-header"),p(i,"class","page-wrapper")},m(W,q){V(e,W,q),w(W,t,q),w(W,i,q),m(i,s),m(s,l),m(l,r),m(l,o),m(l,a),m(a,f),m(s,c),m(s,d),m(s,h),m(s,g),m(g,y),m(g,b),m(g,v),m(i,S),V($,i,null),m(i,C),V(M,i,null),D=!0,P||(L=[Xe(St.call(null,d,{text:"Edit collection",position:"right"})),X(d,"click",n[12]),X(y,"click",n[13]),X(v,"click",n[14])],P=!0)},p(W,q){(!D||q&4)&&u!==(u=W[2].name+"")&&_e(f,u);const G={};q&1&&(G.value=W[0]),q&4&&(G.autocompleteCollection=W[2]),$.$set(G);const K={};q&4&&(K.collection=W[2]),!T&&q&1&&(T=!0,K.filter=W[0],je(()=>T=!1)),!E&&q&2&&(E=!0,K.sort=W[1],je(()=>E=!1)),M.$set(K)},i(W){D||(A(e.$$.fragment,W),A($.$$.fragment,W),A(M.$$.fragment,W),D=!0)},o(W){F(e.$$.fragment,W),F($.$$.fragment,W),F(M.$$.fragment,W),D=!1},d(W){z(e,W),W&&k(t),W&&k(i),z($),n[16](null),z(M),P=!1,rt(L)}}}function mA(n){let e,t,i,s,l,r,o,a;return{c(){e=_("div"),t=_("div"),t.innerHTML='<i class="ri-database-2-line"></i > ' , i = O ( ) , s = _ ( "h1" ) , s . textContent = "Create your first collection to add records!" , l = O ( ) , r = _ ( "button" ) , r . innerHTML = ` <i class="ri-add-line"></i>
< span class = "txt" > Create new collection < / s p a n > ` , p ( t , " c l a s s " , " i c o n " ) , p ( s , " c l a s s " , " m - b - 1 0 " ) , p ( r , " t y p e " , " b u t t o n " ) , p ( r , " c l a s s " , " b t n b t n - e x p a n d e d - l g b t n - l g " ) , p ( e , " c l a s s " , " p l a c e h o l d e r - s e c t i o n m - b - b a s e " ) } , m ( u , f ) { w ( u , e , f ) , m ( e , t ) , m ( e , i ) , m ( e , s ) , m ( e , l ) , m ( e , r ) , o | | ( a = X ( r , " c l i c k " , n [ 1 1 ] ) , o = ! 0 ) } , p : r e , i : r e , o : r e , d ( u ) { u & & k ( e ) , o = ! 1 , a ( ) } } } f u n c t i o n g A ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " d i v " ) , e . i n n e r H T M L = ` < s p a n c l a s s = " l o a d e r l o a d e r - l g " > < / s p a n >
< h1 > Loading collections ... < /h1>`,p(e,"class","placeholder-section m-b-base")},m(t,i){w(t,e,i)},p:re,i:re,o:re,d(t){t&&k(e)}}}function _A(n){let e,t,i,s,l,r,o,a,u;const f=[gA,mA,hA],c=[];function d(b,v){return b[8]?0:b[7].length?2:1}e=d(n),t=c[e]=f[e](n);let h={};s=new hf({props:h}),n[20](s);let g={};r=new iT({props:g}),n[21](r);let y={collection:n[2]};return a=new Rb({props:y}),n[22](a),a.$on("save",n[23]),a.$on("delete",n[24]),{c(){t.c(),i=O(),B(s.$$.fragment),l=O(),B(r.$$.fragment),o=O(),B(a.$$.fragment)},m(b,v){c[e].m(b,v),w(b,i,v),V(s,b,v),w(b,l,v),V(r,b,v),w(b,o,v),V(a,b,v),u=!0},p(b,[v]){let S=e;e=d(b),e===S?c[e].p(b,v):(Oe(),F(c[S],1,1,()=>{c[S]=null}),Te(),t=c[e],t?t.p(b,v):(t=c[e]=f[e](b),t.c()),A(t,1),t.m(i.parentNode,i));const $={};s.$set($);const C={};r.$set(C);const M={};v&4&&(M.collection=b[2]),a.$set(M)},i(b){u||(A(t),A(s.$$.fragment,b),A(r.$$.fragment,b),A(a.$$.fragment,b),u=!0)},o(b){F(t),F(s.$$.fragment,b),F(r.$$.fragment,b),F(a.$$.fragment,b),u=!1},d(b){c[e].d(b),b&&k(i),n[20](null),z(s,b),b&&k(l),n[21](null),z(r,b),b&&k(o),n[22](null),z(a,b)}}}function bA(n,e,t){var J;let i,s,l,r;hn(n,fi,W=>t(2,s=W)),hn(n,Js,W=>t(10,l=W)),hn(n,pu,W=>t(8,r=W));const o=U.getQueryParams((J=window.location)==null?void 0:J.href);let a,u,f,c,d=o.filter||"",h=o.sort||"-created",g=o.collectionId;U.setDocumentTitle("Collections"),L3(g);const y=()=>a==null?void 0:a.show(),b=()=>a==null?void 0:a.show(s),v=()=>u==null?void 0:u.show(s),S=()=>f==null?void 0:f.show(),$=W=>t(0,d=W.detail);function C(W){he[W?"unshift":"push"](()=>{c=W,t(6,c)})}function M(W){d=W,t(0,d),t(2,s),t(9,g)}function T(W){h=W,t(1,h),t(2,s),t(9,g)}const E=W=>f==null?void 0:f.show(W==null?void 0:W.detail);function D(W){he[W?"unshift":"push"](()=>{a=W,t(3,a)})}function P(W){he[W?"unshift":"push"](()=>{u=W,t(4,u)})}function L(W){he[W?"unshift":"push"](()=>{f=W,t(5,f)})}const N=()=>c==null?void 0:c.load(),R=()=>c==null?void 0:c.load();return n.$$.update=()=>{n.$$.dirty&1024&&t(7,i=l.filter(W=>W.name!="profiles")),n.$$.dirty&516&&(s==null?void 0:s.id)&&g!=s.id&&(t(9,g=s.id),t(1,h="-created"),t(0,d="")),n.$$.dirty&7&&(h||d||(s==null?void 0:s.id))&&U.replaceClientQueryParams({collectionId:s==null?void 0:s.id,filter:d,sort:h})},[d,h,s,a,u,f,c,i,r,g,l,y,b,v,S,$,C,M,T,E,D,P,L,N,R]}class yA extends Fe{constructor(e){super(),Le(this,e,bA,_A,Ae,{})}}function Gm(n){let e,t;return e=new Ne({props:{class:"form-field disabled",name:"id",$$slots:{default:[vA,({uniqueId:i})=>({31:i}),({uniqueId:i})=>[0,i?1:0]]},$$scope:{ctx:n}}}),{c(){B(e.$$.fragment)},m(i,s){V(e,i,s),t=!0},p(i,s){const l={};s[0]&2|s[1]&3&&(l.$$scope={dirty:s,ctx:i}),e.$set(l)},i(i){t||(A(e.$$.fragment,i),t=!0)},o(i){F(e.$$.fragment,i),t=!1},d(i){z(e,i)}}}function vA(n){let e,t,i,s,l,r,o,a,u;return{c(){e=_("label"),t=_("i"),i=O(),s=_("span"),s.textContent="ID",r=O(),o=_("input"),p(t,"class",U.getFieldTypeIcon("primary")),p(s,"class","txt"),p(e,"for",l=n[31]),p(o,"type","text"),p(o,"id",a=n[31]),o.value=u=n[1].id,o.disabled=!0},m(f,c){w(f,e,c),m(e,t),m(e,i),m(e,s),w(f,r,c),w(f,o,c)},p(f,c){c[1]&1&&l!==(l=f[31])&&p(e,"for",l),c[1]&1&&a!==(a=f[31])&&p(o,"id",a),c[0]&2&&u!==(u=f[1].id)&&o.value!==u&&(o.value=u)},d(f){f&&k(e),f&&k(r),f&&k(o)}}}function Zm(n){let e,t,i,s;return{c(){e=_("div"),e.innerHTML='<i class="ri-shield-check-line"></i > ' , p ( e , "class" , "form-field-addon txt-success" ) } , m ( l , r ) { w ( l , e , r ) , i || ( s = Xe ( t = St . call ( null , e , "Verified" ) ) , i = ! 0 ) } , d ( l ) { l && k ( e ) , i = ! 1 , s ( ) } } } function kA ( n ) { let e , t , i , s , l , r , o , a , u , f , c , d = n [ 1 ] . verified && Zm ( ) ; return { c ( ) { e = _ ( "label" ) , t = _ ( "i" ) , i = O ( ) , s = _ ( "span" ) , s . textContent = "Email" , r = O ( ) , d && d . c ( ) , o = O ( ) , a = _ ( "input" ) , p ( t , "class" , U . getFieldTypeIcon ( "email" ) ) , p ( s , "class" , "txt" ) , p ( e , "for" , l = n [ 31 ] ) , p ( a , "type" , "email" ) , p ( a , "autocomplete" , "off" ) , p ( a , "id" , u = n [ 31 ] ) , a . required = ! 0 } , m ( h , g ) { w ( h , e , g ) , m ( e , t ) , m ( e , i ) , m ( e , s ) , w ( h , r , g ) , d && d . m ( h , g ) , w ( h , o , g ) , w ( h , a , g ) , $e ( a , n [ 2 ] ) , f || ( c = X ( a , "input" , n [ 19 ] ) , f = ! 0 ) } , p ( h , g ) { g [ 1 ] & 1 && l !== ( l = h [ 31 ] ) && p ( e , "for" , l ) , h [ 1 ] . verified ? d || ( d = Zm ( ) , d . c ( ) , d . m ( o . parentNode , o ) ) : d && ( d . d ( 1 ) , d = null ) , g [ 1 ] & 1 && u !== ( u = h [ 31 ] ) && p ( a , "id" , u ) , g [ 0 ] & 4 && a . value !== h [ 2 ] && $e ( a , h [ 2 ] ) } , d ( h ) { h && k ( e ) , h && k ( r )
< span class = "txt" > Send verification email < /span>`,p(e,"type","button"),p(e,"class","dropdown-item")},m(s,l){w(s,e,l),t||(i=X(e,"click",n[16]),t=!0)},p:re,d(s){s&&k(e),t=!1,i()}}}function TA(n){let e,t,i,s,l=!n[1].verified&&tg(n);return{c(){l&&l.c(),e=O(),t=_("button"),t.innerHTML=`<i class="ri-delete-bin-7-line"></i >
< span class = "txt" > Delete < / s p a n > ` , p ( t , " t y p e " , " b u t t o n " ) , p ( t , " c l a s s " , " d r o p d o w n - i t e m " ) } , m ( r , o ) { l & & l . m ( r , o ) , w ( r , e , o ) , w ( r , t , o ) , i | | ( s = X ( t , " c l i c k " , n [ 1 7 ] ) , i = ! 0 ) } , p ( r , o ) { r [ 1 ] . v e r i f i e d ? l & & ( l . d ( 1 ) , l = n u l l ) : l ? l . p ( r , o ) : ( l = t g ( r ) , l . c ( ) , l . m ( e . p a r e n t N o d e , e ) ) } , d ( r ) { l & & l . d ( r ) , r & & k ( e ) , r & & k ( t ) , i = ! 1 , s ( ) } } } f u n c t i o n D A ( n ) { l e t e , t , i , s , l , r , o = n [ 1 ] . i s N e w ? " C r e a t e " : " S a v e c h a n g e s " , a , u , f , c , d , h = ! n [ 1 ] . i s N e w & & e g ( n ) ; r e t u r n { c ( ) { h & & h . c ( ) , e = O ( ) , t = _ ( " b u t t o n " ) , i = _ ( " s p a n " ) , i . t e x t C o n t e n t = " C a n c e l " , s = O ( ) , l = _ ( " b u t t o n " ) , r = _ ( " s p a n " ) , a = H ( o ) , p ( i , " c l a s s " , " t x t " ) , p ( t , " t y p e " , " b u t t o n " ) , p ( t , " c l a s s " , " b t n b t n - s e c o n d a r y " ) , t . d i s a b l e d = n [ 5 ] , p ( r , " c l a s s " , " t x t " ) , p ( l , " t y p e " , " s u b m i t " ) , p ( l , " f o r m " , n [ 1 1 ] ) , p ( l , " c l a s s " , " b t n b t n - e x p a n d e d " ) , l . d i s a b l e d = u = ! n [ 1 0 ] | | n [ 5 ] , Q ( l , " b t n - l o a d i n g " , n [ 5 ] ) } , m ( g , y ) { h & & h . m ( g , y ) , w ( g , e , y ) , w ( g , t , y ) , m ( t , i ) , w ( g , s , y ) , w ( g , l , y ) , m ( l , r ) , m ( r , a ) , f = ! 0 , c | | ( d = X ( t , " c l i c k " , n [ 1 8 ] ) , c = ! 0 ) } , p ( g , y ) { g [ 1 ] . i s N e w ? h & & ( O e ( ) , F ( h , 1 , 1 , ( ) = > { h = n u l l } ) , T e ( ) ) : h ? ( h . p ( g , y ) , y [ 0 ] & 2 & & A ( h , 1 ) ) : ( h = e g ( g ) , h . c ( ) , A ( h , 1 ) , h . m ( e . p a r e n t N o d e , e ) ) , ( ! f | | y [ 0 ] & 3 2 ) & & ( t . d i s a b l e d = g [ 5 ] ) , ( ! f | | y [ 0 ] & 2 ) & & o ! = = ( o = g [ 1 ] . i s N e w ? " C r e a t e " : " S a v e c h a n g e s " ) & & _ e ( a , o ) , ( ! f | | y [ 0 ] & 1 0 5 6 & & u ! = = ( u = ! g [ 1 0 ] | | g [ 5 ] ) ) & & ( l . d i s a b l e d = u ) , y [ 0 ] & 3 2 & & Q ( l , " b t n - l o a d i n g " , g [ 5 ] ) } , i ( g ) { f | | ( A ( h ) , f = ! 0 ) } , o ( g ) { F ( h ) , f = ! 1 } , d ( g ) { h & & h . d ( g ) , g & & k ( e ) , g & & k ( t ) , g & & k ( s ) , g & & k ( l ) , c = ! 1 , d ( ) } } } f u n c t i o n A A ( n ) { l e t e , t , i = { p o p u p : ! 0 , c l a s s : " u s e r - p a n e l " , b e f o r e H i d e : n [ 2 4 ] , $ $ s l o t s : { f o o t e r : [ D A ] , h e a d e r : [ O A ] , d e f a u l t : [ M A ] } , $ $ s c o p e : { c t x : n } } ; r e t u r n e = n e w D i ( { p r o p s : i } ) , n [ 2 5 ] ( e ) , e . $ o n ( " h i d e " , n [ 2 6 ] ) , e . $ o n ( " s h o w " , n [ 2 7 ] ) , { c ( ) { B ( e . $ $ . f r a g m e n t ) } , m ( s , l ) { V ( e , s , l ) , t = ! 0 } , p ( s , l ) { c o n s t r = { } ; l [ 0 ] & 1 0 8 8 & & ( r . b e f o r e H i d e = s [ 2 4 ] ) , l [ 0 ] & 1 9 6 6 | l [ 1 ] & 2 & & ( r . $ $ s c o p e = { d i r t y : l , c t x : s } ) , e . $ s e t ( r ) } , i ( s ) { t | | ( A ( e . $ $ . f r a g m e n t , s ) , t = ! 0 ) } , o ( s ) { F ( e . $ $ . f r a g m e n t , s ) , t = ! 1 } , d ( s ) { n [ 2 5 ] ( n u l l ) , z ( e , s ) } } } f u n c t i o n E A ( n , e , t ) { l e t i ; c o n s t s = _ n ( ) , l = " u s e r _ " + U . r a n d o m S t r i n g ( 5 ) ; l e t r , o = n e w t o , a = ! 1 , u = ! 1 , f = " " , c = " " , d = " " , h = ! 1 , g = ! 0 ; f u n c t i o n y ( Y ) { r e t u r n v ( Y ) , t ( 6 , u = ! 0 ) , r = = n u l l ? v o i d 0 : r . s h o w ( ) } f u n c t i o n b ( ) { r e t u r n r = = n u l l ? v o i d 0 : r . h i d e ( ) } f u n c t i o n v ( Y ) { W i ( { } ) , t ( 1 , o = Y ! = n u l l & & Y . c l o n e ? Y . c l o n e ( ) : n e w t o ) , S ( ) } f u n c t i o n S ( ) { t ( 3 , h = ! 1 ) , t ( 9 , g = ! 0 ) , t ( 2 , f = ( o = = n u l l ? v o i d 0 : o . e m a i l ) | | " " ) , t ( 7 , c = " " ) , t ( 8 , d = " " ) } f u n c t i o n $ ( ) { i f ( a | | ! i ) r e t u r n ; t ( 5 , a = ! 0 ) ; c o n s t Y = { e m a i l : f } ; ( o . i s N e w | | h ) & & ( Y . p a s s w o r d = c , Y . p a s s w o r d C o n f i r m = d ) ; l e t n e ; o . i s N e w ? n e = w e . U s e r s . c r e a t e ( Y ) : n e = w e . U s e r s . u p d a t e ( o . i d , Y ) , n e . t h e n ( a s y n c f e = > { g & & M ( ! 1 ) , t ( 6 , u = ! 1 ) , b ( ) , m n ( o . i s N e w ? " S u c c e s s f u l l y c r e a t e d u s e r . " : " S u c c e s s f u l l y u p d a t e d u s e r . " ) , s ( " s a v e " , f e ) } ) . c a t c h ( f e = > { w e . e r r o r R e s p o n s e H a n d l e r ( f e ) } ) . f i n a l l y ( ( ) = > { t ( 5 , a = ! 1 ) } ) } f u n c t i o n C ( ) { ! ( o ! = n u l l & & o . i d ) | | C i ( " D o y o u r e a l l y w a n t t o d e l e t e t h e s e l e c t e d u s e r ? " , ( ) = > w e . U s e r s . d e l e t e ( o . i d ) . t h e n ( ( ) = > { t ( 6 , u = ! 1 ) , b ( ) , m n ( " S u c c e s s f u l l y d e l e t e d u s e r . " ) , s ( " d e l e t e " , o ) } ) . c a t c h ( Y = > { w e . e r r o r R e s p o n s e H a n d l e r ( Y ) } ) ) } f u n c t i o n M ( Y = ! 0 ) { r e t u r n w e . U s e r s . r e q u e s t V e r i f i c a t i o n ( o . i s N e w ? f : o . e m a i l ) . t h e n ( ( ) = > { t ( 6 , u = ! 1 ) , b ( ) , Y & & m n ( ` S u c c e s s f u l l y s e n t v e r i f i c a t i o n e m a i l t o $ { o . e m a i l } . ` ) } ) . c a t c h ( n e = > { w e . e r r o r R e s p o n s e H a n d l e r ( n e ) } ) } c o n s t T = ( ) = > M ( ) , E = ( ) = > C ( ) , D = ( ) = > b ( ) ; f u n c t i o n P ( ) { f = t h i s . v a l u e , t ( 2 , f ) } f u n c t i o n L ( ) { h = t h i s . c h e c k e d , t ( 3 , h ) } f u n c t i o n N ( ) { c = t h i s . v a l u e , t ( 7 , c ) } f u n c t i o n R ( ) { d = t h i s . v a l u e , t ( 8 , d ) } f u n c t i o n J ( ) { g = t h i s . c h e c k e d , t ( 9 , g ) } c o n s t W = ( ) = > i & & u ? ( C i ( " Y o u h a v e u n s a v e d c h a n g e s . D o y o u r e a l l y w a n t t o c l o s e t h e p a n e l ? " , ( ) = > { t ( 6 , u = ! 1 ) , b ( ) } ) , ! 1 ) : ! 0 ; f u n c t i o n q ( Y ) { h e [ Y ? " u n s h i f t " : " p u s h " ] ( ( ) = > { r = Y , t ( 4 , r ) } ) } f u n c t i o n G ( Y ) { u t . c a l l ( t h i s , n , Y ) } f u n c t i o n K ( Y ) { u t . c a l l ( t h i s , n , Y ) } r e t u r n n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y [ 0 ] & 1 4 & & t ( 1 0 , i = o . i s N e w & & f ! = " " | | h | | f ! = = o . e m a i l ) } , [ b , o , f , h , r , a , u , c , d , g , i , l , $ , C , M , y , T , E , D , P , L , N , R , J , W , q , G , K ] } c l a s s P A e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , E A , A A , A e , { s h o w : 1 5 , h i d e : 0 } , n u l l , [ - 1 , - 1 ] ) } g e t s h o w ( ) { r e t u r n t h i s . $ $ . c t x [ 1 5 ] } g e t h i d e ( ) { r e t u r n t h i s . $ $ . c t x [ 0 ] } } f u n c t i o n n g ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 3 7 ] = e [ t ] , i } f u n c t i o n i g ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 4 0 ] = e [ t ] , i } f u n c t i o n s g ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 4 0 ] = e [ t ] , i } f u n c t i o n L A ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c , d , h , g , y , b , v , S , $ , C , M , T , E = [ ] , D = n e w M a p , P , L , N , R , J , W , q , G , K , Y , n e = [ ] , f e = n e w M a p , y e , s e , Z , D e , t e ; c = n e w A o ( { p r o p s : { v a l u e : n [ 3 ] , p l a c e h o l d e r : " S e a r c h f i l t e r , e g . v e r i f i e d = 1 " , e x t r a A u t o c o m p l e t e K e y s : [ " v e r i f i e d " , " e m a i l " ] } } ) , c . $ o n ( " s u b m i t " , n [ 1 7 ] ) ; f u n c t i o n b e ( x ) { n [ 1 8 ] ( x ) } l e t
< span class = "txt" > New user < / s p a n > ` , f = O ( ) , B ( c . $ $ . f r a g m e n t ) , d = O ( ) , h = _ ( " d i v " ) , g = _ ( " t a b l e " ) , y = _ ( " t h e a d " ) , b = _ ( " t r " ) , B ( v . $ $ . f r a g m e n t ) , $ = O ( ) , B ( C . $ $ . f r a g m e n t ) , T = O ( ) ; f o r ( l e t x = 0 ; x < E . l e n g t h ; x + = 1 ) E [ x ] . c ( ) ; P = O ( ) , B ( L . $ $ . f r a g m e n t ) , R = O ( ) , B ( J . $ $ . f r a g m e n t ) , q = O ( ) , G = _ ( " t h " ) , K = O ( ) , Y = _ ( " t b o d y " ) ; f o r ( l e t x = 0 ; x < n e . l e n g t h ; x + = 1 ) n e [ x ] . c ( ) ; Z e & & Z e . c ( ) , y e = O ( ) , g e & & g e . c ( ) , s e = O ( ) , E e & & E e . c ( ) , p ( i , " c l a s s " , " b r e a d c r u m b s " ) , p ( l , " t y p e " , " b u t t o n " ) , p ( l , " c l a s s " , " b t n b t n - s e c o n d a r y b t n - c i r c l e " ) , p ( o , " c l a s s " , " f l e x - f i l l " ) , p ( u , " t y p e " , " b u t t o n " ) , p ( u , " c l a s s " , " b t n b t n - e x p a n d e d " ) , p ( t , " c l a s s " , " p a g e - h e a d e r " ) , p ( G , " c l a s s " , " c o l - t y p e - a c t i o n m i n - w i d t h " ) , p ( g , " c l a s s " , " t a b l e " ) , Q ( g , " t a b l e - l o a d i n g " , n [ 1 0 ] ) , p ( h , " c l a s s " , " t a b l e - w r a p p e r " ) , p ( e , " c l a s s " , " p a g e - w r a p p e r " ) } , m ( x , a e ) { w ( x , e , a e ) , m ( e , t ) , m ( t , i ) , m ( t , s ) , m ( t , l ) , m ( t , r ) , m ( t , o ) , m ( t , a ) , m ( t , u ) , m ( e , f ) , V ( c , e , n u l l ) , m ( e , d ) , m ( e , h ) , m ( h , g ) , m ( g , y ) , m ( y , b ) , V ( v , b , n u l l ) , m ( b , $ ) , V ( C , b , n u l l ) , m ( b , T ) ; f o r ( l e t B e = 0 ; B e < E . l e n g t h ; B e + = 1 ) E [ B e ] . m ( b , n u l l ) ; m ( b , P ) , V ( L , b , n u l l ) , m ( b , R ) , V ( J , b , n u l l ) , m ( b , q ) , m ( b , G ) , m ( g , K ) , m ( g , Y ) ; f o r ( l e t B e = 0 ; B e < n e . l e n g t h ; B e + = 1 ) n e [ B e ] . m ( Y , n u l l ) ; Z e & & Z e . m ( Y , n u l l ) , m ( e , y e ) , g e & & g e . m ( e , n u l l ) , m ( e , s e ) , E e & & E e . m ( e , n u l l ) , Z = ! 0 , D e | | ( t e = [ X e ( S t . c a l l ( n u l l , l , { t e x t : " E d i t p r o f i l e c o l l e c t i o n " , p o s i t i o n : " r i g h t " } ) ) , X ( l , " c l i c k " , n [ 1 5 ] ) , X ( u , " c l i c k " , n [ 1 6 ] ) ] , D e = ! 0 ) } , p ( x , a e ) { c o n s t B e = { } ; a e [ 0 ] & 8 & & ( B e . v a l u e = x [ 3 ] ) , c . $ s e t ( B e ) ; c o n s t v t = { } ; a e [ 1 ] & 1 6 3 8 4 & & ( v t . $ $ s c o p e = { d i r t y : a e , c t x : x } ) , ! S & & a e [ 0 ] & 1 6 & & ( S = ! 0 , v t . s o r t = x [ 4 ] , j e ( ( ) = > S = ! 1 ) ) , v . $ s e t ( v t ) ; c o n s t i t = { } ; a e [ 1 ] & 1 6 3 8 4 & & ( i t . $ $ s c o p e = { d i r t y : a e , c t x : x } ) , ! M & & a e [ 0 ] & 1 6 & & ( M = ! 0 , i t . s o r t = x [ 4 ] , j e ( ( ) = > M = ! 1 ) ) , C . $ s e t ( i t ) , a e [ 0 ] & 4 0 9 6 & & ( H e = x [ 1 2 ] , E = o t ( E , a e , I e , 1 , x , H e , D , b , a n , l g , P , s g ) ) ; c o n s t g t = { } ; a e [ 1 ] & 1 6 3 8 4 & & ( g t . $ $ s c o p e = { d i r t y : a e , c t x : x } ) , ! N & & a e [ 0 ] & 1 6 & & ( N = ! 0 , g t . s o r t = x [ 4 ] , j e ( ( ) = > N = ! 1 ) ) , L . $ s e t ( g t ) ; c o n s t a t = { } ; a e [ 1 ] & 1 6 3 8 4 & & ( a t . $ $ s c o p e = { d i r t y : a e , c t x : x } ) , ! W & & a e [ 0 ] & 1 6 & & ( W = ! 0 , a t . s o r t = x [ 4 ] , j e ( ( ) = > W = ! 1 ) ) , J . $ s e t ( a t ) , a e [ 0 ] & 5 4 5 0 & & ( V e = x [ 1 ] , O e ( ) , n e = o t ( n e , a e , z e , 1 , x , V e , f e , Y , L t , u g , n u l l , n g ) , T e ( ) , ! V e . l e n g t h & & Z e ? Z e . p ( x , a e ) : V e . l e n g t h ? Z e & & ( Z e . d ( 1 ) , Z e = n u l l ) : ( Z e = r g ( x ) , Z e . c ( ) , Z e . m ( Y , n u l l ) ) ) , a e [ 0 ] & 1 0 2 4 & & Q ( g , " t a b l e - l o a d i n g " , x [ 1 0 ] ) , x [ 1 ] . l e n g t h ? g e ? g e . p ( x , a e ) : ( g e = f g ( x ) , g e . c ( ) , g e . m ( e , s e ) ) : g e & & ( g e . d ( 1 ) , g e = n u l l ) , x [ 1 ] . l e n g t h & & x [ 1 3 ] ? E e ? E e . p ( x , a e ) : ( E e = c g ( x ) , E e . c ( ) , E e . m ( e , n u l l ) ) : E e & & ( E e . d ( 1 ) , E e = n u l l ) } , i ( x ) { i f ( ! Z ) { A ( c . $ $ . f r a g m e n t , x ) , A ( v . $ $ . f r a g m e n t , x ) , A ( C . $ $ . f r a g m e n t , x ) , A ( L . $ $ . f r a g m e n t , x ) , A ( J . $ $ . f r a g m e n t , x ) ; f o r ( l e t a e = 0 ; a e < V e . l e n g t h ; a e + = 1 ) A ( n e [ a e ] ) ; Z = ! 0 } } , o ( x ) { F ( c . $ $ . f r a g m e n t , x ) , F ( v . $ $ . f r a g m e n t , x ) , F ( C . $ $ . f r a g m e n t , x ) , F ( L . $ $ . f r a g m e n t , x ) , F ( J . $ $ . f r a g m e n t , x ) ; f o r ( l e t a e = 0 ; a e < n e . l e n g t h ; a e + = 1 ) F ( n e [ a e ] ) ; Z = ! 1 } , d ( x ) { x & & k ( e ) , z ( c ) , z ( v ) , z ( C ) ; f o r ( l e t a e = 0 ; a e < E . l e n g t h ; a e + = 1 ) E [ a e ] . d ( ) ; z ( L ) , z ( J ) ; f o r ( l e t a e = 0 ; a e < n e . l e n g t h ; a e + = 1 ) n e [ a e ] . d ( ) ; Z e & & Z e . d ( ) , g e & & g e . d ( ) , E e & & E e . d ( ) , D e = ! 1 , r t ( t e ) } } } f u n c t i o n F A ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " d i v " ) , e . i n n e r H T M L = ` < s p a n c l a s s = " l o a d e r l o a d e r - l g " > < / s p a n >
< h1 > Loading users ... < / h 1 > ` , p ( e , " c l a s s " , " p l a c e h o l d e r - s e c t i o n m - b - b a s e " ) } , m ( t , i ) { w ( t , e , i ) } , p : r e , i : r e , o : r e , d ( t ) { t & & k ( e ) } } } f u n c t i o n I A ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " i d " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " p r i m a r y " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n N A ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " e m a i l " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " e m a i l " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n l g ( n , e ) { l e t t , i , s , l , r , o , a , u = e [ 4 0 ] . n a m e + " " , f , c , d ; r e t u r n { k e y : n , f i r s t : n u l l , c ( ) { t = _ ( " t h " ) , i = _ ( " d i v " ) , s = _ ( " i " ) , r = O ( ) , o = _ ( " s p a n " ) , a = H ( " p r o f i l e . " ) , f = H ( u ) , p ( s , " c l a s s " , l = U . g e t F i e l d T y p e I c o n ( e [ 4 0 ] . t y p e ) ) , p ( o , " c l a s s " , " t x t " ) , p ( i , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) , p ( t , " c l a s s " , c = " c o l - t y p e - " + e [ 4 0 ] . t y p e + " c o l - f i e l d - " + e [ 4 0 ] . n a m e ) , p ( t , " n a m e " , d = e [ 4 0 ] . n a m e ) , t h i s . f i r s t = t } , m ( h , g ) { w ( h , t , g ) , m ( t , i ) , m ( i , s ) , m ( i , r ) , m ( i , o ) , m ( o , a ) , m ( o , f ) } , p ( h , g ) { e = h , g [ 0 ] & 4 0 9 6 & & l ! = = ( l = U . g e t F i e l d T y p e I c o n ( e [ 4 0 ] . t y p e ) ) & & p ( s , " c l a s s " , l ) , g [ 0 ] & 4 0 9 6 & & u ! = = ( u = e [ 4 0 ] . n a m e + " " ) & & _ e ( f , u ) , g [ 0 ] & 4 0 9 6 & & c ! = = ( c = " c o l - t y p e - " + e [ 4 0 ] . t y p e + " c o l - f i e l d - " + e [ 4 0 ] . n a m e ) & & p ( t , " c l a s s " , c ) , g [ 0 ] & 4 0 9 6 & & d ! = = ( d = e [ 4 0 ] . n a m e ) & & p ( t , " n a m e " , d ) } , d ( h ) { h & & k ( t ) } } } f u n c t i o n R A ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " c r e a t e d " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " d a t e " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n j A ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " u p d a t e d " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " d a t e " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n r g ( n ) { l e t e ; f u n c t i o n t ( l , r ) { r e t u r n l [ 1 0 ] ? q A : H A } l e t i = t ( n ) , s = i ( n ) ; r e t u r n { c ( ) { s . c ( ) , e = l t ( ) } , m ( l , r ) { s . m ( l , r ) , w ( l , e , r ) } , p ( l , r ) { i = = = ( i = t ( l ) ) & & s ? s . p ( l , r ) : ( s . d ( 1 ) , s = i ( l ) , s & & ( s . c ( ) , s . m ( e . p a r e n t N o d e , e ) ) ) } , d ( l ) { s . d ( l ) , l & & k ( e ) } } } f u n c t i o n H A ( n ) { v a r o ; l e t e , t , i , s , l , r = ( ( o = n [ 3 ] ) = = n u l l ? v o i d 0 : o . l e n g t h ) & & o g ( n ) ; r e t u r n { c ( ) { e = _ ( " t r " ) , t = _ ( " t d " ) , i = _ ( " h 6 " ) , i . t e x t C o n t e n t = " N o u s e r s f o u n d . " , s = O ( ) , r & & r . c ( ) , l = O ( ) , p ( t , " c o l s p a n " , " 9 9 " ) , p ( t , " c l a s s " , " t x t - c e n t e r t x t - h i n t p - x s " ) } , m ( a , u ) { w ( a , e , u ) , m ( e , t ) , m ( t , i ) , m ( t , s ) , r & & r . m ( t , n u l l ) , m ( e , l ) } , p ( a , u ) { v a r f ; ( f = a [ 3 ] ) ! = n u l l & & f . l e n g t h ? r ? r . p ( a , u ) : ( r = o g ( a ) , r . c ( ) , r . m ( t , n u l l ) ) : r & & ( r . d ( 1 ) , r = n u l l ) } , d ( a ) { a & & k ( e ) , r & & r . d ( ) } } } f u n c t i o n q A ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " t r " ) , e . i n n e r H T M L = ` < t d c o l s p a n = " 9 9 " c l a s s = " p - x s " > < s p a n c l a s s = " s k e l e t o n - l o a d e r " > < / s p a n > < / t d >
` },m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function og(n){let e,t,i;return{c(){e=_("button"),e.innerHTML='<span class="txt">Clear filters</span>',p(e,"type","button"),p(e,"class","btn btn-hint btn-expanded m-t-sm")},m(s,l){w(s,e,l),t||(i=X(e,"click",n[24]),t=!0)},p:re,d(s){s&&k(e),t=!1,i()}}}function ag(n,e){let t,i,s;return i=new jb({props:{field:e[40],record:e[37].profile||{}}}),{key:n,first:null,c(){t=lt(),B(i. $ $ .fragment),this.first=t},m(l,r){w(l,t,r),V(i,l,r),s=!0},p(l,r){e=l;const o={};r[0]&4096&&(o.field=e[40]),r[0]&2&&(o.record=e[37].profile||{}),i. $ set(o)},i(l){s||(A(i. $ $ .fragment,l),s=!0)},o(l){F(i. $ $ .fragment,l),s=!1},d(l){l&&k(t),z(i,l)}}}function ug(n,e){let t,i,s,l,r,o,a,u=e[37].email+"",f,c,d,h,g=e[37].verified?"Verified":"Unverified",y,b,v=[],S=new Map, $ ,C,M,T,E,D,P,L,N,R,J,W,q,G,K;s=new No({props:{id:e[37].id}});let Y=e[12];const ne=se=>se[40].name;for(let se=0;se<Y.length;se+=1){let Z=ig(e,Y,se),De=ne(Z);S.set(De,v[se]=ag(De,Z))}M=new $ i({props:{date:e[37].created}}),D=new $ i({props:{date:e[37].updated}});function fe(){return e[22](e[37])}function ye(){return e[23](e[37])}return{key:n,first:null,c(){t=_("tr"),i=_("td"),B(s. $ $ .fragment),l=O(),r=_("td"),o=_("div"),a=_("span"),f=H(u),d=O(),h=_("span"),y=H(g),b=O();for(let se=0;se<v.length;se+=1)v[se].c(); $ =O(),C=_("td"),B(M. $ $ .fragment),T=O(),E=_("td"),B(D. $ $ .fragment),P=O(),L=_("td"),N=_("button"),N.innerHTML= ` < i class = "ri-user-settings-line" > < / i >
< span class = "txt" > Edit user < /span>`,R=O(),J=_("button"),J.innerHTML=`<i class="ri-profile-line"></i >
< span class = "txt" > Edit profile < / s p a n > ` , W = O ( ) , p ( i , " c l a s s " , " c o l - t y p e - t e x t c o l - f i e l d - i d " ) , p ( a , " c l a s s " , " t x t " ) , p ( a , " t i t l e " , c = e [ 3 7 ] . e m a i l ) , p ( h , " c l a s s " , " l a b e l " ) , Q ( h , " l a b e l - s u c c e s s " , e [ 3 7 ] . v e r i f i e d ) , Q ( h , " l a b e l - w a r n i n g " , ! e [ 3 7 ] . v e r i f i e d ) , p ( o , " c l a s s " , " i n l i n e - f l e x " ) , p ( r , " c l a s s " , " c o l - t y p e - e m a i l c o l - f i e l d - e m a i l " ) , p ( C , " c l a s s " , " c o l - t y p e - d a t e c o l - f i e l d - c r e a t e d " ) , p ( E , " c l a s s " , " c o l - t y p e - d a t e c o l - f i e l d - u p d a t e d " ) , p ( N , " t y p e " , " b u t t o n " ) , p ( N , " c l a s s " , " b t n b t n - s m b t n - o u t l i n e " ) , p ( J , " t y p e " , " b u t t o n " ) , p ( J , " c l a s s " , " b t n b t n - s m m - l - 1 0 " ) , p ( L , " c l a s s " , " c o l - t y p e - a c t i o n m i n - w i d t h " ) , t h i s . f i r s t = t } , m ( s e , Z ) { w ( s e , t , Z ) , m ( t , i ) , V ( s , i , n u l l ) , m ( t , l ) , m ( t , r ) , m ( r , o ) , m ( o , a ) , m ( a , f ) , m ( o , d ) , m ( o , h ) , m ( h , y ) , m ( t , b ) ; f o r ( l e t D e = 0 ; D e < v . l e n g t h ; D e + = 1 ) v [ D e ] . m ( t , n u l l ) ; m ( t , $ ) , m ( t , C ) , V ( M , C , n u l l ) , m ( t , T ) , m ( t , E ) , V ( D , E , n u l l ) , m ( t , P ) , m ( t , L ) , m ( L , N ) , m ( L , R ) , m ( L , J ) , m ( t , W ) , q = ! 0 , G | | ( K = [ X ( N , " c l i c k " , U n ( f e ) ) , X ( J , " c l i c k " , U n ( y e ) ) ] , G = ! 0 ) } , p ( s e , Z ) { e = s e ; c o n s t D e = { } ; Z [ 0 ] & 2 & & ( D e . i d = e [ 3 7 ] . i d ) , s . $ s e t ( D e ) , ( ! q | | Z [ 0 ] & 2 ) & & u ! = = ( u = e [ 3 7 ] . e m a i l + " " ) & & _ e ( f , u ) , ( ! q | | Z [ 0 ] & 2 & & c ! = = ( c = e [ 3 7 ] . e m a i l ) ) & & p ( a , " t i t l e " , c ) , ( ! q | | Z [ 0 ] & 2 ) & & g ! = = ( g = e [ 3 7 ] . v e r i f i e d ? " V e r i f i e d " : " U n v e r i f i e d " ) & & _ e ( y , g ) , Z [ 0 ] & 2 & & Q ( h , " l a b e l - s u c c e s s " , e [ 3 7 ] . v e r i f i e d ) , Z [ 0 ] & 2 & & Q ( h , " l a b e l - w a r n i n g " , ! e [ 3 7 ] . v e r i f i e d ) , Z [ 0 ] & 4 0 9 8 & & ( Y = e [ 1 2 ] , O e ( ) , v = o t ( v , Z , n e , 1 , e , Y , S , t , L t , a g , $ , i g ) , T e ( ) ) ; c o n s t t e = { } ; Z [ 0 ] & 2 & & ( t e . d a t e = e [ 3 7 ] . c r e a t e d ) , M . $ s e t ( t e ) ; c o n s t b e = { } ; Z [ 0 ] & 2 & & ( b e . d a t e = e [ 3 7 ] . u p d a t e d ) , D . $ s e t ( b e ) } , i ( s e ) { i f ( ! q ) { A ( s . $ $ . f r a g m e n t , s e ) ; f o r ( l e t Z = 0 ; Z < Y . l e n g t h ; Z + = 1 ) A ( v [ Z ] ) ; A ( M . $ $ . f r a g m e n t , s e ) , A ( D . $ $ . f r a g m e n t , s e ) , q = ! 0 } } , o ( s e ) { F ( s . $ $ . f r a g m e n t , s e ) ; f o r ( l e t Z = 0 ; Z < v . l e n g t h ; Z + = 1 ) F ( v [ Z ] ) ; F ( M . $ $ . f r a g m e n t , s e ) , F ( D . $ $ . f r a g m e n t , s e ) , q = ! 1 } , d ( s e ) { s e & & k ( t ) , z ( s ) ; f o r ( l e t Z = 0 ; Z < v . l e n g t h ; Z + = 1 ) v [ Z ] . d ( ) ; z ( M ) , z ( D ) , G = ! 1 , r t ( K ) } } } f u n c t i o n f g ( n ) { l e t e , t , i = n [ 1 ] . l e n g t h + " " , s , l , r ; r e t u r n { c ( ) { e = _ ( " s m a l l " ) , t = H ( " S h o w i n g " ) , s = H ( i ) , l = H ( " o f " ) , r = H ( n [ 2 ] ) , p ( e , " c l a s s " , " b l o c k t x t - h i n t t x t - r i g h t m - t - s m " ) } , m ( o , a ) { w ( o , e , a ) , m ( e , t ) , m ( e , s ) , m ( e , l ) , m ( e , r ) } , p ( o , a ) { a [ 0 ] & 2 & & i ! = = ( i = o [ 1 ] . l e n g t h + " " ) & & _ e ( s , i ) , a [ 0 ] & 4 & & _ e ( r , o [ 2 ] ) } , d ( o ) { o & & k ( e ) } } } f u n c t i o n c g ( n ) { l e t e , t , i , s , l = n [ 2 ] - n [ 1 ] . l e n g t h + " " , r , o , a , u ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " b u t t o n " ) , i = _ ( " s p a n " ) , s = H ( " L o a d m o r e ( " ) , r = H ( l ) , o = H ( " ) " ) , p ( i , " c l a s s " , " t x t " ) , p ( t , " t y p e " , " b u t t o n " ) , p ( t , " c l a s s " , " b t n b t n - l g b t n - s e c o n d a r y b t n - e x p a n d e d " ) , Q ( t , " b t n - l o a d i n g " , n [ 1 0 ] ) , Q ( t , " b t n - d i s a b l e d " , n [ 1 0 ] ) , p ( e , " c l a s s " , " b l o c k t x t - c e n t e r m - t - x s " ) } , m ( f , c ) { w ( f , e , c ) , m ( e , t ) , m ( t , i ) , m ( i , s ) , m ( i , r ) , m ( i , o ) , a | | ( u = X ( t , " c l i c k " , n [ 2 5 ] ) , a = ! 0 ) } , p ( f , c ) { c [ 0 ] & 6 & & l ! = = ( l = f [ 2 ] - f [ 1 ] . l e n g t h + " " ) & & _ e ( r , l ) , c [ 0 ] & 1 0 2 4 & & Q ( t , " b t n - l o a d i n g " , f [ 1 0 ] ) , c [ 0 ] & 1 0 2 4 & & Q ( t , " b t n - d i s a b l e d " , f [ 1 0 ] ) } , d ( f ) { f & & k ( e ) , a = ! 1 , u ( ) } } } f u n c t i o n V A ( n ) { l e t e , t , i , s , l , r , o , a , u ; c o n s t f = [ F A , L A ] , c = [ ] ; f u n c t i o n d ( b , v ) { r e t u r n b [ 1 1 ] ? 0 : 1 } e = d ( n ) , t = c [ e ] = f [ e ] ( n ) ; l e t h = { } ; s = n e w P A ( { p r o p s : h } ) , n [ 2 6 ] ( s ) , s . $ o n ( " s a v e " , n [ 2 7 ] ) , s . $ o n ( " d e l e t e " , n [ 2 8 ] ) ; l e t g = { } ; r = n e w h f ( { p r o p s : g } ) , n [ 2 9 ] ( r ) , r . $ o n ( " s a v e " , n [ 3 0 ] ) ; l e t y = { c o l l e c t i o n : n [ 5 ] } ; r e t u r n a = n e w R b ( { p r o p s : y } ) , n [ 3 1 ] ( a ) , a . $ o n ( " s a v e " , n [ 3 2 ] ) , { c ( ) { t . c ( ) , i = O ( ) , B ( s . $ $ . f r a g m e n t ) , l = O ( ) , B ( r . $ $ . f r a g m e n t ) , o = O ( ) , B ( a . $ $ . f r a g m e n t ) } , m ( b , v ) { c [ e ] . m ( b , v ) , w ( b , i , v ) , V ( s , b , v ) , w ( b , l , v ) , V ( r , b , v ) , w ( b , o , v ) , V ( a , b , v ) , u = ! 0 } , p ( b , v ) { l e t S = e ; e = d ( b ) , e = = = S ? c [ e ] . p ( b , v ) : ( O e ( ) , F ( c [ S ] , 1 , 1 , ( ) = > { c [ S ] = n u l l } ) , T e ( ) , t = c [ e ] , t ? t . p ( b , v ) : ( t = c [ e ] = f [ e ] ( b ) , t . c ( ) ) , A ( t , 1 ) , t . m ( i . p a r e n t N o d e , i ) ) ; c o n s t $ = { } ; s . $ s e t ( $ ) ; c o n s t C = { } ; r . $ s e t ( C ) ; c o n s t M = { } ; v [ 0 ] & 3 2 & & ( M . c o l l e c t i o n = b [ 5 ] ) , a . $ s e t ( M ) } , i ( b ) { u | | ( A ( t ) , A ( s . $ $ . f r a g m e n t , b ) , A ( r . $ $ . f r a g m e n t , b ) , A ( a . $ $ . f r a g m e n t , b ) , u = ! 0 ) } , o ( b ) { F ( t ) , F ( s . $ $ . f r a g m e n t , b ) , F ( r . $ $ . f r a g m e n t , b ) , F ( a . $ $ . f r a g m e n t , b ) , u = ! 1 } , d ( b ) { c [ e ] . d ( b ) , b & & k ( i ) , n [ 2 6 ] ( n u l l ) , z ( s , b ) , b & & k ( l ) , n [ 2 9 ] ( n u l l ) , z ( r , b ) , b & & k ( o ) , n [ 3 1 ] ( n u l l ) , z ( a , b ) } } } f u n c t i o n z A ( n , e , t ) { v a r D e ; l e t i , s ; c o n s t l = U . g e t Q u e r y P a r a m s ( ( D e = w i n d o w . l o c a t i o n ) = = n u l l ? v o i d 0 : D e . h r e f ) , r = [ " i d " , " u s e r I d " , " c r e a t e d " , " u p d a t e d " ] ; l e t o , a , u , f = [ ] , c = 1 , d = 0 , h = ! 1 , g = l . f i l t e r | | " " , y = l . s o r t | | " - c r e a t e d " , b = n e w L n , v = ! 1 ; U . s e t D o c u m e n t T i t l e ( " U s e r s " ) , M ( ) ; a s y n c f u n c t i o n S ( t e = 1 ) { r e t u r n t ( 1 0 , h = ! 0 ) , w e . U s e r s . g e t L i s t ( t e , 5 0 , { s o r t : y | | " - c r e a t e d " , f i l t e r : g } ) . t h e n ( b e = > { t e < = 1 & & $ ( ) , t ( 1 0 , h = ! 1 ) , t ( 1 , f = f . c o n c a t ( b e . i t e m s ) ) , t ( 9 , c = b e . p a g e ) , t ( 2 , d = b e . t o t a l I t e m s ) } ) . c a t c h ( b e = > { b e ! = = n u l l & & ( t ( 1 0 , h = ! 1 ) , c o n s o l e . w a r n ( b e ) , $ ( ) , w e . e r r o r R e s p o n s e H a n d l e r ( b e , ! 1 ) ) } ) } f u n c t i o n $ ( ) { t ( 1 , f = [ ] ) , t ( 9 , c = 1 ) , t ( 2 , d = 0 ) } f
< span class = "txt" > Application < /span>`,r=O(),o=_("a"),o.innerHTML=`<i class="ri-send-plane-2-line"></i >
< span class = "txt" > Mail settings < /span>`,a=O(),u=_("a"),u.innerHTML=`<i class="ri-archive-drawer-line"></i >
< span class = "txt" > Files storage < /span>`,f=O(),c=_("div"),c.textContent="Authentication",d=O(),h=_("a"),h.innerHTML=`<i class="ri-lock-password-line"></i >
< span class = "txt" > Auth providers < /span>`,g=O(),y=_("a"),y.innerHTML=`<i class="ri-key-line"></i >
< span class = "txt" > Token options < /span>`,b=O(),v=_("a"),v.innerHTML=`<i class="ri-shield-user-line"></i >
< span class = "txt" > Admins < / s p a n > ` , p ( i , " c l a s s " , " s i d e b a r - t i t l e " ) , p ( l , " h r e f " , " / s e t t i n g s " ) , p ( l , " c l a s s " , " s i d e b a r - l i s t - i t e m " ) , p ( o , " h r e f " , " / s e t t i n g s / m a i l " ) , p ( o , " c l a s s " , " s i d e b a r - l i s t - i t e m " ) , p ( u , " h r e f " , " / s e t t i n g s / s t o r a g e " ) , p ( u , " c l a s s " , " s i d e b a r - l i s t - i t e m " ) , p ( c , " c l a s s " , " s i d e b a r - t i t l e " ) , p ( h , " h r e f " , " / s e t t i n g s / a u t h - p r o v i d e r s " ) , p ( h , " c l a s s " , " s i d e b a r - l i s t - i t e m " ) , p ( y , " h r e f " , " / s e t t i n g s / t o k e n s " ) , p ( y , " c l a s s " , " s i d e b a r - l i s t - i t e m " ) , p ( v , " h r e f " , " / s e t t i n g s / a d m i n s " ) , p ( v , " c l a s s " , " s i d e b a r - l i s t - i t e m " ) , p ( t , " c l a s s " , " s i d e b a r - c o n t e n t " ) , p ( e , " c l a s s " , " p a g e - s i d e b a r s e t t i n g s - s i d e b a r " ) } , m ( C , M ) { w ( C , e , M ) , m ( e , t ) , m ( t , i ) , m ( t , s ) , m ( t , l ) , m ( t , r ) , m ( t , o ) , m ( t , a ) , m ( t , u ) , m ( t , f ) , m ( t , c ) , m ( t , d ) , m ( t , h ) , m ( t , g ) , m ( t , y ) , m ( t , b ) , m ( t , v ) , S | | ( $ = [ X e ( o i . c a l l ( n u l l , l , { p a t h : " / s e t t i n g s " } ) ) , X e ( M n . c a l l ( n u l l , l ) ) , X e ( o i . c a l l ( n u l l , o , { p a t h : " / s e t t i n g s / m a i l / ? . * " } ) ) , X e ( M n . c a l l ( n u l l , o ) ) , X e ( o i . c a l l ( n u l l , u , { p a t h : " / s e t t i n g s / s t o r a g e / ? . * " } ) ) , X e ( M n . c a l l ( n u l l , u ) ) , X e ( o i . c a l l ( n u l l , h , { p a t h : " / s e t t i n g s / a u t h - p r o v i d e r s / ? . * " } ) ) , X e ( M n . c a l l ( n u l l , h ) ) , X e ( o i . c a l l ( n u l l , y , { p a t h : " / s e t t i n g s / t o k e n s / ? . * " } ) ) , X e ( M n . c a l l ( n u l l , y ) ) , X e ( o i . c a l l ( n u l l , v , { p a t h : " / s e t t i n g s / a d m i n s / ? . * " } ) ) , X e ( M n . c a l l ( n u l l , v ) ) ] , S = ! 0 ) } , p : r e , i : r e , o : r e , d ( C ) { C & & k ( e ) , S = ! 1 , r t ( $ ) } } } c l a s s t l e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , n u l l , U A , A e , { } ) } } f u n c t i o n d g ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 3 1 ] = e [ t ] , i } f u n c t i o n p g ( n ) { l e t e , t ; r e t u r n e = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d d i s a b l e d " , n a m e : " i d " , $ $ s l o t s : { d e f a u l t : [ W A , ( { u n i q u e I d : i } ) = > ( { 3 0 : i } ) , ( { u n i q u e I d : i } ) = > [ i ? 1 0 7 3 7 4 1 8 2 4 : 0 ] ] } , $ $ s c o p e : { c t x : n } } } ) , { c ( ) { B ( e . $ $ . f r a g m e n t ) } , m ( i , s ) { V ( e , i , s ) , t = ! 0 } , p ( i , s ) { c o n s t l = { } ; s [ 0 ] & 1 0 7 3 7 4 1 8 2 6 | s [ 1 ] & 8 & & ( l . $ $ s c o p e = { d i r t y : s , c t x : i } ) , e . $ s e t ( l ) } , i ( i ) { t | | ( A ( e . $ $ . f r a g m e n t , i ) , t = ! 0 ) } , o ( i ) { F ( e . $ $ . f r a g m e n t , i ) , t = ! 1 } , d ( i ) { z ( e , i ) } } } f u n c t i o n W A ( n ) { l e t e , t , i , s , l , r , o , a , u ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " I D " , r = O ( ) , o = _ ( " i n p u t " ) , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " p r i m a r y " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " f o r " , l = n [ 3 0 ] ) , p ( o , " t y p e " , " t e x t " ) , p ( o , " i d " , a = n [ 3 0 ] ) , o . v a l u e = u = n [ 1 ] . i d , o . d i s a b l e d = ! 0 } , m ( f , c ) { w ( f , e , c ) , m ( e , t ) , m ( e , i ) , m ( e , s ) , w ( f , r , c ) , w ( f , o , c ) } , p ( f , c ) { c [ 0 ] & 1 0 7 3 7 4 1 8 2 4 & & l ! = = ( l = f [ 3 0 ] ) & & p ( e , " f o r " , l ) , c [ 0 ] & 1 0 7 3 7 4 1 8 2 4 & & a ! = = ( a = f [ 3 0 ] ) & & p ( o , " i d " , a ) , c [ 0 ] & 2 & & u ! = = ( u = f [ 1 ] . i d ) & & o . v a l u e ! = = u & & ( o . v a l u e = u ) } , d ( f ) { f & & k ( e ) , f & & k ( r ) , f & & k ( o ) } } } f u n c t i o n h g ( n ) { l e t e , t , i , s , l , r , o , a ; f u n c t i o n u ( ) { r e t u r n n [ 1 7 ] ( n [ 3 1 ] ) } f u n c t i o n f ( . . . c ) { r e t u r n n [ 1 8 ] ( n [ 3 1 ] , . . . c ) } r e t u r n { c ( ) { e = _ ( " f i g u r e " ) , t = _ ( " i m g " ) , l = O ( ) , e i ( t . s r c , i = " / _ / i m a g e s / a v a t a r s / a v a t a r " + n [ 3 1 ] + " . s v g " ) | | p ( t , " s r c " , i ) , p ( t , " a l t " , s = " A v a t a r " + n [ 3 1 ] ) , p ( e , " t a b i n d e x " , " 0 " ) , p ( e , " c l a s s " , r = " l i n k - f a d e t h u m b t h u m b - c i r c l e " + ( n [ 3 1 ] = = n [ 2 ] ? " t h u m b - a c t i v e " : " t h u m b - s m " ) ) } , m ( c , d ) { w ( c , e , d ) , m ( e , t ) , m ( e , l ) , o | | ( a = [ X ( e , " c l i c k " , u ) , X ( e , " k e y d o w n " , f ) ] , o = ! 0 ) } , p ( c , d ) { n = c , d [ 0 ] & 4 & & r ! = = ( r = " l i n k - f a d e t h u m b t h u m b - c i r c l e " + ( n [ 3 1 ] = = n [ 2 ] ? " t h u m b - a c t i v e " : " t h u m b - s m " ) ) & & p ( e , " c l a s s " , r ) } , d ( c ) { c & & k ( e ) , o = ! 1 , r t ( a ) } } } f u n c t i o n Y A ( n ) { l e t e , t , i , s , l , r , o , a , u , f ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " E m a i l " , r = O ( ) , o = _ ( " i n p u t " ) , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " e m a i l " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " f o r " , l = n [ 3 0 ] ) , p ( o , " t y p e " , " e m a i l " ) , p ( o , " a u t o c o m p l e t e " , " o f f " ) , p ( o , " i d " , a = n [ 3 0 ] ) , o . r e q u i r e d = ! 0 } , m ( c , d ) { w ( c , e , d ) , m ( e , t ) , m ( e , i ) , m ( e , s ) , w ( c , r , d ) , w ( c , o , d ) , $ e ( o , n [ 3 ] ) , u | | ( f = X ( o , " i n p u t " , n [ 1 9 ] ) , u = ! 0 ) } , p ( c , d ) { d [ 0 ] & 1 0 7 3 7 4 1 8 2 4 & & l ! = = ( l = c [ 3 0 ] ) & & p ( e , " f o r " , l ) , d [ 0 ] & 1 0 7 3 7 4 1 8 2 4 & & a ! = = ( a = c [ 3 0 ] ) & & p ( o , " i d " , a ) , d [ 0 ] & 8 & & o . v a l u e ! = = c [ 3 ] & & $ e ( o , c [ 3 ] ) } , d ( c ) { c & & k ( e ) , c & & k ( r ) , c & & k ( o ) , u = ! 1 , f ( ) } } } f u n c t i o n m g ( n ) { l e t e , t ; r e t u r n e = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d f o r m - f i e l d - t o g g l e " , $ $ s l o t s : { d e f a u l t : [ K A , ( { u n i q u e I d : i } ) = > ( { 3 0 : i } ) , ( { u n i q u e I d : i } ) = > [ i ? 1 0 7 3 7 4 1 8 2 4 : 0 ] ] } , $ $ s c o p e : { c t x : n } } } ) , { c ( ) { B ( e . $ $ . f r a g m e n t ) } , m ( i , s ) { V ( e , i , s ) , t = ! 0 } , p ( i , s ) { c o n s t l = { } ; s [ 0 ] & 1 0 7 3 7 4 1 8 4 0 | s [ 1 ] & 8 & & ( l . $ $ s c o p e = { d i r t y : s , c t x : i } ) , e . $ s e t ( l ) } , i ( i ) { t | | ( A ( e . $ $ . f r a g m e n t , i ) , t = ! 0 ) } , o ( i ) { F ( e . $ $ . f r a g m e n t , i ) , t = ! 1 } , d ( i ) { z ( e , i ) } } } f u n c t i o n K A ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " i n p u t " ) , i = O ( ) , s = _ ( " l a b e l " ) , l = H ( " C h a n g e p a s s w o r d " ) , p ( e , " t y p e " , " c h e c k b o x " ) , p ( e , " i d " , t = n [ 3 0 ] ) , p ( s , " f o r " , r = n [ 3 0 ] ) } , m ( u , f ) { w ( u , e , f ) , e . c h e c k e d = n [ 4 ] , w ( u , i , f ) , w ( u , s , f ) , m ( s , l ) , o | | ( a = X ( e , " c h a n g e " , n [ 2 0 ] ) , o = ! 0 ) } , p ( u , f ) { f [ 0 ] & 1 0 7 3 7 4 1 8 2 4 & & t ! = = ( t = u [ 3 0 ] ) & & p ( e , " i d " , t ) , f [ 0 ] & 1 6 & & ( e . c h e c k e d = u [ 4 ] ) , f [ 0 ] & 1 0 7 3 7 4 1 8 2 4 & & r ! = = ( r = u [ 3 0 ] ) & & p ( s , " f o r " , r ) } , d ( u ) { u & &
< span class = "txt" > Delete < / s p a n > ` , p ( e , " t y p e " , " b u t t o n " ) , p ( e , " c l a s s " , " d r o p d o w n - i t e m " ) } , m ( s , l ) { w ( s , e , l ) , t | | ( i = X ( e , " c l i c k " , n [ 1 5 ] ) , t = ! 0 ) } , p : r e , d ( s ) { s & & k ( e ) , t = ! 1 , i ( ) } } } f u n c t i o n Q A ( n ) { l e t e , t , i , s , l , r , o = n [ 1 ] . i s N e w ? " C r e a t e " : " S a v e c h a n g e s " , a , u , f , c , d , h = ! n [ 1 ] . i s N e w & & _ g ( n ) ; r e t u r n { c ( ) { h & & h . c ( ) , e = O ( ) , t = _ ( " b u t t o n " ) , i = _ ( " s p a n " ) , i . t e x t C o n t e n t = " C a n c e l " , s = O ( ) , l = _ ( " b u t t o n " ) , r = _ ( " s p a n " ) , a = H ( o ) , p ( i , " c l a s s " , " t x t " ) , p ( t , " t y p e " , " b u t t o n " ) , p ( t , " c l a s s " , " b t n b t n - s e c o n d a r y " ) , t . d i s a b l e d = n [ 6 ] , p ( r , " c l a s s " , " t x t " ) , p ( l , " t y p e " , " s u b m i t " ) , p ( l , " f o r m " , n [ 1 1 ] ) , p ( l , " c l a s s " , " b t n b t n - e x p a n d e d " ) , l . d i s a b l e d = u = ! n [ 1 0 ] | | n [ 6 ] , Q ( l , " b t n - l o a d i n g " , n [ 6 ] ) } , m ( g , y ) { h & & h . m ( g , y ) , w ( g , e , y ) , w ( g , t , y ) , m ( t , i ) , w ( g , s , y ) , w ( g , l , y ) , m ( l , r ) , m ( r , a ) , f = ! 0 , c | | ( d = X ( t , " c l i c k " , n [ 1 6 ] ) , c = ! 0 ) } , p ( g , y ) { g [ 1 ] . i s N e w ? h & & ( O e ( ) , F ( h , 1 , 1 , ( ) = > { h = n u l l } ) , T e ( ) ) : h ? ( h . p ( g , y ) , y [ 0 ] & 2 & & A ( h , 1 ) ) : ( h = _ g ( g ) , h . c ( ) , A ( h , 1 ) , h . m ( e . p a r e n t N o d e , e ) ) , ( ! f | | y [ 0 ] & 6 4 ) & & ( t . d i s a b l e d = g [ 6 ] ) , ( ! f | | y [ 0 ] & 2 ) & & o ! = = ( o = g [ 1 ] . i s N e w ? " C r e a t e " : " S a v e c h a n g e s " ) & & _ e ( a , o ) , ( ! f | | y [ 0 ] & 1 0 8 8 & & u ! = = ( u = ! g [ 1 0 ] | | g [ 6 ] ) ) & & ( l . d i s a b l e d = u ) , y [ 0 ] & 6 4 & & Q ( l , " b t n - l o a d i n g " , g [ 6 ] ) } , i ( g ) { f | | ( A ( h ) , f = ! 0 ) } , o ( g ) { F ( h ) , f = ! 1 } , d ( g ) { h & & h . d ( g ) , g & & k ( e ) , g & & k ( t ) , g & & k ( s ) , g & & k ( l ) , c = ! 1 , d ( ) } } } f u n c t i o n e E ( n ) { l e t e , t , i = { p o p u p : ! 0 , c l a s s : " a d m i n - p a n e l " , b e f o r e H i d e : n [ 2 3 ] , $ $ s l o t s : { f o o t e r : [ Q A ] , h e a d e r : [ x A ] , d e f a u l t : [ Z A ] } , $ $ s c o p e : { c t x : n } } ; r e t u r n e = n e w D i ( { p r o p s : i } ) , n [ 2 4 ] ( e ) , e . $ o n ( " h i d e " , n [ 2 5 ] ) , e . $ o n ( " s h o w " , n [ 2 6 ] ) , { c ( ) { B ( e . $ $ . f r a g m e n t ) } , m ( s , l ) { V ( e , s , l ) , t = ! 0 } , p ( s , l ) { c o n s t r = { } ; l [ 0 ] & 1 1 5 2 & & ( r . b e f o r e H i d e = s [ 2 3 ] ) , l [ 0 ] & 1 8 8 6 | l [ 1 ] & 8 & & ( r . $ $ s c o p e = { d i r t y : l , c t x : s } ) , e . $ s e t ( r ) } , i ( s ) { t | | ( A ( e . $ $ . f r a g m e n t , s ) , t = ! 0 ) } , o ( s ) { F ( e . $ $ . f r a g m e n t , s ) , t = ! 1 } , d ( s ) { n [ 2 4 ] ( n u l l ) , z ( e , s ) } } } f u n c t i o n t E ( n , e , t ) { l e t i ; c o n s t s = _ n ( ) , l = " a d m i n _ " + U . r a n d o m S t r i n g ( 5 ) ; l e t r , o = n e w U s , a = ! 1 , u = ! 1 , f = 0 , c = " " , d = " " , h = " " , g = ! 1 ; f u n c t i o n y ( K ) { r e t u r n v ( K ) , t ( 7 , u = ! 0 ) , r = = n u l l ? v o i d 0 : r . s h o w ( ) } f u n c t i o n b ( ) { r e t u r n r = = n u l l ? v o i d 0 : r . h i d e ( ) } f u n c t i o n v ( K ) { W i ( { } ) , t ( 1 , o = K ! = n u l l & & K . c l o n e ? K . c l o n e ( ) : n e w U s ) , S ( ) } f u n c t i o n S ( ) { t ( 4 , g = ! 1 ) , t ( 3 , c = ( o = = n u l l ? v o i d 0 : o . e m a i l ) | | " " ) , t ( 2 , f = ( o = = n u l l ? v o i d 0 : o . a v a t a r ) | | 0 ) , t ( 8 , d = " " ) , t ( 9 , h = " " ) } f u n c t i o n $ ( ) { i f ( a | | ! i ) r e t u r n ; t ( 6 , a = ! 0 ) ; c o n s t K = { e m a i l : c , a v a t a r : f } ; ( o . i s N e w | | g ) & & ( K . p a s s w o r d = d , K . p a s s w o r d C o n f i r m = h ) ; l e t Y ; o . i s N e w ? Y = w e . A d m i n s . c r e a t e ( K ) : Y = w e . A d m i n s . u p d a t e ( o . i d , K ) , Y . t h e n ( a s y n c n e = > { v a r f e ; t ( 7 , u = ! 1 ) , b ( ) , m n ( o . i s N e w ? " S u c c e s s f u l l y c r e a t e d a d m i n . " : " S u c c e s s f u l l y u p d a t e d a d m i n . " ) , s ( " s a v e " , n e ) , ( ( f e = w e . A u t h S t o r e . m o d e l ) = = n u l l ? v o i d 0 : f e . i d ) = = = n e . i d & & w e . A u t h S t o r e . s a v e ( w e . A u t h S t o r e . t o k e n , n e ) } ) . c a t c h ( n e = > { w e . e r r o r R e s p o n s e H a n d l e r ( n e ) } ) . f i n a l l y ( ( ) = > { t ( 6 , a = ! 1 ) } ) } f u n c t i o n C ( ) { ! ( o ! = n u l l & & o . i d ) | | C i ( " D o y o u r e a l l y w a n t t o d e l e t e t h e s e l e c t e d a d m i n ? " , ( ) = > w e . A d m i n s . d e l e t e ( o . i d ) . t h e n ( ( ) = > { t ( 7 , u = ! 1 ) , b ( ) , m n ( " S u c c e s s f u l l y d e l e t e d a d m i n . " ) , s ( " d e l e t e " , o ) } ) . c a t c h ( K = > { w e . e r r o r R e s p o n s e H a n d l e r ( K ) } ) ) } c o n s t M = ( ) = > C ( ) , T = ( ) = > b ( ) , E = K = > t ( 2 , f = K ) , D = ( K , Y ) = > { ( Y . c o d e = = = " E n t e r " | | Y . c o d e = = = " S p a c e " ) & & ( Y . p r e v e n t D e f a u l t ( ) , t ( 2 , f = K ) ) } ; f u n c t i o n P ( ) { c = t h i s . v a l u e , t ( 3 , c ) } f u n c t i o n L ( ) { g = t h i s . c h e c k e d , t ( 4 , g ) } f u n c t i o n N ( ) { d = t h i s . v a l u e , t ( 8 , d ) } f u n c t i o n R ( ) { h = t h i s . v a l u e , t ( 9 , h ) } c o n s t J = ( ) = > i & & u ? ( C i ( " Y o u h a v e u n s a v e d c h a n g e s . D o y o u r e a l l y w a n t t o c l o s e t h e p a n e l ? " , ( ) = > { t ( 7 , u = ! 1 ) , b ( ) } ) , ! 1 ) : ! 0 ; f u n c t i o n W ( K ) { h e [ K ? " u n s h i f t " : " p u s h " ] ( ( ) = > { r = K , t ( 5 , r ) } ) } f u n c t i o n q ( K ) { u t . c a l l ( t h i s , n , K ) } f u n c t i o n G ( K ) { u t . c a l l ( t h i s , n , K ) } r e t u r n n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y [ 0 ] & 3 0 & & t ( 1 0 , i = o . i s N e w & & c ! = " " | | g | | c ! = = o . e m a i l | | f ! = = o . a v a t a r ) } , [ b , o , f , c , g , r , a , u , d , h , i , l , $ , C , y , M , T , E , D , P , L , N , R , J , W , q , G ] } c l a s s n E e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , t E , e E , A e , { s h o w : 1 4 , h i d e : 0 } , n u l l , [ - 1 , - 1 ] ) } g e t s h o w ( ) { r e t u r n t h i s . $ $ . c t x [ 1 4 ] } g e t h i d e ( ) { r e t u r n t h i s . $ $ . c t x [ 0 ] } } f u n c t i o n b g ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 2 1 ] = e [ t ] , i } f u n c t i o n i E ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " i d " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " p r i m a r y " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n s E ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " i " ) , i = O ( ) , s = _ ( " s p a n " ) , s . t e x t C o n t e n t = " e m a i l " , p ( t , " c l a s s " , U . g e t F i e l d T y p e I c o n ( " e m a i l " ) ) , p ( s , " c l a s s " , " t x t " ) , p ( e , " c l a s s " , " c o l - h e a d e r - c o n t e n t " ) } , m ( l , r ) { w ( l , e , r ) , m ( e , t ) , m ( e , i ) , m ( e , s ) } , p : r e , d ( l ) { l & & k ( e ) } } } f u n c t i o n l E ( n ) { l e t e , t , i , s ; r e t u r n { c ( ) { e =
` },m(t,i){w(t,e,i)},p:re,d(t){t&&k(e)}}}function vg(n){let e,t,i;return{c(){e=_("button"),e.innerHTML='<span class="txt">Clear filters</span>',p(e,"type","button"),p(e,"class","btn btn-hint btn-expanded m-t-sm")},m(s,l){w(s,e,l),t||(i=X(e,"click",n[15]),t=!0)},p:re,d(s){s&&k(e),t=!1,i()}}}function kg(n){let e;return{c(){e=_("span"),e.textContent="You",p(e,"class","label label-warning m-l-5")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function wg(n,e){let t,i,s,l,r,o,a,u,f,c,d,h,g=e[21].email+"",y,b,v,S, $ ,C,M,T,E,D,P,L,N,R;u=new No({props:{id:e[21].id}});let J=e[21].id===e[6].id&&kg(); $ =new $ i({props:{date:e[21].created}}),T=new $ i({props:{date:e[21].updated}});function W(){return e[13](e[21])}function q(...G){return e[14](e[21],...G)}return{key:n,first:null,c(){t=_("tr"),i=_("td"),s=_("figure"),l=_("img"),o=O(),a=_("td"),B(u. $ $ .fragment),f=O(),J&&J.c(),c=O(),d=_("td"),h=_("span"),y=H(g),v=O(),S=_("td"),B( $ . $ $ .fragment),C=O(),M=_("td"),B(T. $ $ .fragment),E=O(),D=_("td"),D.innerHTML='<i class="ri-arrow-right-line"></i>',P=O(),ei(l.src,r="/_/images/avatars/avatar"+(e[21].avatar||0)+".svg")||p(l,"src",r),p(l,"alt","Admin avatar"),p(s,"class","thumb thumb-sm thumb-circle"),p(i,"class","min-width"),p(a,"class","col-type-text col-field-id"),p(h,"class","txt txt-ellipsis"),p(h,"title",b=e[21].email),p(d,"class","col-type-email col-field-email"),p(S,"class","col-type-date col-field-created"),p(M,"class","col-type-date col-field-updated"),p(D,"class","col-type-action min-width"),p(t,"tabindex","0"),p(t,"class","row-handle"),this.first=t},m(G,K){w(G,t,K),m(t,i),m(i,s),m(s,l),m(t,o),m(t,a),V(u,a,null),m(a,f),J&&J.m(a,null),m(t,c),m(t,d),m(d,h),m(h,y),m(t,v),m(t,S),V( $ ,S,null),m(t,C),m(t,M),V(T,M,null),m(t,E),m(t,D),m(t,P),L=!0,N||(R=[X(t,"click",W),X(t,"keydown",q)],N=!0)},p(G,K){e=G,(!L||K&16&&!ei(l.src,r="/_/images/avatars/avatar"+(e[21].avatar||0)+".svg"))&&p(l,"src",r);const Y={};K&16&&(Y.id=e[21].id),u. $ set(Y),e[21].id===e[6].id?J||(J=kg(),J.c(),J.m(a,null)):J&&(J.d(1),J=null),(!L||K&16)&&g!==(g=e[21].email+"")&&_e(y,g),(!L||K&16&&b!==(b=e[21].email))&&p(h,"title",b);const ne={};K&16&&(ne.date=e[21].created), $ . $ set(ne);const fe={};K&16&&(fe.date=e[21].updated),T. $ set(fe)},i(G){L||(A(u. $ $ .fragment,G),A( $ . $ $ .fragment,G),A(T. $ $ .fragment,G),L=!0)},o(G){F(u. $ $ .fragment,G),F( $ . $ $ .fragment,G),F(T. $ $ .fragment,G),L=!1},d(G){G&&k(t),z(u),J&&J.d(),z( $ ),z(T),N=!1,rt(R)}}}function Sg(n){let e,t,i=n[4].length+"",s,l,r=n[4].length+"",o;return{c(){e=_("small"),t=H("Showing "),s=H(i),l=H(" of "),o=H(r),p(e,"class","block txt-hint txt-right m-t-sm")},m(a,u){w(a,e,u),m(e,t),m(e,s),m(e,l),m(e,o)},p(a,u){u&16&&i!==(i=a[4].length+"")&&_e(s,i),u&16&&r!==(r=a[4].length+"")&&_e(o,r)},d(a){a&&k(e)}}}function uE(n){let e,t,i,s,l,r,o,a,u,f,c,d,h,g,y,b,v,S, $ ,C,M,T,E,D,P,L,N,R,J,W,q,G,K,Y=[],ne=new Map,fe,ye,se,Z,De,te;e=new tl({}),c=new Ao({props:{value:n[1],placeholder:"Search filter, eg. email='test@example.com'",extraAutocompleteKeys:["email"]}}),c. $ on("submit",n[8]);function be(ge){n[9](ge)}let ue={class:"col-type-text",name:"id", $ $ slots:{default:[iE]}, $ $ scope:{ctx:n}};n[2]!==void 0&&(ue.sort=n[2]), $ =new Qt({props:ue}),he.push(()=>Re( $ ,"sort",be));function ie(ge){n[10](ge)}let ve={class:"col-type-email col-field-email",name:"email", $ $ slots:{default:[sE]}, $ $ scope:{ctx:n}};n[2]!==void 0&&(ve.sort=n[2]),T=new Qt({props:ve}),he.push(()=>Re(T,"sort",ie));function He(ge){n[11](ge)}let Ie={class:"col-type-date col-field-created",name:"created", $ $ slots:{default:[lE]}, $ $ scope:{ctx:n}};n[2]!==void 0&&(Ie.sort=n[2]),P=new Qt({props:Ie}),he.push(()=>Re(P,"sort",He));function qe(ge){n[12](ge)}let oe={class:"col-type-date col-field-updated",name:"updated", $ $ slots:{default:[rE]}, $ $ scope:{ctx:n}};n[2]!==void 0&&(oe.sort=n[2]),R=new Qt({props:oe}),he.push(()=>Re(R,"sort",qe));let le=n[4];const ke=ge=>ge[21].id;for(let ge=0;ge<le.length;ge+=1){let Ee=bg(n,le,ge),x=ke(Ee);ne.set(x,Y[ge]=wg(x,Ee))}let Ve=null;le.length||(Ve=yg(n));let ze=n[4].length&&Sg(n),Ze={};return se=new nE({props:Ze}),n[16](se),se. $ on("save",n[17]),se. $ on("delete",n[18]),{c(){B(e. $ $ .fra
< div class = "breadcrumb-item" > Admins < /div>`,r=O(),o=_("div"),a=O(),u=_("button"),u.innerHTML=`<i class="ri-add-line"></i >
< span class = "txt" > New admin < / s p a n > ` , f = O ( ) , B ( c . $ $ . f r a g m e n t ) , d = O ( ) , h = _ ( " d i v " ) , g = _ ( " t a b l e " ) , y = _ ( " t h e a d " ) , b = _ ( " t r " ) , v = _ ( " t h " ) , S = O ( ) , B ( $ . $ $ . f r a g m e n t ) , M = O ( ) , B ( T . $ $ . f r a g m e n t ) , D = O ( ) , B ( P . $ $ . f r a g m e n t ) , N = O ( ) , B ( R . $ $ . f r a g m e n t ) , W = O ( ) , q = _ ( " t h " ) , G = O ( ) , K = _ ( " t b o d y " ) ; f o r ( l e t g e = 0 ; g e < Y . l e n g t h ; g e + = 1 ) Y [ g e ] . c ( ) ; V e & & V e . c ( ) , f e = O ( ) , z e & & z e . c ( ) , y e = O ( ) , B ( s e . $ $ . f r a g m e n t ) , p ( l , " c l a s s " , " b r e a d c r u m b s " ) , p ( o , " c l a s s " , " f l e x - f i l l " ) , p ( u , " t y p e " , " b u t t o n " ) , p ( u , " c l a s s " , " b t n b t n - e x p a n d e d " ) , p ( s , " c l a s s " , " p a g e - h e a d e r " ) , p ( v , " c l a s s " , " m i n - w i d t h " ) , p ( q , " c l a s s " , " c o l - t y p e - a c t i o n m i n - w i d t h " ) , p ( g , " c l a s s " , " t a b l e " ) , Q ( g , " t a b l e - l o a d i n g " , n [ 5 ] ) , p ( h , " c l a s s " , " t a b l e - w r a p p e r " ) , p ( i , " c l a s s " , " p a g e - w r a p p e r " ) } , m ( g e , E e ) { V ( e , g e , E e ) , w ( g e , t , E e ) , w ( g e , i , E e ) , m ( i , s ) , m ( s , l ) , m ( s , r ) , m ( s , o ) , m ( s , a ) , m ( s , u ) , m ( i , f ) , V ( c , i , n u l l ) , m ( i , d ) , m ( i , h ) , m ( h , g ) , m ( g , y ) , m ( y , b ) , m ( b , v ) , m ( b , S ) , V ( $ , b , n u l l ) , m ( b , M ) , V ( T , b , n u l l ) , m ( b , D ) , V ( P , b , n u l l ) , m ( b , N ) , V ( R , b , n u l l ) , m ( b , W ) , m ( b , q ) , m ( g , G ) , m ( g , K ) ; f o r ( l e t x = 0 ; x < Y . l e n g t h ; x + = 1 ) Y [ x ] . m ( K , n u l l ) ; V e & & V e . m ( K , n u l l ) , m ( i , f e ) , z e & & z e . m ( i , n u l l ) , w ( g e , y e , E e ) , V ( s e , g e , E e ) , Z = ! 0 , D e | | ( t e = X ( u , " c l i c k " , n [ 7 ] ) , D e = ! 0 ) } , p ( g e , [ E e ] ) { c o n s t x = { } ; E e & 2 & & ( x . v a l u e = g e [ 1 ] ) , c . $ s e t ( x ) ; c o n s t a e = { } ; E e & 1 6 7 7 7 2 1 6 & & ( a e . $ $ s c o p e = { d i r t y : E e , c t x : g e } ) , ! C & & E e & 4 & & ( C = ! 0 , a e . s o r t = g e [ 2 ] , j e ( ( ) = > C = ! 1 ) ) , $ . $ s e t ( a e ) ; c o n s t B e = { } ; E e & 1 6 7 7 7 2 1 6 & & ( B e . $ $ s c o p e = { d i r t y : E e , c t x : g e } ) , ! E & & E e & 4 & & ( E = ! 0 , B e . s o r t = g e [ 2 ] , j e ( ( ) = > E = ! 1 ) ) , T . $ s e t ( B e ) ; c o n s t v t = { } ; E e & 1 6 7 7 7 2 1 6 & & ( v t . $ $ s c o p e = { d i r t y : E e , c t x : g e } ) , ! L & & E e & 4 & & ( L = ! 0 , v t . s o r t = g e [ 2 ] , j e ( ( ) = > L = ! 1 ) ) , P . $ s e t ( v t ) ; c o n s t i t = { } ; E e & 1 6 7 7 7 2 1 6 & & ( i t . $ $ s c o p e = { d i r t y : E e , c t x : g e } ) , ! J & & E e & 4 & & ( J = ! 0 , i t . s o r t = g e [ 2 ] , j e ( ( ) = > J = ! 1 ) ) , R . $ s e t ( i t ) , E e & 1 2 2 & & ( l e = g e [ 4 ] , O e ( ) , Y = o t ( Y , E e , k e , 1 , g e , l e , n e , K , L t , w g , n u l l , b g ) , T e ( ) , ! l e . l e n g t h & & V e ? V e . p ( g e , E e ) : l e . l e n g t h ? V e & & ( V e . d ( 1 ) , V e = n u l l ) : ( V e = y g ( g e ) , V e . c ( ) , V e . m ( K , n u l l ) ) ) , E e & 3 2 & & Q ( g , " t a b l e - l o a d i n g " , g e [ 5 ] ) , g e [ 4 ] . l e n g t h ? z e ? z e . p ( g e , E e ) : ( z e = S g ( g e ) , z e . c ( ) , z e . m ( i , n u l l ) ) : z e & & ( z e . d ( 1 ) , z e = n u l l ) ; c o n s t g t = { } ; s e . $ s e t ( g t ) } , i ( g e ) { i f ( ! Z ) { A ( e . $ $ . f r a g m e n t , g e ) , A ( c . $ $ . f r a g m e n t , g e ) , A ( $ . $ $ . f r a g m e n t , g e ) , A ( T . $ $ . f r a g m e n t , g e ) , A ( P . $ $ . f r a g m e n t , g e ) , A ( R . $ $ . f r a g m e n t , g e ) ; f o r ( l e t E e = 0 ; E e < l e . l e n g t h ; E e + = 1 ) A ( Y [ E e ] ) ; A ( s e . $ $ . f r a g m e n t , g e ) , Z = ! 0 } } , o ( g e ) { F ( e . $ $ . f r a g m e n t , g e ) , F ( c . $ $ . f r a g m e n t , g e ) , F ( $ . $ $ . f r a g m e n t , g e ) , F ( T . $ $ . f r a g m e n t , g e ) , F ( P . $ $ . f r a g m e n t , g e ) , F ( R . $ $ . f r a g m e n t , g e ) ; f o r ( l e t E e = 0 ; E e < Y . l e n g t h ; E e + = 1 ) F ( Y [ E e ] ) ; F ( s e . $ $ . f r a g m e n t , g e ) , Z = ! 1 } , d ( g e ) { z ( e , g e ) , g e & & k ( t ) , g e & & k ( i ) , z ( c ) , z ( $ ) , z ( T ) , z ( P ) , z ( R ) ; f o r ( l e t E e = 0 ; E e < Y . l e n g t h ; E e + = 1 ) Y [ E e ] . d ( ) ; V e & & V e . d ( ) , z e & & z e . d ( ) , g e & & k ( y e ) , n [ 1 6 ] ( n u l l ) , z ( s e , g e ) , D e = ! 1 , t e ( ) } } } f u n c t i o n f E ( n , e , t ) { v a r D ; l e t i ; h n ( n , V u , P = > t ( 6 , i = P ) ) ; c o n s t s = U . g e t Q u e r y P a r a m s ( ( D = w i n d o w . l o c a t i o n ) = = n u l l ? v o i d 0 : D . h r e f ) ; l e t l , r = [ ] , o = ! 1 , a = s . f i l t e r | | " " , u = s . s o r t | | " - c r e a t e d " ; U . s e t D o c u m e n t T i t l e ( " A d m i n s " ) ; f u n c t i o n f ( ) { r e t u r n t ( 5 , o = ! 0 ) , t ( 4 , r = [ ] ) , w e . A d m i n s . g e t F u l l L i s t ( 1 0 0 , { s o r t : u | | " - c r e a t e d " , f i l t e r : a } ) . t h e n ( P = > { t ( 4 , r = P ) , t ( 5 , o = ! 1 ) } ) . c a t c h ( P = > { P ! = = n u l l & & ( t ( 5 , o = ! 1 ) , c o n s o l e . w a r n ( P ) , c ( ) , w e . e r r o r R e s p o n s e H a n d l e r ( P , ! 1 ) ) } ) } f u n c t i o n c ( ) { t ( 4 , r = [ ] ) } c o n s t d = ( ) = > l = = n u l l ? v o i d 0 : l . s h o w ( ) , h = P = > t ( 1 , a = P . d e t a i l ) ; f u n c t i o n g ( P ) { u = P , t ( 2 , u ) } f u n c t i o n y ( P ) { u = P , t ( 2 , u ) } f u n c t i o n b ( P ) { u = P , t ( 2 , u ) } f u n c t i o n v ( P ) { u = P , t ( 2 , u ) } c o n s t S = P = > l = = n u l l ? v o i d 0 : l . s h o w ( P ) , $ = ( P , L ) = > { ( L . c o d e = = = " E n t e r " | | L . c o d e = = = " S p a c e " ) & & ( L . p r e v e n t D e f a u l t ( ) , l = = n u l l | | l . s h o w ( P ) ) } , C = ( ) = > t ( 1 , a = " " ) ; f u n c t i o n M ( P ) { h e [ P ? " u n s h i f t " : " p u s h " ] ( ( ) = > { l = P , t ( 3 , l ) } ) } c o n s t T = ( ) = > f ( ) , E = ( ) = > f ( ) ; r e t u r n n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 6 & & u ! = = - 1 & & a ! = = - 1 & & ( U . r e p l a c e C l i e n t Q u e r y P a r a m s ( { f i l t e r : a , s o r t : u } ) , f ( ) ) } , [ f , a , u , l , r , o , i , d , h , g , y , b , v , S , $ , C , M , T , E ] } c l a s s c E e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , f E , u E , A e , { l o a d A d m i n s : 0 } ) } g e t l o a d A d m i n s ( ) { r e t u r n t h i s . $ $ . c t x [ 0 ] } } f u n c t i o n d E ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " E m a i l " ) , s = O ( ) , l = _ ( " i n p u t " ) , p ( e , " f o r " , i = n [ 7 ] ) , p ( l , " t y p e " , " e m a i l " ) , p ( l , " i d " , r = n [ 7 ] ) , l . r e q u i r e d = ! 0 , l . a u t o f o c u s = ! 0 } , m ( u , f ) { w ( u , e , f ) , m ( e , t ) , w ( u , s , f ) , w ( u , l , f ) , $ e ( l , n [ 0 ] ) , l . f o c u s ( ) , o | | ( a = X ( l , " i n p u t " , n [ 4 ] ) , o = ! 0 ) } , p ( u , f ) { f & 1 2 8 & & i ! = = ( i = u [ 7 ] ) & & p ( e , " f o r " , i ) , f & 1 2 8 & & r ! = = ( r = u [ 7 ] ) & & p ( l , " i d " , r ) , f & 1 & & l . v a l u e ! = = u [ 0 ] & & $ e ( l , u [ 0 ] ) } , d ( u ) { u & & k ( e ) , u & & k ( s ) , u & & k ( l ) , o = ! 1 , a ( ) } } } f u n c t i o n p E ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " P a s s w o r d " ) , s = O ( ) , l = _ ( " i n p u t " ) , o = O ( ) , a = _ ( " d i v " ) , u = _ ( " a " ) , u . t e x t C o n t e n t = " F o r g o t t e n p a s s w o r d ? " , p ( e , " f o r " , i = n [ 7 ] ) , p ( l , " t y
< i class = "ri-arrow-right-line" > < /i>`,p(t,"class","content txt-center m-b-base"),p(a,"type","submit"),p(a,"class","btn btn-lg btn-block btn-next"),Q(a,"btn-disabled",n[2]),Q(a,"btn-loading",n[2]),p(e,"class","block")},m(d,h){w(d,e,h),m(e,t),m(e,i),V(s,e,null),m(e,l),V(r,e,null),m(e,o),m(e,a),u=!0,f||(c=X(e,"submit",Kt(n[3])),f=!0)},p(d,h){const g={};h&385&&(g.$$scope={dirty:h,ctx:d}),s.$set(g);const y={};h&386&&(y.$$scope={dirty:h,ctx:d}),r.$set(y),h&4&&Q(a,"btn-disabled",d[2]),h&4&&Q(a,"btn-loading",d[2])},i(d){u||(A(s.$$.fragment,d),A(r.$$.fragment,d),u=!0)},o(d){F(s.$$.fragment,d),F(r.$$.fragment,d),u=!1},d(d){d&&k(e),z(s),z(r),f=!1,c()}}}function mE(n){let e,t;return e=new P0({props:{$$slots:{default:[hE]},$$scope:{ctx:n}}}),{c(){B(e.$$.fragment)},m(i,s){V(e,i,s),t=!0},p(i,[s]){const l={};s&263&&(l.$$scope={dirty:s,ctx:i}),e.$set(l)},i(i){t||(A(e.$$.fragment,i),t=!0)},o(i){F(e.$$.fragment,i),t=!1},d(i){z(e,i)}}}function gE(n,e,t){var f;const i=U.getQueryParams((f=window.location)==null?void 0:f.href);let s=i.demoEmail||"",l=i.demoPassword||"",r=!1;function o(){if(!r)return t(2,r=!0),we.Admins.authViaEmail(s,l).then(()=>{Gs("/ ")}).catch(()=>{O0(" Invalid login credentials . ")}).finally(()=>{t(2,r=!1)})}function a(){s=this.value,t(0,s)}function u(){l=this.value,t(1,l)}return[s,l,r,o,a,u]}class _E extends Fe{constructor(e){super(),Le(this,e,gE,mE,Ae,{})}}function bE(n){let e,t,i,s,l,r,o,a,u,f,c,d,h,g,y,b,v,S;return i=new Ne({props:{class:" form - field required ",name:" meta . appName ",$$slots:{default:[vE,({uniqueId:$})=>({12:$}),({uniqueId:$})=>$?4096:0]},$$scope:{ctx:n}}}),r=new Ne({props:{class:" form - field required ",name:" meta . appUrl ",$$slots:{default:[kE,({uniqueId:$})=>({12:$}),({uniqueId:$})=>$?4096:0]},$$scope:{ctx:n}}}),a=new Ne({props:{class:" form - field required ",name:" logs . maxDays ",$$slots:{default:[wE,({uniqueId:$})=>({12:$}),({uniqueId:$})=>$?4096:0]},$$scope:{ctx:n}}}),{c(){e=_(" div "),t=_(" div "),B(i.$$.fragment),s=O(),l=_(" div "),B(r.$$.fragment),o=O(),B(a.$$.fragment),u=O(),f=_(" div "),c=_(" div "),d=O(),h=_(" button "),g=_(" span "),g.textContent=" Save changes ",p(t," class "," col - lg - 6 "),p(l," class "," col - lg - 6 "),p(c," class "," flex - fill "),p(g," class "," txt "),p(h," type "," submit "),p(h," class "," btn btn - expanded "),h.disabled=y=!n[3]||n[2],Q(h," btn - loading ",n[2]),p(f," class "," col - lg - 12 flex "),p(e," class "," grid ")},m($,C){w($,e,C),m(e,t),V(i,t,null),m(e,s),m(e,l),V(r,l,null),m(e,o),V(a,e,null),m(e,u),m(e,f),m(f,c),m(f,d),m(f,h),m(h,g),b=!0,v||(S=X(h," click ",n[9]),v=!0)},p($,C){const M={};C&12289&&(M.$$scope={dirty:C,ctx:$}),i.$set(M);const T={};C&12289&&(T.$$scope={dirty:C,ctx:$}),r.$set(T);const E={};C&12289&&(E.$$scope={dirty:C,ctx:$}),a.$set(E),(!b||C&12&&y!==(y=!$[3]||$[2]))&&(h.disabled=y),C&4&&Q(h," btn - loading ",$[2])},i($){b||(A(i.$$.fragment,$),A(r.$$.fragment,$),A(a.$$.fragment,$),b=!0)},o($){F(i.$$.fragment,$),F(r.$$.fragment,$),F(a.$$.fragment,$),b=!1},d($){$&&k(e),z(i),z(r),z(a),v=!1,S()}}}function yE(n){let e;return{c(){e=_(" div "),p(e," class "," loader ")},m(t,i){w(t,e,i)},p:re,i:re,o:re,d(t){t&&k(e)}}}function vE(n){let e,t,i,s,l,r,o,a;return{c(){e=_(" label "),t=H(" Application name "),s=O(),l=_(" input "),p(e," for ",i=n[12]),p(l," type "," text "),p(l," id ",r=n[12]),l.required=!0},m(u,f){w(u,e,f),m(e,t),w(u,s,f),w(u,l,f),$e(l,n[0].meta.appName),o||(a=X(l," input ",n[6]),o=!0)},p(u,f){f&4096&&i!==(i=u[12])&&p(e," for ",i),f&4096&&r!==(r=u[12])&&p(l," id ",r),f&1&&l.value!==u[0].meta.appName&&$e(l,u[0].meta.appName)},d(u){u&&k(e),u&&k(s),u&&k(l),o=!1,a()}}}function kE(n){let e,t,i,s,l,r,o,a;return{c(){e=_(" label "),t=H(" Application url "),s=O(),l=_(" input "),p(e," for ",i=n[12]),p(l," type "," text "),p(l," id ",r=n[12]),l.required=!0},m(u,f){w(u,e,f),m(e,t),w(u,s,f),w(u,l,f),$e(l,n[0].meta.appUrl),o||(a=X(l," input ",n[7]),o=!0)},p(u,f){f&4096&&i!==(i=u[12])&&p(e," for ",i),f&4096&&r!==(r=u[12])&&p(l," id ",r),f&1&&l.value!==u[0].meta.appUrl&&$e(l,u[0].meta.appUrl)},d(u){u&&k(e),u&&k(s),u&&k(l),o=!1,a()}}}function wE(n){let e,t,i,s,l,r,o,a;return{c(){e=_(" label "),t=H(" Logs max days retention "),s=O(),l=_(" input "),p(e," for ",i=n[12]),p(l," type "," num
< div class = "breadcrumb-item" > Application < / d i v > < / n a v > ` , l = O ( ) , r = _ ( " d i v " ) , o = _ ( " f o r m " ) , u . c ( ) , p ( s , " c l a s s " , " p a g e - h e a d e r " ) , p ( o , " c l a s s " , " p a n e l " ) , p ( o , " a u t o c o m p l e t e " , " o f f " ) , p ( r , " c l a s s " , " w r a p p e r " ) , p ( i , " c l a s s " , " p a g e - w r a p p e r " ) } , m ( b , v ) { V ( e , b , v ) , w ( b , t , v ) , w ( b , i , v ) , m ( i , s ) , m ( i , l ) , m ( i , r ) , m ( r , o ) , g [ a ] . m ( o , n u l l ) , f = ! 0 , c | | ( d = X ( o , " s u b m i t " , K t ( n [ 4 ] ) ) , c = ! 0 ) } , p ( b , [ v ] ) { l e t S = a ; a = y ( b ) , a = = = S ? g [ a ] . p ( b , v ) : ( O e ( ) , F ( g [ S ] , 1 , 1 , ( ) = > { g [ S ] = n u l l } ) , T e ( ) , u = g [ a ] , u ? u . p ( b , v ) : ( u = g [ a ] = h [ a ] ( b ) , u . c ( ) ) , A ( u , 1 ) , u . m ( o , n u l l ) ) } , i ( b ) { f | | ( A ( e . $ $ . f r a g m e n t , b ) , A ( u ) , f = ! 0 ) } , o ( b ) { F ( e . $ $ . f r a g m e n t , b ) , F ( u ) , f = ! 1 } , d ( b ) { z ( e , b ) , b & & k ( t ) , b & & k ( i ) , g [ a ] . d ( ) , c = ! 1 , d ( ) } } } f u n c t i o n $ E ( n , e , t ) { l e t i , s = { } , l = ! 1 , r = ! 1 , o = " " ; U . s e t D o c u m e n t T i t l e ( " A p p l i c a t i o n s e t t i n g s " ) , a ( ) ; a s y n c f u n c t i o n a ( ) { t ( 1 , l = ! 0 ) ; t r y { c o n s t y = a w a i t w e . S e t t i n g s . g e t A l l ( ) | | { } ; f ( y ) } c a t c h ( y ) { w e . e r r o r R e s p o n s e H a n d l e r ( y ) } t ( 1 , l = ! 1 ) } a s y n c f u n c t i o n u ( ) { i f ( ! ( r | | ! i ) ) { t ( 2 , r = ! 0 ) ; t r y { c o n s t y = a w a i t w e . S e t t i n g s . u p d a t e ( U . f i l t e r R e d a c t e d P r o p s ( s ) ) ; f ( y ) , m n ( " S u c c e s s f u l l y s a v e d a p p l i c a t i o n s e t t i n g s . " ) } c a t c h ( y ) { w e . e r r o r R e s p o n s e H a n d l e r ( y ) } t ( 2 , r = ! 1 ) } } f u n c t i o n f ( y = { } ) { t ( 0 , s = { m e t a : ( y = = n u l l ? v o i d 0 : y . m e t a ) | | { } , l o g s : ( y = = n u l l ? v o i d 0 : y . l o g s ) | | { } } ) , t ( 5 , o = J S O N . s t r i n g i f y ( s ) ) } f u n c t i o n c ( ) { s . m e t a . a p p N a m e = t h i s . v a l u e , t ( 0 , s ) } f u n c t i o n d ( ) { s . m e t a . a p p U r l = t h i s . v a l u e , t ( 0 , s ) } f u n c t i o n h ( ) { s . l o g s . m a x D a y s = T t ( t h i s . v a l u e ) , t ( 0 , s ) } c o n s t g = ( ) = > u ( ) ; r e t u r n n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 3 3 & & t ( 3 , i = o ! = J S O N . s t r i n g i f y ( s ) ) } , [ s , l , r , i , u , o , c , d , h , g ] } c l a s s C E e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , $ E , S E , A e , { } ) } } f u n c t i o n M E ( n ) { l e t e , t , i , s = [ { t y p e : " p a s s w o r d " } , { a u t o c o m p l e t e : " n e w - p a s s w o r d " } , n [ 5 ] ] , l = { } ; f o r ( l e t r = 0 ; r < s . l e n g t h ; r + = 1 ) l = c t ( l , s [ r ] ) ; r e t u r n { c ( ) { e = _ ( " i n p u t " ) , c i ( e , l ) } , m ( r , o ) { w ( r , e , o ) , e . a u t o f o c u s & & e . f o c u s ( ) , n [ 7 ] ( e ) , $ e ( e , n [ 0 ] ) , t | | ( i = X ( e , " i n p u t " , n [ 8 ] ) , t = ! 0 ) } , p ( r , o ) { c i ( e , l = b n ( s , [ { t y p e : " p a s s w o r d " } , { a u t o c o m p l e t e : " n e w - p a s s w o r d " } , o & 3 2 & & r [ 5 ] ] ) ) , o & 1 & & e . v a l u e ! = = r [ 0 ] & & $ e ( e , r [ 0 ] ) } , d ( r ) { r & & k ( e ) , n [ 7 ] ( n u l l ) , t = ! 1 , i ( ) } } } f u n c t i o n O E ( n ) { l e t e , t , i , s , l , r , o = [ { r e a d O n l y : ! 0 } , { t y p e : " t e x t " } , { p l a c e h o l d e r : n [ 1 ] } , n [ 5 ] ] , a = { } ; f o r ( l e t u = 0 ; u < o . l e n g t h ; u + = 1 ) a = c t ( a , o [ u ] ) ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " b u t t o n " ) , t . i n n e r H T M L = ' < i c l a s s = " r i - k e y - l i n e " > < / i > ' , i = O ( ) , s = _ ( " i n p u t " ) , p ( t , " t y p e " , " b u t t o n " ) , p ( t , " c l a s s " , " b t n b t n - s e c o n d a r y b t n - c i r c l e " ) , p ( e , " c l a s s " , " f o r m - f i e l d - a d d o n " ) , c i ( s , a ) } , m ( u , f ) { w ( u , e , f ) , m ( e , t ) , w ( u , i , f ) , w ( u , s , f ) , s . a u t o f o c u s & & s . f o c u s ( ) , l | | ( r = [ X e ( S t . c a l l ( n u l l , t , { p o s i t i o n : " l e f t " , t e x t : " S e t n e w v a l u e " } ) ) , X ( t , " c l i c k " , n [ 6 ] ) ] , l = ! 0 ) } , p ( u , f ) { c i ( s , a = b n ( o , [ { r e a d O n l y : ! 0 } , { t y p e : " t e x t " } , f & 2 & & { p l a c e h o l d e r : u [ 1 ] } , f & 3 2 & & u [ 5 ] ] ) ) } , d ( u ) { u & & k ( e ) , u & & k ( i ) , u & & k ( s ) , l = ! 1 , r t ( r ) } } } f u n c t i o n T E ( n ) { l e t e ; f u n c t i o n t ( l , r ) { r e t u r n l [ 3 ] ? O E : M E } l e t i = t ( n ) , s = i ( n ) ; r e t u r n { c ( ) { s . c ( ) , e = l t ( ) } , m ( l , r ) { s . m ( l , r ) , w ( l , e , r ) } , p ( l , [ r ] ) { i = = = ( i = t ( l ) ) & & s ? s . p ( l , r ) : ( s . d ( 1 ) , s = i ( l ) , s & & ( s . c ( ) , s . m ( e . p a r e n t N o d e , e ) ) ) } , i : r e , o : r e , d ( l ) { s . d ( l ) , l & & k ( e ) } } } f u n c t i o n D E ( n , e , t ) { c o n s t i = [ " v a l u e " , " m a s k " ] ; l e t s = Y t ( e , i ) , { v a l u e : l = " " } = e , { m a s k : r = " * * * * * * " } = e , o , a = ! 1 ; a s y n c f u n c t i o n u ( ) { t ( 0 , l = " " ) , t ( 3 , a = ! 1 ) , a w a i t M i ( ) , o = = n u l l | | o . f o c u s ( ) } c o n s t f = ( ) = > u ( ) ; f u n c t i o n c ( h ) { h e [ h ? " u n s h i f t " : " p u s h " ] ( ( ) = > { o = h , t ( 2 , o ) } ) } f u n c t i o n d ( ) { l = t h i s . v a l u e , t ( 0 , l ) } r e t u r n n . $ $ s e t = h = > { e = c t ( c t ( { } , e ) , d i ( h ) ) , t ( 5 , s = Y t ( e , i ) ) , " v a l u e " i n h & & t ( 0 , l = h . v a l u e ) , " m a s k " i n h & & t ( 1 , r = h . m a s k ) } , n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 3 & & l = = = r & & t ( 3 , a = ! 0 ) } , [ l , r , o , a , u , s , f , c , d ] } c l a s s m f e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , D E , T E , A e , { v a l u e : 0 , m a s k : 1 } ) } } f u n c t i o n A E ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c , d , h , g , y , b , v , S , $ , C , M , T , E , D , P , L , N , R , J ; i = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " m e t a . s e n d e r N a m e " , $ $ s l o t s : { d e f a u l t : [ P E , ( { u n i q u e I d : q } ) = > ( { 2 2 : q } ) , ( { u n i q u e I d : q } ) = > q ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , r = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " m e t a . s e n d e r A d d r e s s " , $ $ s l o t s : { d e f a u l t : [ L E , ( { u n i q u e I d : q } ) = > ( { 2 2 : q } ) , ( { u n i q u e I d : q } ) = > q ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , a = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " m e t a . u s e r V e r i f i c a t i o n U r l " , $ $ s l o t s : { d e f a u l t : [ F E , ( { u n i q u e I d : q } ) = > ( { 2 2 : q } ) , ( { u n i q u e I d : q } ) = > q ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , f = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " m e t a . u s e r R e s e t P a s s w o r d U r l " , $ $ s l o t s : { d e f a u l t : [ I E , ( { u n i q u e I d : q } ) = > ( { 2 2 : q } ) , ( { u n i q u e I d : q } ) = > q ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , d = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " m e t a . u s e r C o n f i r m E m a i l C h a n g e U r l " , $ $ s l o t s :
< br / >
< strong class = "txt-bold" > For better emails deliverability it is recommended to enable the SMTP settings
below . < / s t r o n g > < / p > ` , v = O ( ) , B ( S . $ $ . f r a g m e n t ) , $ = O ( ) , W & & W . c ( ) , C = O ( ) , M = _ ( " d i v " ) , T = _ ( " d i v " ) , E = O ( ) , D = _ ( " b u t t o n " ) , P = _ ( " s p a n " ) , P . t e x t C o n t e n t = " S a v e c h a n g e s " , p ( t , " c l a s s " , " c o l - l g - 6 " ) , p ( l , " c l a s s " , " c o l - l g - 6 " ) , p ( e , " c l a s s " , " g r i d " ) , p ( b , " c l a s s " , " c o n t e n t m - b - s m " ) , p ( T , " c l a s s " , " f l e x - f i l l " ) , p ( P , " c l a s s " , " t x t " ) , p ( D , " t y p e " , " s u b m i t " ) , p ( D , " c l a s s " , " b t n b t n - e x p a n d e d " ) , D . d i s a b l e d = L = ! n [ 3 ] | | n [ 2 ] , Q ( D , " b t n - l o a d i n g " , n [ 2 ] ) , p ( M , " c l a s s " , " f l e x " ) } , m ( q , G ) { w ( q , e , G ) , m ( e , t ) , V ( i , t , n u l l ) , m ( e , s ) , m ( e , l ) , V ( r , l , n u l l ) , m ( e , o ) , V ( a , e , n u l l ) , m ( e , u ) , V ( f , e , n u l l ) , m ( e , c ) , V ( d , e , n u l l ) , w ( q , h , G ) , w ( q , g , G ) , w ( q , y , G ) , w ( q , b , G ) , w ( q , v , G ) , V ( S , q , G ) , w ( q , $ , G ) , W & & W . m ( q , G ) , w ( q , C , G ) , w ( q , M , G ) , m ( M , T ) , m ( M , E ) , m ( M , D ) , m ( D , P ) , N = ! 0 , R | | ( J = X ( D , " c l i c k " , n [ 1 8 ] ) , R = ! 0 ) } , p ( q , G ) { c o n s t K = { } ; G & 1 2 5 8 2 9 1 3 & & ( K . $ $ s c o p e = { d i r t y : G , c t x : q } ) , i . $ s e t ( K ) ; c o n s t Y = { } ; G & 1 2 5 8 2 9 1 3 & & ( Y . $ $ s c o p e = { d i r t y : G , c t x : q } ) , r . $ s e t ( Y ) ; c o n s t n e = { } ; G & 1 2 5 8 2 9 1 3 & & ( n e . $ $ s c o p e = { d i r t y : G , c t x : q } ) , a . $ s e t ( n e ) ; c o n s t f e = { } ; G & 1 2 5 8 2 9 1 3 & & ( f e . $ $ s c o p e = { d i r t y : G , c t x : q } ) , f . $ s e t ( f e ) ; c o n s t y e = { } ; G & 1 2 5 8 2 9 1 3 & & ( y e . $ $ s c o p e = { d i r t y : G , c t x : q } ) , d . $ s e t ( y e ) ; c o n s t s e = { } ; G & 1 2 5 8 2 9 1 3 & & ( s e . $ $ s c o p e = { d i r t y : G , c t x : q } ) , S . $ s e t ( s e ) , q [ 0 ] . s m t p . e n a b l e d ? W ? ( W . p ( q , G ) , G & 1 & & A ( W , 1 ) ) : ( W = $ g ( q ) , W . c ( ) , A ( W , 1 ) , W . m ( C . p a r e n t N o d e , C ) ) : W & & ( O e ( ) , F ( W , 1 , 1 , ( ) = > { W = n u l l } ) , T e ( ) ) , ( ! N | | G & 1 2 & & L ! = = ( L = ! q [ 3 ] | | q [ 2 ] ) ) & & ( D . d i s a b l e d = L ) , G & 4 & & Q ( D , " b t n - l o a d i n g " , q [ 2 ] ) } , i ( q ) { N | | ( A ( i . $ $ . f r a g m e n t , q ) , A ( r . $ $ . f r a g m e n t , q ) , A ( a . $ $ . f r a g m e n t , q ) , A ( f . $ $ . f r a g m e n t , q ) , A ( d . $ $ . f r a g m e n t , q ) , A ( S . $ $ . f r a g m e n t , q ) , A ( W ) , N = ! 0 ) } , o ( q ) { F ( i . $ $ . f r a g m e n t , q ) , F ( r . $ $ . f r a g m e n t , q ) , F ( a . $ $ . f r a g m e n t , q ) , F ( f . $ $ . f r a g m e n t , q ) , F ( d . $ $ . f r a g m e n t , q ) , F ( S . $ $ . f r a g m e n t , q ) , F ( W ) , N = ! 1 } , d ( q ) { q & & k ( e ) , z ( i ) , z ( r ) , z ( a ) , z ( f ) , z ( d ) , q & & k ( h ) , q & & k ( g ) , q & & k ( y ) , q & & k ( b ) , q & & k ( v ) , z ( S , q ) , q & & k ( $ ) , W & & W . d ( q ) , q & & k ( C ) , q & & k ( M ) , R = ! 1 , J ( ) } } } f u n c t i o n E E ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " d i v " ) , p ( e , " c l a s s " , " l o a d e r " ) } , m ( t , i ) { w ( t , e , i ) } , p : r e , i : r e , o : r e , d ( t ) { t & & k ( e ) } } } f u n c t i o n P E ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " S e n d e r n a m e " ) , s = O ( ) , l = _ ( " i n p u t " ) , p ( e , " f o r " , i = n [ 2 2 ] ) , p ( l , " t y p e " , " t e x t " ) , p ( l , " i d " , r = n [ 2 2 ] ) , l . r e q u i r e d = ! 0 } , m ( u , f ) { w ( u , e , f ) , m ( e , t ) , w ( u , s , f ) , w ( u , l , f ) , $ e ( l , n [ 0 ] . m e t a . s e n d e r N a m e ) , o | | ( a = X ( l , " i n p u t " , n [ 7 ] ) , o = ! 0 ) } , p ( u , f ) { f & 4 1 9 4 3 0 4 & & i ! = = ( i = u [ 2 2 ] ) & & p ( e , " f o r " , i ) , f & 4 1 9 4 3 0 4 & & r ! = = ( r = u [ 2 2 ] ) & & p ( l , " i d " , r ) , f & 1 & & l . v a l u e ! = = u [ 0 ] . m e t a . s e n d e r N a m e & & $ e ( l , u [ 0 ] . m e t a . s e n d e r N a m e ) } , d ( u ) { u & & k ( e ) , u & & k ( s ) , u & & k ( l ) , o = ! 1 , a ( ) } } } f u n c t i o n L E ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " S e n d e r a d d r e s s " ) , s = O ( ) , l = _ ( " i n p u t " ) , p ( e , " f o r " , i = n [ 2 2 ] ) , p ( l , " t y p e " , " e m a i l " ) , p ( l , " i d " , r = n [ 2 2 ] ) , l . r e q u i r e d = ! 0 } , m ( u , f ) { w ( u , e , f ) , m ( e , t ) , w ( u , s , f ) , w ( u , l , f ) , $ e ( l , n [ 0 ] . m e t a . s e n d e r A d d r e s s ) , o | | ( a = X ( l , " i n p u t " , n [ 8 ] ) , o = ! 0 ) } , p ( u , f ) { f & 4 1 9 4 3 0 4 & & i ! = = ( i = u [ 2 2 ] ) & & p ( e , " f o r " , i ) , f & 4 1 9 4 3 0 4 & & r ! = = ( r = u [ 2 2 ] ) & & p ( l , " i d " , r ) , f & 1 & & l . v a l u e ! = = u [ 0 ] . m e t a . s e n d e r A d d r e s s & & $ e ( l , u [ 0 ] . m e t a . s e n d e r A d d r e s s ) } , d ( u ) { u & & k ( e ) , u & & k ( s ) , u & & k ( l ) , o = ! 1 , a ( ) } } } f u n c t i o n F E ( n ) { l e t e , t , i , s , l , r , o , a , u , f ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " U s e r v e r i f i c a t i o n p a g e u r l " ) , s = O ( ) , l = _ ( " i n p u t " ) , o = O ( ) , a = _ ( " d i v " ) , a . i n n e r H T M L = ` U s e d i n t h e u s e r v e r i f i c a t i o n e m a i l . A v a i l a b l e p l a c e h o l d e r p a r a m e t e r s :
< code > % APP _URL % < / c o d e > , < c o d e > % T O K E N % < / c o d e > . ` , p ( e , " f o r " , i = n [ 2 2 ] ) , p ( l , " t y p e " , " t e x t " ) , p ( l , " i d " , r = n [ 2 2 ] ) , l . r e q u i r e d = ! 0 , p ( a , " c l a s s " , " h e l p - b l o c k " ) } , m ( c , d ) { w ( c , e , d ) , m ( e , t ) , w ( c , s , d ) , w ( c , l , d ) , $ e ( l , n [ 0 ] . m e t a . u s e r V e r i f i c a t i o n U r l ) , w ( c , o , d ) , w ( c , a , d ) , u | | ( f = X ( l , " i n p u t " , n [ 9 ] ) , u = ! 0 ) } , p ( c , d ) { d & 4 1 9 4 3 0 4 & & i ! = = ( i = c [ 2 2 ] ) & & p ( e , " f o r " , i ) , d & 4 1 9 4 3 0 4 & & r ! = = ( r = c [ 2 2 ] ) & & p ( l , " i d " , r ) , d & 1 & & l . v a l u e ! = = c [ 0 ] . m e t a . u s e r V e r i f i c a t i o n U r l & & $ e ( l , c [ 0 ] . m e t a . u s e r V e r i f i c a t i o n U r l ) } , d ( c ) { c & & k ( e ) , c & & k ( s ) , c & & k ( l ) , c & & k ( o ) , c & & k ( a ) , u = ! 1 , f ( ) } } } f u n c t i o n I E ( n ) { l e t e , t , i , s , l , r , o , a , u , f ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " U s e r r e s e t p a s s w o r d p a g e u r l " ) , s = O ( ) , l = _ ( " i n p u t " ) , o = O ( ) , a = _ ( " d i v " ) , a . i n n e r H T M L = ` U s e d i n t h e u s e r p a s s w o r d r e s e t e m a i l . A v a i l a b l e p l a c e h o l d e r p a r a m e t e r s :
< code > % APP _URL % < / c o d e > , < c o d e > % T O K E N % < / c o d e > . ` , p ( e , " f o r " , i = n [ 2 2 ] ) , p ( l , " t y p e " , " t e x t " ) , p ( l , " i d " , r = n [ 2 2 ] ) , l . r e q u i r e d = ! 0 , p ( a , " c l a s s " , " h e l p - b l o c k " ) } , m ( c , d ) { w ( c , e , d ) , m ( e , t ) , w ( c , s , d ) , w ( c , l , d ) , $ e ( l , n [ 0 ] . m e t a . u s e r R e s e t P a s s w o r d U r l ) , w ( c , o , d ) , w ( c , a , d ) , u | | ( f = X ( l , " i n p u t " , n [ 1 0 ] ) , u = ! 0 ) } , p ( c , d ) { d & 4 1 9 4 3 0 4 & & i ! = = ( i = c [ 2 2 ] ) & & p ( e , " f o r " , i ) , d & 4 1 9 4 3 0 4 & & r ! = = ( r = c [ 2 2 ] ) & & p ( l , " i d " , r ) , d & 1 & & l . v a l u e ! = = c [ 0 ] . m e t a . u s e r R e s e t P a s s w o r d U r l & & $ e ( l , c [ 0 ] . m e t a . u s e r R e s e t P a s s w o r d U r l ) } , d ( c ) { c & & k ( e ) , c & & k ( s ) , c & & k ( l ) , c & & k ( o ) , c & & k ( a ) , u = ! 1 , f ( ) } } } f u n c t i o n N E ( n ) { l e t e , t , i , s , l , r , o , a , u , f ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " U s e r c o n f i r m e m a i l c h a n g e p a g e u r l " ) , s = O ( ) , l = _ ( " i n p u t " ) , o = O ( ) , a = _ ( " d i v " ) , a . i n n e r H T M L = ` U s e d i n t h e u s e r e m a i l c h a n g e c o n f i r m a t i o n e m a i l . A v a i l a b l e p l a c e h o l d e r
parameters :
< code > % APP _URL % < / c o d e > , < c o d e > % T O K E N % < / c o d e > . ` , p ( e , " f o r " , i = n [ 2 2 ] ) , p ( l , " t y p e " , " t e x t " ) , p ( l , " i d " , r = n [ 2 2 ] ) , l . r e q u i r e d = ! 0 , p ( a , " c l a s s " , " h e l p - b l o c k " ) } , m ( c , d ) { w ( c , e , d ) , m ( e , t ) , w ( c , s , d ) , w ( c , l , d ) , $ e ( l , n [ 0 ] . m e t a . u s e r C o n f i r m E m a i l C h a n g e U r l ) , w ( c , o , d ) , w ( c , a , d ) , u | | ( f = X ( l , " i n p u t " , n [ 1 1 ] ) , u = ! 0 ) } , p ( c , d ) { d & 4 1 9 4 3 0 4 & & i ! = = ( i = c [ 2 2 ] ) & & p ( e , " f o r " , i ) , d & 4 1 9 4 3 0 4 & & r ! = = ( r = c [ 2 2 ] ) & & p ( l , " i d " , r ) , d & 1 & & l . v a l u e ! = = c [ 0 ] . m e t a . u s e r C o n f i r m E m a i l C h a n g e U r l & & $ e ( l , c [ 0 ] . m e t a . u s e r C o n f i r m E m a i l C h a n g e U r l ) } , d ( c ) { c & & k ( e ) , c & & k ( s ) , c & & k ( l ) , c & & k ( o ) , c & & k ( a ) , u = ! 1 , f ( ) } } } f u n c t i o n R E ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " i n p u t " ) , i = O ( ) , s = _ ( " l a b e l " ) , l = H ( " U s e S M T P m a i l s e r v e r " ) , p ( e , " t y p e " , " c h e c k b o x " ) , p ( e , " i d " , t = n [ 2 2 ] ) , e . r e q u i r e d = ! 0 , p ( s , " f o r " , r = n [ 2 2 ] ) } , m ( u , f ) { w ( u , e , f ) , e . c h e c k e d = n [ 0 ] . s m t p . e n a b l e d , w ( u , i , f ) , w ( u , s , f ) , m ( s , l ) , o | | ( a = X ( e , " c h a n g e " , n [ 1 2 ] ) , o = ! 0 ) } , p ( u , f ) { f & 4 1 9 4 3 0 4 & & t ! = = ( t = u [ 2 2 ] ) & & p ( e , " i d " , t ) , f & 1 & & ( e . c h e c k e d = u [ 0 ] . s m t p . e n a b l e d ) , f & 4 1 9 4 3 0 4 & & r ! = = ( r = u [ 2 2 ] ) & & p ( s , " f o r " , r ) } , d ( u ) { u & & k ( e ) , u & & k ( i ) , u & & k ( s ) , o = ! 1 , a ( ) } } } f u n c t i o n $ g ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c , d , h , g , y , b , v , S , $ ; r e t u r n i = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " s m t p . h o s t " , $ $ s l o t s : { d e f a u l t : [ j E , ( { u n i q u e I d : C } ) = > ( { 2 2 : C } ) , ( { u n i q u e I d : C } ) = > C ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , r = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " s m t p . p o r t " , $ $ s l o t s : { d e f a u l t : [ H E , ( { u n i q u e I d : C } ) = > ( { 2 2 : C } ) , ( { u n i q u e I d : C } ) = > C ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , u = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " s m t p . t l s " , $ $ s l o t s : { d e f a u l t : [ q E , ( { u n i q u e I d : C } ) = > ( { 2 2 : C } ) , ( { u n i q u e I d : C } ) = > C ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , d = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d " , n a m e : " s m t p . u s e r n a m e " , $ $ s l o t s : { d e f a u l t : [ V E , ( { u n i q u e I d : C } ) = > ( { 2 2 : C } ) , ( { u n i q u e I d : C } ) = > C ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , y = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d " , n a m e : " s m t p . p a s s w o r d " , $ $ s l o t s : { d e f a u l t : [ z E , ( { u n i q u e I d : C } ) = > ( { 2 2 : C } ) , ( { u n i q u e I d : C } ) = > C ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , { c ( ) { e = _ ( " d i v " ) , t = _ ( " d i v " ) , B ( i . $ $ . f r a g m e n t ) , s = O ( ) , l = _ ( " d i v " ) , B ( r . $ $ . f r a g m e n t ) , o = O ( ) , a = _ ( " d i v " ) , B ( u . $ $ . f r a g m e n t ) , f = O ( ) , c = _ ( " d i v " ) , B ( d . $ $ . f r a g m e n t ) , h = O ( ) , g = _ ( " d i v " ) , B ( y . $ $ . f r a g m e n t ) , b = O ( ) , v = _ ( " d i v " ) , p ( t , " c l a s s " , " c o l - l g - 6 " ) , p ( l , " c l a s s " , " c o l - l g - 3 " ) , p ( a , " c l a s s " , " c o l - l g - 3 " ) , p ( c , " c l a s s " , " c o l - l g - 6 " ) , p ( g , " c l a s s " , " c o l - l g - 6 " ) , p ( v , " c l a s s " , " c o l - l g - 1 2 " ) , p ( e , " c l a s s " , " g r i d " ) } , m ( C , M ) { w ( C , e , M ) , m ( e , t ) , V ( i , t , n u l l ) , m ( e , s ) , m ( e , l ) , V ( r , l , n u l l ) , m ( e , o ) , m ( e , a ) , V ( u , a , n u l l ) , m ( e , f ) , m ( e , c ) , V ( d , c , n u l l ) , m ( e , h ) , m ( e , g ) , V ( y , g , n u l l ) , m ( e , b ) , m ( e , v ) , $ = ! 0 } , p ( C , M ) { c o n s t T = { } ; M & 1 2 5 8 2 9 1 3 & & ( T . $ $ s c o p e = { d i r t y : M , c t x : C } ) , i . $ s e t ( T ) ; c o n s t E = { } ; M & 1 2 5 8 2 9 1 3 & & ( E . $ $ s c o p e = { d i r t y : M , c t x : C } ) , r . $ s e t ( E ) ; c o n s t D = { } ; M & 1 2 5 8 2 9 1 3 & & ( D . $ $ s c o p e = { d i r t y : M , c t x : C } ) , u . $ s e t ( D ) ; c o n s t P = { } ; M & 1 2 5 8 2 9 1 3 & & ( P . $ $ s c o p e = { d i r t y : M , c t x : C } ) , d . $ s e t ( P ) ; c o n s t L = { } ; M & 1 2 5 8 2 9 1 3 & & ( L . $ $ s c o p e = { d i r t y : M , c t x : C } ) , y . $ s e t ( L ) } , i ( C ) { $ | | ( A ( i . $ $ . f r a g m e n t , C ) , A ( r . $ $ . f r a g m e n t , C ) , A ( u . $ $ . f r a g m e n t , C ) , A ( d . $ $ . f r a g m e n t , C ) , A ( y . $ $ . f r a g m e n t , C ) , C & & D t ( ( ) = > { S | | ( S = f t ( e , u n , { d u r a t i o n : 1 5 0 } , ! 0 ) ) , S . r u n ( 1 ) } ) , $ = ! 0 ) } , o ( C ) { F ( i . $ $ . f r a g m e n t , C ) , F ( r . $ $ . f r a g m e n t , C ) , F ( u . $ $ . f r a g m e n t , C ) , F ( d . $ $ . f r a g m e n t , C ) , F ( y . $ $ . f r a g m e n t , C ) , C & & ( S | | ( S = f t ( e , u n , { d u r a t i o n : 1 5 0 } , ! 1 ) ) , S . r u n ( 0 ) ) , $ = ! 1 } , d ( C ) { C & & k ( e ) , z ( i ) , z ( r ) , z ( u ) , z ( d ) , z ( y ) , C & & S & & S . e n d ( ) } } } f u n c t i o n j E ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " S M T P s e r v e r h o s t " ) , s = O ( ) , l = _ ( " i n p u t " ) , p ( e , " f o r " , i = n [ 2 2 ] ) , p ( l , " t y p e " , " t e x t " ) , p ( l , " i d " , r = n [ 2 2 ] ) , l . r e q u i r e d = ! 0 } , m ( u , f ) { w ( u , e , f ) , m ( e , t ) , w ( u , s , f ) , w ( u , l , f ) , $ e ( l , n [ 0 ] . s m t p . h o s t ) , o | | ( a = X ( l , " i n p u t " , n [ 1 3 ] ) , o = ! 0 ) } , p ( u , f ) { f & 4 1 9 4 3 0 4 & & i ! = = ( i = u [ 2 2 ] ) & & p ( e , " f o r " , i ) , f & 4 1 9 4 3 0 4 & & r ! = = ( r = u [ 2 2 ] ) & & p ( l , " i d " , r ) , f & 1 & & l . v a l u e ! = = u [ 0 ] . s m t p . h o s t & & $ e ( l , u [ 0 ] . s m t p . h o s t ) } , d ( u ) { u & & k ( e ) , u & & k ( s ) , u & & k ( l ) , o = ! 1 , a ( ) } } } f u n c t i o n H E ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " P o r t " ) , s = O ( ) , l = _ ( " i n p u t " ) , p ( e , " f o r " , i = n [ 2 2 ] ) , p ( l , " t y p e " , " n u m b e r " ) , p ( l , " i d " , r = n [ 2 2 ] ) , l . r e q u i r e d = ! 0 } , m ( u , f ) { w ( u , e , f ) , m ( e , t ) , w ( u , s , f ) , w ( u , l , f ) , $ e ( l , n [ 0 ] . s m t p . p o r t ) , o | | ( a = X ( l , " i n p u t " , n [ 1 4 ] ) , o = ! 0 ) } , p ( u , f ) { f & 4 1 9 4 3 0 4 & & i ! = = ( i = u [ 2 2 ] ) & & p ( e , " f o r " , i ) , f & 4 1 9 4 3 0 4 & & r ! = = ( r = u [ 2 2 ] ) & & p ( l , " i d " , r ) , f & 1 & & T t ( l . v a l u e ) ! = = u [ 0 ] . s m t p . p o r t & & $ e ( l , u [ 0 ] . s m t p . p o r t ) } , d ( u ) { u & & k ( e ) , u & & k ( s ) , u & & k ( l ) , o = ! 1 , a ( ) } } } f u n c t i o n q E ( n ) { l e t e , t , i , s , l , r , o ; f u n c t i o n a ( f ) { n [ 1 5 ] ( f ) } l e t u = { i d : n [ 2 2 ] , i t e m s : n [ 4 ] } ; r e t u r n n [ 0 ] . s m t p . t l s ! = = v o i d 0 & & ( u . k e y O f S e l e c t e d = n [ 0 ] . s m t p . t l s ) , l = n e w v s ( { p r o p s : u } ) , h e . p u s h ( ( ) = > R e (
< div class = "breadcrumb-item" > Mail settings < / d i v > < / n a v > ` , l = O ( ) , r = _ ( " d i v " ) , o = _ ( " f o r m " ) , a = _ ( " d i v " ) , a . i n n e r H T M L = " < p > C o n f i g u r e c o m m o n s e t t i n g s f o r s e n d i n g e m a i l s . < / p > " , u = O ( ) , c . c ( ) , p ( s , " c l a s s " , " p a g e - h e a d e r " ) , p ( a , " c l a s s " , " c o n t e n t t x t - x l m - b - b a s e " ) , p ( o , " c l a s s " , " p a n e l " ) , p ( o , " a u t o c o m p l e t e " , " o f f " ) , p ( r , " c l a s s " , " w r a p p e r " ) , p ( i , " c l a s s " , " p a g e - w r a p p e r " ) } , m ( S , $ ) { V ( e , S , $ ) , w ( S , t , $ ) , w ( S , i , $ ) , m ( i , s ) , m ( i , l ) , m ( i , r ) , m ( r , o ) , m ( o , a ) , m ( o , u ) , b [ f ] . m ( o , n u l l ) , d = ! 0 , h | | ( g = X ( o , " s u b m i t " , K t ( n [ 1 9 ] ) ) , h = ! 0 ) } , p ( S , [ $ ] ) { l e t C = f ; f = v ( S ) , f = = = C ? b [ f ] . p ( S , $ ) : ( O e ( ) , F ( b [ C ] , 1 , 1 , ( ) = > { b [ C ] = n u l l } ) , T e ( ) , c = b [ f ] , c ? c . p ( S , $ ) : ( c = b [ f ] = y [ f ] ( S ) , c . c ( ) ) , A ( c , 1 ) , c . m ( o , n u l l ) ) } , i ( S ) { d | | ( A ( e . $ $ . f r a g m e n t , S ) , A ( c ) , d = ! 0 ) } , o ( S ) { F ( e . $ $ . f r a g m e n t , S ) , F ( c ) , d = ! 1 } , d ( S ) { z ( e , S ) , S & & k ( t ) , S & & k ( i ) , b [ f ] . d ( ) , h = ! 1 , g ( ) } } } f u n c t i o n U E ( n , e , t ) { l e t i ; c o n s t s = [ { l a b e l : " O p t i o n a l ( S t a r t T L S ) " , v a l u e : ! 1 } , { l a b e l : " A l w a y s " , v a l u e : ! 0 } ] ; l e t l = { } , r = ! 1 , o = ! 1 , a = " " ; U . s e t D o c u m e n t T i t l e ( " M a i l s e t t i n g s " ) , u ( ) ; a s y n c f u n c t i o n u ( ) { t ( 1 , r = ! 0 ) ; t r y { c o n s t P = a w a i t w e . S e t t i n g s . g e t A l l ( ) | | { } ; c ( P ) } c a t c h ( P ) { w e . e r r o r R e s p o n s e H a n d l e r ( P ) } t ( 1 , r = ! 1 ) } a s y n c f u n c t i o n f ( ) { i f ( ! ( o | | ! i ) ) { t ( 2 , o = ! 0 ) ; t r y { c o n s t P = a w a i t w e . S e t t i n g s . u p d a t e ( U . f i l t e r R e d a c t e d P r o p s ( l ) ) ; c ( P ) , m n ( " S u c c e s s f u l l y s a v e d m a i l s e t t i n g s . " ) } c a t c h ( P ) { w e . e r r o r R e s p o n s e H a n d l e r ( P ) } t ( 2 , o = ! 1 ) } } f u n c t i o n c ( P = { } ) { t ( 0 , l = { m e t a : ( P = = n u l l ? v o i d 0 : P . m e t a ) | | { } , s m t p : ( P = = n u l l ? v o i d 0 : P . s m t p ) | | { } } ) , t ( 6 , a = J S O N . s t r i n g i f y ( l ) ) } f u n c t i o n d ( ) { l . m e t a . s e n d e r N a m e = t h i s . v a l u e , t ( 0 , l ) } f u n c t i o n h ( ) { l . m e t a . s e n d e r A d d r e s s = t h i s . v a l u e , t ( 0 , l ) } f u n c t i o n g ( ) { l . m e t a . u s e r V e r i f i c a t i o n U r l = t h i s . v a l u e , t ( 0 , l ) } f u n c t i o n y ( ) { l . m e t a . u s e r R e s e t P a s s w o r d U r l = t h i s . v a l u e , t ( 0 , l ) } f u n c t i o n b ( ) { l . m e t a . u s e r C o n f i r m E m a i l C h a n g e U r l = t h i s . v a l u e , t ( 0 , l ) } f u n c t i o n v ( ) { l . s m t p . e n a b l e d = t h i s . c h e c k e d , t ( 0 , l ) } f u n c t i o n S ( ) { l . s m t p . h o s t = t h i s . v a l u e , t ( 0 , l ) } f u n c t i o n $ ( ) { l . s m t p . p o r t = T t ( t h i s . v a l u e ) , t ( 0 , l ) } f u n c t i o n C ( P ) { n . $ $ . n o t _ e q u a l ( l . s m t p . t l s , P ) & & ( l . s m t p . t l s = P , t ( 0 , l ) ) } f u n c t i o n M ( ) { l . s m t p . u s e r n a m e = t h i s . v a l u e , t ( 0 , l ) } f u n c t i o n T ( P ) { n . $ $ . n o t _ e q u a l ( l . s m t p . p a s s w o r d , P ) & & ( l . s m t p . p a s s w o r d = P , t ( 0 , l ) ) } c o n s t E = ( ) = > f ( ) , D = ( ) = > f ( ) ; r e t u r n n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 6 5 & & t ( 3 , i = a ! = J S O N . s t r i n g i f y ( l ) ) } , [ l , r , o , i , s , f , a , d , h , g , y , b , v , S , $ , C , M , T , E , D ] } c l a s s W E e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , U E , B E , A e , { } ) } } f u n c t i o n Y E ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c , d ; e = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d f o r m - f i e l d - t o g g l e " , $ $ s l o t s : { d e f a u l t : [ J E , ( { u n i q u e I d : g } ) = > ( { 1 5 : g } ) , ( { u n i q u e I d : g } ) = > g ? 3 2 7 6 8 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) ; l e t h = n [ 0 ] . e n a b l e d & & C g ( n ) ; r e t u r n { c ( ) { B ( e . $ $ . f r a g m e n t ) , t = O ( ) , h & & h . c ( ) , i = O ( ) , s = _ ( " d i v " ) , l = _ ( " d i v " ) , r = O ( ) , o = _ ( " b u t t o n " ) , a = _ ( " s p a n " ) , a . t e x t C o n t e n t = " S a v e c h a n g e s " , p ( l , " c l a s s " , " f l e x - f i l l " ) , p ( a , " c l a s s " , " t x t " ) , p ( o , " t y p e " , " s u b m i t " ) , p ( o , " c l a s s " , " b t n b t n - e x p a n d e d " ) , o . d i s a b l e d = u = ! n [ 3 ] | | n [ 2 ] , Q ( o , " b t n - l o a d i n g " , n [ 2 ] ) , p ( s , " c l a s s " , " f l e x " ) } , m ( g , y ) { V ( e , g , y ) , w ( g , t , y ) , h & & h . m ( g , y ) , w ( g , i , y ) , w ( g , s , y ) , m ( s , l ) , m ( s , r ) , m ( s , o ) , m ( o , a ) , f = ! 0 , c | | ( d = X ( o , " c l i c k " , n [ 1 2 ] ) , c = ! 0 ) } , p ( g , y ) { c o n s t b = { } ; y & 9 8 3 0 5 & & ( b . $ $ s c o p e = { d i r t y : y , c t x : g } ) , e . $ s e t ( b ) , g [ 0 ] . e n a b l e d ? h ? ( h . p ( g , y ) , y & 1 & & A ( h , 1 ) ) : ( h = C g ( g ) , h . c ( ) , A ( h , 1 ) , h . m ( i . p a r e n t N o d e , i ) ) : h & & ( O e ( ) , F ( h , 1 , 1 , ( ) = > { h = n u l l } ) , T e ( ) ) , ( ! f | | y & 1 2 & & u ! = = ( u = ! g [ 3 ] | | g [ 2 ] ) ) & & ( o . d i s a b l e d = u ) , y & 4 & & Q ( o , " b t n - l o a d i n g " , g [ 2 ] ) } , i ( g ) { f | | ( A ( e . $ $ . f r a g m e n t , g ) , A ( h ) , f = ! 0 ) } , o ( g ) { F ( e . $ $ . f r a g m e n t , g ) , F ( h ) , f = ! 1 } , d ( g ) { z ( e , g ) , g & & k ( t ) , h & & h . d ( g ) , g & & k ( i ) , g & & k ( s ) , c = ! 1 , d ( ) } } } f u n c t i o n K E ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " d i v " ) , p ( e , " c l a s s " , " l o a d e r " ) } , m ( t , i ) { w ( t , e , i ) } , p : r e , i : r e , o : r e , d ( t ) { t & & k ( e ) } } } f u n c t i o n J E ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " i n p u t " ) , i = O ( ) , s = _ ( " l a b e l " ) , l = H ( " U s e S 3 s t o r a g e " ) , p ( e , " t y p e " , " c h e c k b o x " ) , p ( e , " i d " , t = n [ 1 5 ] ) , e . r e q u i r e d = ! 0 , p ( s , " f o r " , r = n [ 1 5 ] ) } , m ( u , f ) { w ( u , e , f ) , e . c h e c k e d = n [ 0 ] . e n a b l e d , w ( u , i , f ) , w ( u , s , f ) , m ( s , l ) , o | | ( a = X ( e , " c h a n g e " , n [ 6 ] ) , o = ! 0 ) } , p ( u , f ) { f & 3 2 7 6 8 & & t ! = = ( t = u [ 1 5 ] ) & & p ( e , " i d " , t ) , f & 1 & & ( e . c h e c k e d = u [ 0 ] . e n a b l e d ) , f & 3 2 7 6 8 & & r ! = = ( r = u [ 1 5 ] ) & & p ( s , " f o r " , r ) } , d ( u ) { u & & k ( e ) , u & & k ( i ) , u & & k ( s ) , o = ! 1 , a ( ) } } } f u n c t i o n C g ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c , d , h , g , y , b , v , S , $ ; r e t u r n i = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " s 3 . e n d p o i n t " , $ $ s l o t s : { d e f a u l t : [ G E , ( { u n i q u e I d : C } ) = > ( { 1 5 : C } ) , ( { u n i q u e I d : C } ) = > C ? 3 2 7 6 8 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , r = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " s 3 . b u c k e t " , $ $ s l o t s : { d e f a u l t : [ Z E , ( { u n i q u e I d : C } ) = > ( { 1 5 : C } ) , ( { u n i q u e I d : C } ) = > C ? 3 2 7 6 8 : 0 ] } , $ $ s c o p e : { c t
< div class = "breadcrumb-item" > Files storage < / d i v > < / n a v > ` , l = O ( ) , r = _ ( " d i v " ) , o = _ ( " f o r m " ) , a = _ ( " d i v " ) , a . i n n e r H T M L = ` < p > B y d e f a u l t P o c k e t B a s e u s e s t h e l o c a l f i l e s y s t e m t o s t o r e u p l o a d e d f i l e s . < / p >
< p > If you have limited disk space , you could optionally connect to a S3 compatible storage . < / p > ` , u = O ( ) , c . c ( ) , p ( s , " c l a s s " , " p a g e - h e a d e r " ) , p ( a , " c l a s s " , " c o n t e n t t x t - x l m - b - b a s e " ) , p ( o , " c l a s s " , " p a n e l " ) , p ( o , " a u t o c o m p l e t e " , " o f f " ) , p ( r , " c l a s s " , " w r a p p e r " ) , p ( i , " c l a s s " , " p a g e - w r a p p e r " ) } , m ( S , $ ) { V ( e , S , $ ) , w ( S , t , $ ) , w ( S , i , $ ) , m ( i , s ) , m ( i , l ) , m ( i , r ) , m ( r , o ) , m ( o , a ) , m ( o , u ) , b [ f ] . m ( o , n u l l ) , d = ! 0 , h | | ( g = X ( o , " s u b m i t " , K t ( n [ 4 ] ) ) , h = ! 0 ) } , p ( S , [ $ ] ) { l e t C = f ; f = v ( S ) , f = = = C ? b [ f ] . p ( S , $ ) : ( O e ( ) , F ( b [ C ] , 1 , 1 , ( ) = > { b [ C ] = n u l l } ) , T e ( ) , c = b [ f ] , c ? c . p ( S , $ ) : ( c = b [ f ] = y [ f ] ( S ) , c . c ( ) ) , A ( c , 1 ) , c . m ( o , n u l l ) ) } , i ( S ) { d | | ( A ( e . $ $ . f r a g m e n t , S ) , A ( c ) , d = ! 0 ) } , o ( S ) { F ( e . $ $ . f r a g m e n t , S ) , F ( c ) , d = ! 1 } , d ( S ) { z ( e , S ) , S & & k ( t ) , S & & k ( i ) , b [ f ] . d ( ) , h = ! 1 , g ( ) } } } f u n c t i o n t P ( n , e , t ) { l e t i , s = { } , l = ! 1 , r = ! 1 , o = " " ; U . s e t D o c u m e n t T i t l e ( " F i l e s s t o r a g e " ) , a ( ) ; a s y n c f u n c t i o n a ( ) { t ( 1 , l = ! 0 ) ; t r y { c o n s t S = a w a i t w e . S e t t i n g s . g e t A l l ( ) | | { } ; f ( S ) } c a t c h ( S ) { w e . e r r o r R e s p o n s e H a n d l e r ( S ) } t ( 1 , l = ! 1 ) } a s y n c f u n c t i o n u ( ) { i f ( ! ( r | | ! i ) ) { t ( 2 , r = ! 0 ) ; t r y { c o n s t S = a w a i t w e . S e t t i n g s . u p d a t e ( U . f i l t e r R e d a c t e d P r o p s ( { s 3 : s } ) ) ; f ( S ) , W i ( { } ) , m n ( " S u c c e s s f u l l y s a v e d F i l e s s t o r a g e s e t t i n g s . " ) } c a t c h ( S ) { w e . e r r o r R e s p o n s e H a n d l e r ( S ) } t ( 2 , r = ! 1 ) } } f u n c t i o n f ( S = { } ) { t ( 0 , s = ( S = = n u l l ? v o i d 0 : S . s 3 ) | | { } ) , t ( 5 , o = J S O N . s t r i n g i f y ( s ) ) } f u n c t i o n c ( ) { s . e n a b l e d = t h i s . c h e c k e d , t ( 0 , s ) } f u n c t i o n d ( ) { s . e n d p o i n t = t h i s . v a l u e , t ( 0 , s ) } f u n c t i o n h ( ) { s . b u c k e t = t h i s . v a l u e , t ( 0 , s ) } f u n c t i o n g ( ) { s . r e g i o n = t h i s . v a l u e , t ( 0 , s ) } f u n c t i o n y ( ) { s . a c c e s s K e y = t h i s . v a l u e , t ( 0 , s ) } f u n c t i o n b ( S ) { n . $ $ . n o t _ e q u a l ( s . s e c r e t , S ) & & ( s . s e c r e t = S , t ( 0 , s ) ) } c o n s t v = ( ) = > u ( ) ; r e t u r n n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 3 3 & & t ( 3 , i = o ! = J S O N . s t r i n g i f y ( s ) ) } , [ s , l , r , i , u , o , c , d , h , g , y , b , v ] } c l a s s n P e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , t P , e P , A e , { } ) } } f u n c t i o n i P ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " i n p u t " ) , i = O ( ) , s = _ ( " l a b e l " ) , l = H ( " E n a b l e " ) , p ( e , " t y p e " , " c h e c k b o x " ) , p ( e , " i d " , t = n [ 1 6 ] ) , p ( s , " f o r " , r = n [ 1 6 ] ) } , m ( u , f ) { w ( u , e , f ) , e . c h e c k e d = n [ 0 ] . e n a b l e d , w ( u , i , f ) , w ( u , s , f ) , m ( s , l ) , o | | ( a = X ( e , " c h a n g e " , n [ 8 ] ) , o = ! 0 ) } , p ( u , f ) { f & 6 5 5 3 6 & & t ! = = ( t = u [ 1 6 ] ) & & p ( e , " i d " , t ) , f & 1 & & ( e . c h e c k e d = u [ 0 ] . e n a b l e d ) , f & 6 5 5 3 6 & & r ! = = ( r = u [ 1 6 ] ) & & p ( s , " f o r " , r ) } , d ( u ) { u & & k ( e ) , u & & k ( i ) , u & & k ( s ) , o = ! 1 , a ( ) } } } f u n c t i o n M g ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c ; r e t u r n i = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : " e m a i l P a s s w o r d . m i n P a s s w o r d L e n g t h " , $ $ s l o t s : { d e f a u l t : [ s P , ( { u n i q u e I d : d } ) = > ( { 1 6 : d } ) , ( { u n i q u e I d : d } ) = > d ? 6 5 5 3 6 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , r = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d " + ( U . i s E m p t y ( n [ 0 ] . o n l y D o m a i n s ) ? " " : " d i s a b l e d " ) , n a m e : " e m a i l P a s s w o r d . e x c e p t D o m a i n s " , $ $ s l o t s : { d e f a u l t : [ l P , ( { u n i q u e I d : d } ) = > ( { 1 6 : d } ) , ( { u n i q u e I d : d } ) = > d ? 6 5 5 3 6 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , u = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d " + ( U . i s E m p t y ( n [ 0 ] . e x c e p t D o m a i n s ) ? " " : " d i s a b l e d " ) , n a m e : " e m a i l P a s s w o r d . o n l y D o m a i n s " , $ $ s l o t s : { d e f a u l t : [ r P , ( { u n i q u e I d : d } ) = > ( { 1 6 : d } ) , ( { u n i q u e I d : d } ) = > d ? 6 5 5 3 6 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , { c ( ) { e = _ ( " d i v " ) , t = _ ( " d i v " ) , B ( i . $ $ . f r a g m e n t ) , s = O ( ) , l = _ ( " d i v " ) , B ( r . $ $ . f r a g m e n t ) , o = O ( ) , a = _ ( " d i v " ) , B ( u . $ $ . f r a g m e n t ) , p ( t , " c l a s s " , " c o l - s m - 1 2 m - t - s m " ) , p ( l , " c l a s s " , " c o l - l g - 6 " ) , p ( a , " c l a s s " , " c o l - l g - 6 " ) , p ( e , " c l a s s " , " g r i d " ) } , m ( d , h ) { w ( d , e , h ) , m ( e , t ) , V ( i , t , n u l l ) , m ( e , s ) , m ( e , l ) , V ( r , l , n u l l ) , m ( e , o ) , m ( e , a ) , V ( u , a , n u l l ) , c = ! 0 } , p ( d , h ) { c o n s t g = { } ; h & 1 9 6 6 0 9 & & ( g . $ $ s c o p e = { d i r t y : h , c t x : d } ) , i . $ s e t ( g ) ; c o n s t y = { } ; h & 1 & & ( y . c l a s s = " f o r m - f i e l d " + ( U . i s E m p t y ( d [ 0 ] . o n l y D o m a i n s ) ? " " : " d i s a b l e d " ) ) , h & 1 9 6 6 0 9 & & ( y . $ $ s c o p e = { d i r t y : h , c t x : d } ) , r . $ s e t ( y ) ; c o n s t b = { } ; h & 1 & & ( b . c l a s s = " f o r m - f i e l d " + ( U . i s E m p t y ( d [ 0 ] . e x c e p t D o m a i n s ) ? " " : " d i s a b l e d " ) ) , h & 1 9 6 6 0 9 & & ( b . $ $ s c o p e = { d i r t y : h , c t x : d } ) , u . $ s e t ( b ) } , i ( d ) { c | | ( A ( i . $ $ . f r a g m e n t , d ) , A ( r . $ $ . f r a g m e n t , d ) , A ( u . $ $ . f r a g m e n t , d ) , d & & D t ( ( ) = > { f | | ( f = f t ( e , u n , { d u r a t i o n : 1 5 0 } , ! 0 ) ) , f . r u n ( 1 ) } ) , c = ! 0 ) } , o ( d ) { F ( i . $ $ . f r a g m e n t , d ) , F ( r . $ $ . f r a g m e n t , d ) , F ( u . $ $ . f r a g m e n t , d ) , d & & ( f | | ( f = f t ( e , u n , { d u r a t i o n : 1 5 0 } , ! 1 ) ) , f . r u n ( 0 ) ) , c = ! 1 } , d ( d ) { d & & k ( e ) , z ( i ) , z ( r ) , z ( u ) , d & & f & & f . e n d ( ) } } } f u n c t i o n s P ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " l a b e l " ) , t = H ( " M i n i m u m p a s s w o r d l e n g t h " ) , s = O ( ) , l = _ ( " i n p u t " ) , p ( e , " f o r " , i = n [ 1 6 ] ) , p ( l , " t y p e " , " n u m b e r " ) , p ( l , " i d " , r = n [ 1 6 ] ) , l . r e q u i r e d = ! 0 , p ( l , " m i n " , " 5 " ) , p ( l , " m a x " , " 2 0 0 " ) } , m ( u , f ) { w ( u , e , f ) , m ( e , t ) , w ( u , s , f ) , w ( u , l , f ) , $ e ( l , n [ 0 ] . m i n P a s s w o r d L e n g t h ) , o | | ( a = X ( l , " i n p u t " , n [ 9 ] ) , o = ! 0 ) } , p ( u , f ) { f & 6 5 5 3 6 & & i ! = = ( i = u [ 1 6 ] ) & & p ( e , " f o r " , i ) , f & 6 5 5 3 6 & & r ! = = ( r = u [ 1 6 ] ) & & p ( l , " i d " , r ) , f & 1 & & T t ( l . v a l u e ) ! = = u [ 0 ] . m i n P a s s w o r d L e n g t h & & $ e ( l , u [ 0 ] . m i n P a s s w o r d L e n g t h ) } , d ( u ) { u & & k ( e ) , u & & k (
This field is disabled if "Only domains" is set . ` ,position:"top"})),d=!0)},p(b,v){(!c||v&65536&&l!==(l=b[16]))&&p(e,"for",l);const S={};v&65536&&(S.id=b[16]),v&1&&(S.disabled=!U.isEmpty(b[0].onlyDomains)),!a&&v&1&&(a=!0,S.value=b[0].exceptDomains,je(()=>a=!1)),o. $ set(S)},i(b){c||(A(o. $ $ .fragment,b),c=!0)},o(b){F(o. $ $ .fragment,b),c=!1},d(b){b&&k(e),b&&k(r),z(o,b),b&&k(u),b&&k(f),d=!1,h()}}}function rP(n){let e,t,i,s,l,r,o,a,u,f,c,d,h;function g(b){n[11](b)}let y={id:n[16]+".config.onlyDomains",disabled:!U.isEmpty(n[0].exceptDomains)};return n[0].onlyDomains!==void 0&&(y.value=n[0].onlyDomains),o=new ks({props:y}),he.push(()=>Re(o,"value",g)),{c(){e=_("label"),t=_("span"),t.textContent="Only domains",i=O(),s=_("i"),r=O(),B(o. $ $ .fragment),u=O(),f=_("div"),f.textContent="Use comma as separator.",p(t,"class","txt"),p(s,"class","ri-information-line link-hint"),p(e,"for",l=n[16]+".config.onlyDomains"),p(f,"class","help-block")},m(b,v){w(b,e,v),m(e,t),m(e,i),m(e,s),w(b,r,v),V(o,b,v),w(b,u,v),w(b,f,v),c=!0,d||(h=Xe(St.call(null,s,{text: ` Email domains that are ONLY allowed to sign up .
This field is disabled if "Except domains" is set . ` ,position:"top"})),d=!0)},p(b,v){(!c||v&65536&&l!==(l=b[16]+".config.onlyDomains"))&&p(e,"for",l);const S={};v&65536&&(S.id=b[16]+".config.onlyDomains"),v&1&&(S.disabled=!U.isEmpty(b[0].exceptDomains)),!a&&v&1&&(a=!0,S.value=b[0].onlyDomains,je(()=>a=!1)),o. $ set(S)},i(b){c||(A(o. $ $ .fragment,b),c=!0)},o(b){F(o. $ $ .fragment,b),c=!1},d(b){b&&k(e),b&&k(r),z(o,b),b&&k(u),b&&k(f),d=!1,h()}}}function oP(n){let e,t,i,s;e=new Ne({props:{class:"form-field form-field-toggle m-b-0",name:"emailPassword.enabled", $ $ slots:{default:[iP,({uniqueId:r})=>({16:r}),({uniqueId:r})=>r?65536:0]}, $ $ scope:{ctx:n}}});let l=n[0].enabled&&Mg(n);return{c(){B(e. $ $ .fragment),t=O(),l&&l.c(),i=lt()},m(r,o){V(e,r,o),w(r,t,o),l&&l.m(r,o),w(r,i,o),s=!0},p(r,o){const a={};o&196609&&(a. $ $ scope={dirty:o,ctx:r}),e. $ set(a),r[0].enabled?l?(l.p(r,o),o&1&&A(l,1)):(l=Mg(r),l.c(),A(l,1),l.m(i.parentNode,i)):l&&(Oe(),F(l,1,1,()=>{l=null}),Te())},i(r){s||(A(e. $ $ .fragment,r),A(l),s=!0)},o(r){F(e. $ $ .fragment,r),F(l),s=!1},d(r){z(e,r),r&&k(t),l&&l.d(r),r&&k(i)}}}function aP(n){let e;return{c(){e=_("span"),e.textContent="Disabled",p(e,"class","label")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function uP(n){let e;return{c(){e=_("span"),e.textContent="Enabled",p(e,"class","label label-success")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function Og(n){let e,t,i,s,l,r;return{c(){e=_("i"),p(e,"class","ri-error-warning-fill txt-danger")},m(o,a){w(o,e,a),s=!0,l||(r=Xe(t=St.call(null,e,{text:"Has errors",position:"left"})),l=!0)},i(o){s||(Dt(()=>{i||(i=ft(e,Wn,{duration:150,start:.7},!0)),i.run(1)}),s=!0)},o(o){i||(i=ft(e,Wn,{duration:150,start:.7},!1)),i.run(0),s=!1},d(o){o&&k(e),o&&i&&i.end(),l=!1,r()}}}function fP(n){let e,t,i,s,l,r,o;function a(d,h){return d[0].enabled?uP:aP}let u=a(n),f=u(n),c=n[2]&&Og();return{c(){e=_("div"),e.innerHTML= ` < i class = "ri-mail-lock-line" > < / i >
< span class = "txt" > Email / Password < / s p a n > ` , t = O ( ) , f . c ( ) , i = O ( ) , s = _ ( " d i v " ) , l = O ( ) , c & & c . c ( ) , r = l t ( ) , p ( e , " c l a s s " , " i n l i n e - f l e x " ) , p ( s , " c l a s s " , " f l e x - f i l l " ) } , m ( d , h ) { w ( d , e , h ) , w ( d , t , h ) , f . m ( d , h ) , w ( d , i , h ) , w ( d , s , h ) , w ( d , l , h ) , c & & c . m ( d , h ) , w ( d , r , h ) , o = ! 0 } , p ( d , h ) { u ! = = ( u = a ( d ) ) & & ( f . d ( 1 ) , f = u ( d ) , f & & ( f . c ( ) , f . m ( i . p a r e n t N o d e , i ) ) ) , d [ 2 ] ? c ? h & 4 & & A ( c , 1 ) : ( c = O g ( ) , c . c ( ) , A ( c , 1 ) , c . m ( r . p a r e n t N o d e , r ) ) : c & & ( O e ( ) , F ( c , 1 , 1 , ( ) = > { c = n u l l } ) , T e ( ) ) } , i ( d ) { o | | ( A ( c ) , o = ! 0 ) } , o ( d ) { F ( c ) , o = ! 1 } , d ( d ) { d & & k ( e ) , d & & k ( t ) , f . d ( d ) , d & & k ( i ) , d & & k ( s ) , d & & k ( l ) , c & & c . d ( d ) , d & & k ( r ) } } } f u n c t i o n c P ( n ) { l e t e , t ; c o n s t i = [ n [ 3 ] ] ; l e t s = { $ $ s l o t s : { h e a d e r : [ f P ] , d e f a u l t : [ o P ] } , $ $ s c o p e : { c t x : n } } ; f o r ( l e t l = 0 ; l < i . l e n g t h ; l + = 1 ) s = c t ( s , i [ l ] ) ; r e t u r n e = n e w d f ( { p r o p s : s } ) , n [ 1 2 ] ( e ) , e . $ o n ( " e x p a n d " , n [ 1 3 ] ) , e . $ o n ( " c o l l a p s e " , n [ 1 4 ] ) , e . $ o n ( " t o g g l e " , n [ 1 5 ] ) , { c ( ) { B ( e . $ $ . f r a g m e n t ) } , m ( l , r ) { V ( e , l , r ) , t = ! 0 } , p ( l , [ r ] ) { c o n s t o = r & 8 ? b n ( i , [ h i ( l [ 3 ] ) ] ) : { } ; r & 1 3 1 0 7 7 & & ( o . $ $ s c o p e = { d i r t y : r , c t x : l } ) , e . $ s e t ( o ) } , i ( l ) { t | | ( A ( e . $ $ . f r a g m e n t , l ) , t = ! 0 ) } , o ( l ) { F ( e . $ $ . f r a g m e n t , l ) , t = ! 1 } , d ( l ) { n [ 1 2 ] ( n u l l ) , z ( e , l ) } } } f u n c t i o n d P ( n , e , t ) { l e t i ; c o n s t s = [ " c o n f i g " , " e x p a n d " , " c o l l a p s e " , " c o l l a p s e S i b l i n g s " ] ; l e t l = Y t ( e , s ) , r ; h n ( n , _ s , C = > t ( 7 , r = C ) ) ; l e t { c o n f i g : o = { } } = e , a ; f u n c t i o n u ( ) { a = = n u l l | | a . e x p a n d ( ) } f u n c t i o n f ( ) { a = = n u l l | | a . c o l l a p s e ( ) } f u n c t i o n c ( ) { a = = n u l l | | a . c o l l a p s e S i b l i n g s ( ) } f u n c t i o n d ( ) { o . e n a b l e d = t h i s . c h e c k e d , t ( 0 , o ) } f u n c t i o n h ( ) { o . m i n P a s s w o r d L e n g t h = T t ( t h i s . v a l u e ) , t ( 0 , o ) } f u n c t i o n g ( C ) { n . $ $ . n o t _ e q u a l ( o . e x c e p t D o m a i n s , C ) & & ( o . e x c e p t D o m a i n s = C , t ( 0 , o ) ) } f u n c t i o n y ( C ) { n . $ $ . n o t _ e q u a l ( o . o n l y D o m a i n s , C ) & & ( o . o n l y D o m a i n s = C , t ( 0 , o ) ) } f u n c t i o n b ( C ) { h e [ C ? " u n s h i f t " : " p u s h " ] ( ( ) = > { a = C , t ( 1 , a ) } ) } f u n c t i o n v ( C ) { u t . c a l l ( t h i s , n , C ) } f u n c t i o n S ( C ) { u t . c a l l ( t h i s , n , C ) } f u n c t i o n $ ( C ) { u t . c a l l ( t h i s , n , C ) } r e t u r n n . $ $ s e t = C = > { e = c t ( c t ( { } , e ) , d i ( C ) ) , t ( 3 , l = Y t ( e , s ) ) , " c o n f i g " i n C & & t ( 0 , o = C . c o n f i g ) } , n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 1 2 8 & & t ( 2 , i = ! U . i s E m p t y ( r = = n u l l ? v o i d 0 : r . e m a i l P a s s w o r d ) ) } , [ o , a , i , l , u , f , c , r , d , h , g , y , b , v , S , $ ] } c l a s s p P e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , d P , c P , A e , { c o n f i g : 0 , e x p a n d : 4 , c o l l a p s e : 5 , c o l l a p s e S i b l i n g s : 6 } ) } g e t e x p a n d ( ) { r e t u r n t h i s . $ $ . c t x [ 4 ] } g e t c o l l a p s e ( ) { r e t u r n t h i s . $ $ . c t x [ 5 ] } g e t c o l l a p s e S i b l i n g s ( ) { r e t u r n t h i s . $ $ . c t x [ 6 ] } } f u n c t i o n h P ( n ) { l e t e , t , i , s , l , r , o , a ; r e t u r n { c ( ) { e = _ ( " i n p u t " ) , i = O ( ) , s = _ ( " l a b e l " ) , l = H ( " E n a b l e " ) , p ( e , " t y p e " , " c h e c k b o x " ) , p ( e , " i d " , t = n [ 2 2 ] ) , p ( s , " f o r " , r = n [ 2 2 ] ) } , m ( u , f ) { w ( u , e , f ) , e . c h e c k e d = n [ 0 ] . e n a b l e d , w ( u , i , f ) , w ( u , s , f ) , m ( s , l ) , o | | ( a = X ( e , " c h a n g e " , n [ 1 1 ] ) , o = ! 0 ) } , p ( u , f ) { f & 4 1 9 4 3 0 4 & & t ! = = ( t = u [ 2 2 ] ) & & p ( e , " i d " , t ) , f & 1 & & ( e . c h e c k e d = u [ 0 ] . e n a b l e d ) , f & 4 1 9 4 3 0 4 & & r ! = = ( r = u [ 2 2 ] ) & & p ( s , " f o r " , r ) } , d ( u ) { u & & k ( e ) , u & & k ( i ) , u & & k ( s ) , o = ! 1 , a ( ) } } } f u n c t i o n T g ( n ) { l e t e , t , i , s , l , r , o , a , u , f , c , d , h , g ; l = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : n [ 1 ] + " . c l i e n t I d " , $ $ s l o t s : { d e f a u l t : [ m P , ( { u n i q u e I d : b } ) = > ( { 2 2 : b } ) , ( { u n i q u e I d : b } ) = > b ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , a = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m e : n [ 1 ] + " . c l i e n t S e c r e t " , $ $ s l o t s : { d e f a u l t : [ g P , ( { u n i q u e I d : b } ) = > ( { 2 2 : b } ) , ( { u n i q u e I d : b } ) = > b ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) , c = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d " , n a m e : n [ 1 ] + " . a l l o w R e g i s t r a t i o n s " , $ $ s l o t s : { d e f a u l t : [ _ P , ( { u n i q u e I d : b } ) = > ( { 2 2 : b } ) , ( { u n i q u e I d : b } ) = > b ? 4 1 9 4 3 0 4 : 0 ] } , $ $ s c o p e : { c t x : n } } } ) ; l e t y = n [ 4 ] & & D g ( n ) ; r e t u r n { c ( ) { e = _ ( " d i v " ) , t = _ ( " d i v " ) , i = O ( ) , s = _ ( " d i v " ) , B ( l . $ $ . f r a g m e n t ) , r = O ( ) , o = _ ( " d i v " ) , B ( a . $ $ . f r a g m e n t ) , u = O ( ) , f = _ ( " d i v " ) , B ( c . $ $ . f r a g m e n t ) , d = O ( ) , y & & y . c ( ) , p ( t , " c l a s s " , " c o l - 1 2 s p a c i n g " ) , p ( s , " c l a s s " , " c o l - l g - 6 " ) , p ( o , " c l a s s " , " c o l - l g - 6 " ) , p ( f , " c l a s s " , " c o l - l g - 1 2 " ) , p ( e , " c l a s s " , " g r i d " ) } , m ( b , v ) { w ( b , e , v ) , m ( e , t ) , m ( e , i ) , m ( e , s ) , V ( l , s , n u l l ) , m ( e , r ) , m ( e , o ) , V ( a , o , n u l l ) , m ( e , u ) , m ( e , f ) , V ( c , f , n u l l ) , m ( e , d ) , y & & y . m ( e , n u l l ) , g = ! 0 } , p ( b , v ) { c o n s t S = { } ; v & 2 & & ( S . n a m e = b [ 1 ] + " . c l i e n t I d " ) , v & 1 2 5 8 2 9 1 3 & & ( S . $ $ s c o p e = { d i r t y : v , c t x : b } ) , l . $ s e t ( S ) ; c o n s t $ = { } ; v & 2 & & ( $ . n a m e = b [ 1 ] + " . c l i e n t S e c r e t " ) , v & 1 2 5 8 2 9 1 3 & & ( $ . $ $ s c o p e = { d i r t y : v , c t x : b } ) , a . $ s e t ( $ ) ; c o n s t C = { } ; v & 2 & & ( C . n a m e = b [ 1 ] + " . a l l o w R e g i s t r a t i o n s " ) , v & 1 2 5 8 2 9 1 3 & & ( C . $ $ s c o p e = { d i r t y : v , c t x : b } ) , c . $ s e t ( C ) , b [ 4 ] ? y ? ( y . p ( b , v ) , v & 1 6 & & A ( y , 1 ) ) : ( y = D g ( b ) , y . c ( ) , A ( y , 1 ) , y . m ( e , n u l l ) ) : y & & ( O e ( ) , F ( y , 1 , 1 , ( ) = > { y = n u l l } ) , T e ( ) ) } , i ( b ) { g | | ( A ( l . $ $ . f r a g m e n t , b ) , A ( a . $ $ . f r a g m e n t , b ) , A ( c . $ $ . f r a g m e n t , b ) , A ( y ) , b & & D t ( ( ) = > { h | | ( h = f t ( e , u n , { d u r a t i o n : 2 0 0 } , ! 0 ) ) , h . r u n ( 1 ) } ) , g = ! 0 ) } , o ( b ) { F ( l . $ $ . f r a g m e n t , b ) , F ( a . $ $ . f r a g m e n t , b ) , F ( c . $ $ . f r a g m e n t , b ) , F ( y ) , b & & ( h | | ( h = f t ( e , u n , { d u r a t i o n : 2 0 0 } , ! 1 ) ) , h . r u n ( 0 ) ) , g = ! 1 } , d (
< div class = "breadcrumb-item" > Auth providers < / d i v > < / n a v > ` , l = O ( ) , r = _ ( " d i v " ) , o = _ ( " f o r m " ) , a = _ ( " h 6 " ) , a . t e x t C o n t e n t = " M a n a g e t h e a l l o w e d u s e r s s i g n - i n / s i g n - u p m e t h o d s . " , u = O ( ) , c . c ( ) , p ( s , " c l a s s " , " p a g e - h e a d e r " ) , p ( a , " c l a s s " , " m - b - b a s e " ) , p ( o , " c l a s s " , " p a n e l " ) , p ( o , " a u t o c o m p l e t e " , " o f f " ) , p ( r , " c l a s s " , " w r a p p e r " ) , p ( i , " c l a s s " , " p a g e - w r a p p e r " ) } , m ( S , $ ) { V ( e , S , $ ) , w ( S , t , $ ) , w ( S , i , $ ) , m ( i , s ) , m ( i , l ) , m ( i , r ) , m ( r , o ) , m ( o , a ) , m ( o , u ) , b [ f ] . m ( o , n u l l ) , d = ! 0 , h | | ( g = X ( o , " s u b m i t " , K t ( n [ 5 ] ) ) , h = ! 0 ) } , p ( S , [ $ ] ) { l e t C = f ; f = v ( S ) , f = = = C ? b [ f ] . p ( S , $ ) : ( O e ( ) , F ( b [ C ] , 1 , 1 , ( ) = > { b [ C ] = n u l l } ) , T e ( ) , c = b [ f ] , c ? c . p ( S , $ ) : ( c = b [ f ] = y [ f ] ( S ) , c . c ( ) ) , A ( c , 1 ) , c . m ( o , n u l l ) ) } , i ( S ) { d | | ( A ( e . $ $ . f r a g m e n t , S ) , A ( c ) , d = ! 0 ) } , o ( S ) { F ( e . $ $ . f r a g m e n t , S ) , F ( c ) , d = ! 1 } , d ( S ) { z ( e , S ) , S & & k ( t ) , S & & k ( i ) , b [ f ] . d ( ) , h = ! 1 , g ( ) } } } f u n c t i o n A P ( n , e , t ) { l e t i , s , l = { } , r = ! 1 , o = ! 1 , a = " " ; U . s e t D o c u m e n t T i t l e ( " A u t h p r o v i d e r s " ) , u ( ) ; a s y n c f u n c t i o n u ( ) { t ( 2 , r = ! 0 ) ; t r y { c o n s t $ = a w a i t w e . S e t t i n g s . g e t A l l ( ) | | { } ; c ( $ ) } c a t c h ( $ ) { w e . e r r o r R e s p o n s e H a n d l e r ( $ ) } t ( 2 , r = ! 1 ) } a s y n c f u n c t i o n f ( ) { i f ( ! ( o | | ! i ) ) { t ( 3 , o = ! 0 ) ; t r y { c o n s t $ = a w a i t w e . S e t t i n g s . u p d a t e ( U . f i l t e r R e d a c t e d P r o p s ( l ) ) ; c ( $ ) , W i ( { } ) , s = = n u l l | | s . c o l l a p s e S i b l i n g s ( ) , m n ( " S u c c e s s f u l l y u p d a t e d a u t h p r o v i d e r s . " ) } c a t c h ( $ ) { w e . e r r o r R e s p o n s e H a n d l e r ( $ ) } t ( 3 , o = ! 1 ) } } f u n c t i o n c ( $ ) { $ = $ | | { } , t ( 0 , l = { } ) , t ( 0 , l . e m a i l A u t h = O b j e c t . a s s i g n ( { e n a b l e d : ! 0 } , $ . e m a i l A u t h ) , l ) ; c o n s t C = [ " g o o g l e A u t h " , " f a c e b o o k A u t h " , " g i t h u b A u t h " , " g i t l a b A u t h " ] ; f o r ( c o n s t M o f C ) t ( 0 , l [ M ] = O b j e c t . a s s i g n ( { e n a b l e d : ! 1 , a l l o w R e g i s t r a t i o n s : ! 0 } , $ [ M ] ) , l ) ; t ( 6 , a = J S O N . s t r i n g i f y ( l ) ) } f u n c t i o n d ( $ ) { h e [ $ ? " u n s h i f t " : " p u s h " ] ( ( ) = > { s = $ , t ( 1 , s ) } ) } f u n c t i o n h ( $ ) { n . $ $ . n o t _ e q u a l ( l . e m a i l A u t h , $ ) & & ( l . e m a i l A u t h = $ , t ( 0 , l ) ) } f u n c t i o n g ( $ ) { n . $ $ . n o t _ e q u a l ( l . g o o g l e A u t h , $ ) & & ( l . g o o g l e A u t h = $ , t ( 0 , l ) ) } f u n c t i o n y ( $ ) { n . $ $ . n o t _ e q u a l ( l . f a c e b o o k A u t h , $ ) & & ( l . f a c e b o o k A u t h = $ , t ( 0 , l ) ) } f u n c t i o n b ( $ ) { n . $ $ . n o t _ e q u a l ( l . g i t h u b A u t h , $ ) & & ( l . g i t h u b A u t h = $ , t ( 0 , l ) ) } f u n c t i o n v ( $ ) { n . $ $ . n o t _ e q u a l ( l . g i t l a b A u t h , $ ) & & ( l . g i t l a b A u t h = $ , t ( 0 , l ) ) } c o n s t S = ( ) = > f ( ) ; r e t u r n n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 6 5 & & t ( 4 , i = a ! = J S O N . s t r i n g i f y ( l ) ) } , [ l , s , r , o , i , f , a , d , h , g , y , b , v , S ] } c l a s s E P e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , A P , D P , A e , { } ) } } f u n c t i o n P g ( n , e , t ) { c o n s t i = n . s l i c e ( ) ; r e t u r n i [ 1 2 ] = e [ t ] , i [ 1 3 ] = e , i [ 1 4 ] = t , i } f u n c t i o n P P ( n ) { l e t e = [ ] , t = n e w M a p , i , s , l , r , o , a , u , f , c , d , h = n [ 4 ] ; c o n s t g = y = > y [ 1 2 ] . k e y ; f o r ( l e t y = 0 ; y < h . l e n g t h ; y + = 1 ) { l e t b = P g ( n , h , y ) , v = g ( b ) ; t . s e t ( v , e [ y ] = L g ( v , b ) ) } r e t u r n { c ( ) { f o r ( l e t y = 0 ; y < e . l e n g t h ; y + = 1 ) e [ y ] . c ( ) ; i = O ( ) , s = _ ( " d i v " ) , l = _ ( " d i v " ) , r = O ( ) , o = _ ( " b u t t o n " ) , a = _ ( " s p a n " ) , a . t e x t C o n t e n t = " S a v e c h a n g e s " , p ( l , " c l a s s " , " f l e x - f i l l " ) , p ( a , " c l a s s " , " t x t " ) , p ( o , " t y p e " , " s u b m i t " ) , p ( o , " c l a s s " , " b t n b t n - e x p a n d e d " ) , o . d i s a b l e d = u = ! n [ 3 ] | | n [ 2 ] , Q ( o , " b t n - l o a d i n g " , n [ 2 ] ) , p ( s , " c l a s s " , " f l e x " ) } , m ( y , b ) { f o r ( l e t v = 0 ; v < e . l e n g t h ; v + = 1 ) e [ v ] . m ( y , b ) ; w ( y , i , b ) , w ( y , s , b ) , m ( s , l ) , m ( s , r ) , m ( s , o ) , m ( o , a ) , f = ! 0 , c | | ( d = X ( o , " c l i c k " , n [ 9 ] ) , c = ! 0 ) } , p ( y , b ) { b & 3 2 7 8 5 & & ( h = y [ 4 ] , O e ( ) , e = o t ( e , b , g , 1 , y , h , t , i . p a r e n t N o d e , L t , L g , i , P g ) , T e ( ) ) , ( ! f | | b & 1 2 & & u ! = = ( u = ! y [ 3 ] | | y [ 2 ] ) ) & & ( o . d i s a b l e d = u ) , b & 4 & & Q ( o , " b t n - l o a d i n g " , y [ 2 ] ) } , i ( y ) { i f ( ! f ) { f o r ( l e t b = 0 ; b < h . l e n g t h ; b + = 1 ) A ( e [ b ] ) ; f = ! 0 } } , o ( y ) { f o r ( l e t b = 0 ; b < e . l e n g t h ; b + = 1 ) F ( e [ b ] ) ; f = ! 1 } , d ( y ) { f o r ( l e t b = 0 ; b < e . l e n g t h ; b + = 1 ) e [ b ] . d ( y ) ; y & & k ( i ) , y & & k ( s ) , c = ! 1 , d ( ) } } } f u n c t i o n L P ( n ) { l e t e ; r e t u r n { c ( ) { e = _ ( " d i v " ) , p ( e , " c l a s s " , " l o a d e r " ) } , m ( t , i ) { w ( t , e , i ) } , p : r e , i : r e , o : r e , d ( t ) { t & & k ( e ) } } } f u n c t i o n F P ( n ) { l e t e , t = n [ 1 2 ] . l a b e l + " " , i , s , l , r , o , a , u , f , c , d , h ; f u n c t i o n g ( ) { n [ 7 ] . c a l l ( o , n [ 1 2 ] ) } f u n c t i o n y ( ) { r e t u r n n [ 8 ] ( n [ 1 2 ] ) } r e t u r n { c ( ) { e = _ ( " l a b e l " ) , i = H ( t ) , s = H ( " d u r a t i o n ( i n s e c o n d s ) " ) , r = O ( ) , o = _ ( " i n p u t " ) , u = O ( ) , f = _ ( " d i v " ) , c = _ ( " s p a n " ) , c . t e x t C o n t e n t = " I n v a l i d a t e a l l p r e v i o u s l y i s s u e d t o k e n s " , p ( e , " f o r " , l = n [ 1 5 ] ) , p ( o , " t y p e " , " n u m b e r " ) , p ( o , " i d " , a = n [ 1 5 ] ) , o . r e q u i r e d = ! 0 , p ( c , " c l a s s " , " l i n k - p r i m a r y " ) , Q ( c , " t x t - s u c c e s s " , n [ 0 ] [ n [ 1 2 ] . k e y ] . s e c r e t ) , p ( f , " c l a s s " , " h e l p - b l o c k " ) } , m ( b , v ) { w ( b , e , v ) , m ( e , i ) , m ( e , s ) , w ( b , r , v ) , w ( b , o , v ) , $ e ( o , n [ 0 ] [ n [ 1 2 ] . k e y ] . d u r a t i o n ) , w ( b , u , v ) , w ( b , f , v ) , m ( f , c ) , d | | ( h = [ X ( o , " i n p u t " , g ) , X ( c , " c l i c k " , y ) ] , d = ! 0 ) } , p ( b , v ) { n = b , v & 3 2 7 6 8 & & l ! = = ( l = n [ 1 5 ] ) & & p ( e , " f o r " , l ) , v & 3 2 7 6 8 & & a ! = = ( a = n [ 1 5 ] ) & & p ( o , " i d " , a ) , v & 1 7 & & T t ( o . v a l u e ) ! = = n [ 0 ] [ n [ 1 2 ] . k e y ] . d u r a t i o n & & $ e ( o , n [ 0 ] [ n [ 1 2 ] . k e y ] . d u r a t i o n ) , v & 1 7 & & Q ( c , " t x t - s u c c e s s " , n [ 0 ] [ n [ 1 2 ] . k e y ] . s e c r e t ) } , d ( b ) { b & & k ( e ) , b & & k ( r ) , b & & k ( o ) , b & & k ( u ) , b & & k ( f ) , d = ! 1 , r t ( h ) } } } f u n c t i o n L g ( n , e ) { l e t t , i , s ; r e t u r n i = n e w N e ( { p r o p s : { c l a s s : " f o r m - f i e l d r e q u i r e d " , n a m
2022-07-11 02:14:38 +08:00
< div class = "breadcrumb-item" > Token options < / d i v > < / n a v > ` , l = O ( ) , r = _ ( " d i v " ) , o = _ ( " f o r m " ) , a = _ ( " d i v " ) , a . i n n e r H T M L = " < p > A d j u s t c o m m o n t o k e n o p t i o n s . < / p > " , u = O ( ) , c . c ( ) , p ( s , " c l a s s " , " p a g e - h e a d e r " ) , p ( a , " c l a s s " , " c o n t e n t m - b - s m t x t - x l " ) , p ( o , " c l a s s " , " p a n e l " ) , p ( o , " a u t o c o m p l e t e " , " o f f " ) , p ( r , " c l a s s " , " w r a p p e r " ) , p ( i , " c l a s s " , " p a g e - w r a p p e r " ) } , m ( S , $ ) { V ( e , S , $ ) , w ( S , t , $ ) , w ( S , i , $ ) , m ( i , s ) , m ( i , l ) , m ( i , r ) , m ( r , o ) , m ( o , a ) , m ( o , u ) , b [ f ] . m ( o , n u l l ) , d = ! 0 , h | | ( g = X ( o , " s u b m i t " , K t ( n [ 5 ] ) ) , h = ! 0 ) } , p ( S , [ $ ] ) { l e t C = f ; f = v ( S ) , f = = = C ? b [ f ] . p ( S , $ ) : ( O e ( ) , F ( b [ C ] , 1 , 1 , ( ) = > { b [ C ] = n u l l } ) , T e ( ) , c = b [ f ] , c ? c . p ( S , $ ) : ( c = b [ f ] = y [ f ] ( S ) , c . c ( ) ) , A ( c , 1 ) , c . m ( o , n u l l ) ) } , i ( S ) { d | | ( A ( e . $ $ . f r a g m e n t , S ) , A ( c ) , d = ! 0 ) } , o ( S ) { F ( e . $ $ . f r a g m e n t , S ) , F ( c ) , d = ! 1 } , d ( S ) { z ( e , S ) , S & & k ( t ) , S & & k ( i ) , b [ f ] . d ( ) , h = ! 1 , g ( ) } } } f u n c t i o n N P ( n , e , t ) { l e t i ; c o n s t s = [ { k e y : " u s e r A u t h T o k e n " , l a b e l : " U s e r s a u t h t o k e n " } , { k e y : " u s e r V e r i f i c a t i o n T o k e n " , l a b e l : " U s e r s e m a i l v e r i f i c a t i o n t o k e n " } , { k e y : " u s e r P a s s w o r d R e s e t T o k e n " , l a b e l : " U s e r s p a s s w o r d r e s e t t o k e n " } , { k e y : " u s e r E m a i l C h a n g e T o k e n " , l a b e l : " U s e r s e m a i l c h a n g e t o k e n " } , { k e y : " a d m i n A u t h T o k e n " , l a b e l : " A d m i n s a u t h t o k e n " } , { k e y : " a d m i n P a s s w o r d R e s e t T o k e n " , l a b e l : " A d m i n s p a s s w o r d r e s e t t o k e n " } ] ; l e t l = { } , r = ! 1 , o = ! 1 , a = " " ; U . s e t D o c u m e n t T i t l e ( " T o k e n o p t i o n s " ) , u ( ) ; a s y n c f u n c t i o n u ( ) { t ( 1 , r = ! 0 ) ; t r y { c o n s t y = a w a i t w e . S e t t i n g s . g e t A l l ( ) | | { } ; c ( y ) } c a t c h ( y ) { w e . e r r o r R e s p o n s e H a n d l e r ( y ) } t ( 1 , r = ! 1 ) } a s y n c f u n c t i o n f ( ) { i f ( ! ( o | | ! i ) ) { t ( 2 , o = ! 0 ) ; t r y { c o n s t y = a w a i t w e . S e t t i n g s . u p d a t e ( U . f i l t e r R e d a c t e d P r o p s ( l ) ) ; c ( y ) , m n ( " S u c c e s s f u l l y s a v e d t o k e n s o p t i o n s . " ) } c a t c h ( y ) { w e . e r r o r R e s p o n s e H a n d l e r ( y ) } t ( 2 , o = ! 1 ) } } f u n c t i o n c ( y ) { v a r b ; y = y | | { } , t ( 0 , l = { } ) ; f o r ( c o n s t v o f s ) t ( 0 , l [ v . k e y ] = { d u r a t i o n : ( ( b = y [ v . k e y ] ) = = n u l l ? v o i d 0 : b . d u r a t i o n ) | | 0 } , l ) ; t ( 6 , a = J S O N . s t r i n g i f y ( l ) ) } f u n c t i o n d ( y ) { l [ y . k e y ] . d u r a t i o n = T t ( t h i s . v a l u e ) , t ( 0 , l ) } c o n s t h = y = > { l [ y . k e y ] . s e c r e t ? ( d e l e t e l [ y . k e y ] . s e c r e t , t ( 0 , l ) ) : t ( 0 , l [ y . k e y ] . s e c r e t = U . r a n d o m S t r i n g ( 5 0 ) , l ) } , g = ( ) = > f ( ) ; r e t u r n n . $ $ . u p d a t e = ( ) = > { n . $ $ . d i r t y & 6 5 & & t ( 3 , i = a ! = J S O N . s t r i n g i f y ( l ) ) } , [ l , r , o , i , s , f , a , d , h , g ] } c l a s s R P e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , N P , I P , A e , { } ) } } c o n s t d n = [ a s y n c n = > { c o n s t e = n e w U R L S e a r c h P a r a m s ( w i n d o w . l o c a t i o n . s e a r c h ) ; r e t u r n n . l o c a t i o n ! = = " / " & & e . h a s ( " i n s t a l l e r " ) ? G s ( " / " ) : ! 0 } ] , j P = { " / l o g i n " : n n ( { c o m p o n e n t : _ E , c o n d i t i o n s : d n . c o n c a t ( [ n = > ! w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 1 } } ) , " / r e q u e s t - p a s s w o r d - r e s e t " : n n ( { a s y n c C o m p o n e n t : ( ) = > r s ( ( ) = > i m p o r t ( " . / P a g e A d m i n R e q u e s t P a s s w o r d R e s e t . 1 f b 4 3 9 b 8 . j s " ) , [ ] ) , c o n d i t i o n s : d n . c o n c a t ( [ n = > ! w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 1 } } ) , " / c o n f i r m - p a s s w o r d - r e s e t / : t o k e n " : n n ( { a s y n c C o m p o n e n t : ( ) = > r s ( ( ) = > i m p o r t ( " . / P a g e A d m i n C o n f i r m P a s s w o r d R e s e t . 2 d f f 1 9 b f . j s " ) , [ ] ) , c o n d i t i o n s : d n . c o n c a t ( [ n = > ! w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 1 } } ) , " / c o l l e c t i o n s " : n n ( { c o m p o n e n t : y A , c o n d i t i o n s : d n . c o n c a t ( [ n = > w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 0 } } ) , " / l o g s " : n n ( { c o m p o n e n t : A 3 , c o n d i t i o n s : d n . c o n c a t ( [ n = > w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 0 } } ) , " / u s e r s " : n n ( { c o m p o n e n t : B A , c o n d i t i o n s : d n . c o n c a t ( [ n = > w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 0 } } ) , " / u s e r s / c o n f i r m - p a s s w o r d - r e s e t / : t o k e n " : n n ( { a s y n c C o m p o n e n t : ( ) = > r s ( ( ) = > i m p o r t ( " . / P a g e U s e r C o n f i r m P a s s w o r d R e s e t . 3 6 5 d 8 9 f a . j s " ) , [ ] ) , c o n d i t i o n s : d n . c o n c a t ( [ ( ) = > ( w e . l o g o u t ( ! 1 ) , ! 0 ) ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 1 } } ) , " / u s e r s / c o n f i r m - v e r i f i c a t i o n / : t o k e n " : n n ( { a s y n c C o m p o n e n t : ( ) = > r s ( ( ) = > i m p o r t ( " . / P a g e U s e r C o n f i r m V e r i f i c a t i o n . 0 6 2 4 2 0 a 1 . j s " ) , [ ] ) , c o n d i t i o n s : d n . c o n c a t ( [ ( ) = > ( w e . l o g o u t ( ! 1 ) , ! 0 ) ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 1 } } ) , " / u s e r s / c o n f i r m - e m a i l - c h a n g e / : t o k e n " : n n ( { a s y n c C o m p o n e n t : ( ) = > r s ( ( ) = > i m p o r t ( " . / P a g e U s e r C o n f i r m E m a i l C h a n g e . 1 4 8 a 0 b a 6 . j s " ) , [ ] ) , c o n d i t i o n s : d n . c o n c a t ( [ ( ) = > ( w e . l o g o u t ( ! 1 ) , ! 0 ) ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 1 } } ) , " / s e t t i n g s " : n n ( { c o m p o n e n t : C E , c o n d i t i o n s : d n . c o n c a t ( [ n = > w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 0 } } ) , " / s e t t i n g s / a d m i n s " : n n ( { c o m p o n e n t : c E , c o n d i t i o n s : d n . c o n c a t ( [ n = > w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 0 } } ) , " / s e t t i n g s / m a i l " : n n ( { c o m p o n e n t : W E , c o n d i t i o n s : d n . c o n c a t ( [ n = > w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 0 } } ) , " / s e t t i n g s / s t o r a g e " : n n ( { c o m p o n e n t : n P , c o n d i t i o n s : d n . c o n c a t ( [ n = > w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t a : { s h o w A p p S i d e b a r : ! 0 } } ) , " / s e t t i n g s / a u t h - p r o v i d e r s " : n n ( { c o m p o n e n t : E P , c o n d i t i o n s : d n . c o n c a t ( [ n = > w e . A u t h S t o r e . i s V a l i d ] ) , u s e r D a t
2022-07-10 16:46:21 +08:00
< span class = "txt" > Manage admins < /span>`,t=O(),i=_("hr"),s=O(),l=_("div"),l.innerHTML=`<i class="ri-logout-circle-line"></i >
< span class = "txt" > Logout < / s p a n > ` , p ( e , " h r e f " , " / s e t t i n g s / a d m i n s " ) , p ( e , " c l a s s " , " d r o p d o w n - i t e m c l o s a b l e " ) , p ( l , " t a b i n d e x " , " 0 " ) , p ( l , " c l a s s " , " d r o p d o w n - i t e m c l o s a b l e " ) } , m ( a , u ) { w ( a , e , u ) , w ( a , t , u ) , w ( a , i , u ) , w ( a , s , u ) , w ( a , l , u ) , r | | ( o = [ X e ( M n . c a l l ( n u l l , e ) ) , X ( l , " c l i c k " , n [ 4 ] ) ] , r = ! 0 ) } , p : r e , d ( a ) { a & & k ( e ) , a & & k ( t ) , a & & k ( i ) , a & & k ( s ) , a & & k ( l ) , r = ! 1 , r t ( o ) } } } f u n c t i o n X P ( n ) { v a r c ; l e t e , t , i , s , l , r , o , a , u , f = ( ( c = n [ 1 ] ) = = n u l l ? v o i d 0 : c . i d ) & & n [ 0 ] & & N g ( n ) ; r e t u r n s = n e w l 1 ( { p r o p s : { r o u t e s : j P } } ) , s . $ o n ( " r o u t e L o a d i n g " , n [ 2 ] ) , s . $ o n ( " c o n d i t i o n s F a i l e d " , n [ 3 ] ) , r = n e w W P ( { } ) , a = n e w Z P ( { } ) , { c ( ) { e = _ ( " d i v " ) , f & & f . c ( ) , t = O ( ) , i = _ ( " d i v " ) , B ( s . $ $ . f r a g m e n t ) , l = O ( ) , B ( r . $ $ . f r a g m e n t ) , o = O ( ) , B ( a . $ $ . f r a g m e n t ) , p ( i , " c l a s s " , " a p p - b o d y " ) , p ( e , " c l a s s " , " a p p - l a y o u t " ) } , m ( d , h ) { w ( d , e , h ) , f & & f . m ( e , n u l l ) , m ( e , t ) , m ( e , i ) , V ( s , i , n u l l ) , w ( d , l , h ) , V ( r , d , h ) , w ( d , o , h ) , V ( a , d , h ) , u = ! 0 } , p ( d , [ h ] ) { v a r g ; ( ( g = d [ 1 ] ) = = n u l l ? v o i d 0 : g . i d ) & & d [ 0 ] ? f ? ( f . p ( d , h ) , h & 3 & & A ( f , 1 ) ) : ( f = N g ( d ) , f . c ( ) , A ( f , 1 ) , f . m ( e , t ) ) : f & & ( O e ( ) , F ( f , 1 , 1 , ( ) = > { f = n u l l } ) , T e ( ) ) } , i ( d ) { u | | ( A ( f ) , A ( s . $ $ . f r a g m e n t , d ) , A ( r . $ $ . f r a g m e n t , d ) , A ( a . $ $ . f r a g m e n t , d ) , u = ! 0 ) } , o ( d ) { F ( f ) , F ( s . $ $ . f r a g m e n t , d ) , F ( r . $ $ . f r a g m e n t , d ) , F ( a . $ $ . f r a g m e n t , d ) , u = ! 1 } , d ( d ) { d & & k ( e ) , f & & f . d ( ) , z ( s ) , d & & k ( l ) , z ( r , d ) , d & & k ( o ) , z ( a , d ) } } } f u n c t i o n Q P ( n , e , t ) { l e t i ; h n ( n , V u , u = > t ( 1 , i = u ) ) ; l e t s , l = ! 1 ; f u n c t i o n r ( u ) { v a r f , c , d , h ; ( ( f = u = = n u l l ? v o i d 0 : u . d e t a i l ) = = n u l l ? v o i d 0 : f . l o c a t i o n ) ! = = s & & ( t ( 0 , l = ! ! ( ( d = ( c = u = = n u l l ? v o i d 0 : u . d e t a i l ) = = n u l l ? v o i d 0 : c . u s e r D a t a ) ! = n u l l & & d . s h o w A p p S i d e b a r ) ) , s = ( h = u = = n u l l ? v o i d 0 : u . d e t a i l ) = = n u l l ? v o i d 0 : h . l o c a t i o n , U . s e t D o c u m e n t T i t l e ( " " ) , W i ( { } ) , E b ( ) ) } f u n c t i o n o ( ) { G s ( " / " ) } f u n c t i o n a ( ) { w e . l o g o u t ( ) } r e t u r n [ l , i , r , o , a ] } c l a s s e L e x t e n d s F e { c o n s t r u c t o r ( e ) { s u p e r ( ) , L e ( t h i s , e , Q P , X P , A e , { } ) } } n e w e L ( { t a r g e t : d o c u m e n t . g e t E l e m e n t B y I d ( " a p p " ) } ) ; e x p o r t { r t a s A , m n a s B , U a s C , G s a s D , l t a s E , P 0 a s F , h n a s G , J s a s H , _ n a s I , p i a s J , h e a s K , L n a s P , F e a s S , F a s a , O a s b , B a s c , z a s d , _ a s e , p a s f , w a s g , m a s h , L e a s i , X e a s j , O e a s k , M n a s l , V a s m , T e a s n , k a s o , w e a s p , N e a s q , Q a s r , A e a s s , A a s t , X a s u , K t a s v , H a s w , _ e a s x , r e a s y , $ e a s z } ;