| Server IP : 85.214.143.32 / Your IP : 216.73.216.142 Web Server : nginx/1.24.0 System : Linux datensicherung.webdress.site 6.8.0-139-generic #139-Ubuntu SMP PREEMPT_DYNAMIC Sat Aug 1 03:52:05 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/nextcloud/dist/ |
Upload File : |
const Ie=t=>"/remote.php/"+t,He=(t,e)=>oe()+Ie(t),We=(t,e,n)=>{const o=Object.assign({ocsVersion:2},{}).ocsVersion===1?1:2;return oe()+"/ocs/v"+o+".php"+k(t,e,n)},k=(t,e,n)=>{const o=Object.assign({escape:!0},n||{}),u=function(l,h){return h=h||{},l.replace(/{([^{}]*)}/g,function(L,s){const p=h[s];return o.escape?encodeURIComponent(typeof p=="string"||typeof p=="number"?p.toString():L):typeof p=="string"||typeof p=="number"?p.toString():L})};return t.charAt(0)!=="/"&&(t="/"+t),u(t,e||{})},Le=(t,e,n)=>{const o=Object.assign({noRewrite:!1},n||{}),u=n?.baseURL??V();return window?.OC?.config?.modRewriteWorking===!0&&!o.noRewrite?u+k(t,e,n):u+"/index.php"+k(t,e,n)},qe=(t,e)=>e.includes(".")?q(t,"img",e):q(t,"img",`${e}.svg`),q=(t,e,n)=>{const o=window?.OC?.coreApps?.includes(t)??!1,u=n.slice(-3)==="php";let l=V();return u&&!o?(l+=`/index.php/apps/${t}`,e&&(l+=`/${encodeURI(e)}`),n!=="index.php"&&(l+=`/${n}`)):!u&&!o?(l=Re(t),e&&(l+=`/${e}/`),l.at(-1)!=="/"&&(l+="/"),l+=n):((t==="settings"||t==="core"||t==="search")&&e==="ajax"&&(l+="/index.php"),t&&(l+=`/${t}`),e&&(l+=`/${e}`),l+=`/${n}`),l},oe=()=>window.location.protocol+"//"+window.location.host+V();function V(){let t=window._oc_webroot;if(typeof t>"u"){t=location.pathname;const e=t.indexOf("/index.php/");if(e!==-1)t=t.slice(0,e);else{const n=t.indexOf("/",1);t=t.slice(0,n>0?n:void 0)}}return t}function Re(t){return(window._oc_appswebroots??{})[t]??""}var ze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ie(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}class _{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(e,n,o){this.scope=`${o?_.GLOBAL_SCOPE_PERSISTENT:_.GLOBAL_SCOPE_VOLATILE}_${btoa(e)}_`,this.wrapped=n}scopeKey(e){return`${this.scope}${e}`}setItem(e,n){this.wrapped.setItem(this.scopeKey(e),n)}getItem(e){return this.wrapped.getItem(this.scopeKey(e))}removeItem(e){this.wrapped.removeItem(this.scopeKey(e))}clear(){Object.keys(this.wrapped).filter(e=>e.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class me{appId;persisted=!1;clearedOnLogout=!1;constructor(e){this.appId=e}persist(e=!0){return this.persisted=e,this}clearOnLogout(e=!0){return this.clearedOnLogout=e,this}build(){return new _(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function ge(t){return new me(t)}function Oe(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ae={exports:{}},f=ae.exports={},R,m;function X(){throw new Error("setTimeout has not been defined")}function B(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=X}catch{R=X}try{typeof clearTimeout=="function"?m=clearTimeout:m=B}catch{m=B}})();function ce(t){if(R===setTimeout)return setTimeout(t,0);if((R===X||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch{try{return R.call(null,t,0)}catch{return R.call(this,t,0)}}}function we(t){if(m===clearTimeout)return clearTimeout(t);if((m===B||!m)&&clearTimeout)return m=clearTimeout,clearTimeout(t);try{return m(t)}catch{try{return m.call(null,t)}catch{return m.call(this,t)}}}var w=[],A=!1,N,y=-1;function Ne(){!A||!N||(A=!1,N.length?w=N.concat(w):y=-1,w.length&&ue())}function ue(){if(!A){var t=ce(Ne);A=!0;for(var e=w.length;e;){for(N=w,w=[];++y<e;)N&&N[y].run();y=-1,e=w.length}N=null,A=!1,we(t)}}f.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];w.push(new le(t,e)),w.length===1&&!A&&ce(ue)};function le(t,e){this.fun=t,this.array=e}le.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={};function O(){}f.on=O,f.addListener=O,f.once=O,f.off=O,f.removeListener=O,f.removeAllListeners=O,f.emit=O,f.prependListener=O,f.prependOnceListener=O,f.listeners=function(t){return[]},f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0};var Te=ae.exports;const $e=Oe(Te);var P,z;function Ee(){if(z)return P;z=1;var t={};return P=typeof $e=="object"&&t&&t.NODE_DEBUG&&/\bsemver\b/i.test(t.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},P}var D,K;function he(){if(K)return D;K=1;const t="2.0.0",e=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,o=16,u=e-6;return D={MAX_LENGTH:e,MAX_SAFE_COMPONENT_LENGTH:o,MAX_SAFE_BUILD_LENGTH:u,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},D}var C={exports:{}},Y;function be(){return Y||(Y=1,(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:u}=he(),l=Ee();e=t.exports={};const h=e.re=[],L=e.safeRe=[],s=e.src=[],p=e.safeSrc=[],r=e.t={};let i=0;const a="[a-zA-Z0-9-]",E=[["\\s",1],["\\d",u],[a,o]],I=T=>{for(const[g,v]of E)T=T.split(`${g}*`).join(`${g}{0,${v}}`).split(`${g}+`).join(`${g}{1,${v}}`);return T},c=(T,g,v)=>{const W=I(g),$=i++;l(T,$,g),r[T]=$,s[$]=g,p[$]=W,h[$]=new RegExp(g,v?"g":void 0),L[$]=new RegExp(W,v?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","\\d+"),c("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${a}*`),c("MAINVERSION",`(${s[r.NUMERICIDENTIFIER]})\\.(${s[r.NUMERICIDENTIFIER]})\\.(${s[r.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[r.NUMERICIDENTIFIERLOOSE]})\\.(${s[r.NUMERICIDENTIFIERLOOSE]})\\.(${s[r.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[r.NONNUMERICIDENTIFIER]}|${s[r.NUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[r.NONNUMERICIDENTIFIER]}|${s[r.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASE",`(?:-(${s[r.PRERELEASEIDENTIFIER]}(?:\\.${s[r.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[r.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[r.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER",`${a}+`),c("BUILD",`(?:\\+(${s[r.BUILDIDENTIFIER]}(?:\\.${s[r.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${s[r.MAINVERSION]}${s[r.PRERELEASE]}?${s[r.BUILD]}?`),c("FULL",`^${s[r.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${s[r.MAINVERSIONLOOSE]}${s[r.PRERELEASELOOSE]}?${s[r.BUILD]}?`),c("LOOSE",`^${s[r.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${s[r.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${s[r.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${s[r.XRANGEIDENTIFIER]})(?:\\.(${s[r.XRANGEIDENTIFIER]})(?:\\.(${s[r.XRANGEIDENTIFIER]})(?:${s[r.PRERELEASE]})?${s[r.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${s[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[r.XRANGEIDENTIFIERLOOSE]})(?:${s[r.PRERELEASELOOSE]})?${s[r.BUILD]}?)?)?`),c("XRANGE",`^${s[r.GTLT]}\\s*${s[r.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${s[r.GTLT]}\\s*${s[r.XRANGEPLAINLOOSE]}$`),c("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),c("COERCE",`${s[r.COERCEPLAIN]}(?:$|[^\\d])`),c("COERCEFULL",s[r.COERCEPLAIN]+`(?:${s[r.PRERELEASE]})?(?:${s[r.BUILD]})?(?:$|[^\\d])`),c("COERCERTL",s[r.COERCE],!0),c("COERCERTLFULL",s[r.COERCEFULL],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${s[r.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",c("TILDE",`^${s[r.LONETILDE]}${s[r.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${s[r.LONETILDE]}${s[r.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${s[r.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",c("CARET",`^${s[r.LONECARET]}${s[r.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${s[r.LONECARET]}${s[r.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${s[r.GTLT]}\\s*(${s[r.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${s[r.GTLT]}\\s*(${s[r.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${s[r.GTLT]}\\s*(${s[r.LOOSEPLAIN]}|${s[r.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${s[r.XRANGEPLAIN]})\\s+-\\s+(${s[r.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${s[r.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[r.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(C,C.exports)),C.exports}var F,Z;function Ae(){if(Z)return F;Z=1;const t=Object.freeze({loose:!0}),e=Object.freeze({});return F=n=>n?typeof n!="object"?t:n:e,F}var x,J;function ve(){if(J)return x;J=1;const t=/^[0-9]+$/,e=(n,o)=>{if(typeof n=="number"&&typeof o=="number")return n===o?0:n<o?-1:1;const u=t.test(n),l=t.test(o);return u&&l&&(n=+n,o=+o),n===o?0:u&&!l?-1:l&&!u?1:n<o?-1:1};return x={compareIdentifiers:e,rcompareIdentifiers:(n,o)=>e(o,n)},x}var G,Q;function pe(){if(Q)return G;Q=1;const t=Ee(),{MAX_LENGTH:e,MAX_SAFE_INTEGER:n}=he(),{safeRe:o,t:u}=be(),l=Ae(),{compareIdentifiers:h}=ve(),L=(p,r)=>{const i=r.split(".");if(i.length>p.length)return!1;for(let a=0;a<i.length;a++)if(h(p[a],i[a])!==0)return!1;return!0};class s{constructor(r,i){if(i=l(i),r instanceof s){if(r.loose===!!i.loose&&r.includePrerelease===!!i.includePrerelease)return r;r=r.version}else if(typeof r!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof r}".`);if(r.length>e)throw new TypeError(`version is longer than ${e} characters`);t("SemVer",r,i),this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease;const a=r.trim().match(i.loose?o[u.LOOSE]:o[u.FULL]);if(!a)throw new TypeError(`Invalid Version: ${r}`);if(this.raw=r,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map(E=>{if(/^[0-9]+$/.test(E)){const I=+E;if(I>=0&&I<n)return I}return E}):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(r){if(t("SemVer.compare",this.version,this.options,r),!(r instanceof s)){if(typeof r=="string"&&r===this.version)return 0;r=new s(r,this.options)}return r.version===this.version?0:this.compareMain(r)||this.comparePre(r)}compareMain(r){return r instanceof s||(r=new s(r,this.options)),this.major<r.major?-1:this.major>r.major?1:this.minor<r.minor?-1:this.minor>r.minor?1:this.patch<r.patch?-1:this.patch>r.patch?1:0}comparePre(r){if(r instanceof s||(r=new s(r,this.options)),this.prerelease.length&&!r.prerelease.length)return-1;if(!this.prerelease.length&&r.prerelease.length)return 1;if(!this.prerelease.length&&!r.prerelease.length)return 0;let i=0;do{const a=this.prerelease[i],E=r.prerelease[i];if(t("prerelease compare",i,a,E),a===void 0&&E===void 0)return 0;if(E===void 0)return 1;if(a===void 0)return-1;if(a!==E)return h(a,E)}while(++i)}compareBuild(r){r instanceof s||(r=new s(r,this.options));let i=0;do{const a=this.build[i],E=r.build[i];if(t("build compare",i,a,E),a===void 0&&E===void 0)return 0;if(E===void 0)return 1;if(a===void 0)return-1;if(a!==E)return h(a,E)}while(++i)}inc(r,i,a){if(r.startsWith("pre")){if(!i&&a===!1)throw new Error("invalid increment argument: identifier is empty");if(i){const E=`-${i}`.match(this.options.loose?o[u.PRERELEASELOOSE]:o[u.PRERELEASE]);if(!E||E[1]!==i)throw new Error(`invalid identifier: ${i}`)}}switch(r){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",i,a);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",i,a);break;case"prepatch":this.prerelease.length=0,this.inc("patch",i,a),this.inc("pre",i,a);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",i,a),this.inc("pre",i,a);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const E=Number(a)?1:0;if(this.prerelease.length===0)this.prerelease=[E];else{let I=this.prerelease.length;for(;--I>=0;)typeof this.prerelease[I]=="number"&&(this.prerelease[I]++,I=-2);if(I===-1){if(i===this.prerelease.join(".")&&a===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(E)}}if(i){let I=[i,E];if(a===!1&&(I=[i]),L(this.prerelease,i)){const c=this.prerelease[i.split(".").length];isNaN(c)&&(this.prerelease=I)}else this.prerelease=I}break}default:throw new Error(`invalid increment argument: ${r}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return G=s,G}var M,ee;function Se(){if(ee)return M;ee=1;const t=pe();return M=(e,n)=>new t(e,n).major,M}var ye=Se();const te=ie(ye);var U,re;function _e(){if(re)return U;re=1;const t=pe();return U=(e,n,o=!1)=>{if(e instanceof t)return e;try{return new t(e,n)}catch(u){if(!o)return null;throw u}},U}var j,ne;function Pe(){if(ne)return j;ne=1;const t=_e();return j=(e,n)=>{const o=t(e,n);return o?o.version:null},j}var De=Pe();const Ce=ie(De);class Fe{bus;constructor(e){typeof e.getVersion!="function"||!Ce(e.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):te(e.getVersion())!==te(this.getVersion())&&console.warn("Proxying an event bus of version "+e.getVersion()+" with "+this.getVersion()),this.bus=e}getVersion(){return"3.3.3"}subscribe(e,n){this.bus.subscribe(e,n)}unsubscribe(e,n){this.bus.unsubscribe(e,n)}emit(e,...n){this.bus.emit(e,...n)}}class xe{handlers=new Map;getVersion(){return"3.3.3"}subscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).concat(n))}unsubscribe(e,n){this.handlers.set(e,(this.handlers.get(e)||[]).filter(o=>o!==n))}emit(e,...n){(this.handlers.get(e)||[]).forEach(o=>{try{o(n[0])}catch(u){console.error("could not invoke event listener",u)}})}}let S=null;function H(){return S!==null?S:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window?._nc_event_bus<"u"?S=new Fe(window._nc_event_bus):S=window._nc_event_bus=new xe,S)}function fe(t,e){H().subscribe(t,e)}function Ge(t,e){H().unsubscribe(t,e)}function Me(t,...e){H().emit(t,...e)}Ue();function Ke(){return globalThis._nc_auth_requestToken?globalThis._nc_auth_requestToken:globalThis.document?document.head.dataset.requesttoken??null:null}function de(t){if(!t||typeof t!="string")throw new Error("Invalid CSRF token given",{cause:{token:t}});globalThis._nc_auth_requestToken!==t&&(globalThis._nc_auth_requestToken=t,globalThis.document&&(document.head.dataset.requesttoken=t),Me("csrf-token-update",{token:t,_internal:!0}))}async function Ye(){const t=Le("/csrftoken"),e=await fetch(t);if(!e.ok)throw new Error("Could not fetch CSRF token from API",{cause:e});try{const{token:n}=await e.json();return de(n),n}catch(n){throw new Error("Could not parse CSRF token from API response",{cause:n})}}function Ze(t){const e=async({token:n})=>{try{t(n)}catch(o){console.error("Error updating CSRF token observer",o)}};return fe("csrf-token-update",e),()=>Ge("csrf-token-update",e)}function Ue(){fe("csrf-token-update",({token:t,_internal:e})=>{e||de(t)})}ge("public").persist().build();let b;function se(t,e){return t?t.getAttribute(e):null}function je(){if(b!==void 0)return b;const t=document?.getElementsByTagName("head")[0];if(!t)return null;const e=se(t,"data-user");return e===null?(b=null,b):(b={uid:e,displayName:se(t,"data-user-displayname"),isAdmin:!!window._oc_isadmin},b)}var d=(t=>(t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal",t))(d||{});class ke{context;constructor(e){this.context=e||{}}formatMessage(e,n,o){let u="["+d[n].toUpperCase()+"] ";return o&&o.app&&(u+=o.app+": "),typeof e=="string"?u+e:(u+=`Unexpected ${e.name}`,e.message&&(u+=` "${e.message}"`),n===d.Debug&&e.stack&&(u+=`
Stack trace:
${e.stack}`),u)}log(e,n,o){if(!(typeof this.context?.level=="number"&&e<this.context?.level))switch(typeof n=="object"&&o?.error===void 0&&(o.error=n),e){case d.Debug:console.debug(this.formatMessage(n,d.Debug,o),o);break;case d.Info:console.info(this.formatMessage(n,d.Info,o),o);break;case d.Warn:console.warn(this.formatMessage(n,d.Warn,o),o);break;case d.Error:console.error(this.formatMessage(n,d.Error,o),o);break;case d.Fatal:default:console.error(this.formatMessage(n,d.Fatal,o),o);break}}debug(e,n){this.log(d.Debug,e,Object.assign({},this.context,n))}info(e,n){this.log(d.Info,e,Object.assign({},this.context,n))}warn(e,n){this.log(d.Warn,e,Object.assign({},this.context,n))}error(e,n){this.log(d.Error,e,Object.assign({},this.context,n))}fatal(e,n){this.log(d.Fatal,e,Object.assign({},this.context,n))}}function Xe(t){return new ke(t)}class Be{context;factory;constructor(e){this.context={},this.factory=e}setApp(e){return this.context.app=e,this}setLogLevel(e){return this.context.level=e,this}setUid(e){return this.context.uid=e,this}detectUser(){const e=je();return e!==null&&(this.context.uid=e.uid),this}detectLogLevel(){const e=this,n=()=>{document.readyState==="complete"||document.readyState==="interactive"?(e.context.level=window._oc_config?.loglevel??d.Warn,window._oc_debug&&(e.context.level=d.Debug),document.removeEventListener("readystatechange",n)):document.addEventListener("readystatechange",n)};return n(),this}build(){return this.context.level===void 0&&this.detectLogLevel(),this.factory(this.context)}}function Je(){return new Be(Xe)}function Qe(t,e=100,n={}){if(typeof t!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(e<0)throw new RangeError("`wait` must not be negative.");if(typeof n=="boolean")throw new TypeError("The `options` parameter must be an object, not a boolean. Use `{immediate: true}` instead.");const{immediate:o}=n;let u,l,h,L,s;function p(){const a=u,E=l;return u=void 0,l=void 0,s=t.apply(a,E),s}function r(){const a=Date.now()-L;a<e&&a>=0?h=setTimeout(r,e-a):(h=void 0,o||(s=p()))}const i=function(...a){if(u&&this!==u&&Object.getPrototypeOf(this)===Object.getPrototypeOf(u))throw new Error("Debounced method called with different contexts of the same prototype.");u=this,l=a,L=Date.now();const E=o&&!h;if(h||(h=setTimeout(r,e)),E)return s=p(),s};return Object.defineProperty(i,"isPending",{get(){return h!==void 0}}),i.clear=()=>{h&&(clearTimeout(h),h=void 0,u=void 0,l=void 0)},i.flush=()=>{h&&i.trigger()},i.trigger=()=>{s=p(),i.clear()},i}function et(t){return t&&t.split("/").map(encodeURIComponent).join("/")}function Ve(t,e){return t=t.replace(/\\/g,"/").replace(/\/+$/g,"").replace(/.*\//,""),t}function tt(t){t=t.replaceAll(/\\/g,"/");const e=t.split("/");return e.length<=1?".":(e.pop(),e.length===1&&e[0]===""?"/":e.join("/"))}function rt(t){const e=Ve(t),n=e.lastIndexOf(".");return n>0?e.substring(n):""}function nt(...t){if(arguments.length<1)return"";const e=t.filter(s=>s.length>0);if(e.length<1)return"";const n=e[e.length-1],o=e[0].charAt(0)==="/",u=n.charAt(n.length-1)==="/",l=e.reduce((s,p)=>s.concat(p.split("/")),[]);let h=!o;const L=l.reduce((s,p)=>p===""?s:h?(h=!1,s+p):s+"/"+p,"");return u?L+"/":L}export{je as a,Le as b,We as c,Qe as d,Ke as e,Me as f,Je as g,He as h,tt as i,et as j,qe as k,Ve as l,rt as m,nt as n,Ze as o,ge as p,V as q,q as r,fe as s,ie as t,Ge as u,$e as v,oe as w,Ye as x,ze as y};
//# sourceMappingURL=index-Cp0kcsps.chunk.mjs.map